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.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -0
  3. data/_includes/articles/horizontal-article.html +3 -3
  4. data/_includes/articles/vertical-article.html +2 -2
  5. data/_includes/candidate-badge.html +7 -5
  6. data/_includes/contacts/residence.html +1 -1
  7. data/_includes/footer.html +6 -6
  8. data/_includes/header.html +3 -3
  9. data/_includes/homepage/banner.html +3 -3
  10. data/_includes/js/main.html +3 -3
  11. data/_includes/menu.html +32 -34
  12. data/_includes/page-header.html +3 -1
  13. data/_includes/people/fullname.html +11 -0
  14. data/_includes/people/list-group.html +1 -1
  15. data/_includes/people/list-responsive.html +2 -2
  16. data/_includes/people/profile-badge.html +27 -34
  17. data/_includes/right-bar/bar_cal.html +2 -5
  18. data/_includes/right-bar/bar_fb.html +2 -5
  19. data/_includes/right-bar/bar_foto.html +1 -15
  20. data/_includes/right-bar/bar_garant.html +1 -4
  21. data/_includes/right-bar/bar_people.html +2 -5
  22. data/_includes/right-bar/bar_person_contact.html +3 -6
  23. data/_includes/right-bar/bar_program.html +1 -4
  24. data/_includes/right-bar/bar_textbox.html +0 -3
  25. data/_includes/right-bar/bar_tw.html +0 -3
  26. data/_includes/right-bar/bar_video.html +0 -3
  27. data/_layouts/communal-elections.html +9 -14
  28. data/_layouts/contacts.html +15 -10
  29. data/_layouts/members.html +2 -3
  30. data/_layouts/person.html +4 -3
  31. data/_layouts/post.html +2 -2
  32. data/_layouts/program-post.html +1 -1
  33. data/_sass/_base.scss +5 -0
  34. data/_sass/_fonts.scss +1 -1
  35. data/_sass/_settings.scss +147 -29
  36. data/_sass/components/Person.scss +6 -39
  37. data/_sass/components/academic-title.scss +7 -0
  38. data/_sass/components/article-listing.scss +26 -1
  39. data/_sass/components/blockquote.scss +54 -22
  40. data/_sass/components/contact-bar.scss +3 -3
  41. data/_sass/components/content-block.scss +13 -0
  42. data/_sass/components/corner-ribbon.scss +5 -4
  43. data/_sass/components/header-bar.scss +9 -5
  44. data/_sass/components/headline-media.scss +1 -0
  45. data/_sass/components/hp-banner.scss +11 -1
  46. data/_sass/components/icon.scss +8 -4
  47. data/_sass/components/intention-map.scss +18 -0
  48. data/_sass/components/member-list.scss +7 -0
  49. data/_sass/components/pagination.scss +5 -0
  50. data/_sass/components/profile-badge.scss +73 -0
  51. data/_sass/components/program.scss +74 -100
  52. data/_sass/components/simple-accordion.scss +2 -0
  53. data/_sass/components/tile.scss +2 -2
  54. data/_sass/components/top-bar.scss +51 -57
  55. data/_sass/components/top-sub-nav.scss +23 -17
  56. data/_sass/components/typography.scss +41 -20
  57. data/_sass/components/vertical-navigation.scss +3 -2
  58. data/_sass/components/widget-accordion.scss +26 -73
  59. data/_sass/objects/section.scss +19 -29
  60. data/_sass/pirati.scss +28 -22
  61. data/_sass/utilities/header-styles.scss +16 -0
  62. data/_sass/utilities/utilities.scss +11 -6
  63. data/assets/img/map-marker.svg +136 -0
  64. data/assets/js/{0.main.f7a234cedfef4096cecb.js → 0.main.44c1ac26aae564173c26.js} +0 -0
  65. data/assets/js/{0.main.f7a234cedfef4096cecb.js.map → 0.main.44c1ac26aae564173c26.js.map} +1 -1
  66. data/assets/js/main.44c1ac26aae564173c26.css +5 -0
  67. data/assets/js/main.44c1ac26aae564173c26.css.map +1 -0
  68. data/assets/js/main.44c1ac26aae564173c26.js +1 -0
  69. data/assets/js/main.44c1ac26aae564173c26.js.map +1 -0
  70. metadata +15 -10
  71. data/_includes/accordeon/accordeon-column.html +0 -8
  72. data/_sass/social-palette.scss +0 -9
  73. data/assets/js/main.f7a234cedfef4096cecb.css +0 -5
  74. data/assets/js/main.f7a234cedfef4096cecb.css.map +0 -1
  75. data/assets/js/main.f7a234cedfef4096cecb.js +0 -1
  76. data/assets/js/main.f7a234cedfef4096cecb.js.map +0 -1
