Use system default monospace font for code elements (nudus skins) (#637)

Co-authored-by: akinokonomi <akinokonomi@example.com>
This commit is contained in:
akinokonomi 2022-02-15 06:30:21 +00:00 committed by GitHub
parent 19353fe0d9
commit c09fe8eff1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 5 deletions

View File

@ -18,11 +18,9 @@ $base-unit: 10px !default;
//
// Let the font be customised via RSS Guard settings
// Note: Font size there related **only** to that font alone, it is
// not absolute, and nothing else can be done from my side
// E.g. "Roboto 10" <-- something like this is send from RSS Guard side
* {
font-family: inherit;
font-size: inherit;
}
//
@ -182,7 +180,11 @@ code {
border: 1px solid $cbor3;
border-radius: $radius-unit;
color: $cfg10;
// cursor: text;
//cursor: text;
// Font for code blocks falls back to system default monospace
font-family: monospace;
font-size: .95rem !important;
}
code {
@ -349,11 +351,12 @@ summary {
body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl a {
&,
&:not([href=""]) + span { // NOTE: 'a[href="*"] + span' is never visible
&:not([href=""]) + span {
visibility: visible;
}
}
// Stay visible when right-clicked
.rssguard-mwrapper .rssguard-mhead .mwrapurl a:focus {
&,

View File

@ -1,6 +1,7 @@
@charset "UTF-8";
* {
font-family: inherit;
font-size: inherit;
}
body, h1, h2, h3, h4, h5, h6,
@ -162,6 +163,8 @@ code {
border: 1px solid #282a2c;
border-radius: 0.3em;
color: #D8D8D8;
font-family: monospace;
font-size: .95rem !important;
}
code {

View File

@ -1,6 +1,7 @@
@charset "UTF-8";
* {
font-family: inherit;
font-size: inherit;
}
body, h1, h2, h3, h4, h5, h6,
@ -162,6 +163,8 @@ code {
border: 1px solid #DEDEDE;
border-radius: 0.1em;
color: #343434;
font-family: monospace;
font-size: .95rem !important;
}
code {