jekyll-theme-pirati 3.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/_data/members.yml +9 -0
  3. data/_includes/accordeon/accordeon.html +1 -3
  4. data/_includes/articles/author.html +8 -0
  5. data/_includes/articles/horizontal-article.html +48 -0
  6. data/_includes/articles/list-responsive.html +9 -0
  7. data/_includes/articles/pagination.html +23 -23
  8. data/_includes/articles/vertical-article.html +51 -0
  9. data/_includes/candidate-badge.html +14 -0
  10. data/_includes/contacts/basic-contacts.html +33 -0
  11. data/_includes/contacts/{residance.html → residence.html} +4 -4
  12. data/_includes/footer.html +13 -13
  13. data/_includes/head.html +22 -22
  14. data/_includes/header.html +1 -1
  15. data/_includes/headline-image.html +3 -2
  16. data/_includes/js/main.html +3 -3
  17. data/_includes/menu.html +1 -1
  18. data/_includes/page-header.html +12 -0
  19. data/_includes/people/list-group.html +7 -9
  20. data/_includes/people/list-responsive.html +13 -0
  21. data/_includes/people/profile-badge.html +44 -31
  22. data/_includes/right-bar/bar_cal.html +2 -3
  23. data/_includes/right-bar/bar_foto.html +2 -5
  24. data/_includes/right-bar/bar_garant.html +2 -4
  25. data/_includes/right-bar/bar_people.html +5 -7
  26. data/_includes/right-bar/bar_person_contact.html +8 -10
  27. data/_includes/right-bar/bar_program.html +10 -12
  28. data/_includes/right-bar/bar_video.html +1 -1
  29. data/_includes/right-bar/rbar.html +0 -11
  30. data/_includes/submenu.html +1 -1
  31. data/_layouts/contacts.html +3 -3
  32. data/_layouts/default.html +1 -1
  33. data/_layouts/komunalni-volby.html +47 -51
  34. data/_layouts/members.html +26 -0
  35. data/_layouts/page.html +9 -23
  36. data/_layouts/post.html +33 -42
  37. data/_layouts/program-post.html +5 -0
  38. data/_sass/_base.scss +0 -120
  39. data/_sass/_settings.scss +4 -4
  40. data/_sass/components/article-listing.scss +51 -0
  41. data/_sass/components/blockquote.scss +5 -7
  42. data/_sass/components/hp-banner.scss +11 -0
  43. data/_sass/components/pagination.scss +28 -7
  44. data/_sass/components/program.scss +24 -49
  45. data/_sass/components/simple-accordion.scss +16 -23
  46. data/_sass/components/top-bar.scss +18 -50
  47. data/_sass/components/typography.scss +15 -2
  48. data/_sass/components/vertical-navigation.scss +1 -3
  49. data/_sass/components/widget-accordion.scss +54 -208
  50. data/_sass/objects/media.scss +21 -54
  51. data/_sass/objects/section.scss +1 -5
  52. data/_sass/utilities/utilities.scss +18 -90
  53. data/assets/css/main.scss +2 -6
  54. data/assets/{favicon → img/favicon}/apple-touch-icon-114x114.png +0 -0
  55. data/assets/{favicon → img/favicon}/apple-touch-icon-120x120.png +0 -0
  56. data/assets/{favicon → img/favicon}/apple-touch-icon-144x144.png +0 -0
  57. data/assets/{favicon → img/favicon}/apple-touch-icon-152x152.png +0 -0
  58. data/assets/{favicon → img/favicon}/apple-touch-icon-57x57.png +0 -0
  59. data/assets/{favicon → img/favicon}/apple-touch-icon-60x60.png +0 -0
  60. data/assets/{favicon → img/favicon}/apple-touch-icon-72x72.png +0 -0
  61. data/assets/{favicon → img/favicon}/apple-touch-icon-76x76.png +0 -0
  62. data/assets/{favicon/favicon-128.png → img/favicon/favicon-128x128.png} +0 -0
  63. data/assets/{favicon → img/favicon}/favicon-16x16.png +0 -0
  64. data/assets/{favicon → img/favicon}/favicon-196x196.png +0 -0
  65. data/assets/{favicon → img/favicon}/favicon-32x32.png +0 -0
  66. data/assets/{favicon → img/favicon}/favicon-96x96.png +0 -0
  67. data/assets/{favicon → img/favicon}/favicon.ico +0 -0
  68. data/assets/{favicon → img/favicon}/mstile-144x144.png +0 -0
  69. data/assets/{favicon → img/favicon}/mstile-150x150.png +0 -0
  70. data/assets/{favicon → img/favicon}/mstile-310x150.png +0 -0
  71. data/assets/{favicon → img/favicon}/mstile-310x310.png +0 -0
  72. data/assets/{favicon → img/favicon}/mstile-70x70.png +0 -0
  73. data/assets/js/{0.main.98ff15822eba72edef32.js → 0.main.e640f60e727337dacf2d.js} +0 -0
  74. data/assets/js/{0.main.98ff15822eba72edef32.js.map → 0.main.e640f60e727337dacf2d.js.map} +1 -1
  75. data/assets/js/main.e640f60e727337dacf2d.css +3 -0
  76. data/assets/js/main.e640f60e727337dacf2d.css.map +1 -0
  77. data/assets/js/{main.98ff15822eba72edef32.js → main.e640f60e727337dacf2d.js} +0 -0
  78. data/assets/js/{main.98ff15822eba72edef32.js.map → main.e640f60e727337dacf2d.js.map} +1 -1
  79. metadata +41 -45
  80. data/_includes/articles/featured_article.html +0 -56
  81. data/_includes/articles/hp_article.html +0 -41
  82. data/_includes/articles/list_3col.html +0 -22
  83. data/_includes/articles/standard_article.html +0 -47
  84. data/_includes/candidate_badge.html +0 -16
  85. data/_includes/contacts/basic_contacts.html +0 -34
  86. data/_includes/people/list-2col.html +0 -28
  87. data/_includes/right-bar/bar_list.html +0 -48
  88. data/_includes/right-bar/bar_otevrenost.html +0 -29
  89. data/_includes/right-bar/bar_teams_summary.html +0 -30
  90. data/_includes/right-bar/bar_teams_toc.html +0 -31
  91. data/_includes/right-bar/bar_toc.html +0 -77
  92. data/_layouts/team.html +0 -45
  93. data/_sass/components/BlogPosting.scss +0 -276
  94. data/_sass/components/pripoj-se.scss +0 -97
  95. data/assets/js/main.98ff15822eba72edef32.css +0 -3
  96. data/assets/js/main.98ff15822eba72edef32.css.map +0 -1
  97. data/assets/people/piratska-strana.png +0 -0
  98. data/assets/people/ppp.jpg +0 -0
