77 lines
1.2 KiB
CSS
77 lines
1.2 KiB
CSS
/* Author: Ward Truyen
|
|
* Version: 1.0.0
|
|
*/
|
|
|
|
html,
|
|
body {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
html {
|
|
background-image: linear-gradient(-30deg, #C0E0FF6F 70%, #FFE0C04F);
|
|
}
|
|
|
|
main {
|
|
margin: auto;
|
|
margin-top: 1em;
|
|
min-width: 80%;
|
|
padding: 10px;
|
|
min-height: 40%;
|
|
overflow: auto;
|
|
/* colors */
|
|
border: 1px solid darkblue;
|
|
background-color: white;
|
|
box-shadow: 3px 3px 3px #30303090;
|
|
}
|
|
|
|
main>h1 {
|
|
font-family: "Raleway", sans-serif;
|
|
font-size: 3em;
|
|
margin-top: 0px;
|
|
margin-bottom: 8px;
|
|
text-decoration: underline;
|
|
text-shadow: 0px 0px 4px white, 2px 2px 6px;
|
|
}
|
|
|
|
main>p {
|
|
margin-left: 1em;
|
|
}
|
|
|
|
main>h2 {
|
|
margin-left: 0.2em;
|
|
}
|
|
|
|
ul.dashed {
|
|
list-style-type: '- ';
|
|
}
|
|
|
|
.text-red {
|
|
color: red;
|
|
}
|
|
|
|
html.theme-dark {
|
|
color-scheme: dark;
|
|
background-image: linear-gradient(-10deg, #1010206F 60%, #5050506F);
|
|
color: white;
|
|
}
|
|
|
|
.theme-dark>body>main {
|
|
border: 1px solid darkgray;
|
|
background-color: black;
|
|
box-shadow: 3px 3px 5px #101010C0;
|
|
}
|
|
|
|
.theme-dark>body>main>h1 {
|
|
text-shadow: 0px 0px 3px blue, 2px 2px 6px;
|
|
}
|
|
|
|
@media(orientation: portrait){
|
|
main{
|
|
margin-top: 0;
|
|
}
|
|
}
|