jekyll-theme-pirati 5.3.1 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -0
- data/_includes/articles/horizontal-article.html +3 -3
- data/_includes/articles/vertical-article.html +2 -2
- data/_includes/candidate-badge.html +7 -5
- data/_includes/contacts/residence.html +1 -1
- data/_includes/footer.html +6 -6
- data/_includes/header.html +3 -3
- data/_includes/homepage/banner.html +3 -3
- data/_includes/js/main.html +3 -3
- data/_includes/menu.html +32 -34
- data/_includes/page-header.html +3 -1
- data/_includes/people/fullname.html +11 -0
- data/_includes/people/list-group.html +1 -1
- data/_includes/people/list-responsive.html +2 -2
- data/_includes/people/profile-badge.html +27 -34
- data/_includes/right-bar/bar_cal.html +2 -5
- data/_includes/right-bar/bar_fb.html +2 -5
- data/_includes/right-bar/bar_foto.html +1 -15
- data/_includes/right-bar/bar_garant.html +1 -4
- data/_includes/right-bar/bar_people.html +2 -5
- data/_includes/right-bar/bar_person_contact.html +3 -6
- data/_includes/right-bar/bar_program.html +1 -4
- data/_includes/right-bar/bar_textbox.html +0 -3
- data/_includes/right-bar/bar_tw.html +0 -3
- data/_includes/right-bar/bar_video.html +0 -3
- data/_layouts/communal-elections.html +9 -14
- data/_layouts/contacts.html +15 -10
- data/_layouts/members.html +2 -3
- data/_layouts/person.html +4 -3
- data/_layouts/post.html +2 -2
- data/_layouts/program-post.html +1 -1
- data/_sass/_base.scss +5 -0
- data/_sass/_fonts.scss +1 -1
- data/_sass/_settings.scss +147 -29
- data/_sass/components/Person.scss +6 -39
- data/_sass/components/academic-title.scss +7 -0
- data/_sass/components/article-listing.scss +26 -1
- data/_sass/components/blockquote.scss +54 -22
- data/_sass/components/contact-bar.scss +3 -3
- data/_sass/components/content-block.scss +13 -0
- data/_sass/components/corner-ribbon.scss +5 -4
- data/_sass/components/header-bar.scss +9 -5
- data/_sass/components/headline-media.scss +1 -0
- data/_sass/components/hp-banner.scss +11 -1
- data/_sass/components/icon.scss +8 -4
- data/_sass/components/intention-map.scss +18 -0
- data/_sass/components/member-list.scss +7 -0
- data/_sass/components/pagination.scss +5 -0
- data/_sass/components/profile-badge.scss +73 -0
- data/_sass/components/program.scss +74 -100
- data/_sass/components/simple-accordion.scss +2 -0
- data/_sass/components/tile.scss +2 -2
- data/_sass/components/top-bar.scss +51 -57
- data/_sass/components/top-sub-nav.scss +23 -17
- data/_sass/components/typography.scss +41 -20
- data/_sass/components/vertical-navigation.scss +3 -2
- data/_sass/components/widget-accordion.scss +26 -73
- data/_sass/objects/section.scss +19 -29
- data/_sass/pirati.scss +28 -22
- data/_sass/utilities/header-styles.scss +16 -0
- data/_sass/utilities/utilities.scss +11 -6
- data/assets/img/map-marker.svg +136 -0
- data/assets/js/{0.main.f7a234cedfef4096cecb.js → 0.main.44c1ac26aae564173c26.js} +0 -0
- data/assets/js/{0.main.f7a234cedfef4096cecb.js.map → 0.main.44c1ac26aae564173c26.js.map} +1 -1
- data/assets/js/main.44c1ac26aae564173c26.css +5 -0
- data/assets/js/main.44c1ac26aae564173c26.css.map +1 -0
- data/assets/js/main.44c1ac26aae564173c26.js +1 -0
- data/assets/js/main.44c1ac26aae564173c26.js.map +1 -0
- metadata +15 -10
- data/_includes/accordeon/accordeon-column.html +0 -8
- data/_sass/social-palette.scss +0 -9
- data/assets/js/main.f7a234cedfef4096cecb.css +0 -5
- data/assets/js/main.f7a234cedfef4096cecb.css.map +0 -1
- data/assets/js/main.f7a234cedfef4096cecb.js +0 -1
- data/assets/js/main.f7a234cedfef4096cecb.js.map +0 -1
@@ -1,54 +1,72 @@
|
|
1
1
|
@mixin emphasizedAnchor {
|
2
2
|
text-decoration: underline;
|
3
3
|
|
4
|
-
&:hover,
|
5
4
|
&.active {
|
6
|
-
|
7
|
-
color: $secondary-color;
|
5
|
+
font-weight: bold;
|
8
6
|
}
|
9
7
|
|
10
8
|
}
|
11
9
|
|
12
10
|
@mixin headlineAnchor {
|
13
|
-
|
11
|
+
// &:hover {
|
12
|
+
// text-decoration: underline;
|
13
|
+
// }
|
14
14
|
}
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
@
|
20
|
-
@
|
21
|
-
|
22
|
-
|
16
|
+
@mixin headerStyle($header, $type: main) {
|
17
|
+
$settings: map-get($headers, $type);
|
18
|
+
|
19
|
+
@each $breakpointSize, $headers in map-get($settings, sizes) {
|
20
|
+
@include breakpoint($breakpointSize) {
|
21
|
+
font-family: #{map-get($settings, family)};
|
22
|
+
font-size: rem-calc(map-get($headers, $header));
|
23
|
+
font-weight: map-get($settings, weight);
|
24
|
+
|
25
|
+
$letter-spacing: map-get($settings, letter-spacing);
|
26
|
+
|
27
|
+
@if ($letter-spacing) {
|
28
|
+
letter-spacing: $letter-spacing;
|
23
29
|
}
|
24
30
|
}
|
25
31
|
}
|
26
32
|
}
|
27
33
|
|
34
|
+
@function getHeaderSettings($prop, $type: main) {
|
35
|
+
$settings: map-get($headers, $type);
|
36
|
+
@return map-get($settings, $prop);
|
37
|
+
}
|
38
|
+
|
39
|
+
@mixin fontFeatures() {
|
40
|
+
font-feature-settings: "kern", "onum", "liga";
|
41
|
+
font-kerning: auto;
|
42
|
+
text-rendering: optimizeLegibility;
|
43
|
+
}
|
44
|
+
|
28
45
|
.t-subheader {
|
29
46
|
font-weight: normal;
|
30
47
|
color: $dark-gray;
|
31
48
|
}
|
32
49
|
|
33
|
-
.t-h {
|
34
|
-
font-family: $header-font-family;
|
35
|
-
}
|
36
|
-
|
37
50
|
// Special page title header
|
38
51
|
.c-page-title {
|
39
|
-
|
40
|
-
margin-bottom: 0.85em;
|
52
|
+
margin-bottom: 0;
|
41
53
|
|
42
|
-
@include
|
43
|
-
padding-top: 0.7em;
|
44
|
-
}
|
54
|
+
@include headerStyle('h2', super);
|
45
55
|
}
|
46
56
|
|
47
57
|
// Page header section with provided whitespace for clean separation from the content
|
48
58
|
.c-page-header {
|
59
|
+
padding-top: 2rem;
|
49
60
|
padding-bottom: 2rem;
|
50
61
|
}
|
51
62
|
|
63
|
+
.c-top-sub-nav + .page-content .o-section,
|
64
|
+
.c-top-sub-nav + .page-content .c-page-header {
|
65
|
+
@include breakpoint(medium) {
|
66
|
+
padding-top: 0;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
52
70
|
// The block will have larger text for better readability. Often used with
|
53
71
|
// conjuction to .c-content-block
|
54
72
|
.c-emphasized-text {
|
@@ -63,3 +81,6 @@
|
|
63
81
|
@include headlineAnchor();
|
64
82
|
}
|
65
83
|
|
84
|
+
.t-font-features {
|
85
|
+
@include fontFeatures();
|
86
|
+
}
|
@@ -11,8 +11,9 @@ $vn-ns: '';
|
|
11
11
|
}
|
12
12
|
|
13
13
|
.#{$vn-ns}c-vertical-navigation .#{$vn-ns}c-vertical-navigation__title {
|
14
|
-
|
15
|
-
|
14
|
+
text-transform: uppercase;
|
15
|
+
|
16
|
+
@include headerStyle('h5', sub);
|
16
17
|
}
|
17
18
|
|
18
19
|
.#{$vn-ns}c-vertical-navigation .#{$vn-ns}c-vertical-navigation-items {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.c-widget-accordion {
|
2
2
|
@include accordion-container;
|
3
|
-
background: $
|
3
|
+
background: $light-gray;
|
4
4
|
}
|
5
5
|
|
6
6
|
.c-widget-accordion + .c-widget-accordion {
|
@@ -8,27 +8,22 @@
|
|
8
8
|
}
|
9
9
|
|
10
10
|
.c-widget-accordion-link {
|
11
|
-
|
12
|
-
font-family: $header-font-family-sub;
|
13
|
-
font-size: 1.5rem;
|
14
|
-
padding: 0;
|
15
|
-
padding-left: 1rem;
|
16
|
-
display: table;
|
17
|
-
height: 50px;
|
18
|
-
min-height: 50px;
|
19
|
-
line-height: 1;
|
11
|
+
display: block;
|
20
12
|
width: 100%;
|
21
|
-
|
13
|
+
padding: .5rem 1rem;
|
14
|
+
background-color: $medium-gray;
|
15
|
+
overflow: hidden;
|
16
|
+
@include headerStyle('h3', alt);
|
22
17
|
|
23
18
|
&:before {
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
19
|
+
display: none;
|
20
|
+
}
|
21
|
+
|
22
|
+
&--nofill {
|
23
|
+
background: $body-background;
|
24
|
+
padding-left: 0;
|
25
|
+
|
26
|
+
@include headerStyle('h2', alt);
|
32
27
|
}
|
33
28
|
}
|
34
29
|
|
@@ -37,68 +32,28 @@
|
|
37
32
|
content: '\f147';
|
38
33
|
}
|
39
34
|
|
40
|
-
.c-widget-accordion-link.c-widget-accordion-link--fb
|
41
|
-
|
42
|
-
margin-right: 0.5rem;
|
43
|
-
}
|
35
|
+
.c-widget-accordion-link.c-widget-accordion-link--fb {
|
36
|
+
background: $facebook-color;
|
44
37
|
|
45
|
-
|
46
|
-
|
47
|
-
|
38
|
+
.c-widget-accordion__title {
|
39
|
+
color: $white;
|
40
|
+
}
|
48
41
|
}
|
49
42
|
|
50
|
-
.c-widget-accordion-link.c-widget-accordion-link--
|
51
|
-
|
52
|
-
|
53
|
-
|
43
|
+
.c-widget-accordion-link.c-widget-accordion-link--cal {
|
44
|
+
background: #df3a3f;
|
45
|
+
|
46
|
+
.c-widget-accordion__title {
|
47
|
+
color: $white;
|
48
|
+
}
|
54
49
|
}
|
55
50
|
}
|
56
51
|
|
57
|
-
.c-widget-accordion .c-widget-accordion__icon,
|
58
52
|
.c-widget-accordion .c-widget-accordion__title {
|
59
|
-
|
60
|
-
vertical-align: middle;
|
61
|
-
line-height: normal;
|
62
|
-
color: $white;
|
53
|
+
color: $primary-color;
|
63
54
|
white-space: nowrap;
|
64
55
|
}
|
65
56
|
|
66
|
-
.c-widget-accordion .c-widget-accordion__title--noicon {
|
67
|
-
width: 100%;
|
68
|
-
}
|
69
|
-
|
70
|
-
.c-widget-accordion .c-widget-accordion__title--plain {
|
71
|
-
font-family: $body-font-family;
|
72
|
-
font-weight: 600;
|
73
|
-
font-size: 1.15rem;
|
74
|
-
}
|
75
|
-
|
76
|
-
.c-widget-accordion .c-widget-accordion__icon {
|
77
|
-
opacity: 0.2;
|
78
|
-
font-size: 2rem;
|
79
|
-
padding-left: 1rem;
|
80
|
-
line-height: 0;
|
81
|
-
|
82
|
-
i.fa-lg {
|
83
|
-
font-size: 3rem;
|
84
|
-
}
|
85
|
-
}
|
86
|
-
|
87
|
-
.c-widget-accordion
|
88
|
-
.c-widget-accordion__icon.c-widget-accordion__icon--bottom {
|
89
|
-
vertical-align: bottom;
|
90
|
-
}
|
91
|
-
|
92
|
-
.c-widget-accordion
|
93
|
-
.c-widget-accordion__icon.c-widget-accordion__icon--bottomPulled i {
|
94
|
-
margin-bottom: -0.2em;
|
95
|
-
}
|
96
|
-
|
97
|
-
.c-widget-accordion
|
98
|
-
.c-widget-accordion__icon.c-widget-accordion__icon--top {
|
99
|
-
vertical-align: top;
|
100
|
-
}
|
101
|
-
|
102
57
|
.c-widget-accordion span:last-child {
|
103
58
|
white-space: nowrap;
|
104
59
|
width: 100%;
|
@@ -106,8 +61,6 @@
|
|
106
61
|
|
107
62
|
.c-widget-accordion .c-widget-accordion-content {
|
108
63
|
padding: 1rem;
|
109
|
-
background: $white;
|
110
|
-
border: 3px $primary-color solid;
|
111
64
|
|
112
65
|
&.c-widget-accordion-content--nopad {
|
113
66
|
padding: 0;
|
data/_sass/objects/section.scss
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
$section-ns: '';
|
2
2
|
|
3
3
|
.#{$section-ns}o-section {
|
4
|
-
padding:
|
4
|
+
padding: 2rem 0;
|
5
5
|
|
6
6
|
@include breakpoint(mobile down) {
|
7
|
-
padding:
|
7
|
+
padding: 1rem 0;
|
8
8
|
}
|
9
9
|
}
|
10
10
|
|
@@ -137,20 +137,21 @@ $section-ns: '';
|
|
137
137
|
}
|
138
138
|
|
139
139
|
.#{$section-ns}o-section.#{$section-ns}o-section--smaller {
|
140
|
-
padding:
|
140
|
+
padding: 1rem 0;
|
141
141
|
}
|
142
142
|
|
143
143
|
|
144
144
|
.#{$section-ns}o-section.#{$section-ns}o-section--bigger {
|
145
145
|
@include breakpoint(mobile down) {
|
146
|
-
padding:
|
146
|
+
padding: 1rem 0;
|
147
147
|
}
|
148
148
|
}
|
149
149
|
|
150
150
|
.#{$section-ns}o-section--noSpaceBottom {
|
151
151
|
padding-bottom: 0;
|
152
|
+
|
152
153
|
@include breakpoint(mobile down) {
|
153
|
-
padding:
|
154
|
+
padding: 1rem 0;
|
154
155
|
}
|
155
156
|
}
|
156
157
|
|
@@ -159,21 +160,20 @@ $section-ns: '';
|
|
159
160
|
}
|
160
161
|
|
161
162
|
.#{$section-ns}o-section.#{$section-ns}o-section--spaceBot {
|
162
|
-
|
163
|
-
padding-bottom: 50px;
|
163
|
+
padding-bottom: 3rem;
|
164
164
|
|
165
165
|
@include breakpoint(large down) {
|
166
|
-
padding-bottom:
|
166
|
+
padding-bottom: 2rem;
|
167
167
|
}
|
168
168
|
|
169
169
|
@include breakpoint(mobile down) {
|
170
|
-
padding-bottom:
|
170
|
+
padding-bottom: 1rem;
|
171
171
|
}
|
172
172
|
|
173
173
|
}
|
174
174
|
|
175
175
|
.#{$section-ns}o-section.#{$section-ns}o-section--darker {
|
176
|
-
background:
|
176
|
+
background: $ternary-color;
|
177
177
|
}
|
178
178
|
|
179
179
|
.#{$section-ns}o-section-inner--leftBlock {
|
@@ -193,29 +193,19 @@ $section-ns: '';
|
|
193
193
|
.#{$section-ns}o-section .#{$section-ns}o-section-header {
|
194
194
|
position: relative;
|
195
195
|
color: $primary-color;
|
196
|
-
border-bottom: 3px solid $primary-color;
|
197
|
-
margin-top: 6px;
|
198
|
-
padding-bottom: 2px;
|
199
|
-
margin-bottom: -2px;
|
200
|
-
}
|
201
196
|
|
202
|
-
|
203
|
-
|
204
|
-
|
197
|
+
&--bordered {
|
198
|
+
border-bottom: 1px solid $ternary-color;
|
199
|
+
}
|
205
200
|
|
206
|
-
|
207
|
-
|
208
|
-
margin-bottom: 0.75rem;
|
201
|
+
&--indented {
|
202
|
+
margin-bottom: 2rem;
|
209
203
|
}
|
210
204
|
}
|
211
205
|
|
212
|
-
.#{$section-ns}o-
|
213
|
-
|
214
|
-
bottom: 13px;
|
215
|
-
right: 0;
|
216
|
-
color: $body-font-color;
|
206
|
+
.#{$section-ns}o-section__heading {
|
207
|
+
@include headerStyle('h3', super);
|
217
208
|
|
218
|
-
|
219
|
-
|
220
|
-
}
|
209
|
+
color: $primary-color;
|
210
|
+
margin-bottom: 0;
|
221
211
|
}
|
data/_sass/pirati.scss
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
@import 'settings';
|
2
2
|
@import 'fonts';
|
3
|
-
@import 'social-palette';
|
4
3
|
|
5
4
|
@import "foundation-sites/scss/foundation";
|
6
5
|
@include foundation-everything;
|
@@ -11,39 +10,46 @@
|
|
11
10
|
// Import Components
|
12
11
|
@import 'components/typography';
|
13
12
|
|
14
|
-
@import 'components/
|
13
|
+
@import 'components/academic-title';
|
15
14
|
@import 'components/article-listing';
|
16
|
-
@import 'components/
|
17
|
-
@import 'components/
|
18
|
-
@import 'components/
|
19
|
-
@import 'components/icon';
|
15
|
+
@import 'components/banner';
|
16
|
+
@import 'components/blockquote';
|
17
|
+
@import 'components/card';
|
20
18
|
@import 'components/contact-bar';
|
19
|
+
@import 'components/content-block';
|
20
|
+
@import 'components/content-card';
|
21
21
|
@import 'components/corner-ribbon';
|
22
|
+
@import 'components/cta-button';
|
23
|
+
@import 'components/footer';
|
22
24
|
@import 'components/header-bar';
|
23
|
-
@import 'components/top-bar';
|
24
|
-
@import 'components/banner';
|
25
|
-
@import 'components/top-sub-nav';
|
26
|
-
@import 'components/widget-accordion';
|
27
|
-
@import 'components/content-card';
|
28
|
-
@import 'components/metadata-block';
|
29
|
-
@import 'components/multicolumn';
|
30
25
|
@import 'components/headline-media';
|
26
|
+
@import 'components/hero';
|
31
27
|
@import 'components/hp-banner';
|
32
|
-
@import 'components/
|
28
|
+
@import 'components/icon';
|
29
|
+
@import 'components/intention-map';
|
30
|
+
@import 'components/member-list';
|
31
|
+
@import 'components/metadata-block';
|
32
|
+
@import 'components/multicolumn';
|
33
|
+
@import 'components/pagination';
|
34
|
+
@import 'components/person';
|
35
|
+
@import 'components/profile-badge';
|
36
|
+
@import 'components/program';
|
37
|
+
@import 'components/simple-accordion';
|
38
|
+
@import 'components/Slider';
|
39
|
+
@import 'components/suggest-improvement';
|
33
40
|
@import 'components/tag';
|
34
41
|
@import 'components/tile';
|
42
|
+
@import 'components/top-bar';
|
43
|
+
@import 'components/top-sub-nav';
|
44
|
+
@import 'components/vertical-navigation';
|
45
|
+
@import 'components/widget-accordion';
|
35
46
|
@import 'components/widget-share-box';
|
36
47
|
@import 'components/widget-simple-text';
|
37
|
-
@import 'components/pagination';
|
38
|
-
@import 'components/Slider';
|
39
|
-
@import 'components/suggest-improvement';
|
40
|
-
@import 'components/simple-accordion';
|
41
|
-
@import 'components/hero';
|
42
|
-
@import 'components/blockquote';
|
43
|
-
@import 'components/cta-button';
|
44
|
-
@import 'components/content-block';
|
45
48
|
|
46
49
|
// Import Objects
|
47
50
|
@import 'objects/section';
|
48
51
|
@import 'objects/media';
|
49
52
|
@import 'objects/space';
|
53
|
+
|
54
|
+
// Import header styles -- these go last to be able to override things
|
55
|
+
@import 'utilities/header-styles';
|
@@ -0,0 +1,16 @@
|
|
1
|
+
@each $headingClass, $headingSettings in $headers {
|
2
|
+
@if ($headingClass == 'main') {
|
3
|
+
@each $variant in map-get($headingSettings, variants) {
|
4
|
+
#{$variant},
|
5
|
+
.t-#{$variant} {
|
6
|
+
@include headerStyle($variant, $headingClass);
|
7
|
+
}
|
8
|
+
}
|
9
|
+
} @else {
|
10
|
+
@each $variant in map-get($headingSettings, variants) {
|
11
|
+
.t-#{$variant}-#{$headingClass} {
|
12
|
+
@include headerStyle($variant, $headingClass);
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
@@ -41,6 +41,10 @@
|
|
41
41
|
margin-right: 1rem;
|
42
42
|
}
|
43
43
|
|
44
|
+
.u-4margin--right {
|
45
|
+
margin-right: 4rem;
|
46
|
+
}
|
47
|
+
|
44
48
|
.u-1margin--top {
|
45
49
|
margin-top: 1rem;
|
46
50
|
}
|
@@ -99,19 +103,20 @@
|
|
99
103
|
}
|
100
104
|
|
101
105
|
.u-inverted {
|
102
|
-
color: $
|
103
|
-
|
104
|
-
a {
|
105
|
-
color: $secondary-color !important;
|
106
|
-
}
|
106
|
+
color: $dark-gray !important;
|
107
107
|
|
108
|
+
a,
|
108
109
|
h1,
|
109
110
|
h2,
|
110
111
|
h3,
|
111
112
|
h4,
|
112
113
|
h5,
|
113
114
|
h6 {
|
114
|
-
color: $
|
115
|
+
color: $dark-gray;
|
116
|
+
}
|
117
|
+
|
118
|
+
a:hover {
|
119
|
+
color: $secondary-color;
|
115
120
|
}
|
116
121
|
}
|
117
122
|
|