forked from ianstormtaylor/slate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
75 lines (63 loc) · 962 Bytes
/
index.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
73
74
75
html,
input,
textarea {
font-family: 'Roboto', sans-serif;
line-height: 1.4;
background: #eee;
}
body {
margin: 0;
}
p {
margin: 0;
}
pre {
padding: 10px;
background-color: #eee;
white-space: pre-wrap;
}
:not(pre) > code {
font-family: monospace;
background-color: #eee;
padding: 3px;
}
img {
max-width: 100%;
max-height: 20em;
}
blockquote {
border-left: 2px solid #ddd;
margin-left: 0;
margin-right: 0;
padding-left: 10px;
color: #aaa;
font-style: italic;
}
blockquote[dir='rtl'] {
border-left: none;
padding-left: 0;
padding-right: 10px;
border-right: 2px solid #ddd;
}
table {
border-collapse: collapse;
}
td {
padding: 10px;
border: 2px solid #ddd;
}
input {
box-sizing: border-box;
font-size: 0.85em;
width: 100%;
padding: 0.5em;
border: 2px solid #ddd;
background: #fafafa;
}
input:focus {
outline: 0;
border-color: blue;
}
[data-slate-editor] > * + * {
margin-top: 1em;
}