@@ -0,0 +1,26 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% include page-header.html headline=page.title content=content %}
6
+
7
+ {% if site.data.members.viewMode == 'grouped' %}
8
+ {% for group in site.data.members.groups %}
9
+ <div class="row o-section-block o-section-block--divided">
10
+ <section class="large-12 columns">
11
+ {% assign team = site.people | where_exp: "item", "item.categories contains group.category" %}
12
+ {% if group.sort %}
13
+ {% assign team = team | sort: group.sort %}
14
+ {% endif %}
15
+ {% include people/list-group.html team=team teamName=group.name teamShortcut=group.category %}
16
+ </section>
17
+ {% unless forloop.last %}<hr>{% endunless %}
18
+ </div>
19
+ {% endfor %}
20
+ {% else %}
21
+ <div class="row o-section-block o-section-block--divided">
22
+ <section class="large-12 columns">
23
+ {% include people/list-responsive.html team=site.people %}
24
+ </section>
25
+ </div>
26
+ {% endif %}
@@ -7,29 +7,15 @@ layout: default
7
7
  {% endunless %}
8
8
 
9
9
  <div class="row">
10
- <div class="medium-12
11
- {% if page.rbar == empty or page.rbar == blank or page.rbar == nil %}
12
- large-12
13
- {% else%}
14
- large-8
15
- {%endif%} columns">
16
- <div class="o-section o-section--spaceBot">
17
- <div class="o-section-inner">
18
- <main class="o-section-block">
19
- <!-- Article -->
20
- <article itemtype="http://schema.org/BlogPosting" itemscope="">
21
- <link itemprop="mainEntityOfPage" href="{{ page.url }}">
22
- <h1 itemprop="headline" class="c-page-title">
23
- {% if page.fullname %}{{ page.fullname }}{% else %}{{ page.title }}{% endif %}
24
- </h1>
25
- <div itemprop="description">
26
- {{ content }}
27
- </div>
28
- </article>
29
- <!-- /Article -->
30
- </main>
31
- </div>
32
- </div>
10
+ <div class="medium-12 {% unless page.rbar == empty or page.rbar == blank or page.rbar == nil %} large-8{% endunless %} columns">
11
+
12
+ <!-- Article -->
13
+ <article itemtype="http://schema.org/BlogPosting" itemscope="">
14
+ <link itemprop="mainEntityOfPage" href="{{ page.url }}">
15
+ {% capture headline %}{% if page.fullname %}{{ page.fullname }}{% else %}{{ page.title }}{% endif %}{% endcapture %}
16
+ {% include page-header.html headline=page.title content=content %}
17
+ </article>
18
+ <!-- /Article -->
33
19
  </div>
