72 lines
1.2 KiB
CSS
72 lines
1.2 KiB
CSS
|
@keyframes bg-anim{
|
||
|
from {
|
||
|
background-position: 0 0;
|
||
|
}
|
||
|
to {
|
||
|
background-position: 32px 32px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@keyframes title-anim{
|
||
|
from {
|
||
|
color: #ffecd6;
|
||
|
}
|
||
|
to {
|
||
|
color: #ffd4a3;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@font-face {
|
||
|
font-family: "Fira Sans";
|
||
|
src: url('assets/fonts/fira-sans.eot');
|
||
|
src: url('assets/fonts/fira-sans.eot') format('embedded-opentype'),
|
||
|
url('assets/fonts/fira-sans.woff2') format('woff2'),
|
||
|
url('assets/fonts/fira-sans.woff') format('woff'),
|
||
|
url('assets/fonts/fira-sans.ttf') format('truetype');
|
||
|
}
|
||
|
|
||
|
#title {
|
||
|
animation: title-anim 5s linear alternate infinite;
|
||
|
}
|
||
|
|
||
|
.card {
|
||
|
background-color: #544e68;
|
||
|
border-radius: 10px;
|
||
|
padding: 1rem;
|
||
|
margin: 0.5rem;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
background-image: url("assets/images/bg.png");
|
||
|
background-size: 32px;
|
||
|
|
||
|
color: #ffecd6;
|
||
|
line-height: 1.5;
|
||
|
font-family: "Fira Sans", monospace;
|
||
|
|
||
|
animation: bg-anim 1s linear infinite;
|
||
|
padding-left: 5em;
|
||
|
padding-right: 5rem;
|
||
|
padding-top: 2rem;
|
||
|
padding-bottom: 2rem;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
color: #ffaa5e;
|
||
|
text-decoration: none;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
a:hover, a:active {
|
||
|
color: #ffd4a3;
|
||
|
}
|
||
|
|
||
|
h1, h2, h3, h4, h5 {
|
||
|
margin: 0.5rem;
|
||
|
}
|
||
|
|
||
|
strong {
|
||
|
font-size: 1.1rem;
|
||
|
font-weight: bold;
|
||
|
}
|