142 lines
2.0 KiB
CSS
142 lines
2.0 KiB
CSS
/* Fade animation */
|
|
@keyframes fade {
|
|
0% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: 0.4;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/* Globals */
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
p {
|
|
margin: 0;
|
|
padding: 0;
|
|
color: white;
|
|
}
|
|
|
|
body {
|
|
background-color: black;
|
|
overflow: hidden;
|
|
font-family: "Lato", "Iosevka Nerd Font", "Iosevka", "JetBrainsMono Nerd Font", "JetBrainsMono", monospace;
|
|
}
|
|
|
|
body, html {
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/* Centred content */
|
|
.centred {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100%;
|
|
/* Display items one after another */
|
|
flex-direction: column;
|
|
}
|
|
|
|
.centred h1 {
|
|
font-size: 40px;
|
|
color: white;
|
|
margin-top: 20px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.centred a {
|
|
text-decoration: none;
|
|
color: white;
|
|
opacity: 0.8;
|
|
font-size: 20px;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.centred a:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.lambda {
|
|
width: 300px;
|
|
border-radius: 100%;
|
|
box-shadow:
|
|
0 0 50px 5px black, /* outer cyan */
|
|
0 0 100px 40px #7800B0, /* inner white */
|
|
0 0 140px 100px black; /* outer cyan */
|
|
}
|
|
|
|
/* Social links */
|
|
.socials {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
margin: 20px;
|
|
}
|
|
|
|
.socials a:hover {
|
|
opacity: 1;
|
|
}
|
|
.socials a {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.socials img {
|
|
width: 30px;
|
|
height: 30px;
|
|
color: white;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
/* Site links */
|
|
.links {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
margin: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.links a:hover {
|
|
opacity: 1;
|
|
}
|
|
.links a {
|
|
opacity: 0.8;
|
|
color: white;
|
|
margin-bottom: 10px;
|
|
font-size: 25px;
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
color: white;
|
|
padding: 20px;
|
|
width: 100%;
|
|
}
|
|
|
|
.footer a {
|
|
color: white;
|
|
}
|
|
|
|
.footer p {
|
|
font-size: 20px;
|
|
} |