1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | $nn-grey-bg : #f2f4f6 !default;
|
9 | $nn-grey-border : #d2d4d6 !default;
|
10 | $nn-green-bg : #dfe !default;
|
11 | $nn-green-border: #0da !default;
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 | $nn-sans-serif : -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, YuGothic, "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 | $nn-serif : Georgia, YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "HGS明朝E", serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 | $nn-monospace : MeiryoKe_Gothic, Osaka-mono, "MS Gothic", "Courier New", monospace, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 | @font-face {
|
46 | font-family: "Yu Gothic";
|
47 | src: local("Yu Gothic Medium"), local("YuGothic-Medium");
|
48 | }
|
49 |
|
50 | @font-face {
|
51 | font-family: "Yu Gothic";
|
52 | src: local("Yu Gothic Bold"), local("YuGothic-Bold");
|
53 | font-weight: bold;
|
54 | }
|
55 |
|
56 |
|
57 | :root {
|
58 |
|
59 | --nn-sans-serif: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, YuGothic, "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
60 | --nn-serif: Georgia, YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "HGS明朝E", serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
61 | --nn-monospace: MeiryoKe_Gothic, Osaka-mono, "MS Gothic", "Courier New", monospace, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
62 | }
|
63 |
|
64 |
|
65 | *,
|
66 | ::before,
|
67 | ::after {
|
68 | box-sizing: border-box;
|
69 | }
|
70 |
|
71 |
|
72 | html {
|
73 | font-family: $nn-sans-serif;
|
74 |
|
75 | overflow-y: scroll;
|
76 | cursor: default;
|
77 |
|
78 | text-decoration-skip-ink: none;
|
79 |
|
80 | -webkit-text-size-adjust: 100%;
|
81 |
|
82 | -webkit-text-decoration-skip: objects;
|
83 |
|
84 | -webkit-overflow-scrolling: touch;
|
85 | }
|
86 |
|
87 |
|
88 | body {
|
89 | margin: 0;
|
90 | line-height: 1.7;
|
91 | overflow-wrap: break-word;
|
92 |
|
93 | word-wrap: break-word;
|
94 | }
|
95 |
|
96 |
|
97 | details, main {
|
98 | display: block;
|
99 | }
|
100 |
|
101 |
|
102 |
|
103 |
|
104 |
|
105 |
|
106 |
|
107 | h1, h2, h3, h4, h5, h6, p, hr, dl, dt, dd, ol, ul,
|
108 | address, details, blockquote, figure, figcaption, fieldset, form, pre, summary, table {
|
109 | margin: 0 0 1rem;
|
110 | }
|
111 |
|
112 |
|
113 | dd, li, blockquote, figure {
|
114 | margin-left: 2.5em;
|
115 | }
|
116 |
|
117 |
|
118 | ol ol, ol ul,
|
119 | ul ol, ul ul,
|
120 | blockquote > :last-child,
|
121 | fieldset > :last-child,
|
122 | pre > :last-child {
|
123 | margin-bottom: 0;
|
124 | }
|
125 |
|
126 |
|
127 | ol, ul {
|
128 | padding: 0;
|
129 | }
|
130 |
|
131 |
|
132 |
|
133 |
|
134 |
|
135 |
|
136 |
|
137 | h1 {
|
138 | font-size: 2em;
|
139 | }
|
140 |
|
141 | h2 {
|
142 | font-size: 1.7em;
|
143 | }
|
144 |
|
145 | h3 {
|
146 | font-size: 1.5em;
|
147 | }
|
148 |
|
149 | h4 {
|
150 | font-size: 1.2em;
|
151 | }
|
152 |
|
153 |
|
154 | h5, h6,
|
155 | code, kbd, samp, var {
|
156 | font-size: 1em;
|
157 | }
|
158 |
|
159 |
|
160 | caption, dt, em, th {
|
161 | font-weight: bold;
|
162 | }
|
163 |
|
164 |
|
165 | address, dfn, em, var {
|
166 | font-style: normal;
|
167 | }
|
168 |
|
169 |
|
170 | pre, code, kbd, samp, var, textarea {
|
171 | font-family: $nn-monospace;
|
172 | }
|
173 |
|
174 |
|
175 | button, input, optgroup, select {
|
176 |
|
177 | margin: 0;
|
178 | font-family: inherit;
|
179 | font-size: inherit;
|
180 | }
|
181 |
|
182 |
|
183 | textarea {
|
184 | margin: 0;
|
185 | font-size: inherit;
|
186 | }
|
187 |
|
188 |
|
189 | small {
|
190 | font-size: .8em;
|
191 | }
|
192 |
|
193 |
|
194 | sub, sup {
|
195 | position: relative;
|
196 | font-size: .75em;
|
197 | vertical-align: baseline;
|
198 | }
|
199 |
|
200 | sub {
|
201 | bottom: -.25em;
|
202 | }
|
203 |
|
204 | sup {
|
205 | top: -.5em;
|
206 | }
|
207 |
|
208 |
|
209 |
|
210 |
|
211 |
|
212 |
|
213 |
|
214 | blockquote {
|
215 | border: 1px solid $nn-green-border;
|
216 | border-radius: 4px;
|
217 | padding: 1em;
|
218 | background: $nn-green-bg;
|
219 | }
|
220 |
|
221 |
|
222 | pre {
|
223 | border: 1px solid $nn-grey-border;
|
224 | border-radius: 4px;
|
225 | padding: 1em;
|
226 | background: $nn-grey-bg;
|
227 | overflow: auto;
|
228 | overflow-wrap: normal;
|
229 |
|
230 | word-wrap: normal;
|
231 | word-break: keep-all;
|
232 | white-space: pre;
|
233 | }
|
234 |
|
235 |
|
236 | table {
|
237 | border-collapse: collapse;
|
238 | }
|
239 |
|
240 |
|
241 | td, th {
|
242 | border: 1px solid $nn-grey-border;
|
243 | padding: .25em .5em;
|
244 | }
|
245 |
|
246 |
|
247 | th {
|
248 | text-align: center;
|
249 | background: $nn-grey-bg;
|
250 | }
|
251 |
|
252 |
|
253 | hr {
|
254 | border: 0;
|
255 | border-bottom: 1px solid $nn-grey-border;
|
256 | }
|
257 |
|
258 |
|
259 | fieldset {
|
260 | border: 1px solid $nn-grey-border;
|
261 | border-radius: 4px;
|
262 | }
|
263 |
|
264 |
|
265 | figure {
|
266 | border-left: .5em solid $nn-grey-border;
|
267 | padding-left: 1em;
|
268 | }
|
269 |
|
270 |
|
271 | summary {
|
272 | cursor: pointer;
|
273 | }
|
274 |
|
275 |
|
276 | abbr[title], dfn[title] {
|
277 |
|
278 | text-decoration: underline;
|
279 | text-decoration: underline dotted;
|
280 | cursor: help;
|
281 | }
|
282 |
|
283 |
|
284 | :not(pre) > code,
|
285 | :not(pre) > samp,
|
286 | :not(pre) > kbd,
|
287 | :not(pre) > var {
|
288 | margin: 0 .25em;
|
289 | border: 1px solid $nn-grey-border;
|
290 | border-radius: 4px;
|
291 | padding: .1em .25em;
|
292 | background: $nn-grey-bg;
|
293 | }
|
294 |
|
295 |
|
296 | q {
|
297 | quotes: "“" "”" "‘" "’";
|
298 | }
|
299 |
|
300 | q::before {
|
301 | content: open-quote;
|
302 | }
|
303 |
|
304 | q::after {
|
305 | content: close-quote;
|
306 | }
|
307 |
|
308 |
|
309 | button, input, select, textarea {
|
310 | vertical-align: top;
|
311 | }
|
312 |
|
313 |
|
314 | [type="checkbox"], [type="radio"] {
|
315 | vertical-align: middle;
|
316 | }
|
317 |
|
318 |
|
319 | button, [type="button"], [type="reset"], [type="submit"] {
|
320 | -webkit-appearance: button;
|
321 | }
|