Skip to content

Commit

Permalink
copy Vocabulary Theme v1.5 in for dev
Browse files Browse the repository at this point in the history
  • Loading branch information
TimidRobot committed Jun 27, 2024
1 parent 84154f9 commit 3ee61c1
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Theme Name: CC Vocabulary Theme
Author: the Creative Commons team; possumbilities, Timid Robot
Author URI: https://opensource.creativecommons.org/
Description: Theme based on the Vocabulary Design System
Version: 1.4
Version: 1.5
Requires at least: 5.0
Tested up to: 6.2.2
Requires PHP: 7.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
--cc-logo: url('./../svg/cc/icons/cc-icons.svg#cc-logo');
--cc-heart: url('./../svg/cc/icons/cc-icons.svg#cc-heart');
--cc-heart-filled: url('./../svg/cc/icons/cc-icons.svg#cc-heart-filled');
--cc-quote: url('./../svg/cc/icons/cc-icons.svg#cc-quote');

/* font awesome sprite names */
--fa-angle-down: url('./../svg/font-awesome/icons/fa-icons.svg#fa-angle-down');
Expand All @@ -144,7 +145,6 @@
--fa-globe: url('./../svg/font-awesome/icons/fa-icons.svg#fa-globe');
--fa-heart: url('./../svg/font-awesome/icons/fa-icons.svg#fa-heart');
--fa-info: url('./../svg/font-awesome/icons/fa-icons.svg#fa-info');
--fa-quote: url('./../svg/font-awesome/icons/fa-icons.svg#fa-quote');
--fa-right-angle: url('./../svg/font-awesome/icons/fa-icons.svg#fa-right-angle');
--fa-search: url('./../svg/font-awesome/icons/fa-icons.svg#fa-search');

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

.icon.cc-quote, .icon-attach.cc-quote:before {
--icon-sprite: var(--cc-quote);
}

.icon.fa-angle-down, .icon-attach.fa-angle-down:before {
--icon-sprite: var(--fa-angle-down);
}
Expand Down Expand Up @@ -217,10 +221,6 @@ leaving room for semantic and accessible implementation choices */
--icon-sprite: var(--fa-info);
}

.icon.fa-quote, .icon-attach.fa-quote:before {
--icon-sprite: var(--fa-quote);
}

.icon.fa-right-angle, .icon-attach.fa-righ-angle:before {
--icon-sprite: var(--fa-heart);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@ body > header {
margin: 0;
}

/* allows the child identity-logo element to have a focus state */
.identity-logo-wrapper {
height: 50px;
width: 191px;
display: block;
position: absolute;
}

.masthead .identity-logo {
display: inline-block;
text-indent: -1000px;
Expand All @@ -108,7 +116,6 @@ body > header {

.masthead .identity-logo:hover {
background-color: var(--vocabulary-neutral-color-dark-gray);

}

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

nav.pagination {
grid-column: span 3;
grid-column: span 2;
margin: 0 auto;
}

nav.pagination ol {
Expand Down Expand Up @@ -2028,7 +2036,7 @@ main blockquote {

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

display: block;
content: '';
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3ee61c1

Please sign in to comment.