catmpeg.github.io/styles.css

138 lines
No EOL
2.4 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
body {
margin: 0;
font-family: 'Ubuntu';
font-size: 16px;
background-image: url('/images/bg.jpg');
background-size: cover;
background-position: center center;
background-attachment: fixed;
color: #fff;
text-align: center;
height: 100vh;
}
header {
background-color: rgba(0, 0, 0, 0.7);
padding: 10px;
}
main {
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 20px;
}
nav {
display: flex;
justify-content: center;
gap: 20px;
margin: 20px 0;
font-family: 'Ubuntu';font-size: 16px;
}
nav img {
transition: transform 0.3s ease;
}
nav img:hover {
transform: scale(1.1);
}
#contacts ul {
list-style-type: none;
padding: 0;
}
#contacts li {
margin-bottom: 10px;
}
footer {
display: flex;
justify-content: center;
gap: 10px;
margin-top: 20px;
}
a {
color: rgb(255, 174, 0);
text-decoration: none;
transition: color 0.3s ease;
font-family: 'Ubuntu';font-size: 16px;
}
a:hover, a:active {
color: rgb(255, 200, 0);
text-decoration: underline;
font-family: 'Ubuntu';font-size: 16px;
}
.anim main {
animation: fadein 500ms cubic-bezier(0, 1, 1, 1);
}
.anim header {
animation: headerfade 500ms linear;
}
#terminal {
display: none;
width: 100%;
min-height: 100%;
max-height: 100%;
overflow: auto;
position: absolute;
z-index: 9999;
top: 0;
left: 0;
background-color: black;
font-family: 'consolas', monospace;
text-align: left;
-ms-overflow-style: none;
scrollbar-width: none;
white-space: pre-wrap;
}
#terminal::-webkit-scrollbar {
display: none;
}
#terminal p {
margin: 0;
padding: 0;
}
@keyframes fadein {
from { opacity: 0; filter: blur(10px); transform: scale(0.8); }
to { opacity: 1; filter: blur(0px); transform: scale(1); }
}
@keyframes headerfade {
from { opacity: 0; transform: translateY(-100%); }
to { opacity: 1; transform: translateY(0%); }
}
@media (max-width: 600px) {
nav {
flex-direction: column;
align-items: center;
}
footer {
display: flex;
flex-direction: column;
align-items: center;
}
}
.minecraft {
max-width: 80%;
}
.fnf {
max-width: 80%;
}