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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ee021d138930108f8492ee0773747b9ae03e104f16e515232b069edaa04284c
4
- data.tar.gz: e1cd99f4ccdfcf6d456c7205f1772150017053e3a2a04b06441e588c2099a82d
3
+ metadata.gz: 41123ec9bdcfca9f8b8e08b0e083f9d60e4c25bcc55dfecc117e97daefffbd72
4
+ data.tar.gz: 68b1f9957e9740820f87743ddbe5a9456b7612f499de5345eaa85678ac867f76
5
5
  SHA512:
6
- metadata.gz: 40e6fe1bd337fc5233c24f408012cac45e8bc99b4281be6983576ac5c4a6f1e707d45c3d1fd3093a137339f56676011a1a50b901edaad5da26de8e0011af3364
7
- data.tar.gz: bad7a4e2090d05edd16377f4dba838ac9584aab9f737449a13a31263b1cf5794c37affdc6da37c7293df06db4fe8eab531fa6aeb3756413edbff8707615dbfb0
6
+ metadata.gz: 85cf4453754541bf1a4a6f3fbf3a5682c41d9aa8b71d87119516051f6d59c85a3be619c3122e181ae0c78292d2493c07128985cbde9355ba0f1432ccb888f116
7
+ data.tar.gz: 46c9cf54688053ba6d5c778216f29bef25d73fd7396a68d72f3131cb511dec09380afce9e40b78e2778d71e9bfc1d69b2bec4e07cfb645bf505f24f57e5f6cab
data/README.md CHANGED
@@ -8,6 +8,25 @@ Theme of Czech Pirate Party.
8
8
 
9
9
  For usage see readme of https://github.com/pirati-web/example.pirati.cz
10
10
 
11
+ ## Updating to 6.x
12
+
13
+ To upgrade to v6 which features major visual upgrade, following steps are necessary:
14
+
15
+ - For `_people` collection, remove `fullaname` property for every document. Instead, provide `titles` property to keep academic degrees in following format:
16
+
17
+ ```
18
+ titles:
19
+ before: MUDr.
20
+ after: Ph.D.
21
+ ```
22
+ - To make your contact page look OK, you will need to wrap it's sub-heading in following fashion:
23
+
24
+ ```
25
+ <div class="o-section-header o-section-header--indented">
26
+ <h1 class="t-h2-alt">Přidejte se</h1>
27
+ </div>
28
+ ```
29
+
11
30
  ## Contributing
12
31
 
13
32
  Bug reports and pull requests are welcome on GitHub at https://github.com/pirati-web/jekyll-theme-pirati/. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
@@ -14,10 +14,10 @@
14
14
 
15
15
  <div class="c-article-listing__content">
16
16
  <!-- Headline -->
17
- <h2 itemprop="headline">
17
+ <h1 itemprop="headline" class="c-article-listing__headline t-h4">
18
18
  <a class="c-headline-anchor" href="{{ include.article.url | relative_url }}" itemprop="url">{{ include.article.title }}</a>
19
- </h2>
20
- <p itemprop="description" class="c-article-listing__perex u-stacked">{{ include.article.excerpt | truncatewords: 33 | strip_html }}</p>
19
+ </h1>
20
+ <p itemprop="description" class="c-article-listing__perex u-stacked t-font-features">{{ include.article.excerpt | truncatewords: 33 | strip_html }}</p>
21
21
  <a class="c-emphasized-anchor u-stacked" href="{{ include.article.url | relative_url }}">Přečíst celý článek &rsaquo;</a>
22
22
  </div>
23
23
  <!-- Publisher -->
@@ -32,10 +32,10 @@
32
32
 
33
33
  <div class="c-article-listing__content">
34
34
  <!-- Headline -->
35
- <h1 itemprop="headline" class="c-article-listing__headline t-h2">
35
+ <h1 itemprop="headline" class="c-article-listing__headline t-h4">
36
36
  <a class="c-headline-anchor" href="{{ include.article.url | relative_url }}" itemprop="url">{{ include.article.title }}</a>
37
37
  </h1>
38
- <p itemprop="description" class="c-article-listing__perex u-stacked">{{ include.article.excerpt | truncatewords: 45 | strip_html }}</p>
38
+ <p itemprop="description" class="c-article-listing__perex u-stacked t-font-features">{{ include.article.excerpt | truncatewords: 35 | strip_html }}</p>
39
39
  <a class="c-emphasized-anchor u-stacked" href="{{ include.article.url | relative_url }}">Přečíst celý článek &rsaquo;</a>
