Project

General

Profile

« Previous | Next » 

Revision b233e13b

Added by Andreas Kohlbecker almost 4 years ago

ref #8854 base line height to 1.6 * base-font-size

View differences:

themes/zen_dataportal/css/styles.css
154 154
  /* 2 */
155 155
  -webkit-text-size-adjust: 100%;
156 156
  /* 2 */
157
  line-height: 1.28571em;
157
  line-height: 1.6em;
158 158
}
159 159

  
160 160
/* Address `font-family` inconsistency between `textarea` and other form elements. */
......
205 205
/* line 170, ../sass/_normalize.scss */
206 206
p,
207 207
pre {
208
  margin: 1.28571em 0;
208
  margin: 1.6em 0;
209 209
}
210 210

  
211 211
/* line 173, ../sass/_normalize.scss */
212 212
blockquote {
213 213
  /* Also indent the quote on both sides. */
214
  margin: 1.28571em 30px;
214
  margin: 1.6em 30px;
215 215
}
216 216

  
217 217
/**
......
222 222
h1 {
223 223
  /* Set the font-size and line-height while keeping a proper vertical rhythm. */
224 224
  font-size: 2em;
225
  line-height: 1.28571em;
225
  line-height: 1.6em;
226 226
  /* Set 1 unit of vertical rhythm on the top and bottom margins. */
227
  margin-top: 0.64286em;
228
  margin-bottom: 0.64286em;
227
  margin-top: 0.8em;
228
  margin-bottom: 0.8em;
229 229
}
230 230

  
231 231
/* line 190, ../sass/_normalize.scss */
232 232
h2 {
233 233
  font-size: 1.6em;
234
  line-height: 1.60714em;
235
  margin-top: 0.80357em;
236
  margin-bottom: 0.80357em;
234
  line-height: 2em;
235
  margin-top: 1em;
236
  margin-bottom: 1em;
237 237
}
238 238

  
239 239
/* line 195, ../sass/_normalize.scss */
240 240
h3 {
241 241
  font-size: 1.5em;
242
  line-height: 1.71429em;
243
  margin-top: 0.85714em;
244
  margin-bottom: 0.85714em;
242
  line-height: 2.13333em;
243
  margin-top: 1.06667em;
244
  margin-bottom: 1.06667em;
245 245
}
246 246

  
247 247
/* line 200, ../sass/_normalize.scss */
248 248
h4 {
249 249
  font-size: 1em;
250
  line-height: 1.28571em;
251
  margin-top: 1.28571em;
252
  margin-bottom: 1.28571em;
250
  line-height: 1.6em;
251
  margin-top: 1.6em;
252
  margin-bottom: 1.6em;
253 253
}
254 254

  
255 255
/* line 205, ../sass/_normalize.scss */
256 256
h5 {
257 257
  font-size: 0.83em;
258
  line-height: 1.54905em;
259
  margin-top: 1.54905em;
260
  margin-bottom: 1.54905em;
258
  line-height: 1.92771em;
259
  margin-top: 1.92771em;
260
  margin-bottom: 1.92771em;
261 261
}
262 262

  
263 263
/* line 210, ../sass/_normalize.scss */
264 264
h6 {
265 265
  font-size: 0.67em;
266
  line-height: 1.91898em;
267
  margin-top: 1.91898em;
268
  margin-bottom: 1.91898em;
266
  line-height: 2.38806em;
267
  margin-top: 2.38806em;
268
  margin-bottom: 2.38806em;
269 269
}
270 270

  
271 271
/* Address styling not present in IE 8/9, Safari 5, and Chrome. */
......
296 296
  height: 0;
297 297
  border: 1px solid #666;
298 298
  padding-bottom: -1px;
299
  margin: 1.28571em 0;
299
  margin: 1.6em 0;
300 300
}
301 301

  
302 302
/* Address styling not present in IE 8/9. */
......
317 317
  font-family: "Noto Mono", sans-serif;
318 318
  _font-family: 'courier new', monospace;
319 319
  font-size: 1em;
320
  line-height: 1.28571em;
320
  line-height: 1.6em;
321 321
}
322 322

  
323 323
/* Improve readability of pre-formatted text in all browsers. */
......
457 457
  border-color: #c0c0c0;
458 458
  border-top-style: solid;
459 459
  border-top-width: 0.07143em;
460
  padding-top: 0.37857em;
460
  padding-top: 0.48857em;
461 461
  border-bottom-style: solid;
462 462
  border-bottom-width: 0.07143em;
463
  padding-bottom: 0.76429em;
463
  padding-bottom: 0.96857em;
464 464
  border-left-style: solid;
465 465
  border-left-width: 0.07143em;
466
  padding-left: 0.76429em;
466
  padding-left: 0.96857em;
467 467
  border-right-style: solid;
468 468
  border-right-width: 0.07143em;
469
  padding-right: 0.76429em;
469
  padding-right: 0.96857em;
