jekyll-theme-pirati 8.0.0.pre.alpha5 → 8.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +139 -3
  3. data/_data/parties.yml +7 -0
  4. data/_includes/article-box/article-box.html +15 -18
  5. data/_includes/article-box/list.html +11 -0
  6. data/_includes/candidate-badge.html +7 -10
  7. data/_includes/contact-line.html +1 -1
  8. data/_includes/header.html +2 -2
  9. data/_includes/hero/simple.html +1 -1
  10. data/_includes/page-header.html +1 -1
  11. data/_includes/party.html +15 -0
  12. data/_includes/people/profile-badge.html +1 -1
  13. data/_includes/program/list.html +9 -9
  14. data/_includes/right-bar/bar_board.html +19 -29
  15. data/_includes/right-bar/bar_fb.html +9 -19
  16. data/_includes/right-bar/bar_garant.html +2 -2
  17. data/_includes/right-bar/bar_kodo.html +11 -18
  18. data/_includes/right-bar/bar_map.html +25 -24
  19. data/_includes/right-bar/bar_page_contact.html +2 -12
  20. data/_includes/right-bar/bar_people.html +1 -1
  21. data/_includes/right-bar/bar_person_articles.html +1 -1
  22. data/_includes/right-bar/bar_profile.html +16 -12
  23. data/_includes/right-bar/bar_program.html +1 -1
  24. data/_includes/right-bar/bar_textbox.html +4 -12
  25. data/_includes/right-bar/bar_tw.html +2 -12
  26. data/_includes/right-bar/bar_video.html +12 -38
  27. data/_includes/right-bar/rbar.html +5 -4
  28. data/_includes/right-bar/rbar_profiles.html +1 -8
  29. data/_includes/social-icons.html +8 -0
  30. data/_layouts/blank-article.html +1 -1
  31. data/_layouts/communal-elections.html +2 -7
  32. data/_layouts/person.html +11 -2
  33. metadata +8 -71
  34. data/_includes/article-box/three-in-row.html +0 -22
  35. data/_includes/right-bar/bar_cal.html +0 -22
  36. data/_sass/_base.scss +0 -23
  37. data/_sass/_fonts.scss +0 -42
  38. data/_sass/_settings.scss +0 -688
  39. data/_sass/_sprites.scss +0 -0
  40. data/_sass/components/Slider.scss +0 -0
  41. data/_sass/components/academic-title.scss +0 -7
  42. data/_sass/components/article-card.scss +0 -41
  43. data/_sass/components/article-infobox.scss +0 -9
  44. data/_sass/components/article-listing.scss +0 -95
  45. data/_sass/components/banner.scss +0 -75
  46. data/_sass/components/blockquote.scss +0 -83
  47. data/_sass/components/card.scss +0 -154
  48. data/_sass/components/contact-bar.scss +0 -93
  49. data/_sass/components/content-block.scss +0 -24
  50. data/_sass/components/content-card.scss +0 -31
  51. data/_sass/components/corner-ribbon.scss +0 -25
  52. data/_sass/components/cta-button.scss +0 -54
  53. data/_sass/components/footer.scss +0 -5
  54. data/_sass/components/header-bar.scss +0 -118
  55. data/_sass/components/headline-media.scss +0 -42
  56. data/_sass/components/hero.scss +0 -164
  57. data/_sass/components/highlight.scss +0 -60
  58. data/_sass/components/hp-banner.scss +0 -21
  59. data/_sass/components/icon.scss +0 -33
  60. data/_sass/components/intention-map.scss +0 -23
  61. data/_sass/components/member-list.scss +0 -7
  62. data/_sass/components/metadata-block.scss +0 -29
  63. data/_sass/components/multicolumn.scss +0 -25
  64. data/_sass/components/pagination.scss +0 -44
  65. data/_sass/components/person.scss +0 -9
  66. data/_sass/components/profile-badge.scss +0 -74
  67. data/_sass/components/program.scss +0 -150
  68. data/_sass/components/region.scss +0 -83
  69. data/_sass/components/simple-accordion.scss +0 -80
  70. data/_sass/components/suggest-improvement.scss +0 -10
  71. data/_sass/components/tag.scss +0 -29
  72. data/_sass/components/tile.scss +0 -20
  73. data/_sass/components/top-bar.scss +0 -202
  74. data/_sass/components/top-sub-nav.scss +0 -81
  75. data/_sass/components/typography.scss +0 -85
  76. data/_sass/components/vertical-navigation.scss +0 -67
  77. data/_sass/components/widget-accordion.scss +0 -109
  78. data/_sass/components/widget-share-box.scss +0 -117
  79. data/_sass/components/widget-simple-text.scss +0 -15
  80. data/_sass/layouts/_cast.scss +0 -262
  81. data/_sass/layouts/_kandidatka.scss +0 -78
  82. data/_sass/objects/media.scss +0 -35
  83. data/_sass/objects/section.scss +0 -211
  84. data/_sass/objects/space.scss +0 -7
  85. data/_sass/pirati.scss +0 -58
  86. data/_sass/utilities/header-styles.scss +0 -16
  87. data/_sass/utilities/utilities.scss +0 -139
  88. data/assets/css/main.scss +0 -3
  89. data/assets/fonts/BebasNeue-Thin.ttf +0 -0
  90. data/assets/fonts/BebasNeue-Thin.woff +0 -0
  91. data/assets/fonts/BebasNeueBold.ttf +0 -0
  92. data/assets/fonts/BebasNeueBold.woff +0 -0
  93. data/assets/fonts/BebasNeueBook.ttf +0 -0
  94. data/assets/fonts/BebasNeueBook.woff +0 -0
  95. data/assets/fonts/BebasNeueLight.ttf +0 -0
  96. data/assets/fonts/BebasNeueLight.woff +0 -0
  97. data/assets/fonts/BebasNeueRegular.ttf +0 -0
  98. data/assets/fonts/BebasNeueRegular.woff +0 -0
  99. data/assets/fonts/demo.html +0 -311
  100. data/assets/fonts/stylesheet.css +0 -40
