update for when code element is being used for [ ] checklists
This commit is contained in:
parent
e3830b0db0
commit
63bd3ba230
8 changed files with 89 additions and 2 deletions
|
|
@ -64,6 +64,18 @@ pre, code
|
|||
background-color: $code-background-color
|
||||
border-color: $code-border-color
|
||||
|
||||
/* code is used for other types of objects besides code inside lists or headers */
|
||||
li a, li.on, li.off, h1, h2, h3, h4, h5, h6
|
||||
code
|
||||
padding: 0
|
||||
display: inline
|
||||
background-color: transparent
|
||||
color: color.adjust($text-color, $lightness: 15%)
|
||||
|
||||
h1, h2, h3, h4, h5, h6
|
||||
code
|
||||
vertical-align: text-bottom
|
||||
|
||||
/* Header Styles */
|
||||
h1, h2, h3, h4, h5, h6
|
||||
font-family: $secondary-font
|
||||
|
|
|
|||
|
|
@ -57,6 +57,20 @@ pre, code
|
|||
|
||||
font-family: $secondary-font
|
||||
|
||||
/* code is used for other types of objects besides code inside lists or headers */
|
||||
li.off, h1, h2, h3, h4, h5, h6
|
||||
code
|
||||
padding: 0
|
||||
display: inline
|
||||
background-color: transparent
|
||||
color: color.adjust($text-color, $lightness: 15%)
|
||||
|
||||
/* off because it isn't needed atm
|
||||
/* h1, h2, h3, h4, h5, h6
|
||||
code
|
||||
vertical-align: middle
|
||||
|
||||
|
||||
/* Header Styles */
|
||||
h1, h2, h3, h4, h5, h6
|
||||
font-family: $secondary-font
|
||||
|
|
|
|||
|
|
@ -66,6 +66,19 @@ pre, code
|
|||
border-color: $code-border-color
|
||||
font-family: $secondary-font
|
||||
|
||||
/* code is used for other types of objects besides code inside lists or headers */
|
||||
li a, li.on, li.off, h1, h2, h3, h4, h5, h6
|
||||
code
|
||||
padding: 0
|
||||
display: inline
|
||||
background-color: transparent
|
||||
color: color.adjust($text-color, $lightness: 15%)
|
||||
|
||||
/* not needed bc it will already be aligned
|
||||
/* h1, h2, h3, h4, h5, h6
|
||||
code
|
||||
vertical-align: text-bottom
|
||||
|
||||
/* Header Styles */
|
||||
h1, h2, h3, h4, h5, h6
|
||||
font-family: $secondary-font
|
||||
|
|
|
|||
|
|
@ -64,6 +64,19 @@ pre, code
|
|||
background-color: $code-background-color
|
||||
border-color: $code-border-color
|
||||
|
||||
|
||||
/* code is used for other types of objects besides code inside lists or headers */
|
||||
li a, li.on, li.off, h1, h2, h3, h4, h5, h6
|
||||
code
|
||||
padding: 0
|
||||
display: inline
|
||||
background-color: transparent
|
||||
color: color.adjust($text-color, $lightness: 15%)
|
||||
|
||||
h1, h2, h3, h4, h5, h6
|
||||
code
|
||||
vertical-align: text-bottom
|
||||
|
||||
/* Header Styles */
|
||||
h1, h2, h3, h4, h5, h6
|
||||
font-family: $secondary-font
|
||||
|
|
|
|||
|
|
@ -65,6 +65,18 @@ pre, code
|
|||
background-color: $code-background-color
|
||||
border-color: $code-border-color
|
||||
|
||||
/* code is used for other types of objects besides code inside lists or headers */
|
||||
li a, li.on, li.off, h1, h2, h3, h4, h5, h6
|
||||
code
|
||||
padding: 0
|
||||
display: inline
|
||||
background-color: transparent
|
||||
color: color.adjust($text-color, $lightness: 15%)
|
||||
|
||||
h1, h2, h3, h4, h5, h6
|
||||
code
|
||||
vertical-align: text-bottom
|
||||
|
||||
/* Header Styles */
|
||||
h1, h2, h3, h4, h5, h6
|
||||
font-family: $secondary-font
|
||||
|
|
|
|||
|
|
@ -64,6 +64,18 @@ pre, code
|
|||
background-color: $code-background-color
|
||||
border-color: $code-border-color
|
||||
|
||||
/* code is used for other types of objects besides code inside lists or headers */
|
||||
li a, li.on, li.off, h1, h2, h3, h4, h5, h6
|
||||
code
|
||||
padding: 0
|
||||
display: inline
|
||||
background-color: transparent
|
||||
color: color.adjust($text-color, $lightness: 15%)
|
||||
|
||||
h1, h2, h3, h4, h5, h6
|
||||
code
|
||||
vertical-align: text-bottom
|
||||
|
||||
/* Header Styles */
|
||||
h1, h2, h3, h4, h5, h6
|
||||
font-family: $secondary-font
|
||||
|
|
|
|||
|
|
@ -9,9 +9,8 @@ ul, ol
|
|||
padding-left: 3em
|
||||
margin-top: 0.5em
|
||||
|
||||
ul.contents-overview
|
||||
ul.contents-overview, ol.contents-overview-numbered
|
||||
padding-left: 1em
|
||||
list-style-type: none
|
||||
|
||||
li
|
||||
margin: 0
|
||||
|
|
@ -27,3 +26,7 @@ ul.contents-overview
|
|||
&:hover
|
||||
text-decoration: underline
|
||||
|
||||
|
||||
ul.contents-overview
|
||||
list-style-type: none
|
||||
|
||||
|
|
|
|||
|
|
@ -171,8 +171,16 @@ div#table-of-contents
|
|||
.playlist
|
||||
text-transform: capitalize
|
||||
|
||||
.contents-overview-numbered li
|
||||
text-transform: uppercase
|
||||
font-weight: bold
|
||||
|
||||
a
|
||||
text-decoration: none
|
||||
|
||||
.contents-overview li
|
||||
text-transform: uppercase
|
||||
|
||||
list-style-type: square
|
||||
font-weight: bold
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue