html {
    overflow-y: scroll;
}
.domainmod-css-text-highlight-red {
    color: #a30000;
}
.domainmod-css-text-highlight-green {
    color: #009933;
}
.domainmod-css-padding-left {
    padding-left: 10px;
}
.domainmod-css-normal-font-weight {
    font-weight: normal;
}
.domainmod-css-random-padding {
    padding-top: 7px;
    padding-bottom: 17px;
}
.domainmod-css-width-100-percent {
    width: 100%;
}
.domainmod-css-line-through {
    text-decoration: line-through;
}
.domainmod-css-color-black {
    color: #000000;
}
.domainmod-css-clear-both {
    clear: both;
}
.domainmod-css-logo-background-colour {
    background-color: #f1f1f1;
}
.domainmod-css-sidebar-search-padding {
    padding-top: 10px;
    padding-bottom: 5px;
}
.dark-mode a {
    color: #e3e3e3;
}
/* Links in the page content stand out from the text, as they do in light mode (the menus keep the colour above).
   :where() keeps these rules low in specificity, so the exceptions below can restore other colours */
.dark-mode .content-wrapper a:where(:not(.btn, .nav-link, .page-link, .dropdown-item)) {
    color: #8cc4ff;
}
.dark-mode .content-wrapper a:where(:not(.btn, .nav-link, .page-link, .dropdown-item)):hover {
    color: #b8daff;
}
/* Exceptions: alert links stay as the theme draws them on the alert's colour, and DomainMOD's own page numbers keep
   the menu colour */
.dark-mode .content-wrapper .alert a:where(:not(.btn)),
.dark-mode .content-wrapper .alert a:where(:not(.btn)):hover {
    color: #fff;
}
.dark-mode .content-wrapper .pagination_menu_block a,
.dark-mode .content-wrapper .pagination_menu_block a:hover {
    color: #e3e3e3;
}