40
40
  </div>
41
41
 
@@ -1,17 +1,19 @@
1
- <div class="c-program-candidate-badge{% if include.leader %} c-program-candidate-badge--leader{% endif %}">
1
+ <div class="c-program-candidate-badge">
2
2
  <a class="c-program-candidate-badge__body" href="{{ include.candidatePage.url | relative_url }}">
3
+ <span class="c-program-candidate-badge__rank"><span>{{ include.rank }}</span></span>
3
4
  <div class="c-program-candidate-badge__avatar">
4
- <span class="c-program-candidate-badge__rank"><span>{{ include.rank }}.</span></span>
5
- {% capture img %}{% if include.candidatePage.img %}{% asset '{{ include.candidatePage.img }}' magick:resize='240x240^' magick:gravity='center' magick:crop='240x240+0+0' @path %}{% else %}{{ 'assets/img/people/unknown-pirate.svg' | relative_url }}{% endif %}{% endcapture %}
6
- <img src="{{ img }}" alt="{{ include.candidatePage.fullname }}" class="c-program-candidate-badge__avatar-image">
5
+ {% capture img %}{% if include.candidatePage.img %}{% asset '{{ include.candidatePage.img }}' magick:resize='225x225^' magick:gravity='center' magick:crop='225x225+0+0' @path %}{% else %}{{ 'assets/img/people/unknown-pirate.svg' | relative_url }}{% endif %}{% endcapture %}
6
+ <img src="{{ img }}" alt="{% include people/fullname.html person=include.candidatePage plain=true %}" class="c-program-candidate-badge__avatar-image">
7
7
  </div>
8
8
  <div class="c-program-candidate-badge__description">
9
- <h4 class="c-program-candidate-badge__name t-h2"><span class="c-headline-anchor">{{ include.candidatePage.fullname }}</span></h4>
9
+ <h4 class="c-program-candidate-badge__name"><span class="c-headline-anchor">{% include people/fullname.html person=include.candidatePage %}</span></h4>
10
10
  <strong class="c-program-candidate-badge__profession">
11
11
  {% if include.candidate.age %} {{ include.candidate.age }} let, {% endif %}
12
12
  {{ include.candidate.profession }}{% if include.candidate.party %}, {{ include.candidate.party }} {% endif %}
13
13
  </strong>
14
+ {% if include.candidate.description %}
14
15
  <p class="c-program-candidate-badge__bio">{{ include.candidate.description }}</p>
16
+ {% endif %}
15
17
  </div>
16
18
  </a>
17
19
  </div>
@@ -5,7 +5,7 @@
5
5
  </div>
6
6
  {% endif %}
7
7
  <div class="o-media__section">
8
- <h3>{{ site.organization.name }}</h3>
8
+ <h3 class="t-h5-super">{{ site.organization.name }}</h3>
9
9
  <p>{{ site.organization.address | newline_to_br }}</p>
10
10
  {% if site.organization.mapLink %}
11
11
  <p>
@@ -1,4 +1,4 @@
1
- <a href="{{ site.github.url }}edit/{{ site.github.branch }}/{{ page.path }}" class="c-suggest-improvement show-for-medium-up hide-for-print">
1
+ <a href="{{ site.github.url }}edit/{{ site.github.branch }}/{{ page.path }}" class="c-suggest-improvement show-for-medium hide-for-print">
2
2
  <i class="fa fa-pencil"></i>
3
3
  Navrhni úpravu
4
4
  </a>
@@ -40,28 +40,28 @@
40
40
  {% if site.facebook.profilePage %}
41
41
  <li class="c-vertical-navigation__item">
42
42
  <a href="{{ site.facebook.profilePage }}" rel="noopener noreferrer" title="Facebook - {{ site.organization.shortName }}">
43
- <i class="fa fa-facebook c-icon c-icon--rounded c-icon--facebook" aria-hidden="true"></i>
43
+ <i class="fa fa-facebook c-icon c-icon--big" aria-hidden="true"></i>
44
44
  </a>
45
45
  </li>
46
46
  {% endif %}
47
47
  {% if site.twitter.profile %}
