Skip to content

Commit 13b4d19

Browse files
authored
tutorial page adjustments, survey section and spacing for tags (#48)
* tutorial page styling adjustments * fix survey headers * spacing for tags
1 parent 2454911 commit 13b4d19

File tree

6 files changed

+24
-26
lines changed

6 files changed

+24
-26
lines changed

preview-src/vector-home.adoc

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -147,18 +147,3 @@ Prioritize the protection of your invaluable data. Explore advanced strategies a
147147
link:{#}[Learn about Database Security]
148148
====
149149
--
150-
151-
[.ds-row]
152-
== Community & Support
153-
154-
=== Join the Conversation
155-
156-
Engage with our vibrant community of developers. Ask questions, share knowledge, or just hang out and chat about all things DataStax Astra.
157-
158-
link:{#}[Join on Discord] · link:{#}[Follow on X]
159-
160-
=== Need More Help?
161-
162-
[unstyled.landing-support]
163-
* link:{#}[Ask the Astra community,role="community"]
164-
* link:{#}[Get in touch with support,role="support"]

src/css/doc.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@
660660
}
661661

662662
.doc ul.checklist {
663-
padding-left: var(--ds-space-2h);
663+
padding-left: 0;
664664
}
665665

666666
.doc ul.checklist p {
@@ -685,9 +685,11 @@
685685
}
686686

687687
.doc ul.checklist i.fa-check-square-o::before {
688-
content: "\e876";
689-
color: var(--ds-primary-solid-color);
690-
background-color: var(--ds-primary-solid-bg);
688+
content: "\e86c";
689+
color: var(--link-font-color);
690+
font-size: var(--ds-space-2h);
691+
width: calc(20 / var(--rem-base) * 1rem);
692+
height: calc(20 / var(--rem-base) * 1rem);
691693
}
692694

693695
.doc ul.checklist i.fa-square-o::before {

src/css/toc.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
padding: 0;
127127
align-items: flex-start;
128128
align-content: flex-start;
129-
gap: var(--ds-space-1h) var(--ds-space-1h);
129+
gap: var(--ds-space-1h) var(--ds-space-h);
130130
align-self: stretch;
131131
flex-wrap: wrap;
132132
}
@@ -136,8 +136,9 @@
136136
.tags-container span {
137137
display: flex;
138138
padding: var(--ds-space-q) var(--ds-space-1h);
139-
font-size: calc(12 / var(--rem-base) * 1rem);
139+
font-size: calc(13 / var(--rem-base) * 1rem);
140140
font-weight: 600;
141+
line-height: 1.5;
141142
letter-spacing: calc(0.65 / var(--rem-base) * 1rem);
142143
border-radius: var(--ds-space-4);
143144
color: var(--ds-primary-soft-color);

src/css/tutorial-info.css

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,25 @@
22
display: flex;
33
flex-wrap: wrap;
44
align-items: center;
5-
gap: var(--ds-space-2h);
5+
gap: var(--ds-space-1);
66
margin-bottom: var(--ds-space-3);
77
}
88

99
.tutorial-info .info-item {
1010
display: flex;
11-
gap: var(--ds-space-1);
11+
gap: var(--ds-space-h);
12+
font-size: calc(14.5 / var(--rem-base) * 1rem);
13+
color: var(--ds-text-tertiary);
14+
}
15+
16+
.tutorial-info .info-item .material-icons {
17+
font-size: var(--ds-space-2);
1218
}
1319

1420
.tutorial-info .tutorial-actions {
1521
margin-left: auto;
1622
}
23+
24+
html[data-layout="tutorial"] h1.page:first-child {
25+
margin-bottom: var(--ds-space-1);
26+
}

src/layouts/tutorial.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="en">
2+
<html lang="en" data-layout="tutorial">
33
<head>
44
{{> head defaultPageTitle='Untitled'}}
55
</head>

src/partials/survey.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<h2>Support</h2>
33
<div class="sectionbody">
44
<div class="sect2">
5-
<h4>Was This Helpful?</h4>
5+
<h3>Was This Helpful?</h3>
66
<div class="paragraph dialog-action--container">
77
<p class="dialog-action navbar-end">
88
<button id="support_yes" class="ds-button ds-button--color-neutral
@@ -39,7 +39,7 @@
3939
</dialog>
4040
</div>
4141
<div class="sect2">
42-
<h4>Need More Help?</h4>
42+
<h3>Need More Help?</h3>
4343
<div class="ulist unstyled landing-support">
4444
<ul class="unstyled">
4545
<li>

0 commit comments

Comments
 (0)