@@ -1,83 +0,0 @@
1
- .pk-election-crossroad .pk-election-crossroad__place {
2
- display: flex;
3
- height: 100%;
4
- padding-bottom: 2.5rem;
5
- }
6
-
7
- .pk-election-crossroad .pk-election-crossroad__place-body {
8
- display: flex;
9
- height: 100%;
10
- width: 100%;
11
- }
12
-
13
- .pk-election-crossroad__coa {
14
- display: flex;
15
- align-items: center;
16
- max-width: 6rem;
17
- min-width: 6rem;
18
- background: #fff;
19
- padding: 1rem;
20
- border: 2px $light-gray solid;
21
- }
22
-
23
- .pk-election-crossroad__link {
24
- display: inline-block;
25
-
26
- .fa {
27
- color: $dark-gray;
28
- }
29
-
30
- @include breakpoint(small down) {
31
- display: block;
32
- }
33
- }
34
-
35
- .pk-election-crossroad__link + .pk-election-crossroad__link {
36
- margin-left: 1rem;
37
-
38
- @include breakpoint(small down) {
39
- margin-left: 0;
40
- }
41
- }
42
-
43
- .pce-hero {
44
- padding: 4rem 1rem;
45
- text-align: center;
46
-
47
- &--entry {
48
- padding: 6rem 2rem 3rem;
49
- }
50
-
51
- @include breakpoint(medium up) {
52
- padding: 6rem 2rem;
53
-
54
- &--entry {
55
- padding: 10rem 2rem 6rem;
56
- }
57
- }
58
- }
59
-
60
- .pce-hero__content {
61
- margin: auto;
62
- max-width: 60em;
63
- }
64
-
65
- .pce-hero__cta {
66
- margin-top: 2rem;
67
- display: flex;
68
- flex-direction: column;
69
-
70
- @include breakpoint(medium up) {
71
- margin-top: 4rem;
72
- flex-direction: row;
73
- justify-content: center;
74
- }
75
- }
76
-
77
- .pce-hero__cta-item {
78
- margin: .5rem 0;
79
-
80
- @include breakpoint(medium up) {
81
- margin: 0 1rem;
82
- }
83
- }
@@ -1,80 +0,0 @@
1
- .c-simple-accordion {
2
- border: 0 !important; // Because of Foundation's bloat
3
- @include accordion-container;
4
-
5
- &.c-simple-accordion--nomargin {
6
- margin-bottom: 0;
7
-
8
- :last-child > .c-simple-accordion-content:last-child {
9
- padding-bottom: 0;
10
- }
11
- }
12
- }
13
-
14
- .c-simple-accordion-item {
15
- &:before {
16
- content: '' !important;
17
- display: none !important;
18
- }
19
- @include accordion-item;
20
- }
21
-
22
- .c-simple-accordion-title {
23
- @include accordion-title;
24
- display: block;
25
- padding-left: 2.5rem;
26
- border: 0; // override accordion-title
27
-
28
- &:hover,
29
- &:focus {
30
- color: $body-font-color;
31
- background: $white;
32
- }
33
-
34
- &:before {
35
- display: inline-block;
36
- width: 22px;
37
- height: 22px;
38
- line-height: 22px;
39
- right: auto;
40
- left: 0;
41
- margin-top: auto;
42
- transform: translateY(-50%);
43
- color: #fff;
44
- background: $primary-color;
45
- font-size: 1.75rem;
46
- text-align: center;
47
- }
48
- }
49
-
50
- .c-simple-accordion__headline {
51
- margin: 0;
52
-
53
- @include headerStyle('h2', alt);
54
- }
55
-
56
- .c-simple-accordion-content {
57
- border: 0 !important; // Because of Foundation's bloat, again
58
- @include accordion-content;
59
- padding-top: 1rem;
60
- padding-bottom: 1rem;
61
- padding-left: 0;
62
- padding-right: 0;
63
-
64
- h3 {
65
- color: $primary-color;
66
- font-size: 1.45rem;
67
- margin-bottom: 1.2em;
68
- }
69
- }
70
-
71
- .c-simple-accordion-content-block + .c-simple-accordion-content-block {
72
- margin-top: 3rem;
73
- @include breakpoint(mobile down) {
74
- margin-top: 2rem;
75
- }
76
- }
77
-
78
- :last-child:not(.is-active) > .c-simple-accordion-title {
79
- border: none;
80
- }
@@ -1,10 +0,0 @@
1
- .c-suggest-improvement {
2
- float: right;
3
- padding: .25em .5em;
4
- background: lighten($primary-color, 10%);
5
- color: $dark-gray;
6
-
7
- &:hover {
8
- color: $light-gray;
9
- }
10
- }
@@ -1,29 +0,0 @@
1
- .c-tag {
2
- font-size: 0.85rem;
3
- color: $primary-color;
4
- border: 1px solid $primary-color;
5
- display: inline-block;
6
- text-decoration: none;
7
- padding: 0 .3rem;
8
- background: $secondary-color;
9
- }
10
-
11
- .c-tag:hover,
12
- .c-tag.is-active {
13
- background: $primary-color;
14
- color: $secondary-color;
15
- }
16
-
17
- .c-tag-list {
18
- display: inline-block;
19
- list-style-type: none;
20
- margin: 0;
21
-
22
- .c-tag-list__item {
23
- display: inline-block;
24
- }
25
-
26
- .c-tag-list__item + .c-tag-list__item {
27
- margin-left: 0.5rem;
28
- }
29
- }
@@ -1,20 +0,0 @@
1
- .c-tile {
2
- // border: 3px $primary-color solid;
3
-
4
- &.c-tile--fill {
5
- background: $light-gray;
6
- }
7
-
8
- &.c-tile--inverted.c-tile--fill {
9
- color: $secondary-color;
10
- background: $primary-color;
11
- }
12
- }
13
-
14
- .c-tile__body {
15
- padding: 1.25em;
16
- }
17
-
18
- .c-tile + .c-tile {
19
- margin-top: 1.5rem;
20
- }
@@ -1,202 +0,0 @@
1
- .c-search {
2
- display: flex;
3
- align-items: center;
4
- border-bottom: 3px $primary-color solid;
5
- }
6
-
7
- .c-search__input {
8
- border: 0;
9
- margin: 0;
10
- box-shadow: none;
11
-
12
- &:focus {
13
- border: 0;
14
- box-shadow: none;
15
- }
16
- }
17
-
18
- .c-search__confirm {
19
- padding: 0em 1em;
20
- font-size: 1.1rem;
21
- }
22
-
23
- .c-responsive-menu-toggle {
24
- display: inline-block;
25
- font-size: 1.15rem;
26
- border: 1px solid $dark-gray;
27
- transition: border .2s;
28
- }
29
- .c-responsive-menu-toogle__button {
30
- display: flex;
31
- align-items: center;
32
- padding: 0.7rem 1.25rem;
33
- color: $dark-gray;
34
- }
35
-
36
- .c-responsive-menu-toggle__caption {
37
- margin-right: .25rem;
38
- text-transform: uppercase;
39
- }
40
-
41
- .c-responsive-menu {
42
- display: block;
43
- padding: .5rem 0;
44
-
45
- @include breakpoint(medium down) {
46
- position: absolute;
47
- top: 100%;
48
- left: 0;
49
- z-index: 10;
50
- background: $light-gray;
51
- border-bottom: 3px $primary-color solid;
52
- width: 100%;
53
- }
54
- }
55
-
56
- .c-responsive-menu__items {
57
- list-style-type: none;
58
- margin: 0;
59
- }
60
-
61
- .c-responsive-menu__item {
62
- display: inline-block;
63
-
64
- @include breakpoint(medium down) {
65
- display: block;
66
- }
67
-
68
- @include breakpoint(small down) {
69
- text-align: center;
70
- }
71
- }
72
-
73
- .c-responsive-menu__item a {
74
- @include headerStyle('h5', sub);
75
-
76
- display: block;
77
- position: relative;
78
- color: $dark-gray;
79
- margin: 0.7rem 1rem 0;
80
- padding: 4px .25em 0; // 4px to compensate for font
81
- transition: all .1s ease-in-out;
82
- text-transform: uppercase;
83
- letter-spacing: .01em;
84
-
85
- @include breakpoint(medium down) {
86
- padding: 1rem 1.8rem;
87
- color: $primary-color;
88
- }
89
- }
90
-
91
- // Highlight active item in the menu.
92
- .c-responsive-menu__item a:hover,
93
- .c-responsive-menu__item--active a {
94
- @include breakpoint(large) {
95
- color: $secondary-color;
96
- }
97
- }
98
-
99
- .c-top-bar {
100
- background: $ternary-color;
101
- color: $secondary-color;
102
- padding-bottom: .25rem;
103
- position: relative;
104
- }
105
-
106
- .c-top-bar__body {
107
- display: flex;
108
- align-items: center;
109
- justify-content: space-between;
110
-
111
- @include breakpoint(medium down) {
112
- padding: 0 0 .5rem;
113
- }
114
- }
115
-
116
- // Brand goes first.
117
- .c-top-bar__brand {
118
- order: 1;
119
- width: 130px; // a little bit bigger on large screens
120
- flex-shrink: 0;
121
- display: flex;
122
- align-items: center;
123
- margin-right: 1.5rem;
124
-
125
- @include breakpoint(medium down) {
126
- width: 115px;
127
- }
128
- }
129
-
130
- .c-top-bar__brand-link {
131
- width: 100%;
132
- }
133
-
134
- .c-top-bar__brand-image {
135
- width: 100%;
136
- }
137
-
138
- // Responsive menu is second.
139
- .c-top-bar .c-responsive-menu {
140
- order: 2;
141
- }
142
-
143
- // Search is last.
144
- .c-top-bar__search {
145
- order: 3;
146
-
147
- @include breakpoint(large) {
148
- flex: 1; // search spreads to available space
149
- max-width: 200px; // ... but max 200px
150
- margin-left: auto;
151
- }
152
-
153
- @include breakpoint(medium down) {
154
- flex: 1;
155
- margin-right: 1.5rem;
156
- }
157
-
158
- @include breakpoint(small down) {
159
- display: none;
160
- }
161
-
162
- .c-top-bar__search-container {
163
- border-color: $dark-gray;
164
- border-width: 1px;
165
-
166
- @include breakpoint(large) {
167
- margin: 1rem 0;
168
- }
169
-
170
- // On large screen, search confirm is at the very right of the container.
171
- // @see: order: 3.
172
- .c-top-bar__search-confirm {
173
- cursor: default;
174
- color: $dark-gray;
175
-
176
- @include breakpoint(large) {
177
- padding-right: 0;
178
- }
179
- }
180
-
181
- .c-top-bar__search-input {
182
- background: $ternary-color;
183
- appearance: textfield;
184
- color: $white;
185
-
186
- &::placeholder {
187
- color: $dark-gray;
188
- opacity: 1;
189
- }
190
-
191
- &:focus {
192
- background: $ternary-color;
193
- }
194
- }
195
- }
196
- }
197
-
198
-
199
- .c-top-bar .c-responsive-menu-toggle {
200
- order: 4;
201
- }
202
-
@@ -1,81 +0,0 @@
1
- $tsb-ns: '';
2
-
3
- .c-top-sub-nav .c-top-sub-nav-inner {
4
- display: flex;
5
- padding-top: 1rem;
6
- padding-bottom: 1rem;
7
- overflow-y: hidden;
8
- align-items: center;
9
-
10
- @include breakpoint(mobile down) {
11
- text-align: center;
12
- flex-direction: column;
13
- }
14
-
15
- // This matches .o-section and .c-page-header padding which is stripped in this case.
16
- @include breakpoint(medium) {
17
- min-height: 4rem;
18
- }
19
- }
20
-
21
- .c-top-sub-nav .c-top-sub-nav__heading {
22
-
23
- margin: 0;
24
- }
25
-
26
- .c-top-sub-nav .c-top-sub-nav-divider {
27
- margin: 0 2rem;
28
-
29
- &:before {
30
- content: '\f105';
31
- font-family: 'FontAwesome';
32
- font-size: 1.3rem;
33
- }
34
-
35
- @include breakpoint(mobile down) {
36
- display: block;
37
-
38
- &:before {
39
- content: '\f107';
40
- margin-left: -7px;
41
- }
42
- }
43
- }
44
-
45
- .c-top-sub-nav .c-top-sub-nav__heading,
46
- .c-top-sub-nav .c-top-sub-nav__item {
47
- font-size: 1.15rem;
48
- font-weight: map-get(map-get($text, weight), default);
49
- font-family: $body-font-family;
50
- }
51
-
52
- .c-top-sub-nav-items {
53
- list-style-type: none;
54
- margin-left: 0;
55
- margin-bottom: 0;
56
- }
57
-
58
- .c-top-sub-nav__item {
59
- display: inline-block;
60
- margin-left: 0;
61
-
62
- a {
63
- text-decoration: underline;
64
- }
65
-
66
- @include breakpoint(mobile down) {
67
- display: block;
68
- }
69
- }
70
- .c-top-sub-nav__item +
71
- .c-top-sub-nav__item {
72
- margin-left: 2rem;
73
-
74
- @include breakpoint(medium down) {
75
- margin-left: 1rem;
76
- }
77
-
78
- @include breakpoint(mobile down) {
79
- margin: 0;
80
- }
81
- }