2023-08-06 04:16:32 +02:00
@ import '@fontsource/fira-mono' ;
: root {
--font-body : Arial , -apple-system , BlinkMacSystemFont , 'Segoe UI' , Roboto , Oxygen , Ubuntu ,
Cantarell , 'Open Sans' , 'Helvetica Neue' , sans-serif ;
--font-mono : 'Fira Mono' , monospace ;
--color-bg : # 1a1a1a ;
2023-08-11 21:39:36 +02:00
--color-active-1 : # 00c4a3 ;
--color-active-2 : # 4075a6 ;
2023-08-21 00:48:23 +02:00
--color-warn-1 : # FF9900 ;
--color-warn-2 : # EA4335 ;
2023-08-06 04:16:32 +02:00
--color-text : rgba ( 255 , 255 , 255 , 0 . 7 ) ;
--column-width : 42rem ;
--column-margin-top : 4rem ;
font-family : var ( --font-body ) ;
color : var ( --color-text ) ;
2023-08-11 21:39:36 +02:00
--height-m : 3em ;
2023-08-06 04:16:32 +02:00
}
body {
min-height : 100vh ;
margin : 0 ;
background-attachment : fixed ;
background-color : var ( --color-bg ) ;
background-size : 100vw 100vh ;
}
h1 ,
h2 ,
p {
font-weight : 400 ;
}
p {
line-height : 1 . 5 ;
}
a {
2023-08-11 21:39:36 +02:00
color : var ( --color-active-1 ) ;
2023-08-06 04:16:32 +02:00
text-decoration : none ;
}
a : hover {
text-decoration : underline ;
}
h1 {
font-size : 2rem ;
text-align : center ;
}
h2 {
font-size : 1rem ;
}
pre {
font-size : 16px ;
font-family : var ( --font-mono ) ;
background-color : rgba ( 255 , 255 , 255 , 0 . 45 ) ;
border-radius : 3px ;
box-shadow : 2px 2px 6px rgb ( 255 255 255 / 25 % ) ;
padding : 0 . 5em ;
overflow-x : auto ;
color : var ( --color-text ) ;
}
. text-column {
display : flex ;
max-width : 48rem ;
flex : 0 . 6 ;
flex-direction : column ;
justify-content : center ;
margin : 0 auto ;
}
input ,
button {
font-size : inherit ;
font-family : inherit ;
}
button : focus : not ( : focus-visible ) {
outline : none ;
}
@ media ( min-width : 720px ) {
h1 {
font-size : 2 . 4rem ;
}
}
. visually-hidden {
border : 0 ;
clip : rect ( 0 0 0 0 ) ;
height : auto ;
margin : 0 ;
overflow : hidden ;
padding : 0 ;
position : absolute ;
width : 1px ;
white-space : nowrap ;
}