astolfo.org/static/style.css
2025-05-25 15:45:17 +10:00

117 lines
2.1 KiB
CSS

:root {
--text: black;
--accent: #ff69b4;
--accent2: #FA7DBC;
--background: #fba0e3;
--rounding: 8em;
}
body {
padding: 0px;
margin: auto;
height: 100vh;
background-image: url("background.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
background-attachment: fixed;
}
header {
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;
}
header ul {
list-style-type: none;
}
header li{
display: inline;
}
.header-links {
transition-duration: 0.3s;
padding: 0.3em;
display: inline-block;
border-radius: var(--rounding);
text-decoration: none;
color: var(--text);
}
.header-links:hover {
background-color: var(--accent);
scale: 250%;
transform: translateY(-5px) rotate(-7deg);
margin-left: 2em;
margin-right: 2em;
}
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;
}
footer * {
padding-left: 30px;
}
#landing-inner {
border-radius: var(--rounding);
background-color: var(--background);
width: 80vw;
margin: auto;
box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;
}
#float-header {
text-align: center;
font-size: 12vw;
align-content: center;
}
#float-header span {
display: inline-block;
animation: float 3s ease-in-out infinite;
color: var(--accent2);
-webkit-text-stroke: 0.01em var(--text);
padding: 0px;
margin-left: -0.2em;
}
@keyframes float {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-10px);
}
}
@media (max-width: 1000px) {
footer {
flex-direction: column;
}
footer marquee {
width: auto !important;
}
}