jekyll-theme-pirati 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -3,7 +3,7 @@
3
3
  <div class="c-top-bar">
4
4
  <div class="c-top-bar__brand">
5
5
  <a href="{{ '/' | relative_url }}">
6
- <img src="{{ '/assets/img/brand/logo_napis.svg' | relative_url }}" alt="Pirátská strana">
6
+ {% asset brand/logo_napis.svg alt='Pirátská strana' %}
7
7
  </a>
8
8
  </div>
9
9
 
@@ -0,0 +1,12 @@
1
+ <div class="row o-section">
2
+ <div class="columns large-12">
3
+ <header class="c-page-header">
4
+ <h1 itemprop="headline" class="c-page-title">{{ include.headline }}</h1>
5
+ </header>
6
+ </div>
7
+ {% if include.content %}
8
+ <div class="columns large-12">
9
+ {{ content }}
10
+ </div>
11
+ {% endif %}
12
+ </div>
@@ -1,12 +1,10 @@
1
- {% if team.size > 0 %}
1
+ {% if include.team.size > 0 %}
2
2
  <ul class="c-simple-accordion" data-accordion="" data-options="allowAllClosed: true">
3
- <li class="c-simple-accordion-item is-active" data-accordion-item="">
4
- <a href="#{{team_shortcut}}" class="c-simple-accordion-title">
5
- {{ team_name }}
6
- </a>
7
- <div id="{{team_shortcut}}" class="c-simple-accordion-content" data-tab-content="">
8
- {% include people/list-2col.html param=team %}
9
- </div>
10
- </li>
3
+ <li class="c-simple-accordion-item is-active" data-accordion-item="">
4
+ <a href="#{{ include.teamShortcut }}" class="c-simple-accordion-title c-emphasized-anchor"><h2 class="c-simple-accordion__headline">{{ include.teamName }}</h2></a>
5
+ <div id="{{ include.teamShortcut }}" class="c-simple-accordion-content" data-tab-content="">
6
+ {% include people/list-responsive.html team=team %}
7
+ </div>
8
+ </li>
11
9
  </ul>
12
10
  {% endif %}
@@ -0,0 +1,13 @@
1
+ {% comment %}
2
+ Dvou sloupcové zobrazení:
3
+ týmů v /clenove
4
+ úspěchů v /otevrenost
5
+ {% endcomment %}
6
+ <div class="row u-uniform-size-row">
7
+ {% for item in include.team %}
8
+ {% assign loopindex = forloop.index | modulo: 2 %}
9
+ <div class="large-4 medium-6 small-collapse columns {% if forloop.last %}end{% endif %}">
10
+ {% include people/profile-badge.html item=item imgSize='small' imgStyle='round' %}
11
+ </div>
12
+ {% endfor %}
13
+ </div>
@@ -6,39 +6,52 @@
6
6
  {% else %}
7
7
  {% assign url = include.item.url | relative_url %}
8
8
  {% endif %}
9
- <div class="o-media o-media-list">
10
- <div class="o-media__image o-media__image--lgspace {% if include.imgStyle == 'round' %}o-media__image--round{% endif %}">
11
- {% capture img %}{% if include.item.img %}{{ include.item.img }}{% else %}people/unknown-pirate.svg{% endif %}{% endcapture %}
12
- <a href="{{ url }}"><img src="{{ img | prepend: 'assets/img/' | relative_url }}" alt="{{ label }}" {% if include.imgSize != 'big' %}style="width: 100px"{% endif %}></a>
9
+ <div class="o-media o-media-list {% if include.style == 'card' %}o-media--rpadded o-media--fill{% endif %}">
10
+ <div class="o-media__section">
11
+ {% comment %} {% if include.imgSize != 'big' %}
12
+ <a href="{{ url }}">{% asset '{{ include.item.img }}' magick:resize='100x100^' magick:gravity='center' magick:crop='100x100+0+0' alt='{{ label }}' %}</a>
13
+ {% else %}
14
+ <a href="{{ url }}">{% asset '{{ include.item.img }}' magick:resize='165x165^' magick:gravity='center' magick:crop='165x165+0+0' alt='{{ label }}' %}</a>
15
+ {% endif %} {% endcomment %}
16
+ {%- capture img -%}
17
+ {%- if include.item.img -%}
18
+ {%- if include.imgSize != 'big' -%}
19
+ {% asset '{{ include.item.img }}' magick:resize='100x100^' magick:gravity='center' magick:crop='100x100+0+0' @path %}
20
+ {%- else -%}
21
+ {% asset '{{ include.item.img }}' magick:resize='165x165^' magick:gravity='center' magick:crop='165x165+0+0' @path %}
22
+ {%- endif -%}
23
+ {%- else -%}
24
+ {% asset people/unknown-pirate.svg @path %}
25
+ {%- endif -%}
26
+ {%- endcapture -%}
27
+ <a href="{{ url }}"><img src="{{ img }}" alt="{{ label }}" class="{% if include.imgStyle == 'round' %}o-media__image--round{% endif %}" {% if include.imgSize != 'big' %}style="width: 100px"{% endif %}></a>
13
28
  </div>
