mirror of
https://github.com/catmpeg/catmpeg.github.io.git
synced 2026-02-20 15:50:57 +03:00
115 lines
1.7 KiB
CSS
115 lines
1.7 KiB
CSS
@font-face {
|
|
font-family: 'JetBrains Mono';
|
|
src: url('font/JetBrainsMono-Bold.ttf') format('truetype');
|
|
font-weight: bold;
|
|
font-display: swap;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100svh;
|
|
font: 14px/1.5 'JetBrains Mono', monospace;
|
|
color: #fff;
|
|
text-align: center;
|
|
background: black url(images/bg.jpg) center/cover fixed;
|
|
flex-direction: column;
|
|
gap: 22px;
|
|
}
|
|
|
|
header,
|
|
.webring,
|
|
main {
|
|
background-color: rgba(34, 34, 34, 0.3);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
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: rgb(66, 131, 252);
|
|
}
|
|
|
|
a:visited {
|
|
color: rgb(0, 17, 255);
|
|
}
|
|
|
|
main {
|
|
max-width: 800px;
|
|
width: calc(100% - 20px);
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
border-radius: 15px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.buttons {
|
|
justify-content: center;
|
|
gap: 20px;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.buttons img {
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.buttons img:hover {
|
|
transform: scale(1.3);
|
|
}
|
|
|
|
.spec {
|
|
justify-content: center;
|
|
}
|
|
|
|
.newpc {
|
|
margin-left: 100px;
|
|
}
|
|
|
|
iframe {
|
|
border: 2px solid rgb(66, 131, 252);
|
|
}
|
|
|
|
@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;
|
|
}
|
|
|
|
.webring {
|
|
width: calc(100% - 20px);
|
|
margin: 10px auto 0;
|
|
padding: 8px 12px;
|
|
box-sizing: border-box;
|
|
border-radius: 15px;
|
|
}
|
|
}
|