Skip to content

Commit 67cb23f

Browse files
authored
chore: use new brand image (#89)
1 parent b569e79 commit 67cb23f

File tree

5 files changed

+99
-25
lines changed

5 files changed

+99
-25
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ public/
22
resources/
33
content/
44
themes/*
5+
.hugo_build.lock

config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ params:
3838

3939
# (Optional, default static/brand.svg) Set the path to a logo for the Geekdoc
4040
# relative to your 'static/' folder.
41-
geekdocLogo: logo.png
41+
geekdocLogo: brand.svg
4242

4343
# (Optional, default true) Show a breadcrumb navigation bar at the top of each docs page.
4444
# You can also specify this parameter per page in front matter.
@@ -61,7 +61,7 @@ params:
6161

6262
# Shows a parent above the search results
6363
GeekdocSearchShowParent: true
64-
64+
6565
# (Optional, default false) Auto-decrease brightness of images and add a slightly grayscale to avoid
6666
# bright spots while using the dark mode.
6767
geekdocDarkModeDim: true

static/brand.svg

Lines changed: 45 additions & 0 deletions
Loading

static/custom.css

Lines changed: 51 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,33 @@
11
@font-face {
22
font-family: "Source Sans Pro";
3-
src: url(fonts/SourceSansPro-Regular.woff2) format("woff2"), url(fonts/SourceSansPro-Regular.woff) format("woff");
3+
src: url(fonts/SourceSansPro-Regular.woff2) format("woff2"),
4+
url(fonts/SourceSansPro-Regular.woff) format("woff");
45
font-weight: 400;
56
font-style: normal;
6-
font-display: swap
7+
font-display: swap;
78
}
89

910
@font-face {
1011
font-family: "Source Sans Pro";
11-
src: url(fonts/SourceSansPro-Semibold.woff2) format("woff2"), url(fonts/SourceSansPro-Semibold.woff) format("woff");
12+
src: url(fonts/SourceSansPro-Semibold.woff2) format("woff2"),
13+
url(fonts/SourceSansPro-Semibold.woff) format("woff");
1214
font-weight: 600;
1315
font-style: normal;
14-
font-display: swap
16+
font-display: swap;
1517
}
1618

1719
@font-face {
1820
font-family: "Source Sans Pro";
19-
src: url(fonts/SourceSansPro-Bold.woff2) format("woff2"), url(fonts/SourceSansPro-Bold.woff2) format("woff");
21+
src: url(fonts/SourceSansPro-Bold.woff2) format("woff2"),
22+
url(fonts/SourceSansPro-Bold.woff2) format("woff");
2023
font-weight: 700;
2124
font-style: normal;
22-
font-display: swap
25+
font-display: swap;
2326
}
2427

2528
html {
2629
font-size: 18px;
27-
letter-spacing: .11px;
30+
letter-spacing: 0.11px;
2831
}
2932
body {
3033
font-family: "Source Sans Pro", sans-serif;
@@ -41,54 +44,79 @@ a:visited,
4144
}
4245

4346
.gdoc-nav {
44-
font-size: .95rem;
47+
font-size: 0.95rem;
4548
letter-spacing: 0;
4649
}
4750

4851
.gdoc-nav--main > ul > li > span,
4952
.gdoc-nav--main > ul > li > span > a,
5053
.gdoc-nav--main > ul > li > span > a:visited {
5154
font-weight: 600;
52-
color: rgb(229,111,53);
55+
color: rgb(229, 111, 53);
5356
}
54-
.gdoc-nav__entry.is-active, .gdoc-nav__entry:hover {
57+
.gdoc-nav__entry.is-active,
58+
.gdoc-nav__entry:hover {
5559
text-decoration: underline;
5660
-webkit-text-decoration-style: dotted !important;
5761
text-decoration-style: dotted !important;
5862
}
5963

6064
.gdoc-markdown code {
61-
background-color: rgba(86,96,105,.1);
65+
background-color: rgba(86, 96, 105, 0.1);
66+
}
67+
.gdoc-header {
68+
background: #1b223d;
69+
border-color: #2f333e;
70+
}
71+
.gdoc-footer {
72+
background: #2f333e;
73+
color: #ffffff;
74+
}
75+
.gdoc-footer__link,
76+
.gdoc-footer__link:visited,
77+
.gdoc-footer__link:hover {
78+
color: #e66f35;
6279
}
63-
.gdoc-header { background: #1b223d; border-color: #2f333e; }
64-
.gdoc-footer { background: #2f333e; color: #ffffff; }
65-
.gdoc-footer__link, .gdoc-footer__link:visited, .gdoc-footer__link:hover { color: #e66f35; }
6680

6781
.page-image {
6882
padding: 1rem 0;
6983
text-align: center;
7084
}
71-
.gdoc-markdown table tr td, .gdoc-markdown table tr th {
85+
.gdoc-markdown table tr td,
86+
.gdoc-markdown table tr th {
7287
padding: 0.4rem;
7388
font-size: 16px;
7489
line-height: 1.1em;
7590
}
7691
.gdoc-markdown table thead {
77-
color: rgb(229,111,53);
92+
color: rgb(229, 111, 53);
7893
}
79-
.gdoc-toc a, .gdoc-toc a:visited {
94+
.gdoc-toc a,
95+
.gdoc-toc a:visited {
8096
font-weight: 600;
8197
color: #4e85c8;
8298
}
8399
/* custom shortcodes */
84100
/* button */
85-
.gdoc-button { color: #495057; }
86-
.gdoc-button:hover { background-color: #e56f35; border-color: #cd551a; color: #ffffff; }
101+
.gdoc-button {
102+
color: #495057;
103+
}
104+
.gdoc-button:hover {
105+
background-color: #e56f35;
106+
border-color: #cd551a;
107+
color: #ffffff;
108+
}
87109

88110
/* class allows to float images to the right side, next to text */
89111
figure.floatright {
90-
max-width: 30%;
91-
width: auto\9*0.3; /* ie8 */
92-
height: auto;
93-
float: right;
112+
max-width: 30%;
113+
width: auto\9 * 0.3; /* ie8 */
114+
height: auto;
115+
float: right;
116+
}
117+
118+
.gdoc-brand__img {
119+
margin-right: 1rem;
120+
width: auto;
121+
height: 2.5rem;
94122
}

static/logo.png

-3.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)