jekyll-theme-pirati 1.2.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -17
  3. data/_data/menu.yml +53 -0
  4. data/_includes/candidate_badge.html +6 -15
  5. data/_includes/footer.html +92 -12
  6. data/_includes/head.html +24 -25
  7. data/_includes/header.html +14 -14
  8. data/_includes/js/main.html +71 -14
  9. data/_includes/menu.html +43 -51
  10. data/_includes/people/profile_badge.html +1 -3
  11. data/_includes/right-bar/bar_cal.html +4 -6
  12. data/_includes/right-bar/bar_fb.html +3 -3
  13. data/_includes/right-bar/bar_garant.html +3 -2
  14. data/_includes/right-bar/bar_people.html +21 -18
  15. data/_includes/right-bar/bar_person_contact.html +11 -55
  16. data/_includes/right-bar/rbar.html +3 -3
  17. data/_layouts/komunalni-volby.html +9 -7
  18. data/_sass/_base.scss +114 -1
  19. data/_sass/_settings.scss +1 -1
  20. data/_sass/components/BasicPage.scss +6 -1
  21. data/_sass/components/hero.scss +2 -2
  22. data/_sass/components/icon.scss +5 -1
  23. data/_sass/components/program.scss +5 -1
  24. data/_sass/components/top-bar.scss +236 -491
  25. data/_sass/components/top-sub-nav.scss +1 -1
  26. data/_sass/objects/media.scss +46 -38
  27. data/_sass/utilities/utilities.scss +6 -6
  28. data/assets/css/main.scss +40 -106
  29. data/assets/js/apps.js +8 -0
  30. data/assets/js/apps/scroll-top/ScrollTop.vue +83 -0
  31. data/assets/js/apps/scroll-top/index.js +9 -0
  32. data/assets/js/apps/site-search/SiteSearch.vue +85 -0
  33. data/assets/js/apps/site-search/SiteSearchItemTemplate.vue +29 -0
  34. data/assets/js/apps/site-search/index.js +14 -0
  35. data/assets/js/index.js +52 -0
  36. metadata +9 -91
  37. data/_includes/js/custom.js +0 -245
  38. data/_includes/js/fb.js +0 -15
  39. data/_includes/js/piwik.js +0 -11
  40. data/_includes/js/tw.js +0 -15
  41. data/_includes/people/item.html +0 -49
  42. data/_includes/people/list-2col.html +0 -24
  43. data/_includes/people/list-group.html +0 -12
  44. data/_includes/title/title_header.html +0 -9
  45. data/_sass/components/scroll-top.scss +0 -32
  46. data/_sass/components/welcome-header.scss +0 -188
  47. data/_sass/foundation/_global.scss +0 -638
  48. data/_sass/foundation/components/_accordion-menu.scss +0 -32
  49. data/_sass/foundation/components/_accordion.scss +0 -129
  50. data/_sass/foundation/components/_badge.scss +0 -55
  51. data/_sass/foundation/components/_breadcrumbs.scss +0 -95
  52. data/_sass/foundation/components/_button-group.scss +0 -195
  53. data/_sass/foundation/components/_button.scss +0 -265
  54. data/_sass/foundation/components/_callout.scss +0 -105
  55. data/_sass/foundation/components/_close-button.scss +0 -61
  56. data/_sass/foundation/components/_drilldown.scss +0 -79
  57. data/_sass/foundation/components/_dropdown-menu.scss +0 -221
  58. data/_sass/foundation/components/_dropdown.scss +0 -65
  59. data/_sass/foundation/components/_flex-video.scss +0 -63
  60. data/_sass/foundation/components/_flex.scss +0 -28
  61. data/_sass/foundation/components/_float.scss +0 -27
  62. data/_sass/foundation/components/_label.scss +0 -55
  63. data/_sass/foundation/components/_media-object.scss +0 -115
  64. data/_sass/foundation/components/_menu-icon.scss +0 -9
  65. data/_sass/foundation/components/_menu.scss +0 -314
  66. data/_sass/foundation/components/_off-canvas.scss +0 -177
  67. data/_sass/foundation/components/_orbit.scss +0 -193
  68. data/_sass/foundation/components/_pagination.scss +0 -162
  69. data/_sass/foundation/components/_progress-bar.scss +0 -64
  70. data/_sass/foundation/components/_reveal.scss +0 -172
  71. data/_sass/foundation/components/_slider.scss +0 -133
  72. data/_sass/foundation/components/_sticky.scss +0 -38
  73. data/_sass/foundation/components/_switch.scss +0 -232
  74. data/_sass/foundation/components/_table.scss +0 -234
  75. data/_sass/foundation/components/_tabs.scss +0 -165
  76. data/_sass/foundation/components/_thumbnail.scss +0 -54
  77. data/_sass/foundation/components/_title-bar.scss +0 -89
  78. data/_sass/foundation/components/_tooltip.scss +0 -104
  79. data/_sass/foundation/components/_top-bar.scss +0 -168
  80. data/_sass/foundation/components/_visibility.scss +0 -132
  81. data/_sass/foundation/forms/_checkbox.scss +0 -40
  82. data/_sass/foundation/forms/_error.scss +0 -84
  83. data/_sass/foundation/forms/_fieldset.scss +0 -54
  84. data/_sass/foundation/forms/_forms.scss +0 -34
  85. data/_sass/foundation/forms/_help-text.scss +0 -30
  86. data/_sass/foundation/forms/_input-group.scss +0 -128
  87. data/_sass/foundation/forms/_label.scss +0 -48
  88. data/_sass/foundation/forms/_meter.scss +0 -109
  89. data/_sass/foundation/forms/_progress.scss +0 -85
  90. data/_sass/foundation/forms/_range.scss +0 -144
  91. data/_sass/foundation/forms/_select.scss +0 -67
  92. data/_sass/foundation/forms/_text.scss +0 -163
  93. data/_sass/foundation/foundation.scss +0 -102
  94. data/_sass/foundation/grid/_classes.scss +0 -151
  95. data/_sass/foundation/grid/_column.scss +0 -126
  96. data/_sass/foundation/grid/_flex-grid.scss +0 -274
  97. data/_sass/foundation/grid/_grid.scss +0 -60
  98. data/_sass/foundation/grid/_gutter.scss +0 -34
  99. data/_sass/foundation/grid/_layout.scss +0 -51
  100. data/_sass/foundation/grid/_position.scss +0 -73
  101. data/_sass/foundation/grid/_row.scss +0 -95
  102. data/_sass/foundation/grid/_size.scss +0 -24
  103. data/_sass/foundation/settings/_settings.scss +0 -567
  104. data/_sass/foundation/typography/_alignment.scss +0 -22
  105. data/_sass/foundation/typography/_base.scss +0 -443
  106. data/_sass/foundation/typography/_helpers.scss +0 -77
  107. data/_sass/foundation/typography/_print.scss +0 -77
  108. data/_sass/foundation/typography/_typography.scss +0 -28
  109. data/_sass/foundation/util/_breakpoint.scss +0 -275
  110. data/_sass/foundation/util/_color.scss +0 -60
  111. data/_sass/foundation/util/_flex.scss +0 -68
  112. data/_sass/foundation/util/_mixins.scss +0 -235
  113. data/_sass/foundation/util/_selector.scss +0 -40
  114. data/_sass/foundation/util/_unit.scss +0 -90
  115. data/_sass/foundation/util/_util.scss +0 -11
  116. data/_sass/foundation/util/_value.scss +0 -107
  117. data/_sass/jquery-ui.scss +0 -1311
  118. data/_sass/main.scss +0 -41
  119. data/_sass/minima.scss +0 -51
  120. data/_sass/minima/_base.scss +0 -254
  121. data/_sass/minima/_layout.scss +0 -255
  122. data/_sass/minima/_syntax-highlighting.scss +0 -71
  123. data/_sass/scroll-top.scss +0 -31
  124. data/assets/js/common-libs.min.js +0 -1
  125. data/assets/js/custom.min.js +0 -1
  126. data/assets/snippet/profile.html +0 -19