48
48
  <li class="c-vertical-navigation__item">
49
49
  <a href="https://www.twitter.com/{{ site.twitter.profile }}" rel="noopener noreferrer" title="Twitter - {{ site.organization.shortName }}">
50
- <i class="fa fa-twitter c-icon c-icon--rounded c-icon--twitter" aria-hidden="true"></i>
50
+ <i class="fa fa-twitter c-icon c-icon--big" aria-hidden="true"></i>
51
51
  </a>
52
52
  </li>
53
53
  {% endif %}
54
54
  {% if site.instagram.profilePage %}
55
55
  <li class="c-vertical-navigation__item">
56
56
  <a href="{{ site.instagram.profilePage }}" rel="noopener noreferrer" title="Instagram - {{ site.organization.shortName }}">
57
- <i class="fa fa-instagram c-icon c-icon--rounded c-icon--instagram" aria-hidden="true"></i>
57
+ <i class="fa fa-instagram c-icon c-icon--big" aria-hidden="true"></i>
58
58
  </a>
59
59
  </li>
60
60
  {% endif %}
61
61
  {% if site.gplus.profilePage %}
62
62
  <li class="c-vertical-navigation__item">
63
63
  <a href="{{ site.gplus.profilePage }}" rel="noopener noreferrer" title="Google Plus - {{ site.organization.shortName }}">
64
- <i class="fa fa-google-plus c-icon c-icon--rounded c-icon--googlePlus" aria-hidden="true"></i>
64
+ <i class="fa fa-google-plus c-icon c-icon--big" aria-hidden="true"></i>
65
65
  </a>
66
66
  </li>
67
67
  {% endif %}
@@ -87,7 +87,7 @@
87
87
  </header>
88
88
  <ul class="c-contact-bar-items u-stacked--medium-down">
89
89
  <li class="c-contact-bar__item u-stacked--medium-down">
90
- <div class="c-contact-bar__description"> {{ contactPerson.fullname }},
90
+ <div class="c-contact-bar__description"> {{ contactPerson.name }},
91
91
  <a href="mailto:{{ contactPerson.mail }}">{{ contactPerson.mail }}</a>
92
92
  </div>
93
93
  </li>
@@ -1,4 +1,4 @@
1
- <aside class="o-section o-section--smaller c-header-bar u-inverted u-center--medium-down">
1
+ <aside class="o-section o-section--smaller c-header-bar u-center--medium-down">
2
2
  <div class="row">
3
3
  <div class="o-section-inner" style="padding: 3px;">
4
4
  <div class="medium-12 columns">
@@ -45,9 +45,9 @@
45
45
  </li>
46
46
  {% endif %}
47
47
  </ul>
48
- <div class="c-header-bar-divider"></div>
48
+ <div class="c-header-bar-divider show-for-medium"></div>
49
49
 
50
- <ul class="c-header-bar-items c-header-bar-items--bigLh">
50
+ <ul class="c-header-bar-items show-for-medium">
51
51
  {% for item in site.data.menu.top %}
52
52
  <li class="c-header-bar__item">
53
53
  <a href="{{ item.url }}" rel="noopener noreferrer" target="_blank">
@@ -1,14 +1,14 @@
1
1
  <div class="row c-hp-banner">
2
2
  <div class="small-12 columns">
3
- <a href="{{ include.link }}" title="{{ include.title }}">
3
+ <a href="{{ include.link }}" title="{{ include.title }}" class="c-hp-banner__link">
4
4
  {% capture img %}{% asset '{{ include.default }}' magick:resize='1135x' @path %}{% endcapture %}
5
5
  {% if include.breakpoint %}
6
- <picture>
6
+ <picture class="c-hp-banner__media">
7
7
  <source media="(min-width: {{ include.breakpoint }}px)" srcset="{{ img }}">
8
8
  <img src="{% asset '{{ include.mobile }}' magick:resize='{{ include.breakpoint +"px" }}' @path %}" alt="{{ include.title }}">
9
9
  </picture>
10
10
  {% else %}
11
- <img src="{{ img }}" alt="{{ include.title }}">
11
+ <img src="{{ img }}" alt="{{ include.title }}" class="c-hp-banner__media">
12
12
  {% endif %}
13
13
  </a>
14
14
  </div>
@@ -2,9 +2,9 @@
2
2
  This whole include will be overwritten by built JS files when publishing the
