Skip to content

Commit f3c2fc5

Browse files
committed
Change to Mozilla Foundation brand style
1 parent d003450 commit f3c2fc5

6 files changed

Lines changed: 102 additions & 50 deletions

File tree

_brand.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
color:
2+
palette:
3+
mofo-black: "#161616"
4+
mofo-red: "#D13109"
5+
mofo-orange: "#F06C12"
6+
mofo-yellow: "#EED800"
7+
mofo-green: "#20C376"
8+
mofo-blue: "#23A5E9"
9+
mofo-cyan: "#7DEDF6"
10+
srdp-paper: "#FBFAF6"
11+
srdp-beige: "#F1ECE1"
12+
foreground: mofo-black
13+
background: srdp-paper
14+
primary: mofo-blue # links, controls, progress bar, list markers
15+
typography:
16+
fonts:
17+
- family: Mozilla Headline
18+
source: google
19+
- family: Fira Sans
20+
weight: [100, 200, 300, 400, 500, 600, 700, 800, 900]
21+
style: [normal, italic]
22+
source: google
23+
- family: "Fira Code"
24+
source: google
25+
base:
26+
family: Fira Sans
27+
headings:
28+
family: Mozilla Headline
29+
weight: 600
30+
color: mofo-black
31+
monospace:
32+
family: "Fira Code"
33+
color: mofo-blue
34+
link:
35+
color: mofo-red
36+
decoration: none
37+
logo:
38+
medium: logo-dk.png

