Skip to content

Commit b0c4777

Browse files
authored
Merge pull request #15548 from meeseeksmachine/auto-backport-of-pr-15516-on-v3.1.1-doc
Backport PR #15516 on branch v3.1.1-doc (Add logo like font)
2 parents 7830e26 + acf0c9a commit b0c4777

14 files changed

+74
-8
lines changed

LICENSE/LICENSE_CARLOGO.txt

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
----> we renamed carlito -> carlogo to comply with the terms <----
2+
3+
Copyright (c) 2010-2013 by tyPoland Lukasz Dziedzic with Reserved Font Name "Carlito".
4+
5+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
6+
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
7+
8+
-----------------------------------------------------------
9+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10+
-----------------------------------------------------------
11+
12+
PREAMBLE
13+
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
14+
15+
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
16+
17+
DEFINITIONS
18+
"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
19+
20+
"Reserved Font Name" refers to any names specified as such after the copyright statement(s).
21+
22+
"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
23+
24+
"Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
25+
26+
"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
27+
28+
PERMISSION & CONDITIONS
29+
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
30+
31+
1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
32+
33+
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
34+
35+
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
36+
37+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
38+
39+
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
40+
41+
TERMINATION
42+
This license becomes null and void if any of the above conditions are not met.
43+
44+
DISCLAIMER
45+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.

doc/_static/fonts/Carlogo-bold.ttf

674 KB
Binary file not shown.
798 KB
Binary file not shown.

doc/_static/fonts/Carlogo-italic.ttf

609 KB
Binary file not shown.

doc/_static/fonts/Carlogo-regular.ttf

621 KB
Binary file not shown.

doc/_static/fonts/carlogo-bold.woff

275 KB
Binary file not shown.

doc/_static/fonts/carlogo-bold.woff2

166 KB
Binary file not shown.
295 KB
Binary file not shown.
176 KB
Binary file not shown.

doc/_static/fonts/carlogo-italic.woff

301 KB
Binary file not shown.
181 KB
Binary file not shown.
266 KB
Binary file not shown.
161 KB
Binary file not shown.

doc/_static/mpl.css

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,26 @@
33
* Originally created by Armin Ronacher for Werkzeug, adapted by Georg Brandl.
44
*/
55

6+
/* Carlogo font (simmilar to Calibri in the MPL logo) */
7+
@font-face {
8+
font-family: 'CarlogoRegular';
9+
font-style: normal;
10+
src: local('Carlito'),
11+
url('fonts/carlogo-regular.woff2') format('woff2'),
12+
url('fonts/carlogo-regular.woff') format('woff'),
13+
url('fonts/carlogo-regular.ttf') format('truetype')
14+
}
15+
16+
@font-face {
17+
font-family: 'CarlogoBold';
18+
font-style: bold;
19+
src: local('Carlito Bold'),
20+
url('fonts/carlogo-bold.woff2') format('woff2'),
21+
url('fonts/carlogo-bold.woff') format('woff'),
22+
url('fonts/carlogo-bold.ttf') format('truetype')
23+
}
24+
25+
626
body {
727
font-family: "Helvetica Neue", Helvetica, 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', sans-serif;
828
font-size: 14px;
@@ -312,6 +332,11 @@ h3 {
312332
font-size: 1.2em;
313333
}
314334

335+
h1, h2, h3, h4, h5, h6{
336+
font-family: 'CarlogoBold', 'Carlito-bold', sans-serif;
337+
font-weight: normal;
338+
}
339+
315340
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
316341
color: black!important;
317342
}
@@ -1122,10 +1147,8 @@ div.viewcode-block:target {
11221147
/* new main nav */
11231148
nav.main-nav{
11241149
background-color: #002b47;
1125-
font-family: Calibri, 'Carlito', 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
1126-
text-transform: uppercase;
1127-
letter-spacing: 2px;
1128-
font-size: 12px;
1150+
font-family: 'CarlogoRegular', 'Carlito', sans-serif;
1151+
font-size: 16px;
11291152
}
11301153

11311154
nav.main-nav ul{
@@ -1141,11 +1164,9 @@ nav.main-nav{
11411164
}
11421165

11431166
nav.main-nav a{
1144-
color: rgba(256, 256, 256, .8);
1145-
transform: color .2s ease-in-out;
1167+
color: white;
11461168
}
11471169

11481170
nav.main-nav a:hover{
1149-
color: white;
11501171
text-decoration: underline;
1151-
}
1172+
}

0 commit comments

Comments
 (0)