data/_sass/main.scss DELETED
@@ -1,41 +0,0 @@
1
- @import 'settings';
2
-
3
- @import "foundation/foundation";
4
- @include foundation-everything;
5
-
6
- @import 'base';
7
- @import 'utilities/utilities';
8
-
9
- // Import Components
10
- @import 'components/program';
11
- @import 'components/BlogPosting';
12
- @import 'components/Person';
13
- @import 'components/BasicPage';
14
- @import 'components/vertical-navigation';
15
- @import 'components/icon';
16
- @import 'components/contact-bar';
17
- @import 'components/header-bar';
18
- @import 'components/top-bar';
19
- @import 'components/banner';
20
- @import 'components/top-sub-nav';
21
- @import 'components/widget-accordion';
22
- @import 'components/content-card';
23
- @import 'components/card';
24
- @import 'components/welcome-header';
25
- @import 'components/tag';
26
- @import 'components/widget-share-box';
27
- @import 'components/widget-simple-text';
28
- @import 'components/pagination';
29
- @import 'components/Slider';
30
- @import 'components/simple-accordion';
31
- @import 'components/hero';
32
- @import 'components/blockquote';
33
- @import 'components/cta-button';
34
-
35
- // Import Objects
36
- @import 'objects/section';
37
- @import 'objects/media';
38
- @import 'objects/space';
39
-
40
- // Custom
41
- @import 'scroll-top';
data/_sass/minima.scss DELETED
@@ -1,51 +0,0 @@
1
- @charset "utf-8";
2
-
3
- // Define defaults for each variable.
4
-
5
- $base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
6
- $base-font-size: 16px !default;
7
- $base-font-weight: 400 !default;
8
- $small-font-size: $base-font-size * 0.875 !default;
9
- $base-line-height: 1.5 !default;
10
-
11
- $spacing-unit: 30px !default;
12
-
13
- $text-color: #111 !default;
14
- $background-color: #fdfdfd !default;
15
- $brand-color: #2a7ae2 !default;
16
-
17
- $grey-color: #828282 !default;
18
- $grey-color-light: lighten($grey-color, 40%) !default;
19
- $grey-color-dark: darken($grey-color, 25%) !default;
20
-
21
- $table-text-align: left !default;
22
-
23
- // Width of the content area
24
- $content-width: 800px !default;
25
-
26
- $on-palm: 600px !default;
27
- $on-laptop: 800px !default;
28
-
29
- // Use media queries like this:
30
- // @include media-query($on-palm) {
31
- // .wrapper {
32
- // padding-right: $spacing-unit / 2;
33
- // padding-left: $spacing-unit / 2;
34
- // }
35
- // }
36
- @mixin media-query($device) {
37
- @media screen and (max-width: $device) {
38
- @content;
39
- }
40
- }
41
-
42
- @mixin relative-font-size($ratio) {
43
- font-size: $base-font-size * $ratio;
44
- }
45
-
46
- // Import partials.
47
- @import
48
- "minima/base",
49
- "minima/layout",
50
- "minima/syntax-highlighting"
51
- ;
@@ -1,254 +0,0 @@
1
- /**
2
- * Reset some basic elements
3
- */
4
- body, h1, h2, h3, h4, h5, h6,
5
- p, blockquote, pre, hr,
6
- dl, dd, ol, ul, figure {
7
- margin: 0;
8
- padding: 0;
9
- }
10
-
11
-
12
-
13
- /**
14
- * Basic styling
15
- */
16
- body {
17
- font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
18
- color: $text-color;
19
- background-color: $background-color;
20
- -webkit-text-size-adjust: 100%;
21
- -webkit-font-feature-settings: "kern" 1;
22
- -moz-font-feature-settings: "kern" 1;
23
- -o-font-feature-settings: "kern" 1;
24
- font-feature-settings: "kern" 1;
25
- font-kerning: normal;
26
- display: flex;
27
- min-height: 100vh;
28
- flex-direction: column;
29
- }
30
-
31
-
32
-
33
- /**
34
- * Set `margin-bottom` to maintain vertical rhythm
35
- */
36
- h1, h2, h3, h4, h5, h6,
37
- p, blockquote, pre,
38
- ul, ol, dl, figure,
39
- %vertical-rhythm {
40
- margin-bottom: $spacing-unit / 2;
41
- }
42
-
43
-
44
-
45
- /**
46
- * `main` element
47
- */
48
- main {
49
- display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
50
- }
51
-
52
-
53
-
54
- /**
55
- * Images
56
- */
57
- img {
58
- max-width: 100%;
59
- vertical-align: middle;
60
- }
61
-
62
-
63
-
64
- /**
65
- * Figures
66
- */
67
- figure > img {
68
- display: block;
69
- }
70
-
71
- figcaption {
72
- font-size: $small-font-size;
73
- }
74
-
75
-
76
-
77
- /**
78
- * Lists
79
- */
80
- ul, ol {
81
- margin-left: $spacing-unit;
82
- }
83
-
84
- li {
85
- > ul,
86
- > ol {
87
- margin-bottom: 0;
88
- }
89
- }
90
-
91
-
92
-
93
- /**
94
- * Headings
95
- */
96
- h1, h2, h3, h4, h5, h6 {
97
- font-weight: $base-font-weight;
98
- }
99
-
100
-
101
-
102
- /**
103
- * Links
104
- */
105
- a {
106
- color: $brand-color;
107
- text-decoration: none;
108
-
109
- &:visited {
110
- color: darken($brand-color, 15%);
111
- }
112
-
113
- &:hover {
114
- color: $text-color;
115
- text-decoration: underline;
116
- }
117
-
118
- .social-media-list &:hover {
119
- text-decoration: none;
120
-
121
- .username {
122
- text-decoration: underline;
123
- }
124
- }
125
- }
126
-
127
-
128
- /**
129
- * Blockquotes
130
- */
131
- blockquote {
132
- color: $grey-color;
133
- border-left: 4px solid $grey-color-light;
134
- padding-left: $spacing-unit / 2;
135
- @include relative-font-size(1.125);
136
- letter-spacing: -1px;
137
- font-style: italic;
138
-
139
- > :last-child {
140
- margin-bottom: 0;
141
- }
142
- }
143
-
144
-
145
-
146
- /**
147
- * Code formatting
148
- */
149
- pre,
150
- code {
151
- @include relative-font-size(0.9375);
152
- border: 1px solid $grey-color-light;
153
- border-radius: 3px;
154
- background-color: #eef;
155
- }
156
-
157
- code {
158
- padding: 1px 5px;
159
- }
160
-
161
- pre {
162
- padding: 8px 12px;
163
- overflow-x: auto;
164
-
165
- > code {
166
- border: 0;
167
- padding-right: 0;
168
- padding-left: 0;
169
- }
170
- }
171
-
172
-
173
-
174
- /**
175
- * Wrapper
176
- */
177
- .wrapper {
178
- max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
179
- max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
180
- margin-right: auto;
181
- margin-left: auto;
182
- padding-right: $spacing-unit;
183
- padding-left: $spacing-unit;
184
- @extend %clearfix;
185
-
186
- @include media-query($on-laptop) {
187
- max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
188
- max-width: calc(#{$content-width} - (#{$spacing-unit}));
189
- padding-right: $spacing-unit / 2;
190
- padding-left: $spacing-unit / 2;
191
- }
192
- }
193
-
194
-
195
-
196
- /**
197
- * Clearfix
198
- */
199
- %clearfix:after {
200
- content: "";
201
- display: table;
202
- clear: both;
203
- }
204
-
205
-
206
-
207
- /**
208
- * Icons
209
- */
210
-
211
- .svg-icon {
212
- width: 16px;
213
- height: 16px;
214
- display: inline-block;
215
- fill: #{$grey-color};
216
- padding-right: 5px;
217
- vertical-align: text-top;
218
- }
219
-
220
- .social-media-list {
221
- li + li {
222
- padding-top: 5px;
223
- }
224
- }
225
-
226
-
227
-
228
- /**
229
- * Tables
230
- */
231
- table {
232
- margin-bottom: $spacing-unit;
233
- width: 100%;
234
- text-align: $table-text-align;
235
- color: lighten($text-color, 18%);
236
- border-collapse: collapse;
237
- border: 1px solid $grey-color-light;
238
- tr {
239
- &:nth-child(even) {
240
- background-color: lighten($grey-color-light, 6%);
241
- }
242
- }
243
- th, td {
244
- padding: ($spacing-unit / 3) ($spacing-unit / 2);
245
- }
246
- th {
247
- background-color: lighten($grey-color-light, 3%);
248
- border: 1px solid darken($grey-color-light, 4%);
249
- border-bottom-color: darken($grey-color-light, 12%);
250
- }
251
- td {
252
- border: 1px solid $grey-color-light;
253
- }
254
- }
@@ -1,255 +0,0 @@
1
- /**
2
- * Site header
3
- */
4
- .site-header {
5
- border-top: 5px solid $grey-color-dark;
6
- border-bottom: 1px solid $grey-color-light;
7
- min-height: $spacing-unit * 1.865;
8
-
9
- // Positioning context for the mobile navigation icon
10
- position: relative;
11
- }
12
-
13
- .site-title {
14
- @include relative-font-size(1.625);
15
- font-weight: 300;
16
- line-height: $base-line-height * $base-font-size * 2.25;
17
- letter-spacing: -1px;
18
- margin-bottom: 0;
19
- float: left;
20
-
21
- &,
22
- &:visited {
23
- color: $grey-color-dark;
24
- }
25
- }
26
-
27
- .site-nav {
28
- float: right;
29
- line-height: $base-line-height * $base-font-size * 2.25;
30
-
31
- .nav-trigger {
32
- display: none;
33
- }
34
-
35
- .menu-icon {
36
- display: none;
37
- }
38
-
39
- .page-link {
40
- color: $text-color;
41
- line-height: $base-line-height;
42
-
43
- // Gaps between nav items, but not on the last one
44
- &:not(:last-child) {
45
- margin-right: 20px;
46
- }
47
- }
48
-
49
- @include media-query($on-palm) {
50
- position: absolute;
51
- top: 9px;
52
- right: $spacing-unit / 2;
53
- background-color: $background-color;
54
- border: 1px solid $grey-color-light;
55
- border-radius: 5px;
56
- text-align: right;
57
-
58
- label[for="nav-trigger"] {
59
- display: block;
60
- float: right;
61
- width: 36px;
62
- height: 36px;
63
- z-index: 2;
64
- cursor: pointer;
65
- }
66
-
67
- .menu-icon {
68
- display: block;
69
- float: right;
70
- width: 36px;
71
- height: 26px;
72
- line-height: 0;
73
- padding-top: 10px;
74
- text-align: center;
75
-
76
- > svg {
77
- fill: $grey-color-dark;
78
- }
79
- }
80
-
81
- input ~ .trigger {
82
- clear: both;
83
- display: none;
84
- }
85
-
86
- input:checked ~ .trigger {
87
- display: block;
88
- padding-bottom: 5px;
89
- }
90
-
91
- .page-link {
92
- display: block;
93
- padding: 5px 10px;
94
-
95
- &:not(:last-child) {
96
- margin-right: 0;
97
- }
98
- margin-left: 20px;
99
- }
100
- }
101
- }
102
-
103
-
104
-
105
- /**
106
- * Site footer
107
- */
108
- .site-footer {
109
- border-top: 1px solid $grey-color-light;
110
- padding: $spacing-unit 0;
111
- }
112
-
113
- .footer-heading {
114
- @include relative-font-size(1.125);
115
- margin-bottom: $spacing-unit / 2;
116
- }
117
-
118
- .contact-list,
119
- .social-media-list {
120
- list-style: none;
121
- margin-left: 0;
122
- }
123
-
124
- .footer-col-wrapper {
125
- @include relative-font-size(0.9375);
126
- color: $grey-color;
127
- margin-left: -$spacing-unit / 2;
128
- @extend %clearfix;
129
- }
130
-
131
- .footer-col {
132
- float: left;
133
- margin-bottom: $spacing-unit / 2;
134
- padding-left: $spacing-unit / 2;
135
- }
136
-
137
- .footer-col-1 {
138
- width: -webkit-calc(35% - (#{$spacing-unit} / 2));
139
- width: calc(35% - (#{$spacing-unit} / 2));
140
- }
141
-
142
- .footer-col-2 {
143
- width: -webkit-calc(20% - (#{$spacing-unit} / 2));
144
- width: calc(20% - (#{$spacing-unit} / 2));
145
- }
146
-
147
- .footer-col-3 {
148
- width: -webkit-calc(45% - (#{$spacing-unit} / 2));
149
- width: calc(45% - (#{$spacing-unit} / 2));
150
- }
151
-
152
- @include media-query($on-laptop) {
153
- .footer-col-1,
154
- .footer-col-2 {
155
- width: -webkit-calc(50% - (#{$spacing-unit} / 2));
156
- width: calc(50% - (#{$spacing-unit} / 2));
157
- }
158
-
159
- .footer-col-3 {
160
- width: -webkit-calc(100% - (#{$spacing-unit} / 2));
161
- width: calc(100% - (#{$spacing-unit} / 2));
162
- }
163
- }
164
-
165
- @include media-query($on-palm) {
166
- .footer-col {
167
- float: none;
168
- width: -webkit-calc(100% - (#{$spacing-unit} / 2));
169
- width: calc(100% - (#{$spacing-unit} / 2));
170
- }
171
- }
172
-
173
-
174
-
175
- /**
176
- * Page content
177
- */
178
- .page-content {
179
- padding: $spacing-unit 0;
180
- flex: 1;
181
- }
182
-
183
- .page-heading {
184
- @include relative-font-size(2);
185
- }
186
-
187
- .post-list-heading {
188
- @include relative-font-size(1.75);
189
- }
190
-
191
- .post-list {
192
- margin-left: 0;
193
- list-style: none;
194
-
195
- > li {
196
- margin-bottom: $spacing-unit;
197
- }
198
- }
199
-
200
- .post-meta {
201
- font-size: $small-font-size;
202
- color: $grey-color;
203
- }
204
-
205
- .post-link {
206
- display: block;
207
- @include relative-font-size(1.5);
208
- }
209
-
210
-
211
-
212
- /**
213
- * Posts
214
- */
215
- .post-header {
216
- margin-bottom: $spacing-unit;
217
- }
218
-
219
- .post-title {
220
- @include relative-font-size(2.625);
221
- letter-spacing: -1px;
222
- line-height: 1;
223
-
224
- @include media-query($on-laptop) {
225
- @include relative-font-size(2.25);
226
- }
227
- }
228
-
229
- .post-content {
230
- margin-bottom: $spacing-unit;
231
-
232
- h2 {
233
- @include relative-font-size(2);
234
-
235
- @include media-query($on-laptop) {
236
- @include relative-font-size(1.75);
237
- }
238
- }
239
-
240
- h3 {
241
- @include relative-font-size(1.625);
242
-
243
- @include media-query($on-laptop) {
244
- @include relative-font-size(1.375);
245
- }
246
- }
247
-
248
- h4 {
249
- @include relative-font-size(1.25);
250
-
251
- @include media-query($on-laptop) {
252
- @include relative-font-size(1.125);
253
- }
254
- }
255
- }