Skip to content

Commit f0875d6

Browse files
committed
Lint
1 parent 5083418 commit f0875d6

File tree

5 files changed

+133
-108
lines changed

5 files changed

+133
-108
lines changed

Article.css

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,40 @@
1-
@media (min-width: 1100px) {
2-
/* Reduce the readeble line lenght on full-screen */
3-
.markdown-reading-view .article {
4-
max-width: 65% !important;
5-
margin: auto;
6-
}
1+
@media (min-width: 1100px) {
2+
3+
/* Reduce the readeble line lenght on full-screen */
4+
.markdown-reading-view .article {
5+
max-width: 65% !important;
6+
margin: auto;
7+
}
78
}
89

910
.markdown-reading-view .article {
10-
font-family: "Libre Baskerville"; /* Change font */
11+
font-family: "Libre Baskerville", serif;
1112
}
1213

13-
.article h1, .article h2, .article h3, .article h4, .article h5 {
14-
text-align: center; /* Center headings */
14+
.article h1,
15+
.article h2,
16+
.article h3,
17+
.article h4,
18+
.article h5 {
19+
text-align: center;
20+
/* Center headings */
1521
}
1622

1723
.article mjx-container {
18-
color: var(--text-normal); /* Math formulas have the normal color and a */
19-
font-size: 1.2em; /* normal size */
24+
color: var(--text-normal);
25+
/* Math formulas have the normal color and a */
26+
font-size: 1.2em;
27+
/* normal size */
2028
}
2129

2230
.article a {
23-
color: var(--fg3);
31+
color: var(--fg3);
2432
}
2533

2634
.article strong {
27-
color: var(--fg3);
35+
color: var(--fg3);
2836
}
2937

3038
.article em {
31-
color: var(--fg0);
39+
color: var(--fg0);
3240
}

Drop caps.css

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@
22
/* Inspired by: https://www.gwern.net/Design#principles */
33

44
.dcaps {
5-
color: var(--fg);
6-
float: inline-start; /* With this the initial is applied only to the */
7-
/* first line of the paragraph */
8-
font-family: "Acorn Initials"; /* Fancy font for the initials */
9-
font-size: 5em; /* The actual size of the initial */
10-
line-height: 1em; /* The height of the whole line to which it's applied */
5+
color: var(--fg);
6+
float: inline-start;
7+
/* With this the initial is applied only to the */
8+
/* first line of the paragraph */
9+
10+
font-family: "Acorn Initials";
11+
font-size: 5em;
12+
line-height: 1em;
1113
}
1214

1315
.dcaps:hover {
14-
color: var(--gray);
15-
transition: color 0.2s ease-in-out;
16+
color: var(--gray);
17+
transition: color 0.2s ease-in-out;
1618
}

Focus mode.css

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
/* Tabs bar */
2-
.workspace-ribbon { display: none; }
3-
4-
/* Sidebars */
5-
.workspace-tab-header-container { display: none; }
6-
7-
/* Status bar */
8-
.status-bar {display: none }
9-
10-
/* Header */
11-
.view-header {display: none !important}
1+
/* Hide tabs bar, header bar, status bar, left ribbon, sidebars, ... */
2+
.workspace-ribbon,
3+
.workspace-tab-header-container,
4+
.status-bar,
5+
.view-header {
6+
display: none !important;
7+
}

Gruvbox.css

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -4,73 +4,73 @@
44
/* Overwire the color palette */
55

66
.theme-dark {
7-
--color-base-00: #282828;
8-
--color-base-05: #32302f;
9-
--color-base-10: #32302f;
10-
--color-base-20: #3c3836;
11-
--color-base-25: #504945;
12-
--color-base-30: #665c54;
13-
--color-base-35: #7c6f64;
14-
--color-base-40: #a89984;
15-
--color-base-50: #bdae93;
16-
--color-base-60: #d5c4a1;
17-
--color-base-70: #ebdbb2;
18-
--color-base-100: #fbf1c7;
7+
--color-base-00: #282828;
8+
--color-base-05: #32302f;
9+
--color-base-10: #32302f;
10+
--color-base-20: #3c3836;
11+
--color-base-25: #504945;
12+
--color-base-30: #665c54;
13+
--color-base-35: #7c6f64;
14+
--color-base-40: #a89984;
15+
--color-base-50: #bdae93;
16+
--color-base-60: #d5c4a1;
17+
--color-base-70: #ebdbb2;
18+
--color-base-100: #fbf1c7;
1919

20-
--accent-h: 27;
21-
--accent-s: 99%;
22-
--accent-l: 55%;
20+
--accent-h: 27;
21+
--accent-s: 99%;
22+
--accent-l: 55%;
2323

24-
--color-red: #fb4934;
25-
--color-red-rgb: 251, 73, 52;
26-
--color-orange: #fe8019;
27-
--color-orange-rgb: 254, 128, 25;
28-
--color-yellow: #fabd2f;
29-
--color-yellow-rgb: 250, 189, 47;
30-
--color-green: #b8bb26;
31-
--color-green-rgb: 184, 187, 38;
32-
--color-cyan: #8ec07c;
33-
--color-cyan-rgb: 142, 192, 124;
34-
--color-blue: #83a598;
35-
--color-blue-rgb: 131, 165, 152;
36-
--color-purple: #d3869b;
37-
--color-purple-rgb: 211, 134, 155;
38-
--color-pink: var(--color-purple);
39-
--color-pink-rgb: var(--color-purple-rgb);
24+
--color-red: #fb4934;
25+
--color-red-rgb: 251, 73, 52;
26+
--color-orange: #fe8019;
27+
--color-orange-rgb: 254, 128, 25;
28+
--color-yellow: #fabd2f;
29+
--color-yellow-rgb: 250, 189, 47;
30+
--color-green: #b8bb26;
31+
--color-green-rgb: 184, 187, 38;
32+
--color-cyan: #8ec07c;
33+
--color-cyan-rgb: 142, 192, 124;
34+
--color-blue: #83a598;
35+
--color-blue-rgb: 131, 165, 152;
36+
--color-purple: #d3869b;
37+
--color-purple-rgb: 211, 134, 155;
38+
--color-pink: var(--color-purple);
39+
--color-pink-rgb: var(--color-purple-rgb);
4040
}
4141

4242
.theme-light {
43-
--color-base-00: #f9f5d7;
44-
--color-base-05: #fbf1c7;
45-
--color-base-10: #f2e5bc;
46-
--color-base-20: #ebdbb2;
47-
--color-base-25: #d5c4a1;
48-
--color-base-30: #bdae93;
49-
--color-base-35: #a89984;
50-
--color-base-40: #7c6f64;
51-
--color-base-50: #665c54;
52-
--color-base-60: #504945;
53-
--color-base-70: #3c3836;
54-
--color-base-100: #282828;
43+
--color-base-00: #f9f5d7;
44+
--color-base-05: #fbf1c7;
45+
--color-base-10: #f2e5bc;
46+
--color-base-20: #ebdbb2;
47+
--color-base-25: #d5c4a1;
48+
--color-base-30: #bdae93;
49+
--color-base-35: #a89984;
50+
--color-base-40: #7c6f64;
51+
--color-base-50: #665c54;
52+
--color-base-60: #504945;
53+
--color-base-70: #3c3836;
54+
--color-base-100: #282828;
5555

56-
--accent-h: 24;
57-
--accent-s: 88%;
58-
--accent-l: 45%;
56+
--accent-h: 24;
57+
--accent-s: 88%;
58+
--accent-l: 45%;
5959

60-
--color-red: #9d0006;
61-
--color-red-rgb: 157, 0, 6;
62-
--color-orange: #af3a03;
63-
--color-orange-rgb: 175, 58, 3;
64-
--color-yellow: #b57614;
65-
--color-yellow-rgb: 181, 118, 20;
66-
--color-green: #79740e;
67-
--color-green-rgb: 121, 116, 14;
68-
--color-cyan: #427b58;
69-
--color-cyan-rgb: 66, 123, 88;
70-
--color-blue: #076678;
71-
--color-blue-rgb: 7, 102, 120;
72-
--color-purple: #8f3f71;
73-
--color-purple-rgb: 143, 63, 113;
74-
--color-pink: var(--color-purple);
75-
--color-pink-rgb: var(--color-purple-rgb);
60+
--color-red: #9d0006;
61+
--color-red-rgb: 157, 0, 6;
62+
--color-orange: #af3a03;
63+
--color-orange-rgb: 175, 58, 3;
64+
--color-yellow: #b57614;
65+
--color-yellow-rgb: 181, 118, 20;
66+
--color-green: #79740e;
67+
--color-green-rgb: 121, 116, 14;
68+
--color-cyan: #427b58;
69+
--color-cyan-rgb: 66, 123, 88;
70+
--color-blue: #076678;
71+
--color-blue-rgb: 7, 102, 120;
72+
--color-purple: #8f3f71;
73+
--color-purple-rgb: 143, 63, 113;
74+
--color-pink: var(--color-purple);
75+
--color-pink-rgb: var(--color-purple-rgb);
7676
}

Hide clutter.css

Lines changed: 32 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,46 @@
66
/* https://github.com/kepano/obsidian-hider */
77
/* Scrollbars only show on hover */
88
::-webkit-scrollbar {
9-
visibility: hidden;
10-
&:hover { visibility: initial; }
9+
visibility: hidden;
10+
11+
&:hover {
12+
visibility: initial;
13+
}
1114
}
15+
1216
::-webkit-scrollbar-thumb {
13-
visibility: hidden;
14-
&:hover { visibility: initial; }
17+
visibility: hidden;
18+
19+
&:hover {
20+
visibility: initial;
21+
}
1522
}
16-
::-webkit-scrollbar-thumb:hover { visibility: initial; }
1723

18-
/* Vault name in the file navigator */
19-
.nav-folder.mod-root > .nav-folder-title .nav-folder-title-content {
20-
display: none;
24+
::-webkit-scrollbar-thumb:hover {
25+
visibility: initial;
26+
}
27+
28+
/* Vault name in the file navigator */
29+
.nav-folder.mod-root>.nav-folder-title .nav-folder-title-content {
30+
display: none;
2131
}
2232

2333
/* Suggestions, instructions and tooltips */
24-
.suggestion-container.mod-search-suggestion { display: none; }
25-
.prompt-instructions { display: none; }
26-
/* .tooltip { display: none; } */
34+
.suggestion-container.mod-search-suggestion {
35+
display: none;
36+
}
37+
38+
/*
39+
.prompt-instructions {
40+
display: none;
41+
}
42+
43+
.tooltip {
44+
display: none;
45+
}
46+
*/
2747

2848
/* Options when no file is open */
2949
.empty-state-action-list {
30-
display: none;
50+
display: none;
3151
}
32-

0 commit comments

Comments
 (0)