-
Notifications
You must be signed in to change notification settings - Fork 28
/
common.css
173 lines (143 loc) · 2.97 KB
/
common.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
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
.wp-block-slide-slide {
box-sizing: border-box;
line-height: 1.3;
}
.wp-block-slide-slide * {
box-sizing: inherit;
}
.wp-block-slide-slide p,
.wp-block-slide-slide ol,
.wp-block-slide-slide ul,
.wp-block-slide-slide figure,
.wp-block-slide-slide blockquote,
.wp-block-slide-slide pre,
.wp-block-slide-slide .wp-block-code {
margin-top: 0;
/* Back compat */
margin-bottom: 0;
/* margin-bottom: .5em; */
margin-left: 0;
margin-right: 0;
}
.wp-block-slide-slide .wp-block-image {
/* Overridden in the editor... */
margin-bottom: .5em !important;
}
.wp-block-slide-slide figure {
position: relative;
}
.wp-block-slide-slide figure img {
margin: 0;
display: block;
}
.wp-block-slide-slide h1,
.wp-block-slide-slide h2,
.wp-block-slide-slide h3,
.wp-block-slide-slide h4,
.wp-block-slide-slide h5,
.wp-block-slide-slide h6 {
font-style: normal;
font-weight: normal;
margin-top: 0;
/* Back compat */
margin-bottom: 0;
/* margin-bottom: .5em; */
margin-left: 0;
margin-right: 0;
}
.wp-block-slide-slide h1 {
font-size: 2.5em;
}
.wp-block-slide-slide h2 {
font-size: 2em;
}
.wp-block-slide-slide h3 {
font-size: 1.5em;
}
.wp-block-slide-slide h4 {
font-size: 1.25em;
}
.wp-block-slide-slide h5 {
font-size: 1em;
}
.wp-block-slide-slide h6 {
font-size: 0.8em;
}
.wp-block-slide-slide figcaption,
.wp-block-slide-slide blockquote > cite,
.wp-block-slide-slide .wp-block-quote__citation,
.wp-block-gallery .blocks-gallery-item figcaption {
font-size: 0.8em;
}
.wp-block-slide-slide blockquote.is-style-default {
padding-left: 1em;
border-left: .2em solid currentColor;
}
.wp-block-slide-slide blockquote.is-style-large {
padding: 1em;
margin: 0 0 .5em;
}
.wp-block-slide-slide .wp-block-quote__citation {
font-style: italic;
}
.wp-block-quote.is-style-large p {
font-size: 2em;
font-style: italic;
line-height: 1.6;
}
.wp-block-quote.is-style-large cite,
.wp-block-quote.is-style-large .wp-block-quote__citation {
font-size: 1em;
}
.wp-block-gallery .blocks-gallery-item {
margin: 0 .5em .5em 0;
}
.blocks-gallery-grid .blocks-gallery-image,
.blocks-gallery-grid .blocks-gallery-item,
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
width: calc((100% - .5em)/2);
}
.wp-block-slide-slide .wp-block-code .block-editor-plain-text {
font-size: inherit;
background: inherit;
display: block;
color: inherit;
font-family: monospace;
}
.wp-block-button__link {
font-size: inherit;
}
.wp-block-slide-slide iframe {
border: none;
}
.wp-block-media-text.is-image-fill figure > img {
position: static;
width: 100%;
height: auto;
margin: 0;
overflow: auto;
clip: auto;
}
.has-small-font-size {
font-size: 0.8em !important;
}
.has-normal-font-size {
font-size: inherit !important;
}
.has-medium-font-size {
font-size: 1.25em !important;
}
.has-large-font-size {
font-size: 1.5em !important;
}
.has-huge-font-size {
font-size: 2em !important;
}
.alignfull img,
.alignfull video,
.alignwide img,
.alignwide video {
width: 100%;
display: block;
}