_quarto.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ website:
1414
type: overlay
1515
navbar:
1616
title: false
17-
logo: /images/@kapitan-logo-redbrick-zilla.png
17+
logo: /images/logo-dk.png
1818
pinned: false
1919
collapse-below: md
2020
sidebar:
21-
style: docked
21+
style: docked
2222
collapse-level: 1
23-
background: light
23+
# background: "#FBFAF6"
2424
tools:
2525
- icon: linkedin
2626
href: https://www.linkedin.com/in/dkapitan/
@@ -51,7 +51,7 @@ website:
5151
right: |
5252
<br>
5353
Copyright &copy; 2023 Daniel Kapitan<br>
54-
This website was created with
54+
This website was created with
5555
[![](/images/quarto.png){fig-alt="Quarto" width=65px}](https://quarto.org)<br>
5656
5757
format:
@@ -67,5 +67,5 @@ format:
6767
include-in-header:
6868
- text: |
6969
<script data-goatcounter="https://dkapitan.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
70-
execute:
70+
execute:
7171
freeze: auto

images/logo-dk-large.png

48.1 KB
Loading

images/logo-dk.png

15.9 KB
Loading

index.qmd

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ toc: false
44
format:
55
html:
66
page-layout: article
7-
7+
88
---
99
```{=html}
1010
<!-- Bug in hero - only displays properly with empty div at the top -->
@@ -20,17 +20,18 @@ format:
2020
Background-size: cover;
2121
}
2222
.lead {
23-
font-family: "Zilla Slab";
23+
font-family: "Mozilla Headline";
2424
text-align: center;
2525
}
2626
.hero-quote {
27-
font-family: "Zilla Slab";
27+
font-family: "Mozilla Headline";
28+
font-style: bold !important;
2829
font-color: white;
2930
color: white;
3031
}
3132
3233
.fw-bold {
33-
/* font-family: "Zilla Slab Highlight"; */
34+
/* font-family: "Mozilla Headline"; */
3435
font-style: bold !important;
3536
color: white !important;
3637
}
@@ -61,7 +62,7 @@ Many people continue to have high expectations of what data and AI can bring. Ye
6162

6263
#### Gaining strategic autonomy
6364

64-
The key towards creating sustainable change with digital technologies lies in increasing your own data literacy and understanding of AI, and that of your organisation. AI is not sci-fi, we need to demystify digital technologies. That way, professionals and domain experts can obtain strategic autonomy to reason, think, imagine and create applications with AI themselves. Technology can only be of value when it is put within the appropriate business, societal or human context.
65+
The key towards creating sustainable change with digital technologies lies in increasing your own data literacy and understanding of AI, and that of your organisation. AI is not sci-fi, we need to demystify digital technologies. That way, professionals and domain experts can obtain strategic autonomy to reason, think, imagine and create applications with AI themselves. Technology can only be of value when it is put within the appropriate business, societal or human context.
6566

6667
We offer the following services to help you master data and AI yourself.
6768
:::
@@ -72,7 +73,7 @@ We offer the following services to help you master data and AI yourself.
7273

7374
<br><br>
7475

75-
:::: {#light-grey-background}
76+
:::: {#green-background}
7677
::: {.grid}
7778
::: {.g-col-8}
7879

@@ -101,22 +102,22 @@ Data sit at the core of digital business transformation. As machine learning alg
101102
### Applied AI
102103
The possibilities of AI are virtually endless and can fundamentally change the way you run your business or lead your organisation. It changes business strategies, policies as well as the behaviour of your teams. If your company embarks on integrating AI, it needs to do what is relevant and what you want it for. We developed impactful AI applications that are accurate, taking into account the factors that drive the predictions and relating it to domain expertise. We help you integrate AI innovations in your services or products.
103104

104-
<small class="text-muted-darker">Explainable AI | Generative AI & Large Language Models | Physics-Informed Machine Learning</small>
105+
<small class="text-muted-darker">Explainable AI | Generative AI & Large Language Models | Physics-Informed Machine Learning</small>
105106
:::
106107
:::
107108
::::
108109

109110
<br>
110111

111-
:::: {#light-grey-background}
112+
:::: {#red-background}
112113
::: {.grid}
113114
::: {.g-col-8}
114115

115116
### Coaching & mentoring
116117

117118
Data and AI will change your business and your way of working. Not everyone is immediately ready for this. We teach, coach and mentor professionals who require a better understanding of data and artificial intelligence, making them comfortable and topic-specialists. We offer in-company on-the-job coaching, working side-by-side with your team to explore how AI can impact your line of business.
118119

119-
<small class="text-muted">One-the-job coaching for individuals and teams | Challenge-based learning | Technical deep-dives for experts</small>
120+
<small class="text-muted">One-the-job coaching for individuals and teams | Challenge-based learning | Technical deep-dives for experts</small>
120121
:::
121122

122123
::: {.g-col-4}
@@ -152,18 +153,26 @@ We provide masterclasses on topics related to data & AI, ranging from introducto
152153

153154
```{=html}
154155
<style>
155-
#light-grey-background {
156+
#green-background {
156157
padding-top: 35px;
157158
padding-bottom: 20px;
158159
padding-left: 35px;
159-
background-color: #000000;
160+
background-color: #20c376;
161+
color: #ffffff;
162+
border-radius: .3rem !important;
163+
}
164+
#red-background {
165+
padding-top: 35px;
166+
padding-bottom: 20px;
167+
padding-left: 35px;
168+
background-color: #D13109;
160169
color: #ffffff;
161170
border-radius: .3rem !important;
162171
}
163172
#logo-board {
164173
padding-top: 20px;
165174
border-radius: .3rem !important;
166-
background-color: #ffffff;
175+
background-color: #FBFAF6;
167176
}
168177
</style>
169178
```
@@ -215,4 +224,4 @@ __LinkedIn:__ [follow me](https://www.linkedin.com/comm/mynetwork/discovery-see-
215224
#
216225
```{=html}
217226
<a href="/appointment" class="btn btn-primary btn-lg" type="button">Book an appointment</a>
218-
```
227+
```

mozilla.scss

Lines changed: 37 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
// Quarto theme based on https://mozilla.design/mozilla/
22

