Skip to content

Commit f6d5335

Browse files
committed
dark mode by default and change post font size
1 parent e7747c3 commit f6d5335

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/static/css/main-light.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ ul {
569569
font-weight: normal;
570570
}
571571
.tw-block {
572-
font-size: 16px;
572+
font-size: 22px;
573573
line-height: 28px;
574574
color: #222831;
575575
margin-bottom: 0;

src/static/css/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ ul {
578578
}
579579

580580
.tw-block {
581-
font-size: 16px;
581+
font-size: 22px;
582582
line-height: 28px;
583583
color: #fff;
584584
margin-bottom: 0;

src/templates/layout/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
77

88
<link rel="stylesheet" href="{% static 'css/styles.min.css' %}" />
9-
<link id="mode" rel="stylesheet" {% if request.COOKIES.mode == "dark" %} href="{% static 'css/main.css' %}" {% else %}
10-
href="{% static 'css/main-light.css' %}" {% endif %} />
9+
<link id="mode" rel="stylesheet" {% if request.COOKIES.mode == "normal" %} href="{% static 'css/main-light.css' %}" {% else %}
10+
href="{% static 'css/main.css' %}" {% endif %} />
1111
<link rel="icon"
1212
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>📦</text></svg>">
1313

0 commit comments

Comments
 (0)