Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb72d72

Browse files
authored
Merge pull request #19699 from meeseeksmachine/auto-backport-of-pr-19695-on-v3.4.x
Backport PR #19695 on branch v3.4.x (DOC: Increase size of headings)
2 parents 09c2648 + 86cdc4c commit bb72d72

File tree

2 files changed

+44
-10
lines changed

2 files changed

+44
-10
lines changed

doc/_static/mpl.css

Lines changed: 44 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,48 @@
55

66
/* Carlogo font (similar to Calibri in the MPL logo) */
77
@font-face {
8-
font-family: 'CarlogoRegular';
8+
font-family: 'Carlogo';
99
font-style: normal;
10+
font-weight: normal;
1011
src: local('Carlito'),
1112
url('fonts/carlogo-regular.woff2') format('woff2'),
1213
url('fonts/carlogo-regular.woff') format('woff'),
1314
url('fonts/carlogo-regular.ttf') format('truetype')
1415
}
1516

1617
@font-face {
17-
font-family: 'CarlogoBold';
18-
font-style: bold;
18+
font-family: 'Carlogo';
19+
font-style: normal;
20+
font-weight: bold;
1921
src: local('Carlito Bold'),
2022
url('fonts/carlogo-bold.woff2') format('woff2'),
2123
url('fonts/carlogo-bold.woff') format('woff'),
2224
url('fonts/carlogo-bold.ttf') format('truetype')
2325
}
2426

27+
@font-face {
28+
font-family: 'Carlogo';
29+
font-style: italic;
30+
font-weight: normal;
31+
src: local('Carlito Italic'),
32+
url('fonts/carlogo-italic.woff2') format('woff2'),
33+
url('fonts/carlogo-italic.woff') format('woff'),
34+
url('fonts/carlogo-italic.ttf') format('truetype')
35+
}
36+
37+
@font-face {
38+
font-family: 'Carlogo';
39+
font-style: italic;
40+
font-weight: bold;
41+
src: local('Carlito Bold Italic'),
42+
url('fonts/carlogo-bolditalic.woff2') format('woff2'),
43+
url('fonts/carlogo-bolditalic.woff') format('woff'),
44+
url('fonts/carlogo-bolditalic.ttf') format('truetype')
45+
}
46+
2547

2648
body {
27-
font-family: "Helvetica Neue", Helvetica, 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', sans-serif;
49+
font-family: 'Helvetica Neue', Helvetica, 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', sans-serif;
2850
font-size: 14px;
2951
line-height: 150%;
3052
text-align: center;
@@ -293,25 +315,37 @@ p {
293315
h1 {
294316
margin: 0.5em 0em;
295317
padding-top: 0.5em;
296-
font-size: 2em;
318+
font-size: 32px;
297319
color: #11557C;
298320
}
299321

300322
h2 {
301323
margin: 0.5em 0 0.2em 0;
302324
padding-top: 0.5em;
303-
font-size: 1.7em;
325+
font-size: 24px;
304326
}
305327

306328
h3 {
307329
margin: 0.2em 0 0.1em 0;
308330
padding-top: 0.5em;
309-
font-size: 1.2em;
331+
font-size: 18.72px;
332+
}
333+
334+
h4 {
335+
font-size: 16px;
336+
}
337+
338+
h5 {
339+
font-size: 13.28px;
340+
}
341+
342+
h6 {
343+
font-size: 12px;
310344
}
311345

312346
h1, h2, h3, h4, h5, h6{
313-
font-family: 'CarlogoBold', 'Carlito-bold', sans-serif;
314-
font-weight: normal;
347+
font-family: 'Carlogo', 'Carlito', sans-serif;
348+
font-weight: bold;
315349
}
316350

317351
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
@@ -1165,7 +1199,7 @@ div.viewcode-block:target {
11651199
/* new main nav */
11661200
nav.main-nav{
11671201
background-color: #002b47;
1168-
font-family: 'CarlogoRegular', 'Carlito', sans-serif;
1202+
font-family: 'Carlogo', 'Carlito', sans-serif;
11691203
font-size: 16px;
11701204
}
11711205

0 commit comments

Comments
 (0)