34
20
  {% unless page.rbar == empty or page.rbar == blank or page.rbar == nil %}
35
21
  <div class="medium-12 large-4 columns">
@@ -6,50 +6,41 @@ layout: default
6
6
  <div class="row">
7
7
  <div class="medium-12 columns">
8
8
  <div class="o-section o-section--noSpaceBottom">
9
- <div class="">
10
- <div class="o-section-block o-section-block--fill">
11
- <div class="o-section-inner">
12
- <div class="medium-12 columns">
13
- <!-- Article -->
14
- <link itemprop="mainEntityOfPage" href="{{ page.url | absolute_url }}">
15
- <header class="c-page-header">
16
- <h1 itemprop="headline" class="c-page-title"> {{ page.title }} </h1>
17
- <div class="c-metadata-block">
18
- <div class="c-metadata-block-section">
19
- <span itemprop="description" class="c-metadata-block-section__item">
20
- <i class="fa fa-calendar-o" aria-hidden="true"></i> {{ page.date | date: "%d. %m. %Y" }}
21
- <meta itemprop="datePublished" content="{{page.date | date_to_xmlschema }}">
22
- <meta itemprop="dateModified" content="">
9
+ <div class="o-section-block o-section-block--fill">
10
+ <div class="o-section-inner">
11
+ <div class="medium-12 columns">
12
+ <!-- Article -->
13
+ <link itemprop="mainEntityOfPage" href="{{ page.url | absolute_url }}">
14
+ <header class="c-page-header">
15
+ <h1 itemprop="headline" class="c-page-title"> {{ page.title }} </h1>
16
+ <div class="c-metadata-block">
17
+ <div class="c-metadata-block-section">
18
+ <span itemprop="description" class="c-metadata-block-section__item">
19
+ <i class="fa fa-calendar-o" aria-hidden="true"></i> {{ page.date | date: "%d. %m. %Y" }}
20
+ <meta itemprop="datePublished" content="{{page.date | date_to_xmlschema }}">
21
+ <meta itemprop="dateModified" content="">
22
+ </span>
23
+ <!-- Authors -->
24
+ <span itemprop="author" itemtype="http://schema.org/Person" class="c-metadata-block-section__item" itemscope="">
25
+ <i class="fa fa-user" aria-hidden="true"></i>
26
+ <span itemprop="name">
27
+ {% include articles/author.html article=page %}
23
28
  </span>
24
- <!-- Authors -->
25
- <span itemprop="author" itemtype="http://schema.org/Person" class="c-metadata-block-section__item" itemscope="">
26
- <i class="fa fa-user" aria-hidden="true"></i>
27
- <span itemprop="name" class="c-BlogPosting-excerpt__author">
28
- {% if page.authorId %}
29
- {% assign author = site.people | where_exp:"item","item.uid contains page.authorId" | first %}
30
- <a href={{author.url}}>
31
- {{author.name}}
32
- </a>
33
- {% else %}
34
- {{ page.author }}
35
- {% endif %}
36
- </span>
37
- </span>
38
- </div>
39
- {% if page.tags %}
40
- <div class="c-metadata-block-section">
41
- <ul class="c-tag-list">
42
- {% for tag in page.tags %}
43
- <li class="c-tag-list__item">
44
- <a href="{{ tag | prepend: '/tags/#' | relative_url }}" class="c-tag">{{ tag }}</a>
45
- </li>
46
- {% endfor %}
47
- </ul>
48
- </div>
49
- {% endif %}
29
+ </span>
50
30
  </div>
51
- </header>
52
- </div>
31
+ {% if page.tags %}
32
+ <div class="c-metadata-block-section">
33
+ <ul class="c-tag-list">
34
+ {% for tag in page.tags %}
35
+ <li class="c-tag-list__item">
36
+ <a href="{{ tag | prepend: '/tags/#' | relative_url }}" class="c-tag">{{ tag }}</a>
37
+ </li>
38
+ {% endfor %}
39
+ </ul>
40
+ </div>
41
+ {% endif %}
42
+ </div>
43
+ </header>
53
44
  </div>
54
45
  </div>
55
46
  </div>
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+
5
+ <div class="c-emphasized-text c-program-page">{{ content }}</div>
@@ -16,123 +16,3 @@ html, body {
16
16
  }
17
17
 
18
18
  }