@@ -1,42 +1,9 @@
1
- $ps-ns: '';
2
-
3
- .#{$ps-ns}c-Person-preview {
4
- display: block;
5
- position: relative;
6
- @include clearfix;
7
- }
8
-
9
- .#{$ps-ns}c-Person-preview + .#{$ps-ns}c-Person-preview {
10
- padding-top: 0.75rem;
11
- margin-top: 0.75rem;
12
- border-top: 1px solid #f3f3f3;
13
- }
14
-
15
- .#{$ps-ns}c-Person-preview .#{$ps-ns}c-Person-preview__url {
16
- float: right;
17
- }
18
-
19
- .#{$ps-ns}c-Person-preview .#{$ps-ns}c-Person-preview-content {
20
- line-height: 1.25;
21
- }
22
-
23
- .#{$ps-ns}c-Person-preview .#{$ps-ns}c-Person-preview__name {
24
- color: $primary-color;
25
- font-size: 1.3rem;
26
- display: inline-block;
27
- vertical-align: -webkit-baseline-middle;
28
- margin-bottom: 0.05rem;
1
+ .c-person__content {
2
+ @include breakpoint(medium) {
3
+ padding-right: 4rem;
4
+ }
29
5
  }
30
6
 
31
- .#{$ps-ns}c-Person-preview .#{$ps-ns}c-Person-preview__birthdate {
32
- color: #6e6e6e;
7
+ .c-person-image {
8
+ margin-top: 2rem;
33
9
  }
34
-
35
- .#{$ps-ns}c-Person-preview .#{$ps-ns}c-Person-preview-contentBox {
36
- margin-top: 1rem;
37
- }
38
-
39
- .#{$ps-ns}c-Person-preview .#{$ps-ns}c-Person-preview__image {
40
- float: left;
41
- margin-right: 0.7rem;
42
- }
@@ -0,0 +1,7 @@
1
+ .academic-title {
2
+ font-size: .7em;
3
+ }
4
+
5
+ .academic-title-name {
6
+ white-space: nowrap;
7
+ }
@@ -1,5 +1,5 @@
1
1
  .c-article-listing--vertical {
2
- margin-bottom: 2.5rem;
2
+ padding-bottom: 2.5rem;
3
3
 
4
4
  .c-article-listing__meta {
5
5
  margin: 1rem 0;
@@ -10,6 +10,30 @@
10
10
  padding-bottom: 1.25rem;
11
11
  margin-bottom: 1.25rem;
12
12
  }
13
+
14
+ @include breakpoint(medium) {
15
+ height: 100%;
16
+ display: flex;
17
+ flex-direction: column;
18
+
19
+ .c-article-listing__content {
20
+ display: flex;
21
+ height: 100%;
22
+ flex-direction: column;
23
+ justify-content: space-between;
24
+ }
25
+
26
+ .c-article-listing__perex {
27
+ height: 7rem;
28
+ margin-bottom: 0;
29
+ }
30
+
31
+ .c-article-listing__headline {
32
+ flex: 1;
33
+ display: flex;
34
+ align-items: flex-end;
35
+ }
36
+ }
13
37
  }
