File size: 4,433 Bytes
1e92f2d |
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 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
/* http://typecast.com/blog/a-more-modern-scale-for-web-typography */
:root {
/* equivalent to 16px */
/* equivalent to 20px */
}
body {
font-size: 100%;
}
body,
caption,
th,
td,
input,
textarea,
select,
option,
legend,
fieldset,
h1,
h2,
h3,
h4,
h5,
h6 {
font-size-adjust: 0.5;
}
.editable-area p,
.editable-area h1,
.editable-area h2,
.editable-area h3,
.editable-area h4,
.editable-area h5,
.editable-area h6,
.editable-area blockquote,
.editable-area pre {
margin: 1em 0 0.5em;
}
.editable-area p:first-child,
.editable-area h1:first-child,
.editable-area h2:first-child,
.editable-area h3:first-child,
.editable-area h4:first-child,
.editable-area h5:first-child,
.editable-area h6:first-child,
.editable-area blockquote:first-child,
.editable-area pre:first-child {
margin-top: 0;
}
.editable-area p:last-child,
.editable-area h1:last-child,
.editable-area h2:last-child,
.editable-area h3:last-child,
.editable-area h4:last-child,
.editable-area h5:last-child,
.editable-area h6:last-child,
.editable-area blockquote:last-child,
.editable-area pre:last-child {
margin-bottom: 0;
}
.editable-area ul,
.editable-area ol {
margin: 0;
}
.editable-area li {
margin: 1em 0;
}
.editable-area body {
font-size: 1em;
line-height: 1.25em;
}
.editable-area em {
font-style: italic;
}
.editable-area strong {
font-weight: 700;
}
.editable-area h1 strong,
.editable-area h2 strong,
.editable-area h3 strong,
.editable-area h4 strong,
.editable-area h5 strong,
.editable-area h6 strong {
font-weight: 800;
}
@media only screen and (max-width: 64em) and (min-width: 48em) {
.editable-area body {
font-size: 1em;
line-height: 1.375em;
}
}
.editable-area h1 {
margin: 1em 0 0.5em 0;
font-size: 2em;
line-height: 1.25em;
}
.editable-area h1:first-child {
margin-top: 0;
}
@media only screen and (max-width: 64em) and (min-width: 48em) {
.editable-area h1 {
font-size: 2.5em; /* 2.5x body copy size = 40px */
line-height: 1.125;
}
}
@media only screen and (max-width: 64em) and (min-width: 48em) {
.editable-area h1 {
font-size: 3em; /* 3x body copy size = 48px */
line-height: 1.05; /* keep to a multiple of the 20px line height and something more appropriate for display headings */
}
}
.editable-area h2 {
margin: 0.8em 0 0.5em 0;
font-size: 1.625em; /* 1.625x body copy size = 26px */
line-height: 1.15384615; /* 30px / 26px */
}
@media only screen and (max-width: 64em) and (min-width: 48em) {
.editable-area h2 {
font-size: 2em; /* 2x body copy size = 32px */
line-height: 1.25em;
}
}
@media only screen and (max-width: 48em) {
.editable-area h2 {
font-size: 2.25em; /* 2.25x body copy size = 36px */
line-height: 1.25em;
}
}
.editable-area h3 {
margin: 0.8em 0 0.5em 0;
font-size: 1.375em; /* 1.375x body copy size = 22px */
line-height: 1.13636364; /* 25px / 22px */
}
@media only screen and (max-width: 64em) and (min-width: 48em) {
.editable-area h3 {
font-size: 1.5em; /* 1.5x body copy size = 24px */
line-height: 1.25em;
}
}
@media only screen and (max-width: 48em) {
.editable-area h3 {
font-size: 1.75em; /* 1.75x body copy size = 28px */
line-height: 1.25em;
}
}
.editable-area h4 {
margin: 0.8em 0 0.5em 0;
font-size: 1.125em; /* 1.125x body copy size = 18px */
line-height: 1.11111111;
}
@media only screen and (max-width: 64em) and (min-width: 48em) {
.editable-area h4 {
line-height: 1.25em;
}
}
@media only screen and (max-width: 48em) {
.editable-area h4 {
line-height: 1.25em;
}
}
.editable-area h5 {
margin: 0.8em 0 0.5em 0;
font-size: 1.085em; /* 1.125x body copy size = 18px */
line-height: 1.055;
}
@media only screen and (max-width: 64em) and (min-width: 48em) {
.editable-area h5 {
line-height: 1.25em;
}
}
@media only screen and (max-width: 48em) {
.editable-area h5 {
line-height: 1.25em;
}
}
.editable-area h6 {
margin: 0.8em 0 0.5em 0;
font-size: 1.055em; /* 1.125x body copy size = 18px */
line-height: 1.005;
}
@media only screen and (max-width: 64em) and (min-width: 48em) {
.editable-area h6 {
line-height: 1.25em;
}
}
@media only screen and (max-width: 48em) {
.editable-area h6 {
line-height: 1.25em;
}
}
.editable-area blockquote {
font-size: 1em;
font-style: italic;
padding: 0 2.5em;
}
|