2020-12-17 16:37:54 -06:00
|
|
|
code, pre
|
|
|
|
font-family var(--msff)
|
2023-04-29 10:10:30 -05:00
|
|
|
|
2020-12-16 00:27:07 -06:00
|
|
|
ul, ol { padding-left: 2em }
|
|
|
|
|
|
|
|
a
|
2023-05-11 13:54:04 -05:00
|
|
|
cursor pointer
|
2020-12-16 00:27:07 -06:00
|
|
|
text-decoration-skip-ink auto
|
|
|
|
color var(--link-fg)
|
|
|
|
&:visited { color: var(--link-visited-fg) }
|
|
|
|
|
2023-06-26 14:57:21 -05:00
|
|
|
main a > svg
|
2023-05-11 13:54:04 -05:00
|
|
|
margin-right: 0.5em
|
|
|
|
|
2023-05-11 14:40:11 -05:00
|
|
|
button.copy-code-button
|
2023-05-11 13:54:04 -05:00
|
|
|
color var(--link-fg)
|
|
|
|
text-decoration underline
|
|
|
|
z-index 10
|
2023-05-11 14:40:11 -05:00
|
|
|
position relative
|
2023-06-26 14:35:12 -05:00
|
|
|
align-self flex-start
|
|
|
|
position absolute
|
|
|
|
right 0
|
|
|
|
opacity 0.75
|
2023-05-11 14:40:11 -05:00
|
|
|
|
2023-06-26 14:35:12 -05:00
|
|
|
&:hover
|
|
|
|
opacity 1.0
|
2023-05-11 13:54:04 -05:00
|
|
|
|
2023-05-11 14:40:11 -05:00
|
|
|
@media (max-width: 600px)
|
|
|
|
pre.chroma:hover > button.copy-code-button
|
|
|
|
opacity 0.9
|
2023-05-11 13:54:04 -05:00
|
|
|
|
2020-12-16 00:27:07 -06:00
|
|
|
img, embed, frame, iframe { max-width: 100vw }
|
|
|
|
|
2023-06-26 14:57:21 -05:00
|
|
|
details > summary
|
|
|
|
cursor pointer
|
|
|
|
list-style none
|
|
|
|
|
|
|
|
details > summary::-webkit-details-marker
|
|
|
|
display none
|
|
|
|
|
|
|
|
details > summary::after
|
|
|
|
position absolute
|
|
|
|
top 0
|
|
|
|
right 0
|
|
|
|
align-self center
|
|
|
|
content "+"
|
|
|
|
|
|
|
|
details[open] > summary::after
|
|
|
|
content "-"
|
|
|
|
|
|
|
|
details
|
|
|
|
position relative
|
|
|
|
padding-left 0.5em
|
|
|
|
border-left solid var(--syntax-bpx) var(--syntax-ledg)
|
|
|
|
|
2022-10-09 10:04:31 -05:00
|
|
|
html,body
|
2022-10-22 21:33:25 -05:00
|
|
|
min-height 100vh
|
2020-12-16 00:27:07 -06:00
|
|
|
background-color var(--bg)
|
|
|
|
color var(--fg)
|
|
|
|
font-family var(--ff)
|
2020-12-17 16:37:54 -06:00
|
|
|
font-weight 400
|
2020-12-16 00:27:07 -06:00
|
|
|
font-size 1rem
|
2022-11-22 14:58:48 -06:00
|
|
|
|
|
|
|
&> footer
|
2023-04-29 10:10:30 -05:00
|
|
|
padding 0.5em
|
2022-11-22 14:58:48 -06:00
|
|
|
padding-top 5em
|
|
|
|
padding-bottom 5em
|
|
|
|
|
2020-12-16 00:27:07 -06:00
|
|
|
&> main
|
|
|
|
padding 0.5em
|
|
|
|
line-height 1.6em
|
|
|
|
|
2023-04-29 10:10:30 -05:00
|
|
|
&> main, > footer
|
2020-12-17 16:37:54 -06:00
|
|
|
.highlight
|
2023-06-26 14:35:12 -05:00
|
|
|
position relative
|
|
|
|
background-color var(--syntax-bg)
|
2020-12-17 16:37:54 -06:00
|
|
|
max-width 100vw
|
|
|
|
border-left solid var(--syntax-bpx) var(--syntax-ledg)
|
2023-06-26 14:35:12 -05:00
|
|
|
display flex
|
2020-12-17 16:37:54 -06:00
|
|
|
|
2023-06-26 15:00:54 -05:00
|
|
|
.highlight, form, ul, ol, p, details
|
2020-12-16 00:27:07 -06:00
|
|
|
margin-top 1em
|
|
|
|
margin-bottom 0.25em
|
2023-06-26 15:00:54 -05:00
|
|
|
&:first-child { margin-top: 0 }
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6
|
|
|
|
margin-top 2em
|
|
|
|
margin-bottom 0.25em
|
2020-12-17 16:37:54 -06:00
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6, form, ul, ol, p
|
2020-12-16 00:27:07 -06:00
|
|
|
max-width 60ch
|
|
|
|
|
2020-12-17 16:37:54 -06:00
|
|
|
> h1 + p, > h2 + p, > h3 + p, > h4 + p, > h5 + p, > h6 + p { margin-top: 0 }
|
|
|
|
> h1, > h2, > h3, > h4, > h5, > h6 { color: var(--heading-fg) }
|
2020-12-16 00:27:07 -06:00
|
|
|
*:first-child { margin-top: 0 }
|
|
|
|
|
2023-01-02 14:22:34 -06:00
|
|
|
h1, h2, h3, h4, h5, h6
|
2023-06-26 14:35:12 -05:00
|
|
|
position relative
|
|
|
|
display block
|
2022-03-09 11:31:39 -06:00
|
|
|
|
2022-03-09 10:23:26 -06:00
|
|
|
.anchor-link
|
2022-03-09 11:31:39 -06:00
|
|
|
flex-grow 1
|
|
|
|
padding 0 0.5em
|
2022-03-09 10:23:26 -06:00
|
|
|
font-weight normal
|
|
|
|
font-size 75%
|
2022-10-22 21:33:25 -05:00
|
|
|
text-decoration underline
|
|
|
|
color transparent
|
|
|
|
|
|
|
|
&:focus-visible
|
|
|
|
color var(--fg)
|
2022-03-09 10:23:26 -06:00
|
|
|
|
|
|
|
&:hover
|
|
|
|
.anchor-link
|
2022-10-22 21:33:25 -05:00
|
|
|
color var(--fg)
|
2022-03-09 10:23:26 -06:00
|
|
|
|
|
|
|
@media (max-width: 600px)
|
2023-01-02 14:22:34 -06:00
|
|
|
h1, h2, h3, h4, h5, h6
|
2022-03-09 10:23:26 -06:00
|
|
|
.anchor-link
|
2022-03-09 11:31:39 -06:00
|
|
|
padding 0 0.25em
|
2022-03-09 10:23:26 -06:00
|
|
|
font-weight normal
|
|
|
|
font-size 75%
|
|
|
|
text-decoration none
|
|
|
|
position absolute
|
|
|
|
right 0
|
2023-06-26 14:35:12 -05:00
|
|
|
top 0
|
2022-03-09 10:23:26 -06:00
|
|
|
|
2022-11-22 14:45:46 -06:00
|
|
|
> p code, > h1 code, > h2 code, > h3 code, > h4 code, > h5 code, > h6 code, blockquote code
|
2020-12-16 00:27:07 -06:00
|
|
|
padding 0.1em 0.25em
|
|
|
|
border-radius 0.25em
|
2020-12-18 09:52:02 -06:00
|
|
|
background-color var(--inline-code-bg)
|
2020-12-16 00:27:07 -06:00
|
|
|
|
|
|
|
&> header
|
|
|
|
font-family var(--msff), monospace
|
|
|
|
position relative
|
|
|
|
display flex
|
|
|
|
background-color var(--header-bg)
|
|
|
|
color var(--fg)
|
|
|
|
box-shadow 0 0 0.5em rgba(0, 0, 0, 0.25)
|
|
|
|
margin-bottom 0.5em
|
|
|
|
|
|
|
|
@media (max-width: 600px)
|
|
|
|
flex-direction column
|
|
|
|
font-size 125%
|
|
|
|
|
|
|
|
&> section { display: flex }
|
|
|
|
&> section > a
|
|
|
|
text-decoration none
|
|
|
|
line-height 1.5em
|
|
|
|
display flex
|
|
|
|
justify-content center
|
|
|
|
align-items center
|
|
|
|
padding 0.25em 0.5em
|
|
|
|
color var(--fg)
|
|
|
|
|
|
|
|
&:visited { color: var(--fg) }
|
2020-12-18 10:01:32 -06:00
|
|
|
&:hover { background: var(--header-hover-bg) }
|
2020-12-16 00:27:07 -06:00
|
|
|
&> img { max-width: 48px }
|
|
|
|
&> h1
|
|
|
|
font-weight 300
|
|
|
|
font-size 150%
|
|
|
|
|
|
|
|
input, textarea
|
|
|
|
background var(--input-bg)
|
|
|
|
border 0
|
|
|
|
font inherit
|
|
|
|
padding 0.5em 1em
|
|
|
|
color var(--input-fg)
|
|
|
|
border-radius 0.25em
|
|
|
|
|
|
|
|
&:focus { background: var(--input-focus-bg) }
|
|
|
|
&:hover { background: var(--input-hover-bg) }
|
|
|
|
|
|
|
|
button, input[type=submit]
|
|
|
|
font inherit
|
|
|
|
background var(--button-bg)
|
|
|
|
color var(--button-fg)
|
|
|
|
cursor pointer
|
|
|
|
border 0
|
|
|
|
padding 0.5em 1em
|
|
|
|
|
|
|
|
&:focus { background: var(--button-hover-bg) }
|
|
|
|
&:hover { background: var(--button-hover-bg) }
|
|
|
|
|
|
|
|
.lead { font-size: 1.5rem }
|
|
|
|
.rounded { border-radius: 0.5em }
|
|
|
|
|
2023-06-26 14:35:12 -05:00
|
|
|
table tr > td.leading
|
|
|
|
padding-right 1em
|
|
|
|
|
|
|
|
table tr > td
|
|
|
|
vertical-align top
|
|
|
|
padding-top 0.25em
|
|
|
|
padding-bottom 0.25em
|
|
|
|
|
2020-12-16 00:27:07 -06:00
|
|
|
form
|
|
|
|
&> label, > fieldset
|
|
|
|
border 0
|
|
|
|
display flex
|
|
|
|
flex-direction column
|
|
|
|
|
|
|
|
&> fieldset ~ label,
|
|
|
|
&> label ~ fieldset,
|
|
|
|
&> label ~ label,
|
|
|
|
&> fieldset ~ fieldset
|
|
|
|
margin-top 0.5em
|
|
|
|
|
2021-06-15 15:28:13 -05:00
|
|
|
.js-only { display: none !important } // script removes this class on load
|
2020-12-16 00:27:07 -06:00
|
|
|
.no-bg { background: none }
|
|
|
|
.hidden-in-browsers { display: none }
|
|
|
|
|
|
|
|
.centerize
|
|
|
|
display flex
|
|
|
|
justify-content center
|
|
|
|
align-items center
|
2020-12-17 16:37:54 -06:00
|
|
|
align-content center
|
2020-12-16 00:27:07 -06:00
|
|
|
|
2023-05-23 12:17:11 -05:00
|
|
|
#logo-shadow { stroke: var(--icon-shadow) }
|
2020-12-16 00:27:07 -06:00
|
|
|
|
|
|
|
@media (max-width 600px)
|
|
|
|
.hidden-on-mobile { display: none }
|
|
|
|
|
2022-03-09 10:55:32 -06:00
|
|
|
.hide-unless-focused
|
|
|
|
transform translateY(-200%)
|
|
|
|
position fixed
|
|
|
|
top 0.5em
|
|
|
|
left 0.5em
|
|
|
|
padding 0.5em 0.8em
|
|
|
|
border dotted 0.1em #ccc
|
|
|
|
border-radius 0.25em
|
|
|
|
box-shadow 0 0 0.5em rgba(0, 0, 0, 0.25)
|
|
|
|
background rgba(0, 0, 0, 0.8)
|
|
|
|
|
|
|
|
&:focus
|
|
|
|
transform translateX(0%)
|
|
|
|
|
2020-12-16 00:27:07 -06:00
|
|
|
@media (min-width 600px)
|
|
|
|
body.align-left
|
|
|
|
.hide-in-align-left { display: none }
|
|
|
|
.with-align { text-align: left }
|
|
|
|
|
|
|
|
body.align-center
|
|
|
|
.hide-in-align-center { display: none }
|
|
|
|
.with-align { text-align: center }
|
2022-11-22 14:58:48 -06:00
|
|
|
&> main, > footer
|
2020-12-17 16:37:54 -06:00
|
|
|
h1, h2, h3, h4, h5, h6
|
|
|
|
line-height 1.5em
|
|
|
|
text-align left
|
|
|
|
|
2023-06-26 14:57:21 -05:00
|
|
|
h1, h2, h3, h4, h5, h6, form, ul, ol, p, table, .content, details
|
2023-05-11 14:40:11 -05:00
|
|
|
position relative
|
2020-12-17 16:37:54 -06:00
|
|
|
max-width 600px
|
|
|
|
margin-left auto
|
|
|
|
margin-right auto
|
|
|
|
|
|
|
|
.highlight
|
|
|
|
border-left 0
|
|
|
|
|
|
|
|
pre.chroma
|
|
|
|
padding 0
|
|
|
|
display flex
|
2023-05-11 14:40:11 -05:00
|
|
|
flex-direction column
|
2020-12-17 16:37:54 -06:00
|
|
|
width auto
|
|
|
|
flex 1
|
|
|
|
justify-content center
|
|
|
|
align-content center
|
|
|
|
align-items center
|
|
|
|
margin-left auto
|
|
|
|
margin-right auto
|
|
|
|
|
|
|
|
> code
|
2023-05-11 13:54:04 -05:00
|
|
|
width: 600px;
|
2020-12-17 16:37:54 -06:00
|
|
|
padding 0.25em 0.5em
|
|
|
|
border-left solid var(--syntax-bpx) var(--syntax-ledg)
|
2020-12-16 00:27:07 -06:00
|
|
|
|
|
|
|
img,
|
|
|
|
embed,
|
|
|
|
frame,
|
|
|
|
iframe
|
|
|
|
max-width 100%
|
2020-12-17 16:37:54 -06:00
|
|
|
margin-left auto
|
|
|
|
margin-right auto
|
2020-12-16 00:27:07 -06:00
|
|
|
display block
|
2022-03-09 10:55:32 -06:00
|
|
|
|
|
|
|
ul.horizontal-blocks
|
|
|
|
display flex
|
|
|
|
flex-wrap wrap
|
|
|
|
list-style none
|
|
|
|
padding 0
|
|
|
|
gap 0.5em
|
|
|
|
|
|
|
|
> li
|
|
|
|
flex 1
|
|
|
|
display flex
|
|
|
|
|
|
|
|
> a
|
|
|
|
flex-grow 1
|
|
|
|
display flex
|
|
|
|
padding 0.5em 2em
|
2023-05-11 13:54:04 -05:00
|
|
|
background-color var(--button-bg)
|
2022-03-09 10:55:32 -06:00
|
|
|
text-align center
|
|
|
|
justify-content center
|
|
|
|
align-items center
|
|
|
|
text-decoration none
|
|
|
|
white-space nowrap
|
|
|
|
|
|
|
|
&:hover
|
2023-01-02 14:22:34 -06:00
|
|
|
background-color var(--header-bg)
|
2022-03-09 10:55:32 -06:00
|
|
|
|