website/static/stylesheet.css

114 lines
1.5 KiB
CSS
Raw Normal View History

2022-03-28 15:24:48 -04:00
/*
2022-03-30 06:28:40 -04:00
* #F2F2FF - White
* #EDAF1F - Orange
* #17466E - Blue
2022-03-28 15:24:48 -04:00
*/
html {
height: 100%;
2022-03-29 18:38:10 -04:00
display: flex;
2022-03-28 15:24:48 -04:00
}
body {
2022-03-29 18:38:10 -04:00
background-color: #F2F2FF;
2022-03-30 06:28:40 -04:00
background-image: url("duck.png");
background-size: 50%;
background-repeat: no-repeat;
background-position: right bottom;
2022-03-28 15:24:48 -04:00
display: flex;
2022-03-30 06:28:40 -04:00
margin: 0;
2022-03-29 18:38:10 -04:00
width: 100%;
font-family: "Noto Sans Mono", "Monaco", serif;
flex-direction: column;
2022-03-28 15:24:48 -04:00
}
2022-03-30 05:32:25 -04:00
header {
2022-03-28 15:24:48 -04:00
display: flex;
2022-03-29 18:38:10 -04:00
justify-content: space-between;
2022-03-30 06:28:40 -04:00
padding: 2rem;
2022-03-28 15:24:48 -04:00
}
2022-03-29 18:38:10 -04:00
header h1 {
font-family: "Noto Serif Display", "American Typewriter", serif;
font-weight: normal;
2022-03-28 15:24:48 -04:00
text-align: center;
2022-03-29 18:38:10 -04:00
display: block;
2022-03-30 05:32:25 -04:00
margin: 0;
2022-03-28 15:24:48 -04:00
}
2022-03-29 18:38:10 -04:00
header nav {
display: flex;
align-items: center;
2022-03-28 15:24:48 -04:00
}
2022-03-29 18:38:10 -04:00
nav a {
margin: 1rem;
2022-03-28 15:24:48 -04:00
font-size: 1.2rem;
2022-03-29 18:38:10 -04:00
text-decoration: none;
color: black;
padding: 1rem;
2022-03-28 15:24:48 -04:00
}
2022-03-29 18:38:10 -04:00
.button {
background-color: #17466E;
color: #F2F2FF;
border-radius: 20px;
2022-03-28 15:24:48 -04:00
}
main {
height: 100%;
display: flex;
2022-03-29 18:38:10 -04:00
align-items: center;
justify-content: space-evenly;
2022-03-30 05:32:25 -04:00
flex-wrap: wrap-reverse;
2022-03-30 06:28:40 -04:00
padding: 1rem;
padding-bottom: 5rem;
2022-03-28 15:24:48 -04:00
}
2022-03-29 18:38:10 -04:00
main figure {
2022-03-30 06:28:40 -04:00
max-width: 30%;
2022-03-28 15:24:48 -04:00
display: block;
2022-03-29 18:38:10 -04:00
font-size: 1.5rem;
2022-03-30 05:32:25 -04:00
margin: 0;
2022-03-28 15:24:48 -04:00
}
2022-03-29 18:38:10 -04:00
main figure figcaption {
text-align: right;
2022-03-28 15:24:48 -04:00
}
2022-03-29 18:38:10 -04:00
main span {
2022-03-28 15:24:48 -04:00
text-align: right;
2022-03-29 18:38:10 -04:00
font-size: 3rem;
2022-03-28 15:24:48 -04:00
}
2022-03-29 18:38:10 -04:00
mark {
2022-03-30 06:28:40 -04:00
background-color: #17466E;
color: #F2F2FF;
2022-03-29 18:38:10 -04:00
position: relative;
2022-03-28 15:24:48 -04:00
}
2022-03-30 05:32:25 -04:00
@media only screen and (max-width: 600px) {
2022-03-30 06:28:40 -04:00
body {
background-image: none;
}
2022-03-30 05:32:25 -04:00
main {
margin-bottom: 0;
}
header {
flex-direction: column;
align-items: center;
}
main figure {
max-width: 100%;
}
2022-03-30 06:31:56 -04:00
mark {
background-color: #EDAF1F;
color: black;
}
2022-03-30 05:32:25 -04:00
}