1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-02-24 01:22:26 +01:00
BezierInfo-2/placeholder-style.css

143 lines
2.6 KiB
CSS
Raw Normal View History

2020-08-04 14:59:56 -07:00
:root[lang="en-GB"] {
font-family: 'Museo', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
2020-08-05 20:57:43 -07:00
font-size: 18px;
2020-08-04 14:59:56 -07:00
}
:root[lang="ja-JP"] {
font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'Osaka', 'メイリオ', 'Meiryo', ' Pゴシック', 'MS PGothic', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
2020-08-05 20:57:43 -07:00
font-size: 16px;
2020-08-04 14:59:56 -07:00
}
:root[lang="zh-CN"] {
font-family: '华文细黑', 'STXihei', 'PingFang TC', '微软雅黑体', 'Microsoft YaHei New', '微软雅黑', 'Microsoft Yahei', '宋体', 'SimSun', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
2020-08-05 20:57:43 -07:00
font-size: 17.2px;
2020-08-04 14:59:56 -07:00
}
h1 {
background: black;
color: white;
padding: 0.2em 0.5em;
}
2020-08-09 22:32:58 -07:00
label[for="changelogtoggle"] {
display: inline-block;
cursor: pointer;
color: #2929b3;
margin-left: 2em;
}
#changelogtoggle {
display: none;
}
#changelogtoggle:not(:checked) ~ * {
display: none;
}
2020-08-04 14:59:56 -07:00
#chapters {
counter-reset: section;
}
#chapters section h1:before {
counter-increment: section;
content: "§" counter(section);
margin-right: 1em;
}
2020-08-08 21:42:45 -07:00
#chapters section > h1 > a {
text-decoration: none;
color: inherit;
}
2020-08-04 14:59:56 -07:00
graphics-element {
background: #e8e8e8;
}
2020-08-06 22:30:48 -07:00
div.print {
opacity: 0.2;
padding-left: 2em;
}
div.print:before {
content: "PRINT-ONLY:";
position: relative;
left: -2em;
}
div.print:after {
content: "END-PRINT-ONLY";
position: relative;
left: -2em;
}
2020-08-08 14:18:23 -07:00
div.howtocode {
position: relative;
border: 1px solid black;
background: rgb(246, 255, 255);
margin: 1em;
padding: 1em 1em 0 1em;
}
2020-08-08 22:07:10 -07:00
div.howtocode h3 {
box-sizing: border-box;
position: relative;
width: calc(100% + 2em - 4px);
left: calc(-1em + 2px);
background: black;
color: white;
padding: 0.2em;
margin: 0 auto;
margin-top: -1em;
}
2020-08-06 22:30:48 -07:00
div.note {
position: relative;
border: 1px solid black;
background: rgb(255, 255, 246);
margin: 1em;
padding: 1em 1em 0 1em;
}
div.note:before {
display: inline-block;
content: "Note";
border: 1px solid black;
border-radius: 0.5em;
background: orange;
padding: 0.2em 0.5em;
position: absolute;
top: -0.5em;
left: -1em;
2020-08-06 22:36:17 -07:00
}
img.LaTeX.SVG {
2020-08-08 13:45:25 -07:00
margin-left: 2em;
2020-08-06 22:36:17 -07:00
}
img.LaTeX.SVG + img.LaTeX.SVG {
margin-top: 1em;
2020-08-08 13:45:25 -07:00
margin-left: 1em;
}
pre {
display: inline-block;
margin-left: 1em;
background-color: lightyellow;
padding: 0.5em;
border: 1px dotted gray;
}
code {
position: relative;
font-family: monospace;
font-size: 0.9rem;
2020-08-06 22:36:17 -07:00
}
2020-08-08 16:35:45 -07:00
p code {
color: #ff6000;
font-weight: bold;
font-family: monospace;
font-size: 1.2em;
letter-spacing: -2px;
}