File tree 5 files changed +17
-11
lines changed
themes/vocabulary_theme/templates
5 files changed +17
-11
lines changed Original file line number Diff line number Diff line change 43
43
< header >
44
44
< nav class ="navbar ">
45
45
< div class ="navbar-brand ">
46
- {% set cc_logo = site.get('/').attachments.get('open_source.svg') %}
47
46
< a class ="has-text-black " href ="{{ '/'|url }} ">
48
- < img
49
- class ="logo "
50
- xmlns ="http://www.w3.org/2000/svg "
51
- preserveAspectRatio ="xMidYMid meet "
52
- viewBox ="0 0 304 73 " src ="{{ cc_logo|url }} ">
47
+ < svg
48
+ class ="logo "
49
+ xmlns ="http://www.w3.org/2000/svg "
50
+ preserveAspectRatio ="xMidYMid meet "
51
+ viewBox ="0 0 304 73 ">
52
+ < use href ="#opensource "> </ use >
53
+ </ svg >
53
54
</ a >
54
55
< a role ="button " class ="navbar-burger " aria-label ="menu " aria-expanded ="false ">
55
56
< span aria-hidden ="true "> </ span >
109
110
< a class ="navbar-item {% if this.is_child_of('/cc-search') %} is-active{% endif%} " href ="{{ '/cc-search'|url }} ">
110
111
CC Search
111
112
</ a >
112
- < div class ="navbar-item has-dropdown is-hoverable ">
113
+ < div class ="navbar-item has-dropdown is-hoverable column is-3 ">
113
114
< a class ="navbar-link is-arrowless {% if this.is_child_of('/archives') %} is-active{% endif%} "> Archives< i class ="icon caret-down "> </ i > </ a >
114
115
< div class ="navbar-dropdown ">
115
116
{% for href, title in [
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ $(document).ready(function () {
9
9
10
10
patchAssetIntoDom ( '/assets/logos/cc/logomark.svg' ) ;
11
11
patchAssetIntoDom ( '/assets/logos/cc/letterheart.svg' ) ;
12
+ patchAssetIntoDom ( '/assets/logos/products/open_source.svg' ) ;
12
13
13
14
// Check for click events on the navbar burger icon
14
15
$ ( ".navbar-burger" ) . click ( function ( ) {
Original file line number Diff line number Diff line change 9
9
"license" : " MIT" ,
10
10
"devDependencies" : {
11
11
"@babel/core" : " ^7.9.0" ,
12
- "@creativecommons/vocabulary" : " ^1.0.0-beta.14 " ,
12
+ "@creativecommons/vocabulary" : " ^1.0.0-beta.15 " ,
13
13
"autoprefixer" : " ^9.7.5" ,
14
14
"babel-loader" : " ^8.1.0" ,
15
15
"css-loader" : " ^2.1.1" ,
Original file line number Diff line number Diff line change 1
1
@import " ../node_modules/@creativecommons/vocabulary/css/vocabulary.css" ;
2
+ @import " ../node_modules/@creativecommons/vocabulary/scss/spacing.scss" ;
2
3
3
4
// Color Variables
4
5
$pumpkin : #e15803 ;
@@ -17,6 +18,9 @@ $brand-theme-light: $orange;
17
18
$text-color : $jet-black ;
18
19
$project-card-theme : $blue ;
19
20
21
+ header {
22
+ @extend .padding-horizontal-xxl ;
23
+ }
20
24
21
25
.navbar-item {
22
26
& .has-dropdown {
You can’t perform that action at this time.
0 commit comments