3
3
  theme Gem.
4
4
  {% endcomment %}
5
- <link rel="stylesheet" href="/assets/js/main.f7a234cedfef4096cecb.css" />
6
- <script src="/assets/js/0.main.f7a234cedfef4096cecb.js"></script>
7
- <script src="/assets/js/main.f7a234cedfef4096cecb.js"></script>
5
+ <link rel="stylesheet" href="/assets/js/main.44c1ac26aae564173c26.css" />
6
+ <script src="/assets/js/0.main.44c1ac26aae564173c26.js"></script>
7
+ <script src="/assets/js/main.44c1ac26aae564173c26.js"></script>
8
8
 
9
9
  {% if site.facebook.loadSDK %}
10
10
  <script>
data/_includes/menu.html CHANGED
@@ -1,43 +1,41 @@
1
- <div class="row">
2
- <div class="columns small-12">
3
- <div class="c-top-bar">
4
- <div class="c-top-bar__brand">
5
- <a href="{{ '/' | relative_url }}">
6
- <img src="{{ 'assets/img/brand/logo_napis.svg' | relative_url }}" alt='Česká pirátská strana' class="logo u-center-medium-down u-stacked">
7
- </a>
8
- </div>
1
+ <div class="c-top-bar">
2
+ <div class="row">
3
+ <div class="columns small-12">
4
+ <div class="c-top-bar__body">
5
+ <div class="c-top-bar__brand">
6
+ <a href="{{ '/' | relative_url }}">
7
+ <img src="{{ 'assets/img/brand/logo_napis_white.svg' | relative_url }}" alt='Česká pirátská strana' class="c-top-bar__brand-image u-center-medium-down u-stacked">
8
+ </a>
9
+ </div>
9
10
 
10
- <div class="c-top-bar__search">
11
- <div class="__vue-root" data-app="SiteSearch">
12
- <!-- this will get replaced by Vue.js content, placeholder only -->
13
- <div class="c-search">
14
- <input class="c-search__input" type="search" id="search" placeholder="Hledaný výraz">
15
- <button type="button" class="c-search__confirm" id="searchsub"><i class="fa fa-search" aria-hidden="true"></i></button>
11
+ <div class="c-top-bar__search">
12
+ <div class="__vue-root" data-app="SiteSearch">
13
+ <!-- this will get replaced by Vue.js content, placeholder only -->
14
+ <div class="c-search c-top-bar__search-container">
15
+ <input class="c-search__input c-top-bar__search-input" type="search" id="search" placeholder="Hledaný výraz">
16
+ <button type="button" class="c-search__confirm c-top-bar__search-confirm" id="searchsub"><i class="fa fa-search" aria-hidden="true"></i></button>
17
+ </div>
16
18
  </div>
17
19
  </div>
18
- </div>
19
20
 
20
- <div id="responsive-menu" class="c-responsive-menu">
21
- <ul class="c-responsive-menu__items" data-dropdown-menu="">
22
- {% for item in site.data.menu.main %}
23
- <li class="c-responsive-menu__item {% if item.class %}{{ item.class }}{% endif %} {% if item.match and page.url contains item.match %}c-responsive-menu__item--active{% endif %}">
24
- <a href="{{ item.link | relative_url }}">{{ item.name }}</a>
25
- </li>
26
- {% endfor %}
27
- </ul>
28
- </div>
21
+ <div id="responsive-menu" class="c-responsive-menu">
22
+ <ul class="c-responsive-menu__items" data-dropdown-menu="">
23
+ {% for item in site.data.menu.main %}
24
+ <li class="c-responsive-menu__item {% if item.class %}{{ item.class }}{% endif %} {% if item.match and page.url contains item.match %}c-responsive-menu__item--active{% endif %}">
25
+ <a href="{{ item.link | relative_url }}">{{ item.name }}</a>
26
+ </li>
27
+ {% endfor %}
28
+ </ul>
29
+ </div>
29
30
 
