catmpeg.github.io/assets/styles.css

85 lines
No EOL
1.5 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: #080808;
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.3);
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.3);
padding: 10px;
margin-bottom: 20px;
}
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: rgb(29,29,29,0.1);
}
@media (max-width: 800px) {
body { gap: 15px; padding: 0 10px; }
main { padding: 15px; }
h1 { font-size: 1.5rem; }
h2, h3 { font-size: 1.1rem; margin: 12px 0; }
.info { display: block; }
.info > div { margin: 0; }
}