470 470
}
471 471

  
472 472
/**
......
652 652
  /* Prevent cramped-looking tables */
653 653
  /* width: 100%; */
654 654
  /* Add vertical rhythm margins. */
655
  margin-top: 1.28571em;
656
  margin-bottom: 1.28571em;
655
  margin-top: 1.6em;
656
  margin-bottom: 1.6em;
657 657
}
658 658

  
659 659
/* line 551, ../sass/_normalize.scss */
......
1067 1067
.header__site-name {
1068 1068
  margin: 0;
1069 1069
  font-size: 2em;
1070
  line-height: 1.28571em;
1070
  line-height: 1.6em;
1071 1071
}
1072 1072

  
1073 1073
/* The link around the name of the website. */
......
1187 1187
/* fixes oversized icons */
1188 1188
/* line 211, ../sass/components/_misc.scss */
1189 1189
#admin-menu .dropdown .admin-menu-icon img {
1190
  height: 18px;
1190
  height: 22.4px;
1191 1191
}
1192 1192

  
1193 1193
/* line 215, ../sass/components/_misc.scss */
......
1278 1278
 */
1279 1279
/* line 296, ../sass/components/_misc.scss */
1280 1280
.messages, .messages--status, .messages--warning, .messages--error {
1281
  margin: 1.28571em 0;
1281
  margin: 1.6em 0;
1282 1282
  padding: 10px 10px 10px 50px;
1283 1283
  /* LTR */
1284 1284
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAD6UlEQVR42s2WX0xbVRzH3YwmC4k+GF/0ZS/S267/bmnX9nL7bwstZlnbjTDYyoC5GCbB0ZW5pdJCe6swbLFA6bpWIGuRMWVjKGP+21QW3SZBSAjGh4XEaTZTH82Cm/3ztS2xs7mw4KLRk3xyzj33/H6fe5Pz7zEA/yr/vUDukj9FH6drqTaqT8EoPs/UV+nX6TD1BlUh9AqLHlmgPKLcRHmoCOWmElK/FOKTYpS8UwLJkASiUyLI3pKhlClN0g46qj+qL/pbArlbrlO1q25JeiSgR2iYJ8ywXLSg/qP6LNl2ro8+Q4MMkKCd9K2t3q3KdQnkXXIF5aISkgEJzONm1F2qW52pDJN1MI2bUBIuAdVOJWSMTPNQgX6/vkjVpvpREpag6oMqWCYta1IzbsHh9ga0RJtzY8URMdRO9U/KSuWmNQUqh2pY3CtG+fvlqJyofMAFNrZAE+7e/RWR4X4cD9tgOGsA2U2CdtMDqwqyMyIzQ5KKqAKmcyaYxkzYd3YvjGNGFtXRPRj58DT+LOemRrFnrBLyITmUDmUyO/NYgu2d26ukHVJo3tXAMGpAs+cQmh0NeClan30uwN7TgnQ6nRd4r3thOGOAJqYB2UVC79AfZAnKHGUxQa8A2tNaNLW/jKvXv8Dyb8s4yryKA4O10A3roIvpUB+swTdz1/LJZ27PQBvT5lBH1RD4BChzlQ2wBNtc22aE/ULQgzRCl4P5BPcT93GMOYz9wb2QhCRgAq35d8u/L2PXe7tADVGgBlcQ+AXQtmlvsP/gzbJZvp8PMkJCFBYh8m0knyiVSsHe0YIGZz1+/uVOvt8z7QGvnwf+ST5EIRHIUyR4fh50rbp5lsDcYR4ReAXgBrng9q/Qfa0bfy035r7Ot2dvz4IX4IEIEAXwvDzscOw4zxJUd1YfEXlE4Aa4BQHMlwzSSBeI7iXvoTxWDqKPYCFsFaKmr+YVliB0JfS89DVpiuhlB9k/tSOZTuYFvq98yI7L0/MAsVWcGp0bfW61hbahwltxSeARsIKyWKesSKQSWIwvYkvvllwfx88pgOvhwthu/AzAxlVX8vz385tLbaVxwpcLZtEw0QDjsBGctzksiE4CimZFfHp++oWHbnbuUfdB0komMgHsRN1r0MWBsEmYODF5onY92/UTwcvBxuzXcN1ccHycVSn2FaPYWwzCQUDWKIt7z3utAJ5c74Hz+OLSomynY+cVfiM/xW3JiDyZpB3FuZrj4oCwE+Ad4qWMjPHjpTtL0mzMoxyZz9yM39Q7Y85Ok930icqm+k59TL2wm9l90dZv8y/8sPAigGf/iUN/Q4anM2zOsdLe+L+4VfwBVVjDs2rTYx0AAAAASUVORK5CYII=');
......
1358 1358
  /* IE 9 and earlier don't understand gradients. */
1359 1359
  list-style: none;
1360 1360
  border-bottom: 1px solid #bbbbbb \0/ie;
1361
  margin: 1.28571em 0;
1361
  margin: 1.6em 0;
1362 1362
  padding: 0 2px;
1363 1363
  white-space: nowrap;
1364 1364
}
......
1377 1377
  border-right: 0;