30
- <div class="c-responsive-menu-toggle hide-for-large">
31
- <span data-responsive-toggle="responsive-menu" id="menuTogge" data-hide-for="large">
32
- <button class="c-responsive-menu-toogle__button" type="button" data-toggle="">
33
- <span class="c-responsive-menu-toggle__caption">Menu</span>
34
- <i class="menu-icon dark"></i>
35
- </button>
36
- </span>
31
+ <div class="c-responsive-menu-toggle hide-for-large">
32
+ <span data-responsive-toggle="responsive-menu" id="menuTogge" data-hide-for="large">
33
+ <button class="c-responsive-menu-toogle__button" type="button" data-toggle="">
34
+ <span class="c-responsive-menu-toggle__caption">Menu</span>
35
+ </button>
36
+ </span>
37
+ </div>
37
38
  </div>
38
39
  </div>
39
40
  </div>
40
41
  </div>
41
-
42
- <div class="c-top-bar__divider"></div>
43
-
@@ -6,7 +6,9 @@
6
6
  </div>
7
7
  {% if include.content %}
8
8
  <div class="columns large-12">
9
- {{ include.content }}
9
+ <div class="{% if include.contentClass %}{{ include.contentClass }}{% endif %}">
10
+ {{ include.content }}
11
+ </div>
10
12
  </div>
11
13
  {% endif %}
12
14
  </div>
@@ -0,0 +1,11 @@
1
+ {%- if include.person.titles.before -%}
2
+ {%- unless include.plain -%}<span class="academic-title academic-title--before">{%- endunless -%}
3
+ {{ include.person.titles.before }}
4
+ {%- unless include.plain -%}</span>{%- endunless -%}
5
+ {%- endif %} {% unless include.plain -%}<span class="academic-title-name">{%- endunless -%}
6
+ {{ include.person.name }}
7
+ {%- unless include.plain -%}</span>{%- endunless -%}{% if include.person.titles.after %}
8
+ {%- unless include.plain -%}<span class="academic-title academic-title--after">{%- endunless -%}
9
+ , {{ include.person.titles.after }}
10
+ {%- unless include.plain -%}</span>{%- endunless -%}
11
+ {%- endif -%}
@@ -1,7 +1,7 @@
1
1
  {% if include.team.size > 0 %}
2
2
  <ul class="c-simple-accordion" data-accordion="" data-options="allowAllClosed: true">
3
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>
4
+ <a href="#{{ include.teamShortcut }}" class="c-simple-accordion-title"><h2 class="c-simple-accordion__headline">{{ include.teamName }}</h2></a>
5
5
  <div id="{{ include.teamShortcut }}" class="c-simple-accordion-content" data-tab-content="">
6
6
  {% include people/list-responsive.html team=team %}
7
7
  </div>
@@ -3,10 +3,10 @@
3
3
  týmů v /clenove
4
4
  úspěchů v /otevrenost
5
5
  {% endcomment %}
6
- <div class="row u-uniform-size-row">
6
+ <div class="c-member-list__row row u-uniform-size-row">
7
7
  {% for item in include.team %}
8
8
  {% assign loopindex = forloop.index | modulo: 2 %}
9
- <div class="large-4 medium-6 small-collapse columns {% if forloop.last %}end{% endif %}">
9
+ <div class="large-4 medium-6 small-collapse columns c-member-list__item {% if forloop.last %}end{% endif %}">
10
10
  {% include people/profile-badge.html item=item imgSize='small' imgStyle='round' %}
11
11
  </div>
12
12
  {% endfor %}
@@ -6,13 +6,8 @@
6
6
  {% else %}
7
7
  {% assign url = include.item.url | relative_url %}
8
8
  {% endif %}
9
- <div class="o-media {% if include.viewMode != 'single' %}u-0margin{% else %}o-media-list{% endif %} {% 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 %}
9
+ <div class="c-profile-badge {% if include.style == 'card' %}c-profile-badge--card{% endif %} {% if include.class %}{{ include.class }}{% endif %}">
10
+ <div class="c-profile-badge__avatar">
16
11
  {%- capture img -%}
17
12
  {%- if include.item.img -%}
18
13
  {%- if include.imgSize != 'big' -%}
@@ -24,34 +19,32 @@
24
19
  {{ 'assets/img/people/unknown-pirate.svg' | relative_url }}
25
20
  {%- endif -%}
