Skip to content

Commit 9aac7f8

Browse files
committedOct 31, 2021
dark mode
1 parent 2db31de commit 9aac7f8

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
 

Diff for: ‎static/css/learnpython.css

+7
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,14 @@ textarea {
197197
display: none;
198198
}
199199

200+
.navbar-brand {
201+
font-family: Consolas, monospace;
202+
}
203+
200204
@media (prefers-color-scheme: dark) {
205+
.navbar-brand {
206+
color: #ccc !important;
207+
}
201208
body {
202209
background: #1b1e21;
203210
color: #cccccc;

Diff for: ‎templates/base.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636

3737
<div class="container">
3838
<a class="navbar-brand" href="/">
39-
<img src="{{ domain_data.logo }}" style="height: 24px;" alt="{{ domain_data.language_uppercase }}"/>
39+
<img src="{{ domain_data.favicon }}" style="height: 24px">
40+
{{ domain_data.styled_domain }}
4041
</a>
4142

4243
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown"

0 commit comments

Comments
 (0)
Please sign in to comment.