142 lines
2.3 KiB
CSS
142 lines
2.3 KiB
CSS
:root {
|
|
--text: black;
|
|
--accent: #ff1b8d;
|
|
--accent2: #FA7DBC;
|
|
--background: #fba0e3;
|
|
--background-body: #fdc6ee;
|
|
--rounding: 8em;
|
|
--transitiondur: 0.3s;
|
|
}
|
|
|
|
body {
|
|
padding: 0px;
|
|
margin: auto;
|
|
height: 100vh;
|
|
background-color: var(--background-body);
|
|
font-family: ComicShannsMono Nerd Font, Chalkboard, Comic Sans MS, sans-serif;
|
|
}
|
|
|
|
/*
|
|
* basic elements
|
|
*/
|
|
|
|
a {
|
|
color: var(--accent);
|
|
transition-duration: var(--transitiondur);
|
|
}
|
|
|
|
a:hover {
|
|
color: black;
|
|
background-color: var(--accent2);
|
|
transform: translateY(-10px);
|
|
display: inline-block;
|
|
padding: 10px;
|
|
margin: -10px;
|
|
}
|
|
|
|
/*
|
|
* navbar
|
|
*/
|
|
|
|
nav {
|
|
margin: 1em;
|
|
padding: 0.5em;
|
|
padding-left: 0.5em;
|
|
padding-right: 3em;
|
|
|
|
border-radius: var(--rounding);
|
|
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
|
|
background-color: var(--background);
|
|
|
|
width: fit-content;
|
|
position: fixed;
|
|
right: 0;
|
|
top: 0;
|
|
}
|
|
|
|
nav ul {
|
|
list-style-type: none;
|
|
}
|
|
|
|
nav li{
|
|
display: inline;
|
|
}
|
|
|
|
nav a{
|
|
transition-duration: 0.3s;
|
|
padding: 0.3em;
|
|
display: inline-block;
|
|
border-radius: var(--rounding);
|
|
text-decoration: none;
|
|
color: var(--text);
|
|
}
|
|
|
|
nav a:hover {
|
|
background-color: var(--accent2);
|
|
scale: 200%;
|
|
transform: translateY(-5px) rotate(-7deg);
|
|
margin-left: 2em;
|
|
margin-right: 2em;
|
|
}
|
|
|
|
/*
|
|
* footer
|
|
*/
|
|
|
|
footer {
|
|
color: var(--text);
|
|
background-color: var(--background);
|
|
display: flex;
|
|
|
|
margin: 0px;
|
|
padding: 30px;
|
|
border-top-right-radius: var(--rounding);
|
|
border-top-left-radius: var(--rounding);
|
|
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
|
|
|
|
background-image: url("/img/astolfos/footer.png");
|
|
background-position: 100% 100%;
|
|
background-size: 10em;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
footer p,hr,div {
|
|
padding-left: 30px;
|
|
}
|
|
|
|
@keyframes float {
|
|
0%, 100% {
|
|
transform: translateY(0px);
|
|
}
|
|
50% {
|
|
transform: translateY(-10px);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1000px) {
|
|
footer {
|
|
flex-direction: column;
|
|
}
|
|
|
|
footer marquee {
|
|
width: auto !important;
|
|
}
|
|
|
|
.blog-content {
|
|
width: 90vw !important;
|
|
}
|
|
}
|
|
|
|
/*
|
|
* blog
|
|
*/
|
|
|
|
.blog-content {
|
|
margin: auto;
|
|
width: 50em;
|
|
}
|
|
|
|
.blog-content h1 {
|
|
font-family: Serif;
|
|
font-size: 3rem;
|
|
}
|