Mercurial > hg > Events > OSC2019
comparison scripts/prettify.css @ 0:19155754a586
create OSC2019 slide template
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 06 Apr 2019 17:28:17 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:19155754a586 |
---|---|
1 /* CSS from google html5slides(https://code.google.com/p/html5slides/) */ | |
2 | |
3 code { | |
4 display: inline-block; | |
5 } | |
6 | |
7 pre > code { | |
8 display: block; | |
9 | |
10 font-family: 'Droid Sans Mono', 'Courier New', monospace; | |
11 | |
12 font-size: 20px; | |
13 line-height: 28px; | |
14 padding: 5px 10px; | |
15 | |
16 margin-top: 40px; | |
17 margin-bottom: 40px; | |
18 | |
19 color: black; | |
20 background: rgb(240, 240, 240); | |
21 border: 1px solid rgb(224, 224, 224); | |
22 box-shadow: inset 0 2px 6px rgba(0, 0, 0, .1); | |
23 | |
24 overflow: hidden; | |
25 } | |
26 | |
27 /* Pretty print */ | |
28 | |
29 .prettyprint .str, /* string content */ | |
30 .prettyprint .atv { /* a markup attribute value */ | |
31 color: rgb(0, 138, 53); | |
32 } | |
33 .prettyprint .kwd, /* a keyword */ | |
34 .prettyprint .tag { /* a markup tag name */ | |
35 color: rgb(0, 102, 204); | |
36 } | |
37 .prettyprint .com { /* a comment */ | |
38 color: rgb(127, 127, 127); | |
39 font-style: italic; | |
40 } | |
41 .prettyprint .lit { /* a literal value */ | |
42 color: rgb(127, 0, 0); | |
43 } | |
44 .prettyprint .pun, /* punctuation, lisp open bracket, lisp close bracket */ | |
45 .prettyprint .opn, | |
46 .prettyprint .clo { | |
47 color: rgb(127, 127, 127); | |
48 } | |
49 .prettyprint .typ, /* a type name */ | |
50 .prettyprint .atn, /* a markup attribute name */ | |
51 .prettyprint .dec, | |
52 .prettyprint .var { /* a declaration; a variable name */ | |
53 color: rgb(127, 0, 127); | |
54 } | |
55 |