14
38
 
15
39
  .c-article-listing__row {
@@ -54,6 +78,7 @@
54
78
  position: relative;
55
79
 
56
80
  &:before {
81
+ pointer-events: none;
57
82
  content: '\f144';
58
83
  position: absolute;
59
84
  width: 90px;
@@ -1,11 +1,10 @@
1
1
  .c-blockquote {
2
2
  font-size: 1.45rem;
3
- font-weight: 300;
4
3
  font-style: italic;
5
4
  color: $dark-gray;
6
5
 
7
- margin: 0 0 1rem;
8
- padding: 0.5625rem 1.25rem 0 0;
6
+ padding: 1rem 0 0;
7
+ margin: 0 0 2rem;
9
8
  border-left: 0;
10
9
 
11
10
  @include breakpoint(medium down) {
@@ -16,36 +15,69 @@
16
15
  }
17
16
 
18
17
  .c-blockquote--wicon {
19
- padding-top: 4.35rem;
20
- position: relative;
18
+ padding-top: 3rem;
21
19
 
22
- &:before {
20
+ &:before,
21
+ p:last-of-type:after {
23
22
  line-height: 1;
24
- content: '\f10e';
25
- display: inline-block;
26
- position: absolute;
27
- top: 0;
28
- left: 0;
29
- font-family: 'FontAwesome';
30
- font-size: 4rem;
31
- opacity: 0.15;
23
+ opacity: 0.2;
24
+ font-size: 12rem;
25
+ height: 55px;
26
+ font-family: #{getHeaderSettings(family, super)};
27
+ font-weight: getHeaderSettings(weight, super);
32
28
  font-style: normal;
33
29
  }
34
30
 
35
- @include breakpoint(medium down) {
36
- padding-top: 0.5625rem;
31
+ &:before {
32
+ content: '“';
33
+ float: left;
34
+ margin-left: -7px;
35
+ margin-top: -1.5rem;
36
+ padding-right: 1rem;
37
+ }
38
+
39
+ p:last-of-type:after {
40
+ content: '”';
41
+ float: right;
42
+ margin-right: -7px;
43
+ margin-top: .5rem;
44
+ padding-left: 1rem;
45
+ }
46
+
47
+ // override foundation
48
+ cite {
49
+ font-size: 1em;
37
50
 
38
51
  &:before {
39
- left: 0;
40
- top: 0;
52
+ display: none;
41
53
  }
42
54
  }
43
55
 
44
- @include breakpoint(mobile down) {
45
- padding-left: 0;
46
- padding-top: 2.5rem;
56
+ @include breakpoint(medium down) {
57
+ padding-top: 1rem;
58
+
59
+ &:before,
60
+ p:last-of-type:after {
61
+ font-size: 8rem;
62
+ height: 40px;
63
+ }
64
+
47
65
  &:before {
48
- font-size: 2.5rem;
66
+ margin-top: -0.5rem;
67
+ margin-left: -5px;
68
+ }
69
+
70
+ p:last-of-type:after {
71
+ margin-right: -5px;
72
+ margin-top: .2rem;
49
73
  }
50
74
  }
75
+
76
+ // @include breakpoint(mobile down) {
77
+ // padding-left: 0;
78
+ // padding-top: 2.5rem;
79
+ // &:before {
80
+ // font-size: 2.5rem;
81
+ // }
82
+ // }
51
83
  }
@@ -14,11 +14,11 @@ $cb-ns: '';
14
14
  }
15
15
 
16
16
  .#{$cb-ns}c-contact-bar .#{$cb-ns}c-contact-bar__heading {
17
- font-weight: bold;
17
+ @include headerStyle('h5', sub);
18
+
18
19
  margin: 0;
19
- line-height: 1.3;
20
20
  display: inline-block;
21
- font-size: 1.3rem;
21
+ text-transform: uppercase;
22
22
  }
23
23
 
24
24
  .#{$cb-ns}c-contact-bar .#{$cb-ns}c-contact-bar-items {
@@ -5,7 +5,20 @@
5
5
  */
6
6
 
7
7
  .c-content-block {
8
+ h1:not(:first-child),
9
+ h2:not(:first-child),
10
+ h3:not(:first-child),
11
+ h4:not(:first-child),
12
+ h5:not(:first-child),
13
+ h6:not(:first-child) {
14
+ margin-top: 1.333em;
15
+ }
16
+
8
17
  a {
9
18
  @include emphasizedAnchor();
10
19
  }
20
+
21
+ p {
22
+ @include fontFeatures();
23
+ }
11
24
  }
@@ -8,17 +8,18 @@
8
8
  background: $primary-color;
9
9
  position: absolute;
10
10
  top: 25px;
11
- left: -50px;
11
+ left: -55px;
12
12
  text-align: center;
13
- line-height: 50px;
14
- letter-spacing: 1px;
13
+ line-height: 40px;
15
14
  color: $secondary-color;
16
15
  transform: rotate(-45deg);
16
+
17
+ @include headerStyle('h3', main);
17
18
  }
18
19
 
19
20
  .c-corner-ribbon--top-right {
20
21
  top: 25px;
21
- right: -50px;
22
+ right: -55px;
22
23
  left: auto;
23
24
  transform: rotate(45deg);
24
25
  }
@@ -1,14 +1,14 @@
1
1
  $hb-ns: '';
2
2
 
3
3
  .#{$hb-ns}c-header-bar {
4
- background: $primary-color;
4
+ background: $ternary-color;
5
5
  }
6
6
 
7
7
  .#{$hb-ns}c-header-bar .#{$hb-ns}c-header-bar-divider {
8
8
  width: 100%;
9
9
  height: 1px;
10
10
  margin: 10px auto;
11
- background: $secondary-color;
11
+ background: $dark-gray;
12
12
 
13
13
  @include breakpoint(860px) {
14
14
  display: inline-block;
@@ -43,10 +43,14 @@ $hb-ns: '';
43
43
  display: inline-block;
44
44
  margin-left: 0;
45
45
 
46
- a:hover {
47
- text-decoration: underline;
48
- }
46
+ a {
47
+ color: $dark-gray;
49
48
 
49
+ &:hover {
50
+ color: $white;
51
+ text-decoration: underline;
52
+ }
53
+ }
50
54
  }
51
55
 
52
56
  .#{$hb-ns}c-header-bar {
@@ -37,5 +37,6 @@
37
37
  // fixes overflow
38
38
  iframe {
39
39
  float: left;
40
+ max-width: 100%;
40
41
  }
41
42
  }
@@ -2,10 +2,20 @@
2
2
  * Homepage banner image
3
3
  */
4
4
 
5
- .c-hp-banner {
5
+ .c-hp-banner {
6
6
  margin-top: 2rem;
7
7
 
8
8
  @include breakpoint(small down) {
9
9
  margin: 1.5rem 0;
10
10
  }
11
+
12
+ .c-hp-banner__media,
13
+ .c-hp-banner__link {
14
+ display: block;
15
+ }
16
+
17
+ .c-hp-banner__link {
18
+ border-bottom: 1px $primary-color solid;
19
+ padding-bottom: 1rem;
20
+ }
11
21
  }
@@ -2,10 +2,10 @@ $icon-ns: '';
2
2
 
3
3
  .#{$icon-ns}c-icon {
4
4
  font-size: 1.3rem;
5
- width: 40px;
6
- height: 40px;
7
- text-align: center;
8
- line-height: 40px;
5
+
6
+ &--big {
7
+ font-size: 1.5rem;
8
+ }
9
9
  }
10
10
 
11
11
  .#{$icon-ns}c-icon.#{$icon-ns}c-icon--facebook {
@@ -26,4 +26,8 @@ $icon-ns: '';
26
26
 
27
27
  .#{$icon-ns}c-icon.#{$icon-ns}c-icon--rounded {
28
28
  border-radius: 20px;
29
+ width: 40px;
30
+ height: 40px;
31
+ text-align: center;
32
+ line-height: 40px;
29
33
  }
