2023-04-24 18:01:38 +02:00
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
:root {
|
2023-04-24 18:13:25 +02:00
|
|
|
--line: #aebed0;
|
|
|
|
--date: #d2e0f0;
|
|
|
|
--point: #8c9daf;
|
|
|
|
--bg-hover: #cedce2;
|
2023-04-24 18:15:05 +02:00
|
|
|
--point-hover: #ff00ff;
|
|
|
|
--title-color: #a14cb3;
|
2023-10-15 20:58:20 +02:00
|
|
|
--rss-inverse: 0%;
|
2023-04-24 18:01:38 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
--line: #374351;
|
|
|
|
--date: #242e38;
|
|
|
|
--point: #515f70;
|
2023-04-24 23:00:27 +02:00
|
|
|
--bg-hover: #1f2730;
|
2023-04-24 18:15:05 +02:00
|
|
|
--point-hover: #ff00ff;
|
|
|
|
--title-color: #a25add;
|
2023-10-15 20:58:20 +02:00
|
|
|
--rss-inverse: 80%;
|
2023-04-24 18:01:38 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-15 20:58:20 +02:00
|
|
|
/* Title */
|
2023-04-24 19:11:00 +02:00
|
|
|
h1 {
|
2023-04-26 17:42:17 +02:00
|
|
|
margin-bottom: 0;
|
2023-04-24 19:11:00 +02:00
|
|
|
}
|
|
|
|
|
2023-10-15 20:58:20 +02:00
|
|
|
/* RSS link */
|
|
|
|
#rss::before {
|
|
|
|
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' width='20' viewBox='0 0 24 24' %3E%3Cpath d='M6.18 15.64a2.18 2.18 0 0 1 2.18 2.18C8.36 19 7.38 20 6.18 20 5 20 4 19 4 17.82a2.18 2.18 0 0 1 2.18-2.18M4 4.44A15.56 15.56 0 0 1 19.56 20h-2.83A12.73 12.73 0 0 0 4 7.27V4.44m0 5.66a9.9 9.9 0 0 1 9.9 9.9h-2.83A7.07 7.07 0 0 0 4 12.93V10.1Z' %3E%3C/path%3E%3C/svg%3E");
|
|
|
|
padding-right: 2px;
|
|
|
|
vertical-align: middle;
|
|
|
|
filter: invert(var(--rss-inverse));
|
2023-04-24 18:01:38 +02:00
|
|
|
}
|
|
|
|
|
2023-04-24 18:03:36 +02:00
|
|
|
/* Card */
|
2023-10-15 20:58:20 +02:00
|
|
|
main li {
|
2023-04-24 18:01:38 +02:00
|
|
|
padding: 20px 20px;
|
|
|
|
position: relative;
|
|
|
|
cursor: pointer;
|
2023-04-24 23:00:27 +02:00
|
|
|
border-radius: 5px;
|
2023-04-24 18:01:38 +02:00
|
|
|
}
|
|
|
|
|
2023-10-15 20:58:20 +02:00
|
|
|
main li:hover {
|
|
|
|
background: var(--bg-hover);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Card dates */
|
|
|
|
main span {
|
2023-04-24 18:01:38 +02:00
|
|
|
background-color: var(--date);
|
2023-04-25 13:57:14 +02:00
|
|
|
border-radius: 5px;
|
|
|
|
padding: 2px 5px;
|
|
|
|
font-size: calc(var(--font-size) / 1.4);
|
|
|
|
font-family: monospace;
|
2023-04-24 18:01:38 +02:00
|
|
|
}
|
|
|
|
|
2023-10-15 20:58:20 +02:00
|
|
|
/* Card text */
|
|
|
|
li h2,
|
|
|
|
li p {
|
|
|
|
margin: 0px;
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Card titles */
|
|
|
|
li h2 {
|
2023-04-24 18:01:38 +02:00
|
|
|
color: var(--title-color);
|
2023-04-24 19:11:00 +02:00
|
|
|
font-size: var(--font-size);
|
2023-04-24 18:01:38 +02:00
|
|
|
}
|
|
|
|
|
2023-10-15 20:58:20 +02:00
|
|
|
/* Card descriptions */
|
|
|
|
li p {
|
2023-04-24 19:11:00 +02:00
|
|
|
font-size: calc(var(--font-size) - 2px);
|
2023-10-15 20:58:20 +02:00
|
|
|
}
|
2023-05-04 13:05:13 +02:00
|
|
|
|
2023-10-15 20:58:20 +02:00
|
|
|
/* Timeline bar */
|
|
|
|
main ul {
|
|
|
|
list-style-type: none;
|
|
|
|
border-left: 2px solid var(--line);
|
|
|
|
padding: 0px 5px;
|
2023-04-24 18:01:38 +02:00
|
|
|
}
|
|
|
|
|
2023-10-15 20:58:20 +02:00
|
|
|
/* Timeline dot */
|
|
|
|
main li::before {
|
2023-04-24 18:01:38 +02:00
|
|
|
position: absolute;
|
2023-10-15 20:58:20 +02:00
|
|
|
|
2023-04-24 18:01:38 +02:00
|
|
|
content: "";
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
background-color: var(--point);
|
|
|
|
border-radius: 50%;
|
2023-10-15 20:58:20 +02:00
|
|
|
|
2023-04-24 18:01:38 +02:00
|
|
|
left: -11px;
|
2023-04-24 19:11:00 +02:00
|
|
|
top: 59px;
|
2023-04-24 18:01:38 +02:00
|
|
|
|
2023-10-15 20:58:20 +02:00
|
|
|
transition: 0.2s;
|
2023-04-24 18:01:38 +02:00
|
|
|
}
|
|
|
|
|
2023-10-15 20:58:20 +02:00
|
|
|
main li:hover::before {
|
2023-04-24 18:01:38 +02:00
|
|
|
background-color: var(--point-hover);
|
|
|
|
box-shadow: 0px 0px 10px 2px var(--point-hover);
|
|
|
|
}
|