бальшой апдате

This commit is contained in:
catmpeg 2025-05-16 19:58:48 +03:00
commit 4f79f223e8
26 changed files with 295 additions and 469 deletions

View file

@ -1,194 +1,111 @@
@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');
} */
@font-face {
font-family: 'JetBrains Mono';
src: url('font/JetBrainsMono-Bold.ttf') format('truetype');
font-weight: bold;
font-display: swap;
}
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);
min-height: 100svh;
font: 14px/1.5 'JetBrains Mono', monospace;
color: #fff;
text-align: center;
height: 100svh;
background: black url(images/bg.jpg) center/cover fixed;
flex-direction: column;
gap: 22px;
}
header {
background-color: rgba(34, 34, 34, 0.9);
header,
.webring,
main {
background-color: rgba(34, 34, 34, 0.3);
backdrop-filter: blur(10px);
padding: 7px;
}
body,
.webring,
.buttons,
.spec {
display: flex;
}
.webring {
justify-content: space-between;
align-items: center;
width: 100%;
margin-top: auto;
text-decoration: underline;
}
a {
text-decoration: none;
}
a,
.webring {
color: orange;
}
main {
max-width: 800px;
width: 100%;
width: calc(100% - 20px);
margin: 0 auto;
padding: 20px;
background-color: rgba(34, 34, 34, 0.9);
backdrop-filter: blur(10px);
border-radius: 20px;
border-radius: 15px;
box-sizing: border-box;
}
#content {
display: flex;
flex-direction: column;
gap: 22px;
height: 100%;
}
nav {
display: flex;
.buttons {
justify-content: center;
gap: 20px;
margin: 20px 0;
font-family: 'Ubuntu';
font-size: 16px;
}
nav img {
.buttons img {
transition: transform 0.3s ease;
}
nav img:hover {
.buttons 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;
.spec {
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{
.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;
iframe {
border: 2px solid orange;
}
.webring a {
padding: 7px;
}
@media (max-width: 600px) {
body {
gap: 15px;
padding: 0 10px;
}
main {
padding: 15px;
}
h1 {
font-size: 1.5rem;
}
h2, h3 {
font-size: 1.1rem;
margin: 12px 0;
}
.fixedpos {
position: fixed
.webring {
width: calc(100% - 20px);
margin: 10px auto 0;
padding: 8px 12px;
box-sizing: border-box;
border-radius: 15px;
}
}
.bottom0 {
bottom: 0
}