14
- <div class="o-media__body">
15
- <div class="o-media__body-inner {% if include.style == 'card' %}o-media__body-inner--padded{% endif %}">
16
- <h2 class="o-media__headline">
17
- <a href="{{ url }}" class="o-media__headline-link">{{ label }}</a>
18
- </h2>
19
- {% unless include.showDescription == false %}
20
- <p>
21
- {% if include.description %}
22
- {{ include.description }}
23
- {% else %}
24
- {{ include.item.description }}
25
- {% endif %}
26
- </p>
27
- {% endunless %}
29
+ <div class="o-media__section">
30
+ <div class="o-media__section-inner {% if include.style == 'card' %}o-media__section-inner--vpadded{% endif %}">
31
+ <h2><a href="{{ url }}" class="c-headline-anchor {% if include.headlineClass %}{{ include.headlineClass }}{% else %}t-h2{% endif %}">{{ label }}</a></h2>
32
+ {% unless include.showDescription == false %}
33
+ <p>
34
+ {% if include.description %}
35
+ {{ include.description }}
36
+ {% else %}
37
+ {{ include.item.description }}
38
+ {% endif %}
39
+ </p>
40
+ {% endunless %}
28
41
 
29
- {% unless include.showContactInfo == false %}
30
- {% if include.item.mob or include.item.mail %}
31
- <p>
32
- {% if include.item.mob %}
33
- <i class="fa fa-phone"></i> <a class="c-emphasized-anchor" href="tel:{{ include.item.mob }}">{{ include.item.mob }}</a>
34
- <br>
35
- {% endif %}
36
- {% if include.item.mail %}
37
- <i class="fa fa-envelope-o"></i> <a class="c-emphasized-anchor" href="mailto:{{ include.item.mail }}">{{ include.item.mail }}</a>
38
- {% endif %}
39
- </p>
40
- {% endif %}
41
- {% endunless %}
42
+ {% unless include.showContactInfo == false %}
43
+ {% if include.item.mob or include.item.mail %}
44
+ <p>
45
+ {% if include.item.mob %}
46
+ <i class="fa fa-phone"></i> <a class="c-emphasized-anchor" href="tel:{{ include.item.mob }}">{{ include.item.mob }}</a>
47
+ <br>
48
+ {% endif %}
49
+ {% if include.item.mail %}
50
+ <i class="fa fa-envelope-o"></i> <a class="c-emphasized-anchor" href="mailto:{{ include.item.mail }}">{{ include.item.mail }}</a>
51
+ {% endif %}
52
+ </p>
53
+ {% endif %}
54
+ {% endunless %}
42
55
  </div>
43
56
  </div>
44
57
  </div>
@@ -1,5 +1,5 @@
1
1
  <div class="o-section-block">
2
- <ul class="c-widget-accordion c-widget-accordion--dark" data-accordion="" data-allow-all-closed="true">
2
+ <ul class="c-widget-accordion" data-accordion="" data-allow-all-closed="true">
3
3
  <li class="c-widget-accordion-item is-active" data-accordion-item="">
4
4
  <a href="#" class="c-widget-accordion-link">
5
5
  <span class="c-widget-accordion__title">{{ site.calendar.title }}</span>
@@ -12,10 +12,9 @@
12
12
 
13
13
  {% if site.calendar.page %}
14
14
  <div class="c-widget-accordion-content__cta">
