Skip to content

Commit 82ab5c9

Browse files
authored
Merge pull request #941 from creativecommons/vocab-refresh
Update site to use current Vocabulary design system
2 parents 940ab1e + a8db31c commit 82ab5c9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+16743
-4190
lines changed

assets/static/css/issue-finder.css

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
@import "/static/vocabulary/css/vocabulary.css" layer(vocabulary);
2+
3+
/* Issue-card styles */
4+
.issue-card {
5+
padding: 1.3rem;
6+
margin-bottom: 1.5rem;
7+
8+
border: 3px solid #ddd;
9+
border-radius: 0.3rem;
10+
}
11+
12+
.issue-card h4 {
13+
font-size: 1.45rem;
14+
}
15+
16+
.issue-card p {
17+
font-size: 1rem;
18+
color: rgb(118, 118, 118);
19+
}
20+
21+
/* General container styling */
22+
23+
.filter-container {
24+
padding: 1rem;
25+
}
26+
27+
/* Label styling */
28+
29+
.filter-container label {
30+
display: block;
31+
margin-bottom: 0.5rem;
32+
33+
font-size: 1.12rem;
34+
color: #333;
35+
}
36+
37+
/* Strong text */
38+
39+
.filter-container label strong {
40+
display: block;
41+
margin-bottom: 0.25rem;
42+
43+
font-size: 1.2rem;
44+
color: #000;
45+
font-weight: 700;
46+
}
47+
48+
.filter-container select {
49+
width: 100%;
50+
padding: 0.5rem;
51+
margin-bottom: 2rem;
52+
53+
border: 1px solid #ccc;
54+
border-radius: 0.25rem;
55+
}
56+
57+
/* Paragraph styling */
58+
59+
.filter-container p {
60+
margin-top: 1rem;
61+
62+
font-size: 0.75rem;
63+
color: #666;
64+
line-height: 1.4;
65+
}
66+
67+
/* Review: Adjust focus outline color */
68+
69+
.filter-container select:focus {
70+
outline: 2px solid #0078D4;
71+
border-color: #0078D4;
72+
}
73+
74+
75+
@media (min-width: 1024px) {
76+
.issue-container {
77+
display: flex;
78+
margin-left: -20%;
79+
margin-right: -23%
80+
}
81+
82+
.filter-container {
83+
width: 25%;
84+
flex: none;
85+
}
86+
87+
}

0 commit comments

Comments
 (0)