-
Notifications
You must be signed in to change notification settings - Fork 0
/
publish.css
179 lines (165 loc) · 3.98 KB
/
publish.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
@import url('https://fonts.googleapis.com/css2?family=Carter+One&family=Source+Sans+3:wght@400&display=swap');
body,
.published-container {
--h1-color: rgb(112, 168, 100);
--h2-color: rgb(112, 168, 100);
--h3-color: rgb(112, 168, 100);
--h4-color: rgb(112, 168, 100);
--h5-color: rgb(112, 168, 100);
--h6-color: rgb(112, 168, 100);
--h1-font: 'Carter One', sans-serif;
--h2-font: 'Carter One', sans-serif;
--h3-font: 'Carter One', sans-serif;
--h4-font: 'Carter One', sans-serif;
--h5-font: 'Carter One', sans-serif;
--h6-font: 'Carter One', sans-serif;
--font-text: 'Source Sans 3', sans-serif;
--text-accent: rgb(112, 168, 100);
--text-accent-2: rgb(112, 168, 100);
--hr-thickness: 1px;
--site-name-color-hover: rgb(112, 168, 100);
}
.list-cards div > ul {
--link-color: var(--text-normal);
--link-unresolved-color: var(--text-muted);
--link-decoration: none;
--link-decoration-hover: none;
--link-external-color: var(--text-normal);
--link-external-decoration: none;
--link-external-decoration-hover: none;
display: grid;
gap: 8px;
grid-template-columns: repeat(2, minmax(0, 1fr));
padding:0;
}
.list-cards div > ul > li {
display: flex;
border-radius: var(--radius-s);
border: 1px solid var(--color-base-25);
}
.list-cards div > ul > li:has(ul) {
flex-direction: column;
}
.list-cards div > ul > li:has(ul) a {
flex-grow: 0;
}
.list-cards div ul > li a {
flex-grow: 1;
padding: 16px;
font-weight: var(--font-semibold);
background: none;
}
.list-cards div ul > li:hover {
border-color: var(--color-base-35);
}
.theme-dark .list-cards div ul > li {
background-color: var(--background-secondary);
}
.list-cards div ul ul {
display: block;
width: 100%;
color: var(--text-muted);
font-size: var(--font-smaller);
margin-top: -8px;
padding: 0 16px 16px;
}
.list-cards div ul ul > li {
display: block;
}
/* App icons */
.list-cards div > ul {
--link-color: var(--text-normal);
--link-unresolved-color: var(--text-muted);
--link-decoration: none;
--link-decoration-hover: none;
--link-external-color: var(--text-normal);
--link-external-decoration: none;
--link-external-decoration-hover: none;
display: grid;
gap: 8px;
grid-template-columns: repeat(2, minmax(0, 1fr));
padding:0;
}
.list-cards div > ul > li {
display: flex;
border-radius: var(--radius-s);
border: 1px solid var(--color-base-25);
}
.list-cards div > ul > li:has(ul) {
flex-direction: column;
}
.list-cards div > ul > li:has(ul) a {
flex-grow: 0;
}
.list-cards div ul > li a {
flex-grow: 1;
padding: 16px;
font-weight: var(--font-semibold);
background: none;
}
.list-cards div ul > li:hover {
border-color: var(--color-base-35);
}
.theme-dark .list-cards div ul > li {
background-color: var(--background-secondary);
}
.list-cards div ul ul {
display: block;
width: 100%;
color: var(--text-muted);
font-size: var(--font-smaller);
margin-top: -8px;
padding: 0 16px 16px;
}
.list-cards div ul ul > li {
display: block;
}
/* App icons */
.list-cards .icon-app {
display: inline-block;
align-self: center;
margin-left: 16px;
margin-right: -32px;
width: 24px;
height: 24px;
background-repeat: no-repeat;
background-size: 24px 24px;
background-position: center;
}
.list-cards .icon-app + a {
padding-left: 40px;
align-self: center;
line-height: 1.15;
}
body,
.site-body-left-column,
.site-body-center-column {
//background-color: rgb(251, 226, 220);
}
.sliding-windows .site-body-right-column {
box-shadow: none;
}
.sliding-windows .publish-renderer {
background-color: #FDF7F5;
}
.callout[data-callout='do'] {
--callout-color: var(--color-green-rgb);
}
.callout[data-callout='dont'] {
--callout-color: var(--color-red-rgb);
}
.backlinks {
margin-top: 30px;
}
.site-header-text {
text-align: center;
font-family: 'Carter One';
color: var(--h1-color);
font-size: 28px;
}
.site-header-logo {
display: none;
}
.published-container .markdown-rendered h1, .published-container .markdown-rendered h2 {
border-bottom: none;
}