15
- <a class="dark expanded button large" href="{{ site.calendar.page | relative_url }}"> Zobrazit všechny akce </a>
15
+ <a class="expanded button large u-0margin" href="{{ site.calendar.page | relative_url }}"> Zobrazit všechny akce </a>
16
16
  </div>
17
17
  {% endif %}
18
-
19
18
  </div>
20
19
  </li>
21
20
  </ul>
@@ -1,6 +1,6 @@
1
1
  {% if page.img %}
2
2
  <div class="o-section-block">
3
- <ul class="c-widget-accordion c-widget-accordion--dark" data-accordion="" data-allow-all-closed="true">
3
+ <ul class="c-widget-accordion" data-accordion="" data-allow-all-closed="true">
4
4
  <li class="c-widget-accordion-item is-active" data-accordion-item="">
5
5
  <a href="#" class="c-widget-accordion-link">
6
6
  <span class="c-widget-accordion__title">Foto</span>
@@ -9,10 +9,7 @@
9
9
  </span>
10
10
  </a>
11
11
  <div class="c-widget-accordion-content text-center" data-tab-content="">
12
- <img src="{{ page.img | prepend: '/assets/img/' | relative_url}}" alt="{{page.name}}" style="margin: auto;">
13
- <div class="c-widget-accordion-content__cta">
14
- <a class="dark expanded button large" href="{{page.profiles.flickr}}"> Zobrazit více fotografii </a>
15
- </div>
12
+ {% asset '{{ page.img }}' alt='{{ page.name }}' %}
16
13
  </div>
17
14
  </li>
18
15
  </ul>
@@ -9,10 +9,8 @@
9
9
  </span>
10
10
  </a>
11
11
  <div class="c-widget-accordion-content" data-tab-content="" id="toc">
12
- <div class="c-widget-accordion-content-inner c-widget-accordion-content-inner--unpadded">
13
- {% assign garant = site.people | where:"uid",page.garant | first %}
14
- {% include people/profile-badge.html item=garant style='card' showDescription=false %}
15
- </div>
12
+ {% assign garant = site.people | where:"uid",page.garant | first %}
13
+ {% include people/profile-badge.html item=garant style='card' showDescription=false %}
16
14
  </div>
17
15
  </li>
18
16
  </ul>
@@ -8,14 +8,12 @@
8
8
  </span>
9
9
  </a>
10
10
  <div class="c-widget-accordion-content" data-tab-content="">
11
- <div class="c-widget-accordion-content-inner c-widget-accordion-content-inner--unpadded c-widget-accordion-content-inner--nofill">
12
- {% assign persons = site.people | sample:3 %}
13
- {% for person in persons %}
14
- {% include people/profile-badge.html item=person style='card' showContactInfo=false %}
15
- {% endfor %}
16
- </div>
11
+ {% assign persons = site.people | sample:3 %}
12
+ {% for person in persons %}
13
+ {% include people/profile-badge.html item=person style='card' headlineClass='t-h3' showContactInfo=false %}
14
+ {% endfor %}
17
15
  <div class="c-widget-accordion-content__cta">
18
- <a class="expanded button large" href="{{ '/lide/' | relative_url }}"> Poznejte celý náš tým! </a>
16
+ <a class="expanded button large u-0margin" href="{{ '/lide/' | relative_url }}"> Poznejte celý náš tým! </a>
19
17
  </div>
20
18
  </div>
21
19
  </li>
@@ -9,16 +9,14 @@
9
9
  </span>
10
10
  </a>
11
11
  <div class="c-widget-accordion-content" data-tab-content="">
