Skip to content

Commit 0e4aba6

Browse files
Deploying to gh-pages from @ 26d7401 🚀
1 parent 0b9f2f9 commit 0e4aba6

40 files changed

Lines changed: 518 additions & 220 deletions

File tree

assets/stylesheets/beeware_theme.css

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,17 @@
55
}
66

77
:root {
8-
color-scheme: light dark;
8+
--brand-font: "Cutive", serif;
9+
color-scheme: light dark;
10+
}
11+
12+
/* East Asian Languages can't use Cutive; fall back to sans-serif */
13+
:lang(ja),
14+
:lang(ko),
15+
:lang(zh),
16+
:lang(zh_CN),
17+
:lang(zh_TW) {
18+
--brand-font: "Cutive", sans-serif;
919
}
1020

1121
[data-md-color-primary=indigo] {
@@ -41,7 +51,7 @@ body {
4151
}
4252

4353
.md-header__topic, nav.md-tabs {
44-
font-family: Cutive, serif;
54+
font-family: var(--brand-font);
4555
}
4656

4757
nav.md-tabs, .md-header {
@@ -98,7 +108,7 @@ nav.md-tabs, .md-header {
98108
input.md-search__input,
99109
.md-search__suggest,
100110
.md-search-result__meta {
101-
font-family: 'Cutive', serif;
111+
font-family: var(--brand-font);
102112
}
103113

104114
input.md-search__input,
@@ -141,14 +151,22 @@ a.md-nav__link[for]:hover {
141151
color: light-dark(#30314B, #96ACEE)
142152
}
143153

154+
/* Bump the font weight slightly for h1 and h2. This will make fonts in some scripts,
155+
e.g. Chinese have more consistent weights with Cutive, which is thicker than most
156+
typical 300-weight fonts. Cutive itself does not get emboldened by using 400. */
157+
.md-typeset h1,
158+
.md-typeset h2 {
159+
font-weight: 400;
160+
}
161+
144162
/* Header fonts */
145163
.md-typeset h1,
146164
.md-typeset h2,
147165
.md-typeset h3,
148166
.md-typeset h4,
149167
.md-typeset h5,
150168
.md-typeset h6 {
151-
font-family: 'Cutive', serif;
169+
font-family: var(--brand-font);
152170
color: var(--md-typeset-color);
153171
clear: both;
154172
}
@@ -215,7 +233,7 @@ a.md-nav__link[for]:hover {
215233

216234
/* Sidebar title and GitHub links font and color */
217235
.md-nav__title {
218-
font-family: 'Cutive', serif;
236+
font-family: var(--brand-font);
219237
}
220238

221239
.md-nav__title {
@@ -229,7 +247,7 @@ a.md-nav__link[for]:hover {
229247

230248
.md-select__list {
231249
font-size: 1rem;
232-
font-family: 'Cutive', serif;
250+
font-family: var(--brand-font);
233251
}
234252

235253
.md-select__item {
@@ -311,7 +329,7 @@ a.md-nav__link[for]:hover {
311329

312330
/* The menu button for the sidebar drawer to display the sidebar on smaller displays */
313331
.mobile-drawer-button-site-name {
314-
font-family: Cutive, "serif";
332+
font-family: var(--brand-font);
315333
font-size: 16px;
316334
display: inline-block;
317335
vertical-align: middle;
@@ -571,7 +589,7 @@ svg.copy-icon {
571589

572590
/* Search */
573591
input.md-search__input, .md-search__suggest, .md-search-result__meta {
574-
font-family: 'Cutive', serif;
592+
font-family: var(--brand-font);
575593
}
576594

577595
.md-search__suggest {

de/assets/stylesheets/beeware_theme.css

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,17 @@
55
}
66

77
:root {
8-
color-scheme: light dark;
8+
--brand-font: "Cutive", serif;
9+
color-scheme: light dark;
10+
}
11+
12+
/* East Asian Languages can't use Cutive; fall back to sans-serif */
13+
:lang(ja),
14+
:lang(ko),
15+
:lang(zh),
16+
:lang(zh_CN),
17+
:lang(zh_TW) {
18+
--brand-font: "Cutive", sans-serif;
919
}
1020

1121
[data-md-color-primary=indigo] {
@@ -41,7 +51,7 @@ body {
4151
}
4252

4353
.md-header__topic, nav.md-tabs {
44-
font-family: Cutive, serif;
54+
font-family: var(--brand-font);
4555
}
4656

4757
nav.md-tabs, .md-header {
@@ -98,7 +108,7 @@ nav.md-tabs, .md-header {
98108
input.md-search__input,
99109
.md-search__suggest,
100110
.md-search-result__meta {
101-
font-family: 'Cutive', serif;
111+
font-family: var(--brand-font);
102112
}
103113

104114
input.md-search__input,
@@ -141,14 +151,22 @@ a.md-nav__link[for]:hover {
141151
color: light-dark(#30314B, #96ACEE)
142152
}
143153

154+
/* Bump the font weight slightly for h1 and h2. This will make fonts in some scripts,
155+
e.g. Chinese have more consistent weights with Cutive, which is thicker than most
156+
typical 300-weight fonts. Cutive itself does not get emboldened by using 400. */
157+
.md-typeset h1,
158+
.md-typeset h2 {
159+
font-weight: 400;
160+
}
161+
144162
/* Header fonts */
145163
.md-typeset h1,
146164
.md-typeset h2,
147165
.md-typeset h3,
148166
.md-typeset h4,
149167
.md-typeset h5,
150168
.md-typeset h6 {
151-
font-family: 'Cutive', serif;
169+
font-family: var(--brand-font);
152170
color: var(--md-typeset-color);
153171
clear: both;
154172
}
@@ -215,7 +233,7 @@ a.md-nav__link[for]:hover {
215233

216234
/* Sidebar title and GitHub links font and color */
217235
.md-nav__title {
218-
font-family: 'Cutive', serif;
236+
font-family: var(--brand-font);
219237
}
220238

221239
.md-nav__title {
@@ -229,7 +247,7 @@ a.md-nav__link[for]:hover {
229247

230248
.md-select__list {
231249
font-size: 1rem;
232-
font-family: 'Cutive', serif;
250+
font-family: var(--brand-font);
233251
}
234252

235253
.md-select__item {
@@ -311,7 +329,7 @@ a.md-nav__link[for]:hover {
311329

312330
/* The menu button for the sidebar drawer to display the sidebar on smaller displays */
313331
.mobile-drawer-button-site-name {
314-
font-family: Cutive, "serif";
332+
font-family: var(--brand-font);
315333
font-size: 16px;
316334
display: inline-block;
317335
vertical-align: middle;
@@ -571,7 +589,7 @@ svg.copy-icon {
571589

572590
/* Search */
573591
input.md-search__input, .md-search__suggest, .md-search-result__meta {
574-
font-family: 'Cutive', serif;
592+
font-family: var(--brand-font);
575593
}
576594

577595
.md-search__suggest {

de/latest/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<head>
55
<meta charset="utf-8">
66
<title>Redirecting...</title>
7-
<link rel="canonical" href="https://tutorial.beeware.org/de">
8-
<script>var anchor=window.location.hash.substr(1);location.href="https://tutorial.beeware.org/de"+(anchor?"#"+anchor:"")</script>
9-
<meta http-equiv="refresh" content="0; url=https://tutorial.beeware.org/de">
7+
<link rel="canonical" href="../">
8+
<script>var anchor=window.location.hash.substr(1);location.href="../"+(anchor?"#"+anchor:"")</script>
9+
<meta http-equiv="refresh" content="0; url=../">
1010
</head>
1111
<body>
12-
You're being redirected to a <a href="https://tutorial.beeware.org/de">new destination</a>.
12+
You're being redirected to a <a href="../">new destination</a>.
1313
</body>
1414
</html>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
<!doctype html>
3+
<html lang="en">
4+
<head>
5+
<meta charset="utf-8">
6+
<title>Redirecting...</title>
7+
<link rel="canonical" href="../../../tutorial/tutorial-1/">
8+
<script>var anchor=window.location.hash.substr(1);location.href="../../../tutorial/tutorial-1/"+(anchor?"#"+anchor:"")</script>
9+
<meta http-equiv="refresh" content="0; url=../../../tutorial/tutorial-1/">
10+
</head>
11+
<body>
12+
You're being redirected to a <a href="../../../tutorial/tutorial-1/">new destination</a>.
13+
</body>
14+
</html>

de/sitemap.xml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,70 +2,70 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>https://tutorial.beeware.org/de/</loc>
5-
<lastmod>2026-03-02</lastmod>
5+
<lastmod>2026-03-03</lastmod>
66
</url>
77
<url>
88
<loc>https://tutorial.beeware.org/de/SUMMARY/</loc>
9-
<lastmod>2026-03-02</lastmod>
9+
<lastmod>2026-03-03</lastmod>
1010
</url>
1111
<url>
1212
<loc>https://tutorial.beeware.org/de/tutorial/tutorial-0/</loc>
13-
<lastmod>2026-03-02</lastmod>
13+
<lastmod>2026-03-03</lastmod>
1414
</url>
1515
<url>
1616
<loc>https://tutorial.beeware.org/de/tutorial/tutorial-1/</loc>
17-
<lastmod>2026-03-02</lastmod>
17+
<lastmod>2026-03-03</lastmod>
1818
</url>
1919
<url>
2020
<loc>https://tutorial.beeware.org/de/tutorial/tutorial-2/</loc>
21-
<lastmod>2026-03-02</lastmod>
21+
<lastmod>2026-03-03</lastmod>
2222
</url>
2323
<url>
2424
<loc>https://tutorial.beeware.org/de/tutorial/tutorial-3/</loc>
25-
<lastmod>2026-03-02</lastmod>
25+
<lastmod>2026-03-03</lastmod>
2626
</url>
2727
<url>
2828
<loc>https://tutorial.beeware.org/de/tutorial/tutorial-4/</loc>
29-
<lastmod>2026-03-02</lastmod>
29+
<lastmod>2026-03-03</lastmod>
3030
</url>
3131
<url>
3232
<loc>https://tutorial.beeware.org/de/tutorial/tutorial-6/</loc>
33-
<lastmod>2026-03-02</lastmod>
33+
<lastmod>2026-03-03</lastmod>
3434
</url>
3535
<url>
3636
<loc>https://tutorial.beeware.org/de/tutorial/tutorial-7/</loc>
37-
<lastmod>2026-03-02</lastmod>
37+
<lastmod>2026-03-03</lastmod>
3838
</url>
3939
<url>
4040
<loc>https://tutorial.beeware.org/de/tutorial/tutorial-8/</loc>
41-
<lastmod>2026-03-02</lastmod>
41+
<lastmod>2026-03-03</lastmod>
4242
</url>
4343
<url>
4444
<loc>https://tutorial.beeware.org/de/tutorial/topics/</loc>
45-
<lastmod>2026-03-02</lastmod>
45+
<lastmod>2026-03-03</lastmod>
4646
</url>
4747
<url>
4848
<loc>https://tutorial.beeware.org/de/tutorial/topics/camera-access/</loc>
49-
<lastmod>2026-03-02</lastmod>
49+
<lastmod>2026-03-03</lastmod>
5050
</url>
5151
<url>
5252
<loc>https://tutorial.beeware.org/de/tutorial/topics/custom-icons/</loc>
53-
<lastmod>2026-03-02</lastmod>
53+
<lastmod>2026-03-03</lastmod>
5454
</url>
5555
<url>
5656
<loc>https://tutorial.beeware.org/de/tutorial/topics/testing/</loc>
57-
<lastmod>2026-03-02</lastmod>
57+
<lastmod>2026-03-03</lastmod>
5858
</url>
5959
<url>
6060
<loc>https://tutorial.beeware.org/de/tutorial/tutorial-5/</loc>
61-
<lastmod>2026-03-02</lastmod>
61+
<lastmod>2026-03-03</lastmod>
6262
</url>
6363
<url>
6464
<loc>https://tutorial.beeware.org/de/tutorial/tutorial-5/android/</loc>
65-
<lastmod>2026-03-02</lastmod>
65+
<lastmod>2026-03-03</lastmod>
6666
</url>
6767
<url>
6868
<loc>https://tutorial.beeware.org/de/tutorial/tutorial-5/iOS/</loc>
69-
<lastmod>2026-03-02</lastmod>
69+
<lastmod>2026-03-03</lastmod>
7070
</url>
7171
</urlset>

de/sitemap.xml.gz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)