Skip to content

Commit bd4cbb0

Browse files
authored
Merge pull request #383 from pycom/doc-styles
Adds Montserrat font and adds to CSS, Makes H2 Bebas font and small c…
2 parents bd58b27 + b5031ea commit bd4cbb0

File tree

4 files changed

+25
-6
lines changed

4 files changed

+25
-6
lines changed

content/products/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ Below you will find tables of all Pycom products. These tables illustrate the fu
5555
[Pycase](https://pycom.io/product/pycase-clear/) | ✔ | ✔ | | small |
5656
[Pygate case](https://pycom.io/product/pygate-case/) | ✔ | ✔ | | tiny |
5757
[Small IP67 Case](https://pycom.io/product/ip67-case-for-pysense-pytrack/) | | | ✔| 18650 |
58-
[Universal IP76 Case](https://pycom.io/product/universal-ip67-case/) | ✔ | ✔ | ✔| 18650 |
58+
[Universal IP67 Case](https://pycom.io/product/universal-ip67-case/) | ✔ | ✔ | ✔| 18650 |

layouts/_default/baseof.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
<html class="fancyScroll">
33
<head>
44
<meta charset="utf-8">
5+
<link rel="preconnect" href="https://fonts.gstatic.com">
56
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900|Material+Icons" rel="stylesheet">
7+
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet">
68
<!--<link href="https://cdn.jsdelivr.net/npm/vuetify/dist/vuetify.min.css" rel="stylesheet">-->
79
<link href="/css/vuetify.css" rel="stylesheet">
810
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">

themes/doc-theme/layouts/partials/menu.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<ul class="lefttree">
1515
<li class="lefttree">
1616
<a href="/" class="beba" style="color: #1E1E3C; text-decoration: none;" >
17-
<v-icon style="color: #1E1E3C;" class="mr-1" >home</v-icon> Introduction</a>
17+
<v-icon style="color: #1E1E3C;">home</v-icon> Introduction</a>
1818
</li>
1919
</ul>
2020

themes/doc-theme/static/css/doc-theme.css

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,26 @@ nav#TableOfContents {
5252

5353
h1, h2, h3, h4 {
5454
color: #1E1E3C;
55-
letter-spacing: 0.1em;
5655
opacity: 0.9;
5756
}
57+
h1, h3, h4 {
58+
letter-spacing: 0.1em;
59+
}
60+
h2 {
61+
font-family: 'Montserrat';
62+
}
63+
h3 {
64+
font-family: 'Montserrat';
65+
color: rgb(0,112,32);
66+
letter-spacing: normal;
67+
font-size: 1em;
68+
padding-top: 1em;
69+
}
70+
h4 {
71+
font-family: 'Montserrat';
72+
letter-spacing: normal;
73+
padding-top: 1em;
74+
}
5875

5976

6077
h1 {
@@ -114,7 +131,7 @@ url("/fonts/space-mono/SpaceMono-Regular.eot") format("opentype");
114131

115132
.application {
116133
/* font-family: 'Beba',Helvetica,Arial,Lucida,sans-serif; */
117-
font-family: 'Space Mono';
134+
/* font-family: 'Space Mono'; */
118135
}
119136

120137
a.bread:hover {
@@ -362,8 +379,8 @@ code {
362379
padding-top: 24px;
363380
}
364381

365-
p {
366-
font-family: 'Space Mono';
382+
p, li {
383+
font-family: 'Montserrat';
367384
}
368385

369386

0 commit comments

Comments
 (0)