12
- <div class="c-widget-accordion-content-inner">
13
- {% if page.mail %}<i class="fa fa-envelope-o"></i> <a class="c-emphasized-anchor" href="mailto:{{ page.mail }}">{{ page.mail }}</a><br/>{% endif %}
14
- {% if page.mob %}<i class="fa fa-phone"></i> <a class="c-emphasized-anchor" href="tel:{{ page.mob }}">{{ page.mob }}</a><br/>{% endif %}
15
- {% if page.profiles.wikipedia %}<i class="fa fa-wikipedia-w"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.wikipedia }}">W: {{ page.profiles.wikipedia | remove: "https://cs.wikipedia.org/wiki/" }}</a><br/>{% endif %}
16
- {% if page.profiles.facebook %}<i class="fa fa-facebook"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.facebook }}">FB: {{ page.profiles.facebook | remove: "https://www.facebook.com/" }}</a><br/>{% endif %}
17
- {% if page.profiles.twitter %}<i class="fa fa-twitter"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.twitter }}">TW: {{ page.profiles.twitter | remove: "https://twitter.com/" }}</a><br/>{% endif %}
18
- {% if page.profiles.github %}<i class="fa fa-github"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.github }}">GH: {{ page.profiles.github | remove: "https://github.com/"}}</a><br/>{% endif %}
19
- {% if page.profiles.forum %}<i class="fa fa-comments-o"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.forum }}">Forum: {{ page.profiles.forum | remove: "https://forum.pirati.cz/" }}</a><br/>{% endif %}
20
- {% if page.profiles.redmine %}<i class="fa fa-check-square-o"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.redmine }}">Úkoly</a>{% endif %}
21
- </div>
12
+ {% if page.mail %}<i class="fa fa-envelope-o"></i> <a class="c-emphasized-anchor" href="mailto:{{ page.mail }}">{{ page.mail }}</a><br/>{% endif %}
13
+ {% if page.mob %}<i class="fa fa-phone"></i> <a class="c-emphasized-anchor" href="tel:{{ page.mob }}">{{ page.mob }}</a><br/>{% endif %}
14
+ {% if page.profiles.wikipedia %}<i class="fa fa-wikipedia-w"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.wikipedia }}">W: {{ page.profiles.wikipedia | remove: "https://cs.wikipedia.org/wiki/" }}</a><br/>{% endif %}
15
+ {% if page.profiles.facebook %}<i class="fa fa-facebook"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.facebook }}">FB: {{ page.profiles.facebook | remove: "https://www.facebook.com/" }}</a><br/>{% endif %}
16
+ {% if page.profiles.twitter %}<i class="fa fa-twitter"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.twitter }}">TW: {{ page.profiles.twitter | remove: "https://twitter.com/" }}</a><br/>{% endif %}
17
+ {% if page.profiles.github %}<i class="fa fa-github"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.github }}">GH: {{ page.profiles.github | remove: "https://github.com/"}}</a><br/>{% endif %}
18
+ {% if page.profiles.forum %}<i class="fa fa-comments-o"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.forum }}">Forum: {{ page.profiles.forum | remove: "https://forum.pirati.cz/" }}</a><br/>{% endif %}
19
+ {% if page.profiles.redmine %}<i class="fa fa-check-square-o"></i> <a class="c-emphasized-anchor" href="{{ page.profiles.redmine }}">Úkoly</a>{% endif %}
22
20
  </div>
23
21
  </li>
24
22
  </ul>
@@ -8,19 +8,17 @@
8
8
  </span>
9
9
  </a>
10
10
  <div class="c-widget-accordion-content" data-tab-content="" id="toc">
11
- <div class="c-widget-accordion-content-inner">
12
- {% for campaign in site.data.elections.campaigns %}
13
- <h4 class="c-widget-accordion-list__heading">{{ campaign.title }}</h4>
14
- <ul class="c-widget-accordion-list">
15
- <ul>
16
- {% assign programSections = site.program | where_exp: "item", "item.category contains campaign.category" | sort:"order" %}
17
- {% for programSection in programSections %}
18
- <li><a {% if page.uid == programSection.uid %}class="c-widget-accordion-list__seen"{% endif%} href="{{ programSection.url | relative_url }}">{{ programSection.title }}</a></li>
19
- {% endfor %}
20
- </ul>
11
+ {% for campaign in site.data.elections.campaigns %}
12
+ <h4>{{ campaign.title }}</h4>
13
+ <ul class="c-widget-accordion-list">
14
+ <ul>
15
+ {% assign programSections = site.program | where_exp: "item", "item.category contains campaign.category" | sort:"order" %}
16
+ {% for programSection in programSections %}
17
+ <li><a class="c-emphasized-anchor {% if page.uid == programSection.uid %}active{% endif %}" href="{{ programSection.url | relative_url }}">{{ programSection.title }}</a></li>
18
+ {% endfor %}
21
19
  </ul>
