Patch #44647 ยป 0001-Define-the-monospace-font-stack-as-a-CSS-variable-an.patch
| app/assets/stylesheets/application.css | ||
|---|---|---|
|
:root {
|
||
|
--fonts-main: "Noto Sans", sans-serif;
|
||
|
--fonts-monospace: Consolas, Menlo, "Liberation Mono", monospace;
|
||
|
--color-current-marker: var(--oc-indigo-5);
|
||
|
/* no match in Open Color, using hex codes */
|
||
|
--color-top-menu-background: #234761;
|
||
| ... | ... | |
|
h2 {font-size: 1.25rem;}
|
||
|
h3 {font-size: 1.0625rem;}
|
||
|
h4 {font-size: 0.875rem; border-block-end: 1px solid var(--oc-gray-4); font-weight: normal;}
|
||
|
pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;}
|
||
|
pre, code {font-family: var(--fonts-monospace);}
|
||
|
.wiki h1 {font-size: 1.6em;}
|
||
|
.wiki h2 {font-size: 1.4em;}
|
||
|
.wiki h3 {font-size: 1.2em;}
|
||
| ... | ... | |
|
blockquote blockquote { margin-inline-start: 0;}
|
||
|
abbr[title], span.field-description[title] { text-decoration: none; border-block-end: 1px dotted var(--oc-gray-5); cursor: help; }
|
||
|
textarea.wiki-edit {inline-size: 99%; resize: vertical; box-sizing: border-box;}
|
||
|
body.textarea-monospace textarea.wiki-edit {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;}
|
||
|
body.textarea-monospace textarea.wiki-edit {font-family: var(--fonts-monospace);}
|
||
|
body.textarea-proportional textarea.wiki-edit {font-family: var(--fonts-main);}
|
||
|
li p {margin-block-start: 0;}
|
||
|
div.issue {
|
||
| ... | ... | |
|
border:1px solid var(--oc-gray-4);
|
||
|
padding-block: 2px;
|
||
|
padding-inline: 4px;
|
||
|
font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;
|
||
|
font-family: var(--fonts-monospace);
|
||
|
}
|
||
|
.sample-data tr:first-child td {font-weight:bold; text-align:center;}
|
||
| app/assets/stylesheets/scm.css | ||
|---|---|---|
|
[dir="rtl"] #changes-legend li { background-position: right 5px top 1px; }
|
||
|
table.filecontent { border: 1px solid var(--oc-gray-4); border-collapse: collapse; inline-size: 98%; background-color: var(--oc-gray-0); }
|
||
|
table.filecontent tbody {font-family:Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size:0.75rem;}
|
||
|
table.filecontent tbody {font-family:var(--fonts-monospace); font-size:0.75rem;}
|
||
|
table.filecontent th { border: 1px solid var(--oc-gray-4); background-color: var(--oc-gray-1); }
|
||
|
table.filecontent th.filename { background-color: var(--oc-gray-2); text-align: start; padding: 5px;}
|
||
|
table.filecontent tr.spacing th { text-align:center; }
|
||
| ... | ... | |
|
table.filecontent td.line-code pre, table.filecontent td.line-code div {
|
||
|
margin: 0px;
|
||
|
white-space: pre-wrap;
|
||
|
font-family:Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size:0.75rem;
|
||
|
font-family:var(--fonts-monospace); font-size:0.75rem;
|
||
|
}
|
||
|
table.filecontent tr:target th.line-num { background-color:var(--oc-gray-3); color: var(--oc-gray-6); }
|
||
| app/assets/stylesheets/wiki_syntax.css | ||
|---|---|---|
|
:root {
|
||
|
--fonts-main: "Noto Sans", sans-serif;
|
||
|
--fonts-monospace: Consolas, Menlo, "Liberation Mono", monospace;
|
||
|
}
|
||
|
h1 { font-family: var(--fonts-main); font-size: 0.875rem; text-align: center; color: var(--oc-gray-8); }
|
||
|
body { font-family: var(--fonts-main); font-size: 0.75rem; color: var(--oc-gray-8); }
|
||
|
pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; }
|
||
|
pre, code { font-family: var(--fonts-monospace); }
|
||
|
table th { padding-block-start: 1em; }
|
||
|
table th img {
|
||
|
border: 1px solid var(--oc-gray-5);
|
||
| app/assets/stylesheets/wiki_syntax_detailed.css | ||
|---|---|---|
|
:root {
|
||
|
--fonts-main: "Noto Sans", sans-serif;
|
||
|
--fonts-monospace: Consolas, Menlo, "Liberation Mono", monospace;
|
||
|
}
|
||
|
body { font-family: var(--fonts-main); font-size: 0.875rem; color: var(--oc-gray-9); line-height: 1.6;}
|
||
|
pre, code { font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; }
|
||
|
pre, code { font-family: var(--fonts-monospace); }
|
||
|
pre {
|
||
|
margin-block: 1em;
|
||
|
margin-inline: 1.6em 1em;
|
||
| app/views/layouts/mailer.html.erb | ||
|---|---|---|
|
margin-left: 0;
|
||
|
}
|
||
|
blockquote blockquote { margin-left: 0;}
|
||
|
pre, code {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace;}
|
||
|
pre, code {font-family: Consolas, Menlo, "Liberation Mono", monospace;}
|
||
|
pre {
|
||
|
margin: 1em 1em 1em 1.6em;
|
||
|
padding: 8px;
|
||