19
-
20
- hr {
21
- max-width: none;
22
- border: 0;
23
- height: 1px;
24
- background: #f3f3f3;
25
- }
26
-
27
- .pricing-table {
28
-
29
- border: solid 1px #DDDDDD;
30
- background: #eee}
31
-
32
- .pricing-table li {
33
-
34
- border-bottom: dotted 1px #DDDDDD;
35
-
36
- // font-size: 0.75rem;
37
-
38
- padding: 0.875rem 1.125rem; }
39
-
40
- .pricing-table li:last-child {
41
-
42
- border-bottom: 0; }
43
-
44
- .pricing-table .title {
45
-
46
- background-color: red;
47
-
48
- color: #EEEEEE;
49
-
50
- font-size: 0.875rem;
51
-
52
- border-bottom: 0; }
53
-
54
- .pricing-table .price {
55
-
56
- color: #333333;
57
-
58
- font-size: 1.75rem;
59
-
60
- border-bottom: 0; }
61
-
62
- .pricing-table .description {
63
-
64
- color: #777777;
65
-
66
- // font-size: 0.625rem;
67
- }
68
-
69
- .pricing-table .small {
70
-
71
- color: #777777;
72
- font-size: 0.625rem;
73
- text-align:right;
74
- }
75
-
76
- #mc_embed_signup label {
77
- font-size: 1rem;
78
-
79
-
80
- }
81
-
82
- .pricing-table .button {
83
-
84
- margin: 0; }
85
-
86
- .pricing-table .pricing-table-header-img {
87
-
88
- padding:0px;margin:0px;height:98px;
89
- background-position: 55% 0px;
90
- background-repeat:no-repeat;
91
- }
92
-
93
- #tabs {
94
- padding: 0px;
95
- background: none;
96
- border-width: 0px;
97
- }
98
- #tabs .ui-tabs-nav {
99
- padding-left: 0px;
100
- background: transparent;
101
- border-width: 0px 0px 1px 0px;
102
- -moz-border-radius: 0px;
103
- -webkit-border-radius: 0px;
104
- border-radius: 0px;
105
- }
106
-
107
- .ui-tabs .ui-tabs-nav li {
108
- margin-right: 0.34em;
109
- background: #eee;
110
- }
111
-
112
- .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
113
- background: #007fff !important;}
114
-
115
- #tabs .ui-tabs-panel {
116
- background: #eee;
117
- border-width: 0px 1px 1px 1px;
118
- }
119
-
120
- .asterisk {color:red}
121
-
122
- #mc_embed_signup_scroll .c-cta-button--primary {
123
- color: rgb(255, 255, 255);
124
- background-color: rgb(92, 184, 92);
125
- border-color: rgb(92, 184, 92);
126
- width:100%;
127
- text-align:center;
128
- margin-top:10px;
129
- }
130
-
131
-
132
- .election-teaser {
133
- margin-top: 35px;
134
-
135
- @include breakpoint(small down) {
136
- margin: 1.5rem 0;
137
- }
138
- }
@@ -60,7 +60,7 @@ $light-gray: #e6e6e6;
60
60
  $medium-gray: #cacaca;
61
61
  $dark-gray: #8a8a8a;
62
62
  $black: #0a0a0a;
63
- $white: #fefefe;
63
+ $white: #fff;
64
64
  $body-background: $white;
65
65
  $body-font-color: $black;
66
66
  $body-font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
@@ -147,8 +147,8 @@ $anchor-color: $primary-color;
147
147
  $anchor-color-hover: scale-color($anchor-color, $lightness: -14%);
148
148
  $anchor-text-decoration: none;
149
149
  $anchor-text-decoration-hover: none;
150
- $hr-width: $global-width;
151
- $hr-border: 1px solid $medium-gray;
150
+ $hr-width: 100%;
151
+ $hr-border: 1px solid $light-gray;
152
152
  $hr-margin: rem-calc(20) auto;
153
153
  $list-lineheight: $paragraph-lineheight;
154
154
  $list-margin-bottom: $paragraph-margin-bottom;
@@ -352,7 +352,7 @@ $input-font-size: rem-calc(16);
352
352
  $input-background: $white;
353
353
  $input-background-focus: $white;
354
354
  $input-background-disabled: $light-gray;
355
- $input-border: 1px solid $medium-gray;
355
+ $input-border: 1px solid $primary-color;
356
356
  $input-border-focus: 1px solid $dark-gray;
357
357
  $input-shadow: inset 0 1px 2px rgba($black, 0.1);
358
358
  $input-shadow-focus: 0 0 5px $medium-gray;
