63 lines
1.2 KiB
CSS
63 lines
1.2 KiB
CSS
@font-face {
|
|
font-family: 'Ethnocentric';
|
|
src: url('/static/ethnocentric.otf') format('opentype');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-display: swap; /* Shows fallback font until custom font loads */
|
|
}
|
|
|
|
* {
|
|
color: whitesmoke;
|
|
font-family: sans-serif;
|
|
text-align: center;
|
|
}
|
|
|
|
header {
|
|
background-color: transparent;
|
|
border-bottom: 1px solid whitesmoke;
|
|
padding: 1rem 1rem;
|
|
}
|
|
|
|
nav {
|
|
display: flex; /* Aligns logo and menu horizontally */
|
|
justify-content: space-between; /* Pushes logo to left, menu to right */
|
|
align-items: center;
|
|
max-width: 1000px;
|
|
margin: 0 auto; /* Centers the header content */
|
|
}
|
|
|
|
nav ul {
|
|
list-style: none;
|
|
display: flex;
|
|
gap: 20px;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#name {
|
|
text-align: center;
|
|
font-size: 5rem;
|
|
margin: 20px;
|
|
padding: 0px;
|
|
animation: nameShadow 5s linear infinite;
|
|
letter-spacing: 2px;
|
|
color: whitesmoke;
|
|
font-family: "Ethnocentric", sans-serif;
|
|
transform: skewX(-20deg);
|
|
}
|
|
|
|
@keyframes nameShadow {
|
|
0% {
|
|
text-shadow: none;
|
|
}
|
|
90% {
|
|
text-shadow:
|
|
-6px -3px cornflowerblue,
|
|
6px 3px orangered;
|
|
}
|
|
}
|
|
|
|
body {
|
|
background-image: linear-gradient(315deg, #111, #222);
|
|
}
|