catmpeg.github.io/assets/styles.css
xelframe 5c5c9e404f da
2026-03-29 21:19:50 +03:00

115 lines
1.8 KiB
CSS

@font-face {
font-family: 'ConsolasBold';
src: url('ConsolasBold.otf') format('opentype');
font-weight: bold;
font-display: swap;
}
body {
margin: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
font: 14px 'ConsolasBold';
color: #fff;
/* background: url('/assets/background.jpg') center/cover no-repeat; */
background: #222222;
}
main {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100%;
backdrop-filter: blur(2px);
box-sizing: border-box;
padding-left: 20%;
padding-right: 20%;
}
main > a {
display: inline-block;
width: fit-content;
}
h2 {
margin: 15px 0 10px;
}
h3 {
margin: 5px 0;
}
.down {
margin-top: 20px;
width: 100%;
justify-content: center;
text-align: center;
}
a {
color: #ffffff;
text-decoration: underline;
}
a:hover {
opacity: 0.7;
}
.title {
display: flex;
gap: 15px;
justify-content: center;
text-align: center;
}
.blocks {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.block {
padding: 10px 15px;
background-color: rgba(0, 0, 0, 0.3);
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.h1-404 {
font-size: 6em;
font-weight: 400;
margin: 0 auto;
}
li {
font-size: 1.1em;
}
label {
display: block;
font-size: 1.5em;
margin-bottom: 8px;
font-weight: bold;
color: #fff;
}
#mybutton {
height: 50px;
width: 500px;
resize: none;
color: #ddd;
background-color: rgba(0, 0, 0, 0.3);
border: none;
border-radius: 5px;
padding: 5px;
overflow: hidden;
display: block;
}
@media (max-width: 800px) {
h1 { font-size: 1.5rem; }
h2, h3, label { font-size: 1.1rem; margin: 5px 0; }
#mybutton { width: 200px; }
main { padding: 2%;}
}