1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-25 18:01:14 +00:00
redmine/app/assets/stylesheets/wiki_syntax_detailed.css
Go MAEDA bf5d536fd4 Introduce --fonts-main CSS variable for easier customization of main fonts (#41321, #41569).
Patch by Takashi Kato (user:tohosaku).


git-svn-id: https://svn.redmine.org/redmine/trunk@23159 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-24 04:24:27 +00:00

52 lines
1.6 KiB
CSS

@font-face {
font-family: "Noto Sans";
src: url("/NotoSans-VariableFont_wdth,wght.woff2") format("woff2");
font-weight: 100 900;
font-stretch: 75% 125%;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Noto Sans";
src: url("/NotoSans-Italic-VariableFont_wdth,wght.woff2") format("woff2");
font-weight: 100 900;
font-stretch: 75% 125%;
font-style: italic;
font-display: swap;
}
:root {
--fonts-main: "Noto Sans", sans-serif;
}
body { font-family: var(--fonts-main); font-size: 0.875rem; color:#333; line-height: 1.6;}
pre, code { font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; }
pre {
margin: 1em 1em 1em 1.6em;
padding: 2px;
background-color: #fafafa;
border: 1px solid #e2e2e2;
width: auto;
overflow-x: auto;
overflow-y: hidden;
line-height: normal;
}
a, a:link, a:visited{ color: #169; text-decoration: none; }
a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
a.new { color: #b73535; }
table.sample { border-collapse: collapse; border-spacing: 0; margin: 4px; margin-left: 30px;}
table.sample th, table.sample td { border: solid 1px #bbb; padding: 4px; height: 1em; }
table.list td { background-color: #f5f5f5; vertical-align: middle; padding: 0.3em;}
.syntaxhl .c1 { color: #888888 }
.syntaxhl .k { color: #008800; font-weight: bold }
.syntaxhl .nc { color: #BB0066; font-weight: bold }
.syntaxhl .nf { color: #0066BB; font-weight: bold }
.syntaxhl .nb { color: #007020 }
.syntaxhl .vi { color: #3333BB }
.syntaxhl .o { color: #333333 }
.syntaxhl .s2 { background-color: #fff0f0 }
.syntaxhl .si { background-color: #eeeeee }