@@ -0,0 +1,51 @@
1
+ .c-article-listing--vertical {
2
+ margin-bottom: 2.5rem;
3
+
4
+ .c-article-listing__meta {
5
+ margin: 1rem 0;
6
+ }
7
+
8
+ @include breakpoint(small down) {
9
+ border-bottom: 1px $light-gray solid;
10
+ padding-bottom: 1.25rem;
11
+ margin-bottom: 1.25rem;
12
+ }
13
+ }
14
+
15
+ .c-article-listing__row {
16
+ display: flex;
17
+ margin-top: 1.25rem;
18
+ padding-bottom: 1.25rem;
19
+
20
+ @include breakpoint(small down) {
21
+ flex-direction: column;
22
+ }
23
+ }
24
+
25
+ .c-article-listing:not(.c-article-listing--vertical) {
26
+ padding-bottom: 1.25rem;
27
+
28
+ .c-article-listing__photobox {
29
+ max-width: 265px;
30
+ flex-shrink: 0;
31
+ padding-right: 1.25rem;
32
+
33
+ @include breakpoint(small down) {
34
+ max-width: 100%;
35
+ padding-right: 0;
36
+ padding-bottom: 1.25rem;
37
+ }
38
+ }
39
+ }
40
+
41
+ .c-article-listing:not(:first-of-type):not(.c-article-listing--vertical) {
42
+ border-top: 1px $light-gray solid;
43
+ }
44
+
45
+ .c-article-listing__nextbox {
46
+ max-width: 265px;
47
+
48
+ @include breakpoint(large down) {
49
+ max-width: none;
50
+ }
51
+ }
@@ -1,13 +1,12 @@
1
1
  .c-blockquote {
2
- font-family: $header-font-family;
3
2
  font-size: 1.45rem;
4
3
  font-weight: 300;
5
4
  font-style: italic;
6
- color: map-get($foundation-palette, dark);
5
+ color: $dark-gray;
7
6
 
8
7
  margin: 0 0 1rem;
9
- padding: 0.5625rem 1.25rem 0 1.6875rem;
10
- border-left: 1px solid transparent;
8
+ padding: 0.5625rem 1.25rem 0 0;
9
+ border-left: 0;
11
10
 
12
11
  @include breakpoint(medium down) {
13
12
  br {
@@ -26,7 +25,7 @@
26
25
  display: inline-block;
27
26
  position: absolute;
28
27
  top: 0;
29
- left: 1.6875rem;
28
+ left: 0;
30
29
  font-family: 'FontAwesome';
31
30
  font-size: 4rem;
32
31
  opacity: 0.15;
@@ -35,7 +34,6 @@
35
34
 
36
35
  @include breakpoint(medium down) {
37
36
  padding-top: 0.5625rem;
38
- padding-left: 5rem;
39
37
 
40
38
  &:before {
41
39
  left: 0;
@@ -50,4 +48,4 @@
50
48
  font-size: 2.5rem;
51
49
  }
52
50
  }
53
- }
51
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Homepage banner image
3
+ */
4
+
5
+ .c-hp-banner {
6
+ margin-top: 2rem;
7
+
8
+ @include breakpoint(small down) {
9
+ margin: 1.5rem 0;
10
+ }
11
+ }
@@ -1,18 +1,39 @@
1
- .pagination {
1
+ .c-pagination {
2
2
  margin-top: 4rem;
3
+ margin-left: 0;
4
+ margin-bottom: 0;
5
+ list-style-type: none;
3
6
 
4
7
  @include breakpoint(mobile down) {
5
8
  margin-top: 1rem;
9
+ margin-bottom: 1rem;
6
10
  }
7
11
 
8
- a {
9
- padding: $button-padding;
10
- color: $anchor-color;
12
+ .c-pagination__previous a,
13
+ .c-pagination__next a {
14
+ color: $button-color;
15
+ background-color: $button-background;
16
+ }
17
+ }
18
+
19
+ .c-pagination__link {
20
+ display: inline-block;
21
+
22
+ &.c-pagination__link--current .c-pagination__anchor {
23
+ border: 1px $primary-color solid;
11
24
  }
12
25
 
13
- .pagination-previous a,
14
- .pagination-next a {
26
+ &:not(:last-child) {
27
+ margin-right: .75rem;
28
+ }
29
+
30
+ &:hover a.c-pagination__anchor {
15
31
  color: $button-color;
16
- background-color: $button-fill;
32
+ background-color: $button-background;
17
33
  }
18
34
  }
35
+
36
+ .c-pagination__anchor {
37
+ padding: $button-padding;
38
+ color: $anchor-color;
39
+ }