Use system default monospace font for code elements (nudus skins) (#637)
Co-authored-by: akinokonomi <akinokonomi@example.com>
This commit is contained in:
parent
19353fe0d9
commit
c09fe8eff1
3 changed files with 14 additions and 5 deletions
|
@ -18,11 +18,9 @@ $base-unit: 10px !default;
|
||||||
//
|
//
|
||||||
|
|
||||||
// Let the font be customised via RSS Guard settings
|
// 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-family: inherit;
|
||||||
|
font-size: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -182,7 +180,11 @@ code {
|
||||||
border: 1px solid $cbor3;
|
border: 1px solid $cbor3;
|
||||||
border-radius: $radius-unit;
|
border-radius: $radius-unit;
|
||||||
color: $cfg10;
|
color: $cfg10;
|
||||||
// cursor: text;
|
//cursor: text;
|
||||||
|
|
||||||
|
// Font for code blocks falls back to system default monospace
|
||||||
|
font-family: monospace;
|
||||||
|
font-size: .95rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
|
@ -349,11 +351,12 @@ summary {
|
||||||
body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl a {
|
body:hover .rssguard-mwrapper .rssguard-mhead .mwrapurl a {
|
||||||
|
|
||||||
&,
|
&,
|
||||||
&:not([href=""]) + span { // NOTE: 'a[href="*"] + span' is never visible
|
&:not([href=""]) + span {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Stay visible when right-clicked
|
||||||
.rssguard-mwrapper .rssguard-mhead .mwrapurl a:focus {
|
.rssguard-mwrapper .rssguard-mhead .mwrapurl a:focus {
|
||||||
|
|
||||||
&,
|
&,
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
* {
|
* {
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
|
font-size: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
body, h1, h2, h3, h4, h5, h6,
|
body, h1, h2, h3, h4, h5, h6,
|
||||||
|
@ -162,6 +163,8 @@ code {
|
||||||
border: 1px solid #282a2c;
|
border: 1px solid #282a2c;
|
||||||
border-radius: 0.3em;
|
border-radius: 0.3em;
|
||||||
color: #D8D8D8;
|
color: #D8D8D8;
|
||||||
|
font-family: monospace;
|
||||||
|
font-size: .95rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
* {
|
* {
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
|
font-size: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
body, h1, h2, h3, h4, h5, h6,
|
body, h1, h2, h3, h4, h5, h6,
|
||||||
|
@ -162,6 +163,8 @@ code {
|
||||||
border: 1px solid #DEDEDE;
|
border: 1px solid #DEDEDE;
|
||||||
border-radius: 0.1em;
|
border-radius: 0.1em;
|
||||||
color: #343434;
|
color: #343434;
|
||||||
|
font-family: monospace;
|
||||||
|
font-size: .95rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
|
|
Loading…
Add table
Reference in a new issue