website/static/stylesheet.css

299 lines
3.7 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
*/
2022-03-30 08:22:10 -04:00
#html {
2022-03-28 15:24:48 -04:00
height: 100%;
2022-03-29 18:38:10 -04:00
display: flex;
2022-03-28 15:24:48 -04:00
}
2022-03-30 08:22:10 -04:00
#body {
2022-03-29 18:38:10 -04:00
background-color: #F2F2FF;
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;
2023-11-11 06:48:55 -05:00
position: relative;
2022-03-28 15:24:48 -04:00
}
2022-03-30 08:22:10 -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-30 08:22:10 -04:00
#title {
2022-03-29 18:38:10 -04:00
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-30 08:22:10 -04:00
#title a {
text-decoration: none;
color: black;
}
#links {
2022-03-29 18:38:10 -04:00
display: flex;
align-items: center;
2023-11-11 04:58:23 -05:00
justify-content: center;
2022-03-28 15:24:48 -04:00
}
2022-03-30 08:22:10 -04:00
#links a {
2022-03-29 18:38:10 -04:00
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-30 08:22:10 -04:00
#links .button {
2022-03-29 18:38:10 -04:00
background-color: #17466E;
color: #F2F2FF;
border-radius: 20px;
2022-03-30 15:54:35 -04:00
box-shadow: 2px 2px 0 black;
2022-03-28 15:24:48 -04:00
}
2022-03-30 07:14:42 -04:00
#page {
2022-03-28 15:24:48 -04:00
display: flex;
2023-11-11 06:48:55 -05:00
padding: 0 1rem 1rem;
2022-03-30 07:14:42 -04:00
}
#social {
width: 1.5em;
display: flex;
flex-direction: column;
justify-content: center;
}
#social a {
margin: .5em 0;
}
2022-03-30 08:22:10 -04:00
#social .icon {
2022-03-30 07:14:42 -04:00
width: 100%;
}
2022-03-30 08:22:10 -04:00
#main {
2022-03-30 07:14:42 -04:00
width: 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-28 15:24:48 -04:00
}
2022-03-30 08:22:10 -04:00
#quote {
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-30 08:22:10 -04:00
#quote figcaption {
2022-03-29 18:38:10 -04:00
text-align: right;
2022-03-28 15:24:48 -04:00
}
2022-03-30 08:22:10 -04:00
#slogan {
2022-03-28 15:24:48 -04:00
text-align: right;
2022-03-29 18:38:10 -04:00
font-size: 3rem;
2023-11-11 06:48:55 -05:00
position: relative;
2022-03-28 15:24:48 -04:00
}
2022-03-30 08:22:10 -04:00
#slogan mark {
2022-03-30 15:54:35 -04:00
box-shadow: 2px 2px 0 black;
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
2023-11-11 06:48:55 -05:00
#circle {
top: 0;
left: -20%;
position: absolute;
width: 140%;
aspect-ratio: 1 / 1;
background-color: #EDAF1F;
border-radius: 100%;
animation: pulse-circle 30s ease-in-out -2s infinite alternate;
z-index: -1;
}
#circle-behind {
top: 0;
left: -20%;
position: absolute;
width: 140%;
aspect-ratio: 1 / 1;
z-index: -2;
animation: rotate-circle 60s linear -2s infinite normal;
}
#circle-behind::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
animation: pulse-circle 30s ease-in-out -2s infinite alternate;
background-color: #d49a11;
border-radius: 100%;
}
@keyframes pulse-circle {
0% {
transform: scale(.9);
}
50% {
transform: scale(1);
}
100% {
transform: scale(.9);
}
}
@keyframes rotate-circle {
0% {
transform: translateX(5%);
}
25% {
transform: translateY(-5%);
}
50% {
transform: translateX(-5%);
}
75% {
transform: translateY(5%);
}
100% {
transform: translateX(5%);
}
}
.cursor {
animation: blink 0.8s infinite;
}
@keyframes blink {
50% {
opacity: 0;
}
}
2022-03-30 05:32:25 -04:00
@media only screen and (max-width: 600px) {
2023-11-11 06:48:55 -05:00
#page {
flex-wrap: wrap-reverse;
}
#social {
flex-direction: row;
width: 100%;
gap: 1rem;
height: 50px;
margin-bottom: 1rem;
}
#social img {
height: 100%;
}
#circle, #circle-behind {
display: none;
2022-03-30 06:28:40 -04:00
}
2022-03-30 08:22:10 -04:00
#main {
2022-03-30 05:32:25 -04:00
margin-bottom: 0;
}
2022-03-30 08:22:10 -04:00
#header {
2022-03-30 05:32:25 -04:00
flex-direction: column;
align-items: center;
2023-11-11 04:58:23 -05:00
gap: 1rem;
2022-03-30 05:32:25 -04:00
}
2022-03-30 08:22:10 -04:00
#quote {
2022-03-30 05:32:25 -04:00
max-width: 100%;
2022-03-30 08:45:44 -04:00
margin: 2rem 0;
}
#slogan {
margin: 2rem;
2022-03-30 05:32:25 -04:00
}
2022-03-30 06:31:56 -04:00
2022-03-30 08:22:10 -04:00
#slogan mark {
2022-03-30 06:31:56 -04:00
background-color: #EDAF1F;
color: black;
}
2023-11-11 04:58:23 -05:00
#links a {
margin: 0.3rem;
2023-11-11 06:48:55 -05:00
flex-wrap: wrap;
2023-11-11 04:58:23 -05:00
}
}
@media only screen and (max-width: 420px) {
#header {
padding: 1rem;
}
}
@media only screen and (max-width: 390px) {
#links .button {
border-radius: 7px;
}
#links a {
padding: 0.6rem;
}
#header {
padding: 4px;
padding-bottom: 1rem;
}
2022-03-30 05:32:25 -04:00
}
2022-03-30 08:45:44 -04:00
@media only screen and (min-width: 600px) {
#quote {
max-width: 80%;
}
2023-11-11 04:58:23 -05:00
#page {
height: 100%;
2023-11-11 06:48:55 -05:00
overflow-y: hidden;
2023-11-11 04:58:23 -05:00
}
2022-03-30 08:45:44 -04:00
}
@media only screen and (min-width: 768px) {
#quote {
2022-03-30 09:38:28 -04:00
max-width: 50%;
2022-03-30 08:45:44 -04:00
}
2023-11-11 06:48:55 -05:00
#circle, #circle-behind {
top: -70%;
}
#page {
padding-top: 3rem;
padding-bottom: 3rem;
overflow: hidden;
}
2022-03-30 08:45:44 -04:00
}
@media only screen and (min-width: 992px) {
#quote {
max-width: 40%;
}
}