mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-30 17:59:17 +08:00
HTML styles template: avoid duplicate code selector.
Consolidate two clauses. Closes #11484.
This commit is contained in:
@@ -106,6 +106,7 @@ div.abstract-title {
|
||||
}
|
||||
$endif$
|
||||
code {
|
||||
white-space: pre-wrap;
|
||||
font-family: $if(monofont)$$monofont$$else$Menlo, Monaco, Consolas, 'Lucida Console', monospace$endif$;
|
||||
$if(monobackgroundcolor)$
|
||||
background-color: $monobackgroundcolor$;
|
||||
@@ -183,7 +184,6 @@ header {
|
||||
text-decoration: none;
|
||||
}
|
||||
$endif$
|
||||
code{white-space: pre-wrap;}
|
||||
span.smallcaps{font-variant: small-caps;}
|
||||
div.columns{display: flex; gap: min(4vw, 1.5em);}
|
||||
div.column{flex: auto; overflow-x: auto;}
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
/* Default styles provided by pandoc.
|
||||
** See https://pandoc.org/MANUAL.html#variables-for-html for config info.
|
||||
*/
|
||||
code{white-space: pre-wrap;}
|
||||
span.smallcaps{font-variant: small-caps;}
|
||||
div.columns{display: flex; gap: min(4vw, 1.5em);}
|
||||
div.column{flex: auto; overflow-x: auto;}
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
/* Default styles provided by pandoc.
|
||||
** See https://pandoc.org/MANUAL.html#variables-for-html for config info.
|
||||
*/
|
||||
code{white-space: pre-wrap;}
|
||||
span.smallcaps{font-variant: small-caps;}
|
||||
div.columns{display: flex; gap: min(4vw, 1.5em);}
|
||||
div.column{flex: auto; overflow-x: auto;}
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
/* Default styles provided by pandoc.
|
||||
** See https://pandoc.org/MANUAL.html#variables-for-html for config info.
|
||||
*/
|
||||
code{white-space: pre-wrap;}
|
||||
span.smallcaps{font-variant: small-caps;}
|
||||
div.columns{display: flex; gap: min(4vw, 1.5em);}
|
||||
div.column{flex: auto; overflow-x: auto;}
|
||||
|
||||
+1
-1
@@ -94,6 +94,7 @@
|
||||
color: #606060;
|
||||
}
|
||||
code {
|
||||
white-space: pre-wrap;
|
||||
font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
|
||||
font-size: 85%;
|
||||
margin: 0;
|
||||
@@ -157,7 +158,6 @@
|
||||
#TOC a:not(:hover) {
|
||||
text-decoration: none;
|
||||
}
|
||||
code{white-space: pre-wrap;}
|
||||
span.smallcaps{font-variant: small-caps;}
|
||||
div.columns{display: flex; gap: min(4vw, 1.5em);}
|
||||
div.column{flex: auto; overflow-x: auto;}
|
||||
|
||||
+1
-1
@@ -94,6 +94,7 @@
|
||||
color: #606060;
|
||||
}
|
||||
code {
|
||||
white-space: pre-wrap;
|
||||
font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
|
||||
font-size: 85%;
|
||||
margin: 0;
|
||||
@@ -157,7 +158,6 @@
|
||||
#TOC a:not(:hover) {
|
||||
text-decoration: none;
|
||||
}
|
||||
code{white-space: pre-wrap;}
|
||||
span.smallcaps{font-variant: small-caps;}
|
||||
div.columns{display: flex; gap: min(4vw, 1.5em);}
|
||||
div.column{flex: auto; overflow-x: auto;}
|
||||
|
||||
Reference in New Issue
Block a user