26
21
  {%- 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>
22
+ <a class="c-profile-badge__anchor" href="{{ url }}"><img src="{{ img }}" alt="{{ label }}" class="c-profile-badge__image {% if include.imgStyle == 'round' %}c-profile-badge__image--round{% endif %} {% if include.imgSize != 'big' %}c-profile-badge__image--smaller{% endif %}"></a>
28
23
  </div>
29
- <div class="o-media__section">
30
- <div class="o-media__section-inner">
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 %}
41
24
 
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 %}
55
- </div>
25
+ <div class="c-profile-badge__body">
26
+ <h2 class="c-profile-badge__headline"><a href="{{ url }}" class="{% if include.headlineClass %}{{ include.headlineClass }}{% else %}t-h5-super{% endif %}">{{ label }}</a></h2>
27
+ {% unless include.showDescription == false %}
28
+ <p class="c-profile-badge__desc">
29
+ {% if include.description %}
30
+ {{ include.description }}
31
+ {% else %}
32
+ {{ include.item.description }}
33
+ {% endif %}
34
+ </p>
35
+ {% endunless %}
36
+
37
+ {% unless include.showContactInfo == false %}
38
+ {% if include.item.mob or include.item.mail %}
39
+ <div class="c-profile-badge__contacts">
40
+ {% if include.item.mob %}
41
+ <div><i class="fa fa-phone"></i> <a class="c-emphasized-anchor" href="tel:{{ include.item.mob }}">{{ include.item.mob }}</a></div>
42
+ {% endif %}
43
+ {% if include.item.mail %}
44
+ <div><i class="fa fa-envelope-o"></i> <a class="c-emphasized-anchor" href="mailto:{{ include.item.mail }}">{{ include.item.mail }}</a></div>
45
+ {% endif %}
46
+ </div>
47
+ {% endif %}
48
+ {% endunless %}
56
49
  </div>
57
50
  </div>
@@ -1,11 +1,8 @@
1
- <div class="o-section-block">
1
+ <div class="o-section-block show-for-medium">
2
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
- <a href="#" class="c-widget-accordion-link">
4
+ <a href="#" class="c-widget-accordion-link c-widget-accordion-link--cal">
5
5
  <span class="c-widget-accordion__title">{{ site.calendar.title }}</span>
6
- <span class="c-widget-accordion__icon c-widget-accordion__icon c-widget-accordion__icon--bottom" aria-hidden="true">
7
- <i class="fa fa-calendar-o fa-lg u-rotate-15"></i>
8
- </span>
9
6
  </a>
10
7
  <div class="c-widget-accordion-content" data-tab-content="">
11
8
  {% if site.env.GOOGLE_CALENDAR_APIKEY and site.calendar.id %}
@@ -1,11 +1,8 @@
1
- <div class="o-section-block">
1
+ <div class="o-section-block show-for-medium">
2
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
- <a href="#" class="c-widget-accordion-link">
4
+ <a href="#" class="c-widget-accordion-link c-widget-accordion-link--fb">
5
5
  <span class="c-widget-accordion__title">Facebook</span>
6
- <span class="c-widget-accordion__icon c-widget-accordion__icon c-widget-accordion__icon--bottom" aria-hidden="true">
7
- <i class="fa fa-facebook fa-lg"></i>
8
- </span>
9
6
  </a>
10
7
  <div class="c-widget-accordion-content" data-tab-content="">
11
8
  <div class="fb-page" data-href="{{ site.facebook.profilePage }}" data-tabs="timeline" data-width="500" data-height="550" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true">
@@ -1,17 +1,3 @@
1
1
  {% if page.img %}
2
- <div class="o-section-block">
3
- <ul class="c-widget-accordion" data-accordion="" data-allow-all-closed="true">
4
- <li class="c-widget-accordion-item is-active" data-accordion-item="">
5
- <a href="#" class="c-widget-accordion-link">
6
- <span class="c-widget-accordion__title">Foto</span>
7
- <span class="c-widget-accordion__icon c-widget-accordion__icon c-widget-accordion__icon--bottom" aria-hidden="true">
8
- <i class="fa fa-address-card-o fa-lg u-rotate-15"></i>
9
- </span>
10
- </a>
11
- <div class="c-widget-accordion-content c-widget-accordion-content--nopad text-center" data-tab-content="">
12
- {% asset '{{ page.img }}' alt='{{ page.name }}' magick:resize="350x" %}
13
- </div>
14
- </li>
15
- </ul>
16
- </div>
2
+ {% asset '{{ page.img }}' alt='{{ page.name }}' magick:resize="350x" class='c-person-image' %}
17
3
  {% endif %}