mirror of
https://github.com/redmine/redmine.git
synced 2025-10-26 07:46:17 +01:00
Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@24023 e93f8b46-1217-0410-a6f0-8f06a7374b81
87 lines
2.4 KiB
CSS
87 lines
2.4 KiB
CSS
@import url('/open-color.css');
|
|
|
|
@font-face {
|
|
font-family: "Noto Sans";
|
|
src: url("/NotoSans-Regular.woff2") format("woff2");
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Noto Sans";
|
|
src: url("/NotoSans-Bold.woff2") format("woff2");
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Noto Sans";
|
|
src: url("/NotoSans-Italic.woff2") format("woff2");
|
|
font-weight: 400;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Noto Sans";
|
|
src: url("/NotoSans-BoldItalic.woff2") format("woff2");
|
|
font-weight: 700;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
|
|
:root {
|
|
--fonts-main: "Noto Sans", sans-serif;
|
|
}
|
|
|
|
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; }
|
|
table th { padding-top: 1em; }
|
|
table th img {
|
|
border: 1px solid var(--oc-gray-5);
|
|
opacity: 0.7;
|
|
}
|
|
table th .syntax-pre {
|
|
display: inline-block;
|
|
border: 1px solid var(--oc-gray-5);
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
table th .syntax-pre:before {
|
|
content: "pre";
|
|
font-size: 0.625rem;
|
|
color: var(--oc-gray-7);
|
|
}
|
|
table td { background-color: var(--oc-gray-0); height: 2em; vertical-align: middle;}
|
|
table td code { font-size: 1.2em; }
|
|
table td h1 { font-size: 1.8em; text-align: left; }
|
|
table td h2 { font-size: 1.4em; text-align: left; }
|
|
table td h3 { font-size: 1.2em; text-align: left; }
|
|
|
|
table.sample { border-collapse: collapse; border-spacing: 0; margin: 4px; }
|
|
table.sample th, table.sample td { border: solid 1px var(--oc-gray-5); padding: 4px; height: 1em; }
|
|
|
|
a, a:link, a:visited{ color: var(--oc-blue-9); text-decoration: none; }
|
|
a:hover, a:active{ color: var(--oc-red-9); text-decoration: underline;}
|
|
|
|
.syntaxhl .mi { color: #0000DD; font-weight: bold }
|
|
.syntaxhl .nf { color: #0066BB; font-weight: bold }
|
|
.syntaxhl .k { color: #008800; font-weight: bold }
|
|
.syntaxhl .nb { color: #007020 }
|
|
.syntaxhl .s1 { background-color: #fff0f0 }
|
|
|
|
span.more_info { font-weight: normal; }
|
|
|
|
.markdown-alert {
|
|
border-left: 4px solid;
|
|
padding-left: 10px;
|
|
margin-left: 10px;
|
|
}
|
|
.markdown-alert-title {
|
|
font-weight: bold;
|
|
}
|
|
.markdown-alert-note { border-color: var(--oc-indigo-7); }
|
|
.markdown-alert-note .markdown-alert-title { color: var(--oc-indigo-9); } |