site style: code block tweaks and sidebar menu highlight

This commit is contained in:
Benjamin A. Petersen 2023-08-02 11:35:54 -04:00
parent fbb5296f68
commit 0c81cdf309
No known key found for this signature in database
GPG Key ID: EF6EF83523A4BE46
2 changed files with 15 additions and 19 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,19 @@
@import 'variables'; @import 'variables';
@import 'mixins'; @import 'mixins';
/* Global */
code {
background: #efefef;
padding: 2px 4px;
font-size: 85%;
}
pre code {
background: none;
}
.highlight pre codesite/sidebar/reorganize {
font-size: 100%;
}
/* Homepage Hero */ /* Homepage Hero */
.hero { .hero {
background-color: $mainblue; background-color: $mainblue;
@ -291,9 +304,6 @@
} }
} }
code { code {
background: #efefef;
padding: 2px 4px;
font-size: 85%;
.c1 { .c1 {
color: $blue; color: $blue;
font-style: italic; font-style: italic;
@ -308,11 +318,6 @@
white-space: -pre-wrap; white-space: -pre-wrap;
white-space: -o-pre-wrap; white-space: -o-pre-wrap;
word-wrap: break-word; word-wrap: break-word;
code {
background: #efefef;
padding: 2px 4px;
font-size: 85%;
}
} }
img { img {
max-width: 100%; max-width: 100%;
@ -457,7 +462,6 @@
float: none; float: none;
} }
position: relative; position: relative;
// border-right: 1px solid $lightgrey;
a.active { a.active {
background: $lightgrey; background: $lightgrey;
padding: 5px 7px; padding: 5px 7px;
@ -480,8 +484,8 @@
list-style-type: none; list-style-type: none;
li { li {
padding-right: 0px; padding-right: 0px;
display: list-item;
a { a {
display: block;
font-size: 14px; font-size: 14px;
font-weight: 300; font-weight: 300;
} }
@ -531,9 +535,6 @@
} }
} }
code { code {
background: #efefef;
padding: 2px 4px;
font-size: 85%;
.c1 { .c1 {
color: $blue; color: $blue;
font-style: italic; font-style: italic;
@ -548,11 +549,6 @@
white-space: -pre-wrap; white-space: -pre-wrap;
white-space: -o-pre-wrap; white-space: -o-pre-wrap;
word-wrap: break-word; word-wrap: break-word;
code {
background: #efefef;
padding: 2px 4px;
font-size: 85%;
}
} }
img { img {
max-width: 100%; max-width: 100%;