Skip to content

Commit 432ee98

Browse files
committed
Merge pull request #19 from To1ne/dark-mode
Dark mode tweaks
2 parents d572b11 + 6b851b5 commit 432ee98

File tree

10 files changed

+13
-6
lines changed

10 files changed

+13
-6
lines changed

assets/sass/dark-mode.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777

7878
// the images in the About section would be too dark
7979
body#about {
80-
img:not([alt="Git"]) {
80+
img:not(.no-filter) {
8181
filter: brightness(0.9) contrast(0.6) invert(1);
8282
}
8383

assets/sass/layout.scss

+10-3
Original file line numberDiff line numberDiff line change
@@ -329,12 +329,21 @@ footer {
329329
padding: 20px 0 40px;
330330
margin-top: 35px;
331331
clear: both;
332-
@include clearfix;
333332
font-size: 12px;
334333
line-height: $base-line-height * 0.7;
335334
color: var(--light-font-color);
336335
border-top: solid 1px var(--base-border-color);
337336

337+
&:before {
338+
content: "</>";
339+
color: var(--light-font-color);
340+
float: left;
341+
font-family: monospace;
342+
font-size: 24px;
343+
letter-spacing: -4px;
344+
padding: 5px;
345+
}
346+
338347
a {
339348
color: var(--light-font-color-darker-35);
340349

@@ -345,8 +354,6 @@ footer {
345354

346355
.site-source {
347356
float: left;
348-
padding-left: 46px;
349-
@include background-image-2x($baseurl + "images/icons/code", 38px, 23px, 0 2px);
350357
}
351358

352359
.sfc-member {

content/about/data-assurance.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h2>Data Assurance</h2>
1717
checksum when checked back out. It's impossible to get anything out of Git
1818
other than the <strong>exact bits you put in</strong>.
1919
</p>
20-
<img height="522" src="{{< relurl "images/[email protected]" >}}" width="628">
20+
<img class="no-filter" height="522" src="{{< relurl "images/[email protected]" >}}" width="628">
2121
<p>
2222
It is also impossible to change any file, date, commit message, or any other
2323
data in a Git repository without changing the IDs of everything after it.

layouts/partials/header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<header>
22

3-
<a href="{{ relURL "" }}"><img src="{{ relURL "images/[email protected]" }}" width="110" height="46" alt="Git" /></a>
3+
<a href="{{ relURL "" }}"><img src="{{ relURL "images/[email protected]" }}" width="110" height="46" alt="Git" class="no-filter" /></a>
44
<span id="tagline"></span>
55
<script type="text/javascript">
66
const taglines = [
-3.34 KB
Loading
Loading
Loading
Loading

static/images/icons/code.png

-377 Bytes
Binary file not shown.
-659 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)