catmpeg.github.io/styles.css
2025-04-25 21:50:06 +03:00

193 lines
No EOL
3.1 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'); */
@font-face {
font-family: 'Monocraft';
src: url('files/Monocraft.ttf');
}
body {
margin: 0;
font-family: 'Monocraft';
font-size: 16px;
background-size: cover;
background-position: center center;
background-attachment: fixed;
background-color: black;
color: #fff;
text-align: center;
height: 100vh;
}
header {
background-color: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(10px);
padding: 7px;
}
main {
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(10px);
border-radius: 20px;
}
nav {
display: flex;
justify-content: center;
gap: 20px;
margin: 20px 0;
font-family: 'Monocraft';
font-size: 16px;
}
nav img {
transition: transform 0.3s ease;
}
nav img:hover {
transform: scale(1.3);
}
footer img {
transition: transform 0.3s ease;
}
footer img:hover {
transform: scale(1.2);
}
#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: 'Monocraft';
font-size: 16px;
}
a:hover, a:active {
color: rgb(255, 200, 0);
text-decoration: underline;
font-family: 'Monocraft';
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%;
}
.spec{
justify-content: center;
display: flex;
}
.newpc{
margin-left: 100px;
}
.webring{
display: flex;
justify-content: center;
align-items: center;
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(10px);
border-radius: 20px;
}
.absolutepos {
position: absolute;
}
.nutipaleft {
left: 1rem
}
.nutiparight {
right: 1rem
}
.fixedpos {
position: fixed
}
.bottom0 {
bottom: 0
}