mirror of
https://github.com/catmpeg/catmpeg.github.io.git
synced 2026-02-20 15:50:57 +03:00
113 lines
No EOL
1.9 KiB
CSS
113 lines
No EOL
1.9 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;
|
|
align-items: center;
|
|
font-family: 'ConsolasBold', 'consolas';
|
|
font: 14px 'ConsolasBold';
|
|
color: #fff;
|
|
background-color: #181818;
|
|
/* background: url('background.png') center/cover fixed no-repeat; */
|
|
text-align: center;
|
|
}
|
|
|
|
main {
|
|
margin-top: 20px;
|
|
border-radius: 15px;
|
|
background-color: rgb(1,1,1,0.2);
|
|
padding: 20px;
|
|
width: 800px;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.down {
|
|
margin-top: 20px;
|
|
border-radius: 15px;
|
|
background-color: rgb(1,1,1,0.2);
|
|
padding: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
a {
|
|
color: #949494;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.title {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
.blocks {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.block {
|
|
padding: 10px 15px;
|
|
background-color: #111111;
|
|
border-radius: 5px;
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.info {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.info > div {
|
|
margin: 0 20px;
|
|
}
|
|
|
|
.h1-404 {
|
|
font-size: 6em;
|
|
font-weight: 400;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
font-size: 1.5em;
|
|
margin-bottom: 8px;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
}
|
|
|
|
#mybutton {
|
|
height: 50px;
|
|
width: 40%;
|
|
resize: none;
|
|
color: #ddd;
|
|
background: rgba(35, 35, 35, 0.85);
|
|
border: 1px solid #555;
|
|
border-radius: 5px;
|
|
padding: 5px;
|
|
}
|
|
|
|
@media (max-width: 800px) {
|
|
body { gap: 15px; padding: 0 10px; }
|
|
main { padding: 15px; }
|
|
h1 { font-size: 1.5rem; }
|
|
h2, h3, label { font-size: 1.1rem; margin: 12px 0; }
|
|
.info { display: block; }
|
|
.info > div { margin: 0; }
|
|
} |