catmpeg.github.io/styles.css
2025-06-19 12:01:28 +03:00

136 lines
2.2 KiB
CSS

body {
margin: 0;
min-height: 100svh;
font: 14px 'JetBrains Mono', monospace;
color: #fff;
text-align: center;
background: #222222;
/* background: black url(images/bg.jpg) center/cover fixed; */
/* background: #333333; */
/* background: #292929; */
flex-direction: column;
}
main,
#webring,
#hello {
max-width: 1000px;
width: calc(100% - 20px);
margin: 0 auto;
padding: 20px;
/* border-radius: 15px; */
box-sizing: border-box;
border: 4px double rgb(180, 180, 180);
}
#buttons {
padding: 15px;
margin: 0 auto;
border: 4px double rgb(180, 180, 180);
width: 300px;
}
a {
text-decoration: none;
}
iframe {
border: 2px solid rgb(180, 180, 180);
}
/* <-----------------------> */
#webring {
max-width: 1000px;
width: calc(100% - 20px);
margin: 0 auto;
padding: 20px;
/* border-radius: 15px; */
box-sizing: border-box;
justify-content: center;
align-items: center;
gap: 15px;
background-color: rgba(34, 34, 34, 0.7);
backdrop-filter: blur(10px);
border: 4px double rgb(180, 180, 180);
}
body,
#webring,
#buttons,
#spec {
display: flex;
}
a,
#webring {
color: rgb(66, 131, 252);
}
#buttons {
justify-content: center;
gap: 20px;
}
#buttons img {
transition: transform 0.3s ease;
}
#buttons img:hover {
transform: scale(1.3);
}
#spec {
justify-content: center;
}
#newpc {
margin-left: 100px;
}
#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; */
}
}
@font-face {
font-family: 'JetBrains Mono';
src: url('font/JetBrainsMono-Bold.ttf') format('truetype');
font-weight: bold;
font-display: swap;
}