forked from wangjs-jacky/Turing-CSS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
turing.css
72 lines (68 loc) · 1.14 KB
/
turing.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/* Turing CSS */
/* By Mistrza */
body {
background-color: #fbfbfb;
color: #333;
font-family: monospace;
font-weight: bold;
text-decoration-skip: none;
text-align: justify;
}
h1, h2, h3, h4, h5, h6, p, li, .cm-s-inner, .footnote-line {
font-size: 16px;
}
h1, h2 {
text-align: center;
}
h1 {
text-transform: uppercase;
}
h2, h3, em, th, .cm-keyword {
text-decoration: underline;
}
blockquote, strong {
color: darkblue
}
blockquote {
margin-left: 30px;
margin-right: 30px
}
a, .footnote-line {
color: #333;
}
em, strong {
font-style: normal;
}
ul {
list-style-type: square
}
#write {
max-width: 60em
}
#footer p {
border-top: 2px solid #333;
margin-top: 10px;
}
/* Codes */
.cm-s-inner {
border-left: 2px solid #333;
padding-left: 1em
}
.cm-s-inner * {
color: #333 !important
}
/* Numbering */
h1 {
counter-reset: h2
}
h2 {
counter-reset: h3
}
#write h2:before {
counter-increment: h2;
content: counter(h2) ". "
}
#write h3:before {
counter-increment: h3;
content: counter(h2) "." counter(h3) ". "
}