title says all, AoC with less distractions and a few visual improvements.
/* ==UserStyle==
@name distraction-free AoC
@namespace github.com/openstyles/stylus
@version 1.0.0
@description title says all
@author cohost.org/lexi
==/UserStyle== */
@-moz-document domain("adventofcode.com") {
body {
font-family: "Liga SFMono Nerd Font", "Source Code Pro";
line-height: 1.3em;
}
code {
font-family: "Liga SFMono Nerd Font", "Source Code Pro";
padding: 4px 2px 1px 2px;
}
code:before {
border-radius: 5px
}
article em {
font-weight: bold;
text-shadow: 0 0 5px #fff5;
}
#sponsor {
display: none
}
main>article,
main>p,
pre.calendar,
pre.stats,
form,
.leaderboard-entry,
header {
width: 50em !important;
margin-left: auto;
margin-right: auto;
}
main>:last-child:has(.share) {
display: none
}
main>:not(article),
header {
opacity: 0.2;
transition: all 500ms;
}
main>:not(article):hover,
header:hover {
opacity: 1
}
header nav li {
padding: 0 0.25em
}
header h1 {
width: 8em;
text-align: right;
}
}