@@ -0,0 +1,18 @@
1
+ .c-intention-map__header-wrap {
2
+ position: relative;
3
+ max-width: $global-width;
4
+ margin-left: auto;
5
+ margin-right: auto;
6
+ }
7
+
8
+ .c-intention-map__header {
9
+ position: absolute;
10
+ z-index: 2;
11
+ padding: 1rem 1.5rem .2rem;
12
+ background: transparentize($color: $body-background, $amount: .2);
13
+
14
+ @include breakpoint(small down) {
15
+ position: static;
16
+ text-align: center;
17
+ }
18
+ }
@@ -0,0 +1,7 @@
1
+ .c-member-list__item {
2
+ margin-bottom: 2rem;
3
+
4
+ @include breakpoint(medium) {
5
+ margin-bottom: 4rem;
6
+ }
7
+ }
@@ -9,6 +9,10 @@
9
9
  margin-bottom: 1rem;
10
10
  }
11
11
 
12
+ @include breakpoint(medium) {
13
+ margin-bottom: 2rem;
14
+ }
15
+
12
16
  .c-pagination__previous a,
13
17
  .c-pagination__next a {
14
18
  color: $button-color;
@@ -36,4 +40,5 @@
36
40
  .c-pagination__anchor {
37
41
  padding: $button-padding;
38
42
  color: $anchor-color;
43
+ display: block;
39
44
  }
@@ -0,0 +1,73 @@
1
+ .c-profile-badge {
2
+ height: 100%;
3
+ display: flex;
4
+ }
5
+
6
+ .c-profile-badge__anchor {
7
+ display: block;
8
+ }
9
+
10
+ .c-profile-badge__body {
11
+ display: flex;
12
+ flex-direction: column;
13
+ min-height: 100%;
14
+ }
15
+
16
+ .c-profile-badge__avatar {
17
+ padding-right: 1rem;
18
+ }
19
+
20
+ .c-profile-badge .c-profile-badge__image {
21
+ display: block;
22
+ }
23
+
24
+ .c-profile-badge__image--round {
25
+ border-radius: 50%;
26
+ }
27
+
28
+ .c-profile-badge__image--smaller {
29
+ width: 100px;
30
+ }
31
+
32
+ .c-profile-badge__headline {
33
+ margin-bottom: 0;
34
+ }
35
+
36
+ .c-profile-badge__desc {
37
+ margin-top: -.5rem;
38
+ margin-bottom: 0;
39
+ }
40
+
41
+ .c-profile-badge__contacts {
42
+ display: flex;
43
+ flex-grow: 1;
44
+ flex-direction: column;
45
+ justify-content: flex-end;
46
+ }
47
+
48
+ .c-profile-badge--bottomalign {
49
+ .c-profile-badge__contacts {
50
+ flex-grow: initial;
51
+ }
52
+
53
+ .c-profile-badge__body {
54
+ justify-content: flex-end;
55
+ }
56
+ }
57
+
58
+ .c-profile-badge--stacked {
59
+ + .c-profile-badge--stacked {
60
+ margin-top: 1rem;
61
+ }
62
+ }
63
+
64
+ .c-profile-badge--centered {
65
+ .c-profile-badge__body {
66
+ margin-top: auto;
67
+ margin-bottom: auto;
68
+ }
69
+
70
+ .c-profile-badge__contacts {
71
+ margin-top: 1rem;
72
+ }
73
+ }