catmpeg.github.io/styles.css
2025-06-15 12:00:48 +03:00

118 lines
1.8 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 'JetBrains Mono', monospace;
color: #fff;
text-align: center;
background: black url(images/bg.jpg) center/cover fixed;
flex-direction: column;
}
main {
max-width: 800px;
width: calc(100% - 20px);
margin: 0 auto;
padding: 20px;
border-radius: 15px;
box-sizing: border-box;
}
#webring,
main {
background-color: rgba(34, 34, 34, 0.3);
backdrop-filter: blur(10px);
}
body,
#webring,
#buttons,
#spec {
display: flex;
}
#webring {
justify-content: center;
gap: 15px;
align-items: center;
width: 100%;
margin-top: auto;
text-decoration: underline;
}
a {
text-decoration: none;
}
a,
#webring {
color: rgb(66, 131, 252);
}
#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);
}
#gamesicon {
border-radius: 50%;
height: 64px;
object-fit: cover;
box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.45);
}
@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;
}
}