Skip to content

Commit 0b173fd

Browse files
committed
moved label styles and added issue-finder as a layer
1 parent bc7d733 commit 0b173fd

File tree

1 file changed

+110
-0
lines changed

1 file changed

+110
-0
lines changed

assets/static/css/style.css

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import "/static/vocabulary/css/vocabulary.css" layer(vocabulary);
22
@import "/static/vendor/datatable/datatables.css" layer(datatables);
3+
@import "/static/css/issue-finder.css" layer(issue-finder);
34

45
/* Global Styles */
56
li {
@@ -134,6 +135,115 @@ main blockquote {
134135
padding: 1.25em 1.5em;
135136
}
136137

138+
/* label styles */
139+
.gh-label {
140+
display: inline-block;
141+
margin-right: 0.25rem;
142+
padding: 0.25rem 0.5rem;
143+
144+
font-size: smaller;
145+
border: 1px solid #eeeeee;
146+
border-radius: 1.5rem;
147+
}
148+
149+
/* for anchor tags with a span.gh-label inside them */
150+
main a:has(span.gh-label) {
151+
--underline-background-color: unset;
152+
}
153+
154+
/* label style for individual labels */
155+
156+
.gh-label.goal {
157+
background-color: #ffffff;
158+
color: #000000;
159+
}
160+
161+
.gh-label.aspect {
162+
background-color: #04338c;
163+
color: #ffffff;
164+
}
165+
166+
.gh-label.skill {
167+
background-color: #5ff1f5;
168+
color: #000000;
169+
}
170+
171+
.gh-label.talk {
172+
background-color: #f9bbe5;
173+
color: #000000;
174+
}
175+
176+
.gh-label.friendliness {
177+
background-color: #7f0799;
178+
color: #ffffff;
179+
}
180+
181+
.gh-label.status-lighter {
182+
background-color: #eeeeee;
183+
color: #000000;
184+
}
185+
186+
.gh-label.status-light {
187+
background-color: #cccccc;
188+
color: #000000;
189+
}
190+
191+
.gh-label.status-neutral {
192+
background-color: #999999;
193+
color: #000000;
194+
}
195+
196+
.gh-label.status-dark {
197+
background-color: #666666;
198+
color: #ffffff;
199+
}
200+
201+
.gh-label.status-darker {
202+
background-color: #333333;
203+
color: #ffffff;
204+
}
205+
206+
.gh-label.priority-unfavourable {
207+
background-color: #b60205;
208+
color: #ffffff;
209+
}
210+
211+
.gh-label.priority-negative {
212+
background-color: #ff9f1c;
213+
color: #000000;
214+
}
215+
216+
.gh-label.priority-neutral {
217+
background-color: #ffcc00;
218+
color: #000000;
219+
}
220+
221+
.gh-label.priority-positive {
222+
background-color: #cfda2c;
223+
color: #000000;
224+
}
225+
226+
.gh-label.priority-favourable {
227+
background-color: #008672;
228+
color: #ffffff;
229+
}
230+
231+
.gh-label.miscellaneous {
232+
background-color: #000000;
233+
color: #ffffff;
234+
}
235+
236+
.gh-label.hacktoberfest {
237+
background-color: #883255;
238+
color: #ffffff;
239+
}
240+
241+
.gh-label.invalid {
242+
background-color: #eeeeee;
243+
color: #000000;
244+
}
245+
246+
137247
@media (min-width: 1024px) {
138248
/* Styles for screens 768px and larger go here */
139249

0 commit comments

Comments
 (0)