Initial commit
This commit is contained in:
65
src/css/main.css
Normal file
65
src/css/main.css
Normal file
@@ -0,0 +1,65 @@
|
||||
/* Author: Ward Truyen
|
||||
* Version: 1.0.0
|
||||
*/
|
||||
|
||||
:root {
|
||||
color-scheme: light dark;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
/* colors */
|
||||
background-image: linear-gradient(-30deg, #C0E0FF6F 70%, #FFE0C04F);
|
||||
}
|
||||
|
||||
main {
|
||||
margin: auto;
|
||||
width: 80%;
|
||||
padding: 10px;
|
||||
min-height: 40%;
|
||||
/* colors */
|
||||
border: 1px solid darkblue;
|
||||
background-color: white;
|
||||
box-shadow: 3px 3px 3px #30303090;
|
||||
}
|
||||
|
||||
main h1 {
|
||||
font-family: "Raleway", sans-serif;
|
||||
font-size: 4em;
|
||||
margin-top: 4px;
|
||||
margin-bottom: 8px;
|
||||
text-decoration: underline;
|
||||
text-shadow: 0px 0px 4px white, 2px 2px 6px;
|
||||
}
|
||||
|
||||
main p,
|
||||
main a {
|
||||
padding-left: 1em;
|
||||
}
|
||||
|
||||
.text-red {
|
||||
color: red;
|
||||
}
|
||||
|
||||
@media(prefers-color-scheme: dark) {
|
||||
|
||||
html,
|
||||
body {
|
||||
background-image: linear-gradient(-10deg, #1010206F 60%, #5050506F);
|
||||
}
|
||||
|
||||
main {
|
||||
border: 1px solid darkgray;
|
||||
background-color: black;
|
||||
box-shadow: 3px 3px 5px #101010C0;
|
||||
}
|
||||
|
||||
main h1 {
|
||||
text-shadow: 0px 0px 3px blue, 2px 2px 6px;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user