33
// Google Fonts
4-
@import url(https://fonts.googleapis.com/css?family=Zilla+Slab|Zilla+Slab+Highlight|Nunito+Sans|Fira+Code|Lato:400italic,700italic,300,400,700);
4+
@import url(https://fonts.googleapis.com/css?family=Mozilla+Headline|Mozilla+Text|Fira+Code:400italic,700italic,300,400,700);
55

66
/*-- scss:defaults --*/
77
// bootstrap variables https://github.com/twbs/bootstrap/blob/main/scss/_variables.scss
88
// https://quarto.org/docs/output-formats/html-themes.html#sass-variables
99

1010
// Fonts
11-
$zilla-slab: "Zilla Slab", serif;
12-
$zilla-slab-highlight: "Zilla Slab Highlight", serif;
13-
$nunito: "Nunito Sans", sans-serif;
11+
$mozilla-headline: "Mozilla Headline", serif;
12+
$mozilla-text: "Mozilla Text", sans-serif;
1413
$fira-code: "Fira Code";
1514

16-
$font-family-sans-serif: $nunito;
15+
$font-family-sans-serif: $mozilla-text;
1716
$font-family-monospace: $fira-code;
18-
$headings-font-family: $zilla-slab;
19-
$navbar-default-font: $zilla-slab;
17+
$headings-font-family: $mozilla-headline;
18+
$navbar-default-font: $mozilla-headline;
2019

2120
// Set fonts and layout
2221
// Base layout https://getbootstrap.com/docs/5.1/components/navbar/#containers
@@ -25,25 +24,27 @@ $navbar-padding-y: $spacer * 1.5;
2524
$navbar-padding-x: null;
2625

2726
.sidebar-navigation .sidebar-item {
28-
font-size: 1.2rem
27+
font-size: 1.2rem;
2928
}
3029

31-
.nav-footer-left, .nav-footer-center, .nav-footer-right {
32-
font-family: $zilla-slab;
30+
.nav-footer-left,
31+
.nav-footer-center,
32+
.nav-footer-right {
33+
font-family: $mozilla-headline;
3334
font-size: 1rem !important;
3435
text-align: left !important;
3536
}
3637

3738
div.quarto-post .body .listing-subtitle {
38-
font-family: $zilla-slab;
39+
font-family: $mozilla-headline;
3940
font-weight: 300;
40-
font-size: .875em;
41+
font-size: 0.875em;
4142
margin-bottom: 0.5em;
4243
margin-top: 0.2em;
4344
}
4445

4546
div.quarto-post .listing-description {
46-
font-size: .875em;
47+
font-size: 0.875em;
4748
}
4849

4950
// Define colours
@@ -59,51 +60,55 @@ $dark-blue: #00458b;
5960
$dark-grey: #959595;
6061
$light-grey: #e7e5e2;
6162

63+
$mofo-red: #d13109;
64+
$srdp-paper: #fbfaf6;
65+
6266
// Use colour
6367
// navbar https://quarto.org/docs/output-formats/html-themes.html#navigation
64-
$navbar-bg: $white;
68+
$navbar-bg: $srdp-paper;
6569
$navbar-fg: $black;
6670
$navbar-hl: $black;
67-
$sidebar-bg: $white;
71+
$sidebar-bg: $srdp-paper;
6872
$sidebar-fg: $black;
6973
$sidebar-hl: $warm-red;
7074
$footer-bg: $black;
7175
$footer-fg: $light-grey;
7276

73-
$link-color: $warm-red;
74-
77+
$link-color: $mofo-red;
7578

7679
.btn-primary {
77-
background-color: #ff4f5e !important;
78-
border-color: #ff4f5e !important;
79-
font-family: "Nunito Sans";
80+
background-color: #d13109 !important;
81+
border-color: #d13109 !important;
82+
font-family: "Fira Sans";
8083
}
8184

8285
div.sidebar-item-container {
8386
&:hover {
84-
color: $warm-red !important;
87+
color: $mofo-red !important;
8588
}
8689
}
8790

8891
div.sidebar-item-container .active,
89-
div.sidebar-item-container .show>.nav-link,
90-
div.sidebar-item-container .sidebar-link>code {
91-
background-color: $white;
92-
color: $warm-red !important;
92+
div.sidebar-item-container .show > .nav-link,
93+
div.sidebar-item-container .sidebar-link > code {
94+
background-color: $srdp-paper;
95+
color: $mofo-red !important;
9396
}
9497

9598
.quarto-listing-category .category.active {
9699
font-weight: 600;
97-
color: $warm-red;
100+
color: $mofo-red;
98101
}
99102

100103
/*--- scss:defaults ---*/
101-
#quarto-content>* {
104+
#quarto-content > * {
102105
padding-top: 0px;
103106
}
104107

105-
.navbar, .sidebar, .quarto-secondary-nav {
106-
font-family: $zilla-slab;
108+
.navbar,
109+
.sidebar,
110+
.quarto-secondary-nav {
111+
font-family: $mozilla-headline;
107112
padding-bottom: 0.5rem;
108113
}
109114

@@ -114,9 +119,9 @@ div.sidebar-item-container .sidebar-link>code {
114119
/*-- scss:rules --*/
115120
// sidebar without right border
116121
.sidebar.sidebar-navigation:not(.rollup) {
117-
border-right: 0px solid #ffffff !important
122+
border-right: 0px solid #fbfaf6 !important;
118123
}
119124

120-
.sidebar.sidebar-navigation>* {
125+
.sidebar.sidebar-navigation > * {
121126
padding-top: 0.5em;
122-
}
127+
}

0 commit comments

Comments
 (0)