22
- {% endfor %}
23
- </div>
20
+ </ul>
21
+ {% endfor %}
24
22
  </div>
25
23
  </li>
26
24
  </ul>
@@ -13,7 +13,7 @@
13
13
  <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/pWK515EHyG0?rel=0&amp;controls=0" style="border: 0;" allowfullscreen=""></iframe>
14
14
  </div>
15
15
  <div class="c-widget-accordion-content__cta">
16
- <a class="alert expanded button large" href="https://www.youtube.com/user/CeskaPiratskaStrana/videos" target="_blank" rel="noopener noreferrer"> Další videa na našem
16
+ <a class="alert expanded button large u-0margin" href="https://www.youtube.com/user/CeskaPiratskaStrana/videos" target="_blank" rel="noopener noreferrer"> Další videa na našem
17
17
  <br> YouTube kanálu </a>
18
18
  </div>
19
19
  </div>
@@ -6,14 +6,6 @@
6
6
  {% if page.rbar contains 'foto' %}
7
7
  {% include right-bar/bar_person_contact.html %}
8
8
  {% endif %}
9
- {% if page.rbar contains 'team-summary' %}
10
- {% include right-bar/bar_teams_summary.html %}
11
- {% endif %}
12
- {% if page.rbar contains 'teams-toc' %}
13
- {% include right-bar/bar_teams_toc.html %}
14
- {% elsif page.rbar contains 'toc' %}
15
- {% include right-bar/bar_toc.html %}
16
- {% endif %}
17
9
  {% if page.rbar contains 'garant' %}
18
10
  {% include right-bar/bar_garant.html %}
19
11
  {% endif %}
@@ -35,8 +27,5 @@
35
27
  {% if page.rbar contains 'tw' and site.twitter.profile %}
36
28
  {% include right-bar/bar_tw.html %}
37
29
  {% endif %}
38
- {% if page.rbar contains 'otevrenost' %}
39
- {% include right-bar/bar_otevrenost.html %}
40
- {% endif %}
41
30
  </div>
42
31
  </aside>
@@ -1,5 +1,5 @@
1
1
  {% if page.url contains 'volby-2018' %}
2
- <nav class="c-top-sub-nav u-center-860-down">
2
+ <nav class="c-top-sub-nav u-center--medium-down">
3
3
  <div class="row">
4
4
  <div class="c-top-sub-nav-inner">
5
5
  <div class="u-cf">
@@ -20,7 +20,7 @@ title: Kontaktní informace
20
20
  {{ content }}
21
21
  </div>
22
22
  <div class="medium-12 large-6 columns o-section-mediumdown-divided-small">
23
- {% include contacts/basic_contacts.html %}
23
+ {% include contacts/basic-contacts.html %}
24
24
  </div>
25
25
  </div>
26
26
  </div>
@@ -40,7 +40,7 @@ title: Kontaktní informace
40
40
  <h2>Kontaktní osoba</h2>
41
41
  {% assign contactPersons = site.people | where_exp: "item","item.categories contains 'kontaktni_osoba'" | sort:"ordpak" %}
42
42
  {% for person in contactPersons %}
43
- {% include people/profile-badge.html item=person imgSize='big' %}
43
+ {% include people/profile-badge.html item=person imgSize='big' imgStyle='round' headlineClass='t-h3' %}
44
44
  {% endfor %}
45
45
  </div>
46
46
  </div>
@@ -52,7 +52,7 @@ title: Kontaktní informace
52
52
  <div class="o-section o-section--spaceBot">
53
53
  <div class="o-section-inner">
54
54
  <div class="o-section-block">
55
- {% include contacts/residance.html %}
55
+ {% include contacts/residence.html %}
56
56
  </div>
57
57
  </div>
58
58
  </div>
@@ -9,7 +9,7 @@
9
9
  <body>
10
10
 
11
11
  {% include header.html %}
12
-
12
+
13
13
  {% if site.data.menu %}
14
14
  {% include menu.html %}
15
15
  {% endif %}
@@ -3,59 +3,55 @@ layout: page
3
3
  ---
4
4
 
5
5
  <div class="row">
6
+ <div class="columns">{{ content }}</div>
7
+ </div>
6
8
 