1378 1378
  border-bottom: 0;
1379 1379
  display: block;
1380
  line-height: 1.28571em;
1380
  line-height: 1.6em;
1381 1381
  text-decoration: none;
1382 1382
}
1383 1383

  
......
1446 1446
.tabs-secondary {
1447 1447
  font-size: .9em;
1448 1448
  /* Collapse bottom margin of ul.primary. */
1449
  margin-top: -1.28571em;
1449
  margin-top: -1.6em;
1450 1450
}
1451 1451

  
1452 1452
/* line 451, ../sass/components/_misc.scss */
1453 1453
.tabs-secondary__tab,
1454 1454
.tabs-secondary__tab.is-active {
1455
  margin: 0.64286em 3px;
1455
  margin: 0.8em 3px;
1456 1456
}
1457 1457

  
1458 1458
/* line 457, ../sass/components/_misc.scss */
......
1599 1599
/* Block wrapper. */
1600 1600
/* line 584, ../sass/components/_misc.scss */
1601 1601
.block {
1602
  margin-bottom: 1.28571em;
1602
  margin-bottom: 1.6em;
1603 1603
}
1604 1604

  
1605 1605
/**
......
1680 1680
/* Wrapper for the list of comments and its title. */
1681 1681
/* line 663, ../sass/components/_misc.scss */
1682 1682
.comments {
1683
  margin: 1.28571em 0;
1683
  margin: 1.6em 0;
1684 1684
}
1685 1685

  
1686 1686
/* Preview of the comment before submitting new or updated comment. */
......
1715 1715
/* Wrapper for a form element (or group of form elements) and its label. */
1716 1716
/* line 694, ../sass/components/_misc.scss */
1717 1717
.form-item {
1718
  margin: 1.28571em 0;
1718
  margin: 1.6em 0;
1719 1719
  /* Pack groups of checkboxes and radio buttons closer together. */
1720 1720
  /* Form items in a table. */
1721 1721
  /* Highlight the form elements that caused a form submission error. */
......
1799 1799
/* line 772, ../sass/components/_misc.scss */
1800 1800
.openid-link,
1801 1801
.user-link {
1802
  margin-top: 1.28571em;
1802
  margin-top: 1.6em;
1803 1803
}
1804 1804

  
1805 1805
/* line 776, ../sass/components/_misc.scss */
......
1812 1812

  
1813 1813
/* line 780, ../sass/components/_misc.scss */
1814 1814
#user-login ul {
1815
  margin: 1.28571em 0;
1815
  margin: 1.6em 0;
1816 1816
}
1817 1817

  
1818 1818
/**
......
2174 2174
/* line 53, ../sass/cdm.scss */
2175 2175
#page-toc h3 {
2176 2176
  margin-top: 0;
2177
  line-height: 18px;
2177
  line-height: 22.4px;
2178 2178
}
2179 2179

  
2180 2180
/* line 59, ../sass/cdm.scss */
......
2194 2194
/* line 72, ../sass/cdm.scss */
2195 2195
.block-cdm-dataportal-feature, .media-caption, .specimens {
2196 2196
  clear: both;
2197
  margin-bottom: 18px;
2197
  margin-bottom: 22.4px;
2198 2198
}
2199 2199
/* line 75, ../sass/cdm.scss */
2200 2200
.block-cdm-dataportal-feature dt, .media-caption dt, .specimens dt {
......
2255 2255

  
2256 2256
/* line 117, ../sass/cdm.scss */
2257 2257
div.cdm-item-list div.item {
2258
  margin: 9px 0;
2258
  margin: 11.2px 0;
2259 2259
}
2260 2260

  
2261 2261
/*
......
2263 2263
 */
2264 2264
/* line 126, ../sass/cdm.scss */
2265 2265
.page-part {
2266
  margin-bottom: 18px;
2266
  margin-bottom: 22.4px;
2267 2267
  clear: none;
2268 2268
}
2269 2269

  
......
2274 2274
/* line 136, ../sass/cdm.scss */
2275 2275
.description_list h3 {
2276 2276
  font-size: 14px;
2277
  line-height: 18px;
2277
  line-height: 22.4px;
2278 2278
  font-weight: bold;
2279 2279
}
2280 2280

  
......
2351 2351
/* line 207, ../sass/cdm.scss */
2352 2352
#specimens .block-cdm-dataportal-feature h2 {
2353 2353
  font-size: 14px;
2354
  line-height: 18px;
2354
  line-height: 22.4px;
2355 2355
  font-weight: bold;
2356 2356
}
2357 2357
/* line 214, ../sass/cdm.scss */

Also available in: Unified diff