You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
1.1 KiB
CSS
78 lines
1.1 KiB
CSS
5 years ago
|
@font-face {
|
||
|
font-family: "Crickx";
|
||
|
src: url("fonts2/fonts/Crickx.otf");
|
||
|
}
|
||
|
|
||
|
html {
|
||
|
padding-top: 100px;
|
||
|
background-color: white;
|
||
|
background-repeat: no-repeat;
|
||
|
background-position: center;
|
||
|
background-size: 100%;
|
||
|
background-attachment: fixed;
|
||
|
font-size: 16px;
|
||
|
text-align: center;
|
||
|
|
||
|
@media (max-width: 1000px) {
|
||
|
font-size: calc(12px + .4vw);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
text-align: center;
|
||
|
max-width: 800px;
|
||
|
margin: 0 auto;
|
||
|
font-size: 1.5rem;
|
||
|
font-family: "Crickx";
|
||
|
color: black;
|
||
|
}
|
||
|
|
||
|
.box {
|
||
|
display: flex;
|
||
|
flex: 1 1 auto;
|
||
|
flex-direction: column;
|
||
|
text-align: center;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
height: 12rem;
|
||
|
}
|
||
|
|
||
|
h1 {
|
||
|
font-size: 4rem;
|
||
|
letter-spacing: -0.2rem;
|
||
|
line-height: 4rem;
|
||
|
}
|
||
|
|
||
|
h2 {
|
||
|
font-size: 4rem;
|
||
|
font-family: "Crickx";
|
||
|
letter-spacing: -0.1rem;
|
||
|
}
|
||
|
|
||
|
|
||
|
header p, footer p {
|
||
|
font-size: 2rem;
|
||
|
}
|
||
|
|
||
|
header p.italic, footer p.italic {
|
||
|
font-style: italic;
|
||
|
}
|
||
|
|
||
|
main p {
|
||
|
line-height: 3rem;
|
||
|
}
|
||
|
|
||
|
.blink {
|
||
|
animation: blinker 0s step-end infinite;
|
||
|
}
|
||
|
|
||
|
@keyframes blinker {
|
||
|
50% {
|
||
|
opacity: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
a, a:active, a:visited {
|
||
|
color: #ffffff;
|
||
|
}
|