catmpeg.github.io/assets/styles.css

72 lines
No EOL
1.2 KiB
CSS

@font-face {
font-family: 'ConsolasBold';
src: url('ConsolasBold.otf') format('opentype');
font-weight: bold;
font-display: swap;
}
body {
margin: 20px 0 0 0;
font-family: 'ConsolasBold', 'consolas';
font: 14px 'ConsolasBold';
color: #fff;
text-align: center;
background-color: #1d1d1d;
display: flex;
flex-direction: column;
align-items: center;
}
main {
border: thick double;
padding: 20px;
width: 800px;
max-width: 100%;
box-sizing: border-box;
}
a {
color: #949494;
text-decoration: none;
}
.title {
font-size: 3em;
font-weight: 400;
}
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;
}
.mybutton {
height: 50px;
width: 40%;
resize: none;
color: white;
background-color: #1d1d1d;
}
@media (max-width: 800px) {
body { gap: 15px; padding: 0 10px; }
main { padding: 15px; width: auto; max-width: 100%; }
h1 { font-size: 1.5rem; }
h2, h3 { font-size: 1.1rem; margin: 12px 0; }
.info { display: block; }
.info > div { margin: 0; }
}