117 lines
2 KiB
CSS
117 lines
2 KiB
CSS
/* See https://codeberg.org/lucajunge/css-reset for details */
|
|
@import url(./reset.css);
|
|
|
|
/* Custom fonts */
|
|
@import url(./fonts.css);
|
|
|
|
:root {
|
|
--font-family: "Lilita One", -apple-system, system-ui, sans-serif;
|
|
--font-family-monospace: Consolas, Menlo, Monaco, Andale Mono WT, Andale Mono,
|
|
Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono,
|
|
Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Courier New,
|
|
Courier, monospace;
|
|
}
|
|
|
|
:root {
|
|
--background-color: #363d4a;
|
|
--dark-background-color: hsl(219, 16%, 20%);
|
|
--accent-color: #70bafa;
|
|
|
|
--accent-red: #ffaaaa;
|
|
--accent-node3d: #ffaaaa;
|
|
|
|
--accent-green: #aaffaa;
|
|
--accent-control: #aaffaa;
|
|
|
|
--accent-blue: #aaaaff;
|
|
--accent-node2d: #aaaaff;
|
|
|
|
--accent-yellow: #ffffaa;
|
|
|
|
--aceent-purple: #c25bff;
|
|
--accent-media: #c25bff;
|
|
|
|
--white: #eeeeee;
|
|
--dark-white: #cccccc;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
font-family: var(--font-family);
|
|
background-color: var(--background-color);
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
.header {
|
|
padding: 1rem;
|
|
background-color: var(--dark-background-color);
|
|
display: flex;
|
|
}
|
|
|
|
.recent-posts-container {
|
|
margin: 12px 12px;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
gap: 12px;
|
|
}
|
|
|
|
.highlight-card {
|
|
max-width: 24rem;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
padding: 14px;
|
|
justify-content: stretch;
|
|
background-color: var(--dark-background-color);
|
|
}
|
|
|
|
.highlight-card-header {
|
|
display: flex;
|
|
column-gap: 10px;
|
|
justify-content: space-between;
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.highlight-card img {
|
|
border-radius: 16px;
|
|
width: 100%;
|
|
height: 8rem;
|
|
object-fit: cover;
|
|
display: inline-block;
|
|
box-shadow: inset 0px 0px 32px 32px #000000;
|
|
}
|
|
|
|
.highlight-card a {
|
|
color: unset;
|
|
color: var(--white);
|
|
width: 100%;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.highlight-card-button {
|
|
border-radius: 8px;
|
|
margin: 8px 0px 0px 0px;
|
|
padding: 4px 8px;
|
|
cursor: pointer;
|
|
background-color: var(--accent-color);
|
|
outline: none;
|
|
}
|
|
|
|
.content-type.article {
|
|
color: var(--accent-red);
|
|
}
|
|
|
|
.content-type.tip {
|
|
color: var(--accent-green);
|
|
}
|
|
|
|
.content-type.recommendation {
|
|
color: var(--accent-yellow);
|
|
}
|