mirror of
https://github.com/catmpeg/catmpeg.github.io.git
synced 2026-02-20 15:50:57 +03:00
194 lines
No EOL
3.2 KiB
CSS
194 lines
No EOL
3.2 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: 'Ubuntu';
|
|
font-size: 16px;
|
|
background-size: cover;
|
|
background-position: center center;
|
|
background-attachment: fixed;
|
|
background-color: black;
|
|
background-image: url(images/bg.jpg);
|
|
color: #fff;
|
|
text-align: center;
|
|
height: 100svh;
|
|
}
|
|
|
|
header {
|
|
background-color: rgba(34, 34, 34, 0.9);
|
|
backdrop-filter: blur(10px);
|
|
padding: 7px;
|
|
}
|
|
|
|
main {
|
|
max-width: 800px;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
background-color: rgba(34, 34, 34, 0.9);
|
|
backdrop-filter: blur(10px);
|
|
border-radius: 20px;
|
|
}
|
|
|
|
#content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 22px;
|
|
height: 100%;
|
|
}
|
|
|
|
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.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);
|
|
transition: color 0.3s ease;
|
|
font-family: 'Ubuntu';
|
|
font-size: 19px;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
a:hover, a:active {
|
|
color: rgb(255, 200, 0);
|
|
text-decoration: underline;
|
|
font-family: 'Ubuntu';
|
|
font-size: 19px
|
|
}
|
|
|
|
.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;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width:100%;
|
|
margin: 0 auto;
|
|
background-color: rgba(34, 34, 34, 0.9);
|
|
backdrop-filter: blur(10px);
|
|
margin-top: auto;
|
|
}
|
|
|
|
.webring a {
|
|
padding: 7px;
|
|
}
|
|
|
|
.fixedpos {
|
|
position: fixed
|
|
}
|
|
|
|
.bottom0 {
|
|
bottom: 0
|
|
} |