Skip to content

Commit cc0cf14

Browse files
committed
small update
1 parent e3f1a57 commit cc0cf14

File tree

2 files changed

+6
-53
lines changed

2 files changed

+6
-53
lines changed

site/assets/css/main.scss

Lines changed: 5 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
:root {
22
--bg-color: #ffffff;
3-
--text-color: #484848;
4-
--icon-color: #949494;
3+
--text-color: #1b1b1b;
54
--gray-accent-1: #636363;
65
--gray-accent-2: #555555;
76
--gray-accent-3: #eeeeee;
87
--gray-accent-4: #e1e1e1;
98
--notice-color: #a0cefb;
109
--warning-color: #d9c98d;
11-
--link-color: #2979bc;
12-
--visited-link-color: #8f5baa;
1310
--full-width: 720px;
1411
--map-color-1: rgba(253, 231, 37, 0.5);
1512
--map-color-2: rgba(122, 209, 81, 0.5);
@@ -20,7 +17,6 @@
2017
}
2118

2219
html {
23-
font-size: 62.5%;
2420
height: 100%;
2521
scroll-padding-top: 2em;
2622
-webkit-text-size-adjust: 100%;
@@ -29,8 +25,8 @@ html {
2925
body {
3026
background-color: var(--bg-color);
3127
color: var(--text-color);
32-
font-size: 1.6rem;
33-
font-family: "Helvetica Neue", Arial, sans-serif;
28+
font-size: 1.2rem;
29+
font-family: Helvetica Neue,Arial,Helvetica,sans-serif;
3430
margin: 0 auto;
3531
line-height: 1.5;
3632
min-height: 100%;
@@ -40,13 +36,8 @@ body {
4036
}
4137

4238
a {
43-
color: var(--link-color);
4439
text-underline-offset: 0.15em;
4540
text-decoration-thickness: 0.05em;
46-
47-
&:visited {
48-
color: var(--visited-link-color);
49-
}
5041
}
5142

5243
table {
@@ -125,16 +116,6 @@ ol {
125116
box-sizing: border-box;
126117
}
127118

128-
.hover-icon {
129-
svg {
130-
fill: var(--icon-color);
131-
}
132-
133-
svg:hover {
134-
fill: var(--text-color);
135-
}
136-
}
137-
138119
.content {
139120
position: relative;
140121
margin: auto;
@@ -230,10 +211,10 @@ ol {
230211
grid-template-columns: min-content 1fr min-content;
231212
margin: auto;
232213
padding: 1em 2rem;
233-
align-items: baseline;
214+
align-items: center;
234215

235216
>.navbar-title {
236-
font-size: 1.9rem;
217+
font-size: 1.3rem;
237218
margin: 0;
238219
padding-top: 0.2em;
239220
white-space: nowrap;
@@ -256,25 +237,6 @@ ol {
256237
padding-right: 1em;
257238
}
258239
}
259-
260-
>.navbar-external-links {
261-
display: flex;
262-
justify-content: space-between;
263-
min-width: calc(1.6em * 2 + 1rem);
264-
align-self: center;
265-
z-index: 20;
266-
}
267-
}
268-
269-
.navbar-external-links>.navbar-external-link {
270-
display: block;
271-
width: 1.6em;
272-
height: 1.6em;
273-
274-
>svg {
275-
width: 1.6em;
276-
height: 1.6em;
277-
}
278240
}
279241

280242
blockquote,

site/layouts/partials/header.html

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,8 @@ <h1 class="navbar-title">
88
<a href="/about" class="link-nowrap-nodec" title="Link to about page">About</a>
99
</li>
1010
<li>
11-
<a href="https://github.com/mitchellhenke/lodes?tab=readme-ov-file#getting-the-data" class="link-nowrap-nodec" title="Link to data documentation">Data</a>
11+
<a href="https://github.com/mitchellhenke/lodes" class="link-nowrap-nodec" title="GitHub">GitHub</a>
1212
</li>
1313
</ul>
14-
<div class="navbar-external-links hover-icon">
15-
<a href="https://github.com/mitchellhenke/lodes" class="navbar-external-link" title="GitHub">
16-
<svg aria-label="GitHub" role="img" viewBox="0 0 512 512" width="1.6em" height="1.6em">
17-
<title>GitHub</title>
18-
<path fill-rule="evenodd"
19-
d="M50 0h412a50 50 0 0 1 50 50v412a50 50 0 0 1-50 50h-412a50 50 0 0 1-50-50v-412a50 50 0 0 1 50-50zM335 499c14 0 12 17 12 17H165s-2-17 12-17c13 0 16-6 16-12l-1-50c-71 16-86-28-86-28-12-30-28-37-28-37-24-16 1-16 1-16 26 2 40 26 40 26 22 39 59 28 74 22 2-17 9-28 16-35-57-6-116-28-116-126 0-28 10-51 26-69-3-6-11-32 3-67 0 0 21-7 70 26 42-12 86-12 128 0 49-33 70-26 70-26 14 35 6 61 3 67 16 18 26 41 26 69 0 98-60 120-117 126 10 8 18 24 18 48l-1 70c0 6 3 12 16 12z" />
20-
</svg>
21-
</a>
22-
</div>
2314
</nav>
2415
</header>

0 commit comments

Comments
 (0)