Skip to content

Commit 32e721e

Browse files
committed
changed some colors
1 parent 709eefb commit 32e721e

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Images have rounded corners, nice hover effect, shadows and they can be aligned.
3434

3535
### Article
3636

37-
Scientific papers, blogposts, excerpts, etc., need to have a different style than the common note. `article.css` applies a custom font, shrinks the reading length and centers the headings.
37+
Scientific papers, blogposts, excerpts, etc., need to have a different style than the common note. `article.css` applies a custom font, shrinks the reading length, centers the headings and tones down the colors.
3838

3939
Syntax:
4040

article.css

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,32 @@
11
@media (min-width: 1100px) {
2+
/* Reduce the readeble line lenght on full-screen */
23
.markdown-reading-view .article {
34
max-width: 65% !important;
45
margin: auto;
56
}
67
}
78

89
.markdown-reading-view .article {
9-
font-family: "Libre Baskerville";
10+
font-family: "Libre Baskerville"; /* Change font */
1011
}
1112

1213
.article h1, .article h2, .article h3, .article h4, .article h5 {
13-
text-align: center;
14+
text-align: center; /* Center headings */
1415
}
1516

1617
.article mjx-container {
17-
color: var(--text-normal);
18-
font-size: 1.2em;
18+
color: var(--text-normal); /* Math formulas have the normal color and a */
19+
font-size: 1.2em; /* normal size */
20+
}
21+
22+
.article a {
23+
color: var(--fg3);
24+
}
25+
26+
.article strong {
27+
color: var(--fg3);
28+
}
29+
30+
.article em {
31+
color: var(--fg0);
1932
}

0 commit comments

Comments
 (0)