Skip to content

Commit 9794cba

Browse files
committed
docs: create table updates
1 parent 454e733 commit 9794cba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1862
-268
lines changed

doc/user/assets/sass/_content.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -760,13 +760,15 @@ p+p {
760760
margin: 0 rem(0.1);
761761
padding: 0;
762762
position: relative;
763-
bottom: -1px;
763+
764764
background: var(--gray-lightest);
765+
border-radius: 8px 8px 0 0;
766+
765767

766768
a {
767769
color: var(--body);
768770
display: block;
769-
padding: rem(0.8) rem(1.6);
771+
padding: rem(0.8) rem(1.5);
770772
font-size: rem(1.4);
771773
text-decoration: none;
772774
font-weight: 500;
@@ -787,7 +789,6 @@ p+p {
787789

788790
&.active {
789791
background: var(--bg);
790-
border-radius: 2px 2px 0 0;
791792
border: 1px solid #9c86e0;
792793
border-bottom-color: var(--bg);
793794

doc/user/assets/sass/_highlight.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,3 +349,15 @@
349349
.chroma .cpf {
350350
color: #633820;
351351
}
352+
353+
body.dark .content .chroma code.language-hc {
354+
.n,
355+
.o,
356+
.p {
357+
color: var(--orange);
358+
}
359+
}
360+
361+
body.dark .content .chroma .hl {
362+
background-color: #292925;
363+
}

doc/user/config.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ weight = 30
140140
# allow <a name="link-target">, the old syntax no longer works
141141
unsafe = true
142142

143+
[markup]
144+
[markup.highlight]
145+
noClasses = false
146+
style = "monokai"
147+
143148
[[deployment.targets]]
144149
name = "production"
145150
url = "s3://materialize-website?region=us-east-1"

0 commit comments

Comments
 (0)