-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Expand file tree
/
Copy pathindex.css
More file actions
181 lines (148 loc) · 2.31 KB
/
index.css
File metadata and controls
181 lines (148 loc) · 2.31 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
/**
* Basic
*/
html,
body {
margin: 0;
padding: 0;
height: 100%;
}
* {
box-sizing: border-box;
}
body {
font: 13px/1.8 -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
max-width: 820px;
margin: 60px auto;
color: #12181e;
}
/**
* Editor Basics
*/
#editor {
font-family: "Noto Serif", serif;
font-size: 16px;
outline: none;
padding: 50px;
}
#editor .text-align-left {
text-align: left;
}
#editor .text-align-center {
text-align: center;
}
#editor .text-align-right {
text-align: right;
}
#editor a {
color: inherit;
}
#editor iframe {
max-width: 100%;
border: 0;
}
#editor img {
max-width: 100%;
height: auto;
}
#editor svg {
fill: currentColor;
}
/**
* Editor Basic Blocks
*/
#editor p,
#editor blockquote,
#editor h1,
#editor h2,
#editor h3,
#editor h4,
#editor h5,
#editor h6,
#editor img {
margin: 1em 0;
box-shadow: inset 0px 0px 0px 0px #e0e5e9;
transition: all .2s ease;
}
#editor h2 {
font-weight: 900;
font-size: 28px;
}
#editor blockquote {
font-size: 20px;
border-left: 4px solid black;
padding-left: 1em;
font-style: italic;
}
#editor section:focus {
outline: none;
}
#editor figure {
clear: both;
float: none;
margin: 1em 0;
width: 100%;
/*transition: margin 0.5s, width 0.5s;*/
}
#editor figure.aligncenter {
margin-left: auto;
margin-right: auto;
}
#editor figure.alignleft {
float: left;
margin: 0.5em 1em 0.5em 0;
width: 50%;
}
#editor figure.alignright {
float: right;
margin: 0.5em 0 0.5em 1em;
width: 50%;
}
#editor figure.alignfull {
margin-left: -100px;
margin-right: -100px;
width: calc( 100% + 200px );
}
#editor figure.alignfull figcaption {
margin-left: 0.5em;
margin-right: 0.5em;
}
#editor figure.alignfull > figcaption {
margin-left: 100px;
margin-right: 100px;
}
#editor figure.alignleft,
#editor figure.alignright {
clear: none;
}
#editor figcaption {
margin-top: 0.5em;
}
#editor figure img,
#editor figure iframe {
display: block;
margin: 0;
}
#editor pre {
overflow: auto;
}
#editor hr {
border: none;
font-size: 36px;
margin: 1em 0;
}
#editor hr:before {
content: '· · ·';
display: block;
text-align: center;
}
#editor blockquote {
margin: 2em;
}
#editor:after {
content: ".";
visibility: hidden;
display: block;
height: 0;
clear: both;
}