Skip to content

Commit ba07810

Browse files
authored
Merge pull request #214 from creativecommons/vocab-theme-1.5
Data: Update development files to Vocabulary Theme v1.5
2 parents 65f85b4 + bcd0113 commit ba07810

File tree

5 files changed

+25
-14
lines changed

5 files changed

+25
-14
lines changed

docs/wp-content/themes/vocabulary-theme/style.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Theme Name: CC Vocabulary Theme
33
Author: the Creative Commons team; possumbilities, Timid Robot
44
Author URI: https://opensource.creativecommons.org/
55
Description: Theme based on the Vocabulary Design System
6-
Version: 1.4
6+
Version: 1.5
77
Requires at least: 5.0
88
Tested up to: 6.2.2
99
Requires PHP: 7.0

docs/wp-content/themes/vocabulary-theme/vocabulary/css/library-vars.css

+5-5
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
--cc-logo: url('./../svg/cc/icons/cc-icons.svg#cc-logo');
136136
--cc-heart: url('./../svg/cc/icons/cc-icons.svg#cc-heart');
137137
--cc-heart-filled: url('./../svg/cc/icons/cc-icons.svg#cc-heart-filled');
138+
--cc-quote: url('./../svg/cc/icons/cc-icons.svg#cc-quote');
138139

139140
/* font awesome sprite names */
140141
--fa-angle-down: url('./../svg/font-awesome/icons/fa-icons.svg#fa-angle-down');
@@ -144,7 +145,6 @@
144145
--fa-globe: url('./../svg/font-awesome/icons/fa-icons.svg#fa-globe');
145146
--fa-heart: url('./../svg/font-awesome/icons/fa-icons.svg#fa-heart');
146147
--fa-info: url('./../svg/font-awesome/icons/fa-icons.svg#fa-info');
147-
--fa-quote: url('./../svg/font-awesome/icons/fa-icons.svg#fa-quote');
148148
--fa-right-angle: url('./../svg/font-awesome/icons/fa-icons.svg#fa-right-angle');
149149
--fa-search: url('./../svg/font-awesome/icons/fa-icons.svg#fa-search');
150150

@@ -189,6 +189,10 @@ leaving room for semantic and accessible implementation choices */
189189
--icon-sprite: var(--cc-heart-filled);
190190
}
191191

192+
.icon.cc-quote, .icon-attach.cc-quote:before {
193+
--icon-sprite: var(--cc-quote);
194+
}
195+
192196
.icon.fa-angle-down, .icon-attach.fa-angle-down:before {
193197
--icon-sprite: var(--fa-angle-down);
194198
}
@@ -217,10 +221,6 @@ leaving room for semantic and accessible implementation choices */
217221
--icon-sprite: var(--fa-info);
218222
}
219223

220-
.icon.fa-quote, .icon-attach.fa-quote:before {
221-
--icon-sprite: var(--fa-quote);
222-
}
223-
224224
.icon.fa-right-angle, .icon-attach.fa-righ-angle:before {
225225
--icon-sprite: var(--fa-heart);
226226
}

docs/wp-content/themes/vocabulary-theme/vocabulary/css/vocabulary.css

+11-3
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,14 @@ body > header {
8686
margin: 0;
8787
}
8888

89+
/* allows the child identity-logo element to have a focus state */
90+
.identity-logo-wrapper {
91+
height: 50px;
92+
width: 191px;
93+
display: block;
94+
position: absolute;
95+
}
96+
8997
.masthead .identity-logo {
9098
display: inline-block;
9199
text-indent: -1000px;
@@ -108,7 +116,6 @@ body > header {
108116

109117
.masthead .identity-logo:hover {
110118
background-color: var(--vocabulary-neutral-color-dark-gray);
111-
112119
}
113120

114121
/* TODO: needs focus outline to be fixed */
@@ -1559,7 +1566,8 @@ main .authored-posts.highlight article {
15591566
}
15601567

15611568
nav.pagination {
1562-
grid-column: span 3;
1569+
grid-column: span 2;
1570+
margin: 0 auto;
15631571
}
15641572

15651573
nav.pagination ol {
@@ -2028,7 +2036,7 @@ main blockquote {
20282036

20292037
/* manually include quote icon to avoid extraneous html classes */
20302038
main blockquote p:before {
2031-
--icon-sprite: var(--fa-quote);
2039+
--icon-sprite: var(--cc-quote);
20322040

20332041
display: block;
20342042
content: '';

docs/wp-content/themes/vocabulary-theme/vocabulary/svg/cc/icons/cc-icons.svg

+6
Loading

docs/wp-content/themes/vocabulary-theme/vocabulary/svg/font-awesome/icons/fa-icons.svg

+2-5
Loading

0 commit comments

Comments
 (0)