2024-08-28 20:29:34 +02:00
/* Copyright (c) 2024 Julian Müller (ChaoticByte) */
2024-08-27 11:55:01 +02:00
body {
margin : 0 ;
padding : 0 ;
display : flex ;
2024-08-27 14:02:49 +02:00
flex-direction : column ;
align-items : center ;
2024-08-27 11:55:01 +02:00
width : 100vw ;
2024-08-29 13:10:23 +02:00
min-height : 100vh ;
2024-08-27 11:55:01 +02:00
font-family : sans-serif ;
}
2024-08-28 19:49:23 +02:00
a : hover , a : focus { text-decoration : underline ; }
2024-08-27 11:55:01 +02:00
a {
color : black ;
text-decoration : none ;
2024-08-28 19:49:23 +02:00
outline : none ;
2024-08-27 11:55:01 +02:00
}
2024-08-29 13:10:23 +02:00
footer {
margin-top : auto ;
padding : 1rem ;
box-sizing : border-box ;
display : flex ;
justify-content : center ;
flex-wrap : wrap ;
}
footer > div {
margin : 0 . 5rem ;
}
footer , footer * {
color : # 00000080 ! important ;
font-size : . 9rem ;
text-align : center ;
}
2024-08-27 14:02:49 +02:00
. homebtn {
position : absolute ;
top : 1rem ;
left : 1rem ;
}
2024-08-27 11:55:01 +02:00
. main {
margin : 2rem 0 ;
width : 100 % ;
display : flex ;
flex-direction : column ;
align-items : center ;
}
. main > h1 , . content {
width : 70vw ;
max-width : 50rem ;
}
. main > h1 {
font-size : 1 . 4rem ;
2024-08-29 13:10:23 +02:00
margin-top : 1 . 5rem ;
margin-bottom : . 5rem ;
2024-08-27 14:02:49 +02:00
text-align : center ;
2024-08-27 11:55:01 +02:00
}
. content { white-space : pre-line ; }
2024-08-28 19:49:23 +02:00
. home-main {
width : 100 % ;
2024-08-27 14:02:49 +02:00
padding : 2rem ;
2024-08-28 19:49:23 +02:00
box-sizing : border-box ;
gap : 1rem ;
}
2024-08-29 13:29:39 +02:00
. about {
margin-bottom : 2rem ;
}
. about > h1 {
2024-08-29 13:10:23 +02:00
font-size : 1 . 6rem ;
}
2024-08-29 13:29:39 +02:00
. description {
white-space : pre-line ;
}
2024-08-28 19:49:23 +02:00
. home-main , . toc , # search-results {
display : flex ;
flex-direction : column ;
}
. toc , # search-results , # search-box { padding : 0 .2 rem ; }
. toc , # search-results { gap : .2 rem ; }
# search-box {
2024-08-27 14:02:49 +02:00
width : 100 % ;
2024-08-28 19:49:23 +02:00
border : none ;
outline : none ;
border-bottom : 1px solid # 00000040 ;
height : 2rem ;
font-size : 1rem ;
}
# search-box : active , # search-box : focus , # search-box : hover {
border-bottom : 1px solid black ;
2024-08-27 14:02:49 +02:00
}
2024-08-28 19:49:23 +02:00
. hidden { display : none !important ; }
2024-08-27 11:55:01 +02:00
@ media only screen and ( max-width : 750px ) {
2024-08-28 19:49:23 +02:00
. main { margin-top : 4 rem ; }
2024-08-29 13:10:23 +02:00
. main > h1 {
margin-top : unset ;
}
2024-08-27 11:55:01 +02:00
. main > h1 , . content {
width : 90vw ;
max-width : unset ;
}
2024-08-27 14:02:49 +02:00
. homebtn {
left : unset ;
right : 1rem ;
}
2024-08-27 11:55:01 +02:00
}