Fix link colors in night theme

This commit is contained in:
Dmitriy Prodchenko 2018-05-11 11:19:30 +03:00
parent c0fc23f823
commit dab7746592

View file

@ -122,7 +122,7 @@ body {
height: 30%; height: 30%;
background: center; background: center;
background-size: 100%; background-size: 100%;
background-size:cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
background-color: #f2f2f2; background-color: #f2f2f2;
background-color: var(--topbar-bg-color-day); background-color: var(--topbar-bg-color-day);
@ -133,7 +133,7 @@ body {
height: 30%; height: 30%;
background: center; background: center;
background-size: 100%; background-size: 100%;
background-size:cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
background-color:#222526; background-color:#222526;
background-color: var(--topbar-bg-color-day); background-color: var(--topbar-bg-color-day);
@ -141,7 +141,8 @@ body {
h1 { h1 {
font-size: 2em; font-size: 2em;
color: var(--main-text-color-day, #212121); color: #212121;
color: var(--main-text-color-day);
font-family: RobotoSlab-Regular; font-family: RobotoSlab-Regular;
letter-spacing: 0.02em; letter-spacing: 0.02em;
word-wrap: break-word; word-wrap: break-word;
@ -238,6 +239,7 @@ h3 {
} }
h4, h5 { h4, h5 {
color: #454545;
color: var(--headline-text-color-day); color: var(--headline-text-color-day);
font-size: 1.2em; font-size: 1.2em;
font-size: var(--headers-font-size); font-size: var(--headers-font-size);
@ -252,6 +254,7 @@ h4, h5 {
} }
.nightmode h4, .nightmode h5 { .nightmode h4, .nightmode h5 {
color: #999999;
color: var(--headline-text-color-night); color: var(--headline-text-color-night);
} }
@ -305,6 +308,7 @@ img {
} }
a, a.external.free, a.text { a, a.external.free, a.text {
color: #237bff;
color: var(--link-text-color-day); color: var(--link-text-color-day);
text-decoration-color: #a3c8ff; text-decoration-color: #a3c8ff;
word-wrap: break-word; word-wrap: break-word;
@ -312,6 +316,7 @@ a, a.external.free, a.text {
} }
.nightmode a, .nightmode a.external.free, .nightmode a.text { .nightmode a, .nightmode a.external.free, .nightmode a.text {
color: #d28521;
color: var(--link-text-color-night); color: var(--link-text-color-night);
text-decoration-color: #854f08; text-decoration-color: #854f08;
word-wrap: break-word; word-wrap: break-word;
@ -332,7 +337,8 @@ pre {
} }
.nightmode pre { .nightmode pre {
color: #cccccc; color: var(--main-text-color-night); color: #cccccc;
color: var(--main-text-color-night);
} }
a.geo { a.geo {