7
- <div class="c-program-intro">
8
- <p> {{ content }} </p>
9
- </div>
10
-
11
- <div class="o-section">
12
- <div class="columns medium-8">
13
- <div class="o-section-header">
14
- <h3 class="o-section__heading o-section__heading--small">Kandidátní listina</h3>
15
- </div>
16
- <div class="c-program-candidates">
17
- {% assign team = site.people | where_exp:"item","item.categories contains 'kandidat-obec'" | sort:"cityCandidatePosition" %}
18
- {% assign leader_candidate = team | first %}
19
- {% assign other_candidates = team | slice:1,team.size %}
20
-
21
- {% include candidate_badge.html candidate=leader_candidate leader=true %}
22
-
23
- <div class="c-program-candidates__others">
24
- {% for candidate in other_candidates %}
25
- {% assign loopindex = forloop.index | modulo: 3 %}
26
- {% if loopindex == 1 %}<div class="c-program-candidates__row">{% endif %}
27
- {% include candidate_badge.html candidate=candidate leader=false %}
28
- {% if loopindex == 0 or forloop.last %}</div>{% endif %}
29
- {% endfor %}
30
- </div>
31
- </div>
32
-
33
- {% if page.note %}
34
- <p><strong>Pozn.:</strong> {{ page.note }}</p>
35
- {% endif %}
36
-
9
+ <div class="o-section">
10
+ <div class="row">
11
+ <div class="columns medium-8">
12
+ <div class="o-section-header">
13
+ <h3 class="o-section__heading o-section__heading--small">Kandidátní listina</h3>
14
+ </div>
15
+ <div class="c-program-candidates">
16
+ {% assign team = site.people | where_exp:"item","item.categories contains 'kandidat-obec'" | sort:"cityCandidatePosition" %}
17
+ {% assign leader_candidate = team | first %}
18
+ {% assign other_candidates = team | slice:1,team.size %}
19
+
20
+ {% include candidate-badge.html candidate=leader_candidate leader=true %}
21
+
22
+ <div class="c-program-candidates__others">
23
+ {% for candidate in other_candidates %}
24
+ {% assign loopindex = forloop.index | modulo: 3 %}
25
+ {% if loopindex == 1 %}<div class="c-program-candidates__row">{% endif %}
26
+ {% include candidate-badge.html candidate=candidate leader=false %}
27
+ {% if loopindex == 0 or forloop.last %}</div>{% endif %}
28
+ {% endfor %}
37
29
  </div>
38
- <div class="columns medium-4">
39
- <div class="o-section-header">
40
- <h3 class="o-section__heading o-section__heading--small">Program</h3>
41
- </div>
42
- <div class="c-program-items">
43
- {% assign programCategories = site.program | where_exp:"item","item.categories contains page.category" | sort:"order" %}
44
- {% for category in programCategories %}
45
- <div class="c-program-items__item">
46
- <div class="c-program-items__item-wrap">
47
- <div class="c-program-items__item-inner">
48
- <a href="{{ category.url | relative_url }}">
49
- <h3 class="c-program-items__item-title">{{ category.title }}</h3>
50
- <p>{{ category.perex }}</p>
51
- </a>
52
- </div>
53
- </div>
54
- </div>
55
- {% endfor %}
56
- </div>
30
+ </div>
57
31
 
58
- </div>
32
+ {% if page.note %}
33
+ <p><strong>Pozn.:</strong> {{ page.note }}</p>
34
+ {% endif %}
59
35
  </div>
60
-
36
+ <div class="columns medium-4">
37
+ <div class="o-section-header">
38
+ <h3 class="o-section__heading o-section__heading--small">Program</h3>
39
+ </div>
40
+ <div class="c-program-items">
41
+ {% assign programCategories = site.program | where_exp:"item","item.categories contains page.category" | sort:"order" %}
42
+ {% for category in programCategories %}
43
+ <div class="c-program-items__item">
44
+ <div class="c-program-items__item-wrap">
45
+ <div class="c-program-items__item-inner">
46
+ <a href="{{ category.url | relative_url }}">
47
+ <h3 class="c-program-items__item-title t-h2 c-headline-anchor">{{ category.title }}</h3>
48
+ <p>{{ category.perex }}</p>
49
+ </a>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ {% endfor %}
54
+ </div>
55
+ </div>
56
+ </div>
61
57
  </div>