webbed-site/themes/webbed-theme/assets/css/main.css
2026-02-14 23:33:45 +01:00

188 lines
2.6 KiB
CSS

html, body {
width: 100%;
margin: 0;
}
.background {
background: linear-gradient(rgba(5, 6, 7, 0.85), rgba(5, 6, 7, 0.70), rgba(5, 6, 7, 0.95)), url('/background.jpg');
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
body {
font-family: "SUSE Mono", sans-serif;
font-weight: 550;
font-size: 18px;
color: #cdd6f4;
background-color: #050607;
line-height: 1.5;
display: flex;
flex-direction: column;
}
nav {
/* border: 1px solid #f1f1f110; */
/* border-radius: 0.5rem 0.5rem 0 0; */
display: flex;
flex-direction: row;
justify-content: start;
align-items: center;
border-bottom: 3px dashed #f1f1f110;
background-color: #10121465;
position: fixed;
top: 0;
left: 0;
padding-left: 1.75rem;
padding-right: 1.75rem;
padding-top: 0.40rem;
padding-bottom: 0.40rem;
width: 100%;
height: 2rem;
gap: 1.75rem
}
nav > a {
display: block;
text-decoration: none;
}
main {
display: flex;
flex-direction: row;
}
section.buttons-wrapper {
display: flex;
flex-direction: column;
align-items: center;
background-color: #10121465;
max-width: 100%
}
section {
border-bottom: 3px dashed #f1f1f110;
padding-left: 2.5rem;
padding-right: 2.5rem;
padding-top: 1rem;
padding-bottom: 1rem;
}
section > p {
max-width: 90ch;
}
section > div.buttons {
width: 100%
}
.buttons > p {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(88px, 20%));
justify-content: start;
gap: 0;
}
.buttons > p > img,
.buttons > p > a > img {
width: 100%;
height: auto;
image-rendering: pixelated;
display: block;
}
main {
margin-top: 2.8rem;
/* border-radius: 0 0 0.5rem 0.5rem; */
flex-grow: 1;
display: flex;
flex-direction: column;
}
footer {
width: 100%;
display: flex;
justify-content: center;
}
h1, h2, h3, h4, h5, h6 {
font-family: "Silkscreen", sans-serif;
font-weight: normal;
}
.huge {
font-family: "Silkscreen", sans-serif;
font-weight: normal;
font-size: 350%
}
.summary, .date {
color: #a6adc8
}
a {
color: #89b4fa;
text-decoration: underline;
text-decoration-style: dashed;
}
i, em {
color: #f5c2e7
}
b, strong {
color: #94e2d5
}
s {
color: #f38ba8
}
small {
color: #a6adc8
}
table {
border-collapse: collapse;
width: 100%
}
table, th, td {
border: 3px dashed #1e1e2e;
}
th, td {
padding: 0.25rem;
padding-left: 0.5rem;
padding-right: 0.5rem
}
th {
background-color: #181825
}
code {
font-family: "JetBrains Mono", monospace;
color: #f5e0dc
}
hr {
border: 1px solid #f1f1f110;
}
li {
margin-bottom: 0.25rem
}
.emoji {
position: relative;
top: 0.25rem;
height: 2rem;
}