jekyll-theme-pirati 4.1.0 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/menu.yml +6 -21
- data/_includes/articles/horizontal-article.html +1 -1
- data/_includes/articles/vertical-article.html +1 -1
- data/_includes/headline-media.html +17 -0
- data/_includes/js/main.html +3 -3
- data/_includes/page-header.html +1 -1
- data/_includes/submenu.html +19 -22
- data/_layouts/blank-article.html +20 -0
- data/_layouts/{komunalni-volby.html → communal-elections.html} +15 -19
- data/_layouts/page.html +3 -18
- data/_layouts/post.html +1 -1
- data/_sass/_settings.scss +1 -1
- data/_sass/components/article-listing.scss +19 -0
- data/_sass/components/corner-ribbon.scss +24 -0
- data/_sass/components/{headline-image.scss → headline-media.scss} +18 -21
- data/_sass/components/top-sub-nav.scss +18 -129
- data/_sass/components/typography.scss +9 -0
- data/_sass/pirati.scss +2 -1
- data/_sass/utilities/utilities.scss +16 -0
- data/assets/js/{0.main.7e1dba7862b243eb382c.js → 0.main.3dd297e4b94da9cfc686.js} +0 -0
- data/assets/js/{0.main.7e1dba7862b243eb382c.js.map → 0.main.3dd297e4b94da9cfc686.js.map} +1 -1
- data/assets/js/{main.7e1dba7862b243eb382c.css → main.3dd297e4b94da9cfc686.css} +2 -2
- data/assets/js/main.3dd297e4b94da9cfc686.css.map +1 -0
- data/assets/js/{main.7e1dba7862b243eb382c.js → main.3dd297e4b94da9cfc686.js} +0 -0
- data/assets/js/{main.7e1dba7862b243eb382c.js.map → main.3dd297e4b94da9cfc686.js.map} +1 -1
- metadata +12 -10
- data/_includes/headline-image.html +0 -17
- data/assets/js/main.7e1dba7862b243eb382c.css.map +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd30e980264ac27fb9a665e08b9022ae7e2f03312ed75749ff918edeaae5be86
|
4
|
+
data.tar.gz: 56cbea99cd4923ebd38b69a8c1e1bdfb3aa43a4708aa81a651101bec2a094aed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a32ff91ebcc3960819c900faf768fcb7dc0d7633cab16b602f63b59c5801337651ebf786201726ad329c2e9ab520a239dcff5fcc77382483c570a89a0f7bed3
|
7
|
+
data.tar.gz: 4c935297f2f739d34a6351a6e07ed779fd76cc245f24bfc0fb61a16640990795a953d7938e5fabd965f9394dd2b45c3c2943a0a2c5d64e8d8f74e4a1d7099478
|
data/_data/menu.yml
CHANGED
@@ -20,27 +20,12 @@ main:
|
|
20
20
|
name: Komunální volby
|
21
21
|
match: komunalni-volby
|
22
22
|
submenu:
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
campaigns:
|
30
|
-
- title: Program na radnici
|
31
|
-
category: praha2018
|
32
|
-
candidates:
|
33
|
-
- prvni.leader
|
34
|
-
- mistni.predseda
|
35
|
-
- jakub.pirat
|
36
|
-
- aktivni.priznivec
|
37
|
-
- title: Senát
|
38
|
-
category: senat
|
39
|
-
candidates:
|
40
|
-
- jakub.pirat
|
41
|
-
- link: /kontakt/
|
42
|
-
name: Kontakt
|
43
|
-
match: kontakt
|
23
|
+
- link: /komunalni-volby/praha2018
|
24
|
+
name: Program na radnici
|
25
|
+
match: radnice
|
26
|
+
- link: /komunalni-volby/senat
|
27
|
+
name: Senát
|
28
|
+
match: senat
|
44
29
|
|
45
30
|
bottom:
|
46
31
|
- class: small-12 medium-4
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
<div class="c-article-listing__row">
|
5
5
|
<div class="c-article-listing__photobox">
|
6
|
-
<div itemprop="image" itemtype="http://schema.org/ImageObject" class="c-article-listing__image" itemscope="">
|
6
|
+
<div itemprop="image" itemtype="http://schema.org/ImageObject" class="c-article-listing__image {% if include.article.youtubeVideoId %}c-article-listing__image--videoicon{% endif %}" itemscope="">
|
7
7
|
{% capture imgPath %}{% asset '{{ include.article.image }}' magick:resize="348x232^" magick:gravity='center' magick:crop='348x232+0+0' @path %}{% endcapture %}
|
8
8
|
<a href="{{ include.article.url | relative_url }}">
|
9
9
|
<img src="{{ imgPath }}" alt="{{ include.article.title }}">
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
<div class="c-article-listing__photobox">
|
6
6
|
<a href="{{ include.article.url | relative_url }}">
|
7
|
-
<div itemprop="image" itemtype="http://schema.org/ImageObject" class="c-article-listing__image" itemscope="">
|
7
|
+
<div itemprop="image" itemtype="http://schema.org/ImageObject" class="c-article-listing__image {% if include.article.youtubeVideoId %}c-article-listing__image--videoicon{% endif %}" itemscope="">
|
8
8
|
{% capture imgPath %}{% asset '{{ include.article.image }}' magick:resize='751x422^' magick:gravity='center' magick:crop='751x422+0+0' @path %}{% endcapture %}
|
9
9
|
<img src="{{ imgPath }}" alt="{{ include.article.title }}">
|
10
10
|
<meta itemprop="url" content="{{ imgPath }}">
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<div class="o-section-block o-section-block-fill">
|
2
|
+
<div class="c-headline-media">
|
3
|
+
{% capture imgPath %}{% asset '{{ include.image }}' magick:resize='751x422^' magick:gravity='center' magick:crop='751x422+0+0' @path %}{% endcapture %}
|
4
|
+
<div class="c-headline-media__background" style="background-image: url({{ imgPath }})"></div>
|
5
|
+
<div class="row c-headline-media__body">
|
6
|
+
<div class="small-12 columns">
|
7
|
+
{% comment %}If youtube video id is provided, it takes precendece over the image{% endcomment %}
|
8
|
+
{%- if include.youtubeVideoId %}
|
9
|
+
{% include youtube.html width=751 height=422 id=include.youtubeVideoId %}
|
10
|
+
{% else %}
|
11
|
+
<img src="{{ imgPath }}" alt="{{ include.title }}">
|
12
|
+
{%- endif %}
|
13
|
+
</div>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
</div>
|
17
|
+
</div>
|
data/_includes/js/main.html
CHANGED
@@ -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.
|
6
|
-
<script src="/assets/js/0.main.
|
7
|
-
<script src="/assets/js/main.
|
5
|
+
<link rel="stylesheet" href="/assets/js/main.3dd297e4b94da9cfc686.css" />
|
6
|
+
<script src="/assets/js/0.main.3dd297e4b94da9cfc686.js"></script>
|
7
|
+
<script src="/assets/js/main.3dd297e4b94da9cfc686.js"></script>
|
8
8
|
|
9
9
|
{% if site.facebook.loadSDK %}
|
10
10
|
<script>
|
data/_includes/page-header.html
CHANGED
data/_includes/submenu.html
CHANGED
@@ -1,26 +1,23 @@
|
|
1
1
|
{% for menu in site.data.menu.main %}
|
2
|
-
{% if page.url contains menu.match %}
|
3
|
-
{% if menu.submenu %}
|
4
|
-
<nav class="c-top-sub-nav
|
5
|
-
|
6
|
-
|
7
|
-
<div class="
|
8
|
-
|
9
|
-
<div class="c-top-sub-nav__heading"> {{menu.name}} </div>
|
10
|
-
</div>
|
11
|
-
<div class="c-top-sub-nav-divider"></div>
|
12
|
-
<ul class="c-top-sub-nav-items">
|
13
|
-
|
14
|
-
{% for submenu in menu.submenu %}
|
15
|
-
<li class="c-top-sub-nav__item">
|
16
|
-
<a href="{{ submenu.link }}"> {{submenu.name}} </a>
|
17
|
-
</li>
|
18
|
-
{% endfor %}
|
19
|
-
</ul>
|
2
|
+
{% if page.url contains menu.match %}
|
3
|
+
{% if menu.submenu %}
|
4
|
+
<nav class="c-top-sub-nav">
|
5
|
+
<div class="row">
|
6
|
+
<div class="c-top-sub-nav-inner columns">
|
7
|
+
<div class="c-top-sub-nav__header">
|
8
|
+
<h2 class="c-top-sub-nav__heading">{{ menu.name }}</h2>
|
20
9
|
</div>
|
10
|
+
<div class="c-top-sub-nav-divider"></div>
|
11
|
+
<ul class="c-top-sub-nav-items">
|
12
|
+
{% for submenu in menu.submenu %}
|
13
|
+
<li class="c-top-sub-nav__item {% if page.url contains submenu.match %}c-top-sub-nav__item--active{% endif %}">
|
14
|
+
<a href="{{ submenu.link }}">{{ submenu.name }} </a>
|
15
|
+
</li>
|
16
|
+
{% endfor %}
|
17
|
+
</ul>
|
18
|
+
</div>
|
21
19
|
</div>
|
22
|
-
|
23
|
-
|
24
|
-
{% endif %}
|
25
|
-
{% endif %}
|
20
|
+
</nav>
|
21
|
+
{% endif %}
|
22
|
+
{% endif %}
|
26
23
|
{% endfor %}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="row">
|
6
|
+
<div class="medium-12 {% unless page.rbar == empty or page.rbar == blank or page.rbar == nil %} large-8{% endunless %} columns">
|
7
|
+
|
8
|
+
<!-- Article -->
|
9
|
+
<article itemtype="http://schema.org/BlogPosting" itemscope="">
|
10
|
+
<link itemprop="mainEntityOfPage" href="{{ page.url }}">
|
11
|
+
{{ content }}
|
12
|
+
</article>
|
13
|
+
<!-- /Article -->
|
14
|
+
</div>
|
15
|
+
{% unless page.rbar == empty or page.rbar == blank or page.rbar == nil %}
|
16
|
+
<div class="medium-12 large-4 columns">
|
17
|
+
{% include right-bar/rbar.html %}
|
18
|
+
</div>
|
19
|
+
{% endunless %}
|
20
|
+
</div>
|
@@ -1,26 +1,21 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: blank-article
|
3
3
|
---
|
4
|
-
{% assign candidates = site.kandidatka | where: "uid", page.candidateList | first %}
|
5
|
-
{% assign programCategories = site.program | where: "campaignCategoryUid", page.campaignCategoryUid | sort:"order" %}
|
6
4
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
<div class="c-tile c-tile--inverted c-tile--fill">
|
11
|
-
<div class="c-tile__body u-center">
|
12
|
-
<h1 class="u-0margin">Volte číslo {{ candidates.number }}!</h1>
|
13
|
-
</div>
|
14
|
-
</div>
|
15
|
-
{% comment %}
|
16
|
-
Tohle bych tělo ještě tučněji, nějak s tím víc graficky pracovat.
|
17
|
-
{% endcomment %}
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
{% endif %}
|
5
|
+
<div class="c-corner-ribbon-container">
|
6
|
+
{% assign candidates = site.candidatelists | where: "uid", page.candidateListUid | first %}
|
7
|
+
{% assign programCategories = site.program | where: "campaignCategoryUid", page.campaignCategoryUid | sort:"order" %}
|
21
8
|
|
22
|
-
<
|
23
|
-
|
9
|
+
{% capture headline %}{{ page.title }}{% if candidates.number %}<span class="t-subheader u-1margin--left">» volte č. {{ candidates.number }} «</span>{% endif %}{% endcapture %}
|
10
|
+
{% capture headerContent %}
|
11
|
+
<div class="c-emphasized-text">{{ content }}</div>
|
12
|
+
{% endcapture %}
|
13
|
+
|
14
|
+
{% if candidates.number %}
|
15
|
+
<div class="c-corner-ribbon c-corner-ribbon--top-right">Volte č. {{ candidates.number }}!</div>
|
16
|
+
{% endif %}
|
17
|
+
|
18
|
+
{% include page-header.html headline=headline content=headerContent %}
|
24
19
|
</div>
|
25
20
|
|
26
21
|
<div class="o-section">
|
@@ -95,3 +90,4 @@ layout: page
|
|
95
90
|
</div>
|
96
91
|
</div>
|
97
92
|
</div>
|
93
|
+
|
data/_layouts/page.html
CHANGED
@@ -1,21 +1,6 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: blank-article
|
3
3
|
---
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
<!-- Article -->
|
9
|
-
<article itemtype="http://schema.org/BlogPosting" itemscope="">
|
10
|
-
<link itemprop="mainEntityOfPage" href="{{ page.url }}">
|
11
|
-
{% capture headline %}{% if page.fullname %}{{ page.fullname }}{% else %}{{ page.title }}{% endif %}{% endcapture %}
|
12
|
-
{% include page-header.html headline=headline content=content %}
|
13
|
-
</article>
|
14
|
-
<!-- /Article -->
|
15
|
-
</div>
|
16
|
-
{% unless page.rbar == empty or page.rbar == blank or page.rbar == nil %}
|
17
|
-
<div class="medium-12 large-4 columns">
|
18
|
-
{% include right-bar/rbar.html %}
|
19
|
-
</div>
|
20
|
-
{% endunless %}
|
21
|
-
</div>
|
5
|
+
{% capture headline %}{% if page.fullname %}{{ page.fullname }}{% else %}{{ page.title }}{% endif %}{% endcapture %}
|
6
|
+
{% include page-header.html headline=headline content=content %}
|
data/_layouts/post.html
CHANGED
@@ -49,7 +49,7 @@ layout: default
|
|
49
49
|
</div>
|
50
50
|
|
51
51
|
{% if page.image %}
|
52
|
-
{% include headline-
|
52
|
+
{% include headline-media.html image=page.image title=page.title youtubeVideoId=page.youtubeVideoId %}
|
53
53
|
{% endif %}
|
54
54
|
|
55
55
|
<div class="row o-section-block">
|
data/_sass/_settings.scss
CHANGED
@@ -49,3 +49,22 @@
|
|
49
49
|
max-width: none;
|
50
50
|
}
|
51
51
|
}
|
52
|
+
|
53
|
+
.c-article-listing__image--videoicon {
|
54
|
+
position: relative;
|
55
|
+
|
56
|
+
&:before {
|
57
|
+
content: '\f144';
|
58
|
+
position: absolute;
|
59
|
+
width: 90px;
|
60
|
+
height: 130px;
|
61
|
+
top: 50%;
|
62
|
+
left: 50%;
|
63
|
+
margin-top: -65px;
|
64
|
+
margin-left: -45px;
|
65
|
+
font-family: 'FontAwesome';
|
66
|
+
font-size: 100px;
|
67
|
+
color: $secondary-color;
|
68
|
+
opacity: .85;
|
69
|
+
}
|
70
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
.c-corner-ribbon-container {
|
2
|
+
position: relative;
|
3
|
+
overflow: hidden;
|
4
|
+
}
|
5
|
+
|
6
|
+
.c-corner-ribbon {
|
7
|
+
width: 200px;
|
8
|
+
background: $primary-color;
|
9
|
+
position: absolute;
|
10
|
+
top: 25px;
|
11
|
+
left: -50px;
|
12
|
+
text-align: center;
|
13
|
+
line-height: 50px;
|
14
|
+
letter-spacing: 1px;
|
15
|
+
color: $secondary-color;
|
16
|
+
transform: rotate(-45deg);
|
17
|
+
}
|
18
|
+
|
19
|
+
.c-corner-ribbon--top-right {
|
20
|
+
top: 25px;
|
21
|
+
right: -50px;
|
22
|
+
left: auto;
|
23
|
+
transform: rotate(45deg);
|
24
|
+
}
|
@@ -3,10 +3,11 @@
|
|
3
3
|
* with a stretched image. Over that the image in normal dimensions is shown.
|
4
4
|
*/
|
5
5
|
|
6
|
-
.c-headline-
|
6
|
+
.c-headline-media {
|
7
7
|
position: relative;
|
8
8
|
min-height: 420px;
|
9
9
|
background: $secondary-color;
|
10
|
+
z-index: 1;
|
10
11
|
|
11
12
|
@include breakpoint(medium down) {
|
12
13
|
min-height: 250px;
|
@@ -18,27 +19,23 @@
|
|
18
19
|
}
|
19
20
|
}
|
20
21
|
|
21
|
-
.c-headline-
|
22
|
-
|
23
|
-
|
24
|
-
|
22
|
+
.c-headline-media__background {
|
23
|
+
z-index: -1;
|
24
|
+
width: 100%;
|
25
|
+
height: 100%;
|
26
|
+
min-height: 100%;
|
25
27
|
position: absolute;
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
28
|
+
background-position: center;
|
29
|
+
background-repeat: no-repeat;
|
30
|
+
background-size: cover;
|
31
|
+
opacity: .15;
|
32
|
+
}
|
33
|
+
|
34
|
+
.c-headline-media__body {
|
35
|
+
z-index: 1;
|
30
36
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
position: absolute;
|
35
|
-
top: -100%;
|
36
|
-
right: -100%;
|
37
|
-
bottom: -100%;
|
38
|
-
left: -100%;
|
39
|
-
margin: auto;
|
40
|
-
opacity: 0.1;
|
41
|
-
user-select: none;
|
42
|
-
cursor: default;
|
37
|
+
// fixes overflow
|
38
|
+
iframe {
|
39
|
+
float: left;
|
43
40
|
}
|
44
41
|
}
|
@@ -1,59 +1,18 @@
|
|
1
1
|
$tsb-ns: '';
|
2
2
|
|
3
3
|
nav.#{$tsb-ns}c-top-sub-nav {
|
4
|
-
background:
|
4
|
+
background: $light-gray;
|
5
5
|
}
|
6
6
|
|
7
7
|
.#{$tsb-ns}c-top-sub-nav .#{$tsb-ns}c-top-sub-nav-inner {
|
8
|
-
|
9
|
-
padding:
|
8
|
+
display: flex;
|
9
|
+
padding-top: 2rem;
|
10
|
+
padding-bottom: 2rem;
|
10
11
|
overflow-y: hidden;
|
11
12
|
|
12
|
-
&:before {
|
13
|
-
content: '';
|
14
|
-
position: absolute;
|
15
|
-
display: block;
|
16
|
-
width: 335px;
|
17
|
-
height: 150px;
|
18
|
-
// background: url('../img/miscellaneous/vbox.png') no-repeat;
|
19
|
-
bottom: -20px;
|
20
|
-
right: 10px;
|
21
|
-
}
|
22
|
-
|
23
13
|
@include breakpoint(mobile down) {
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
@include breakpoint(medium down) {
|
28
|
-
|
29
|
-
&:before {
|
30
|
-
right: 20px;
|
31
|
-
}
|
32
|
-
|
33
|
-
}
|
34
|
-
|
35
|
-
@include breakpoint(860px down) {
|
36
|
-
padding-bottom: 130px;
|
37
|
-
|
38
|
-
&:before {
|
39
|
-
transform: translateX(50%);
|
40
|
-
right: 50%;
|
41
|
-
bottom: 0;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
|
45
|
-
&:after {
|
46
|
-
content: '';
|
47
|
-
display: block;
|
48
|
-
position: absolute;
|
49
|
-
}
|
50
|
-
}
|
51
|
-
|
52
|
-
.#{$tsb-ns}c-top-sub-nav .#{$tsb-ns}c-top-sub-nav-header {
|
53
|
-
display: inline-block;
|
54
|
-
|
55
|
-
@include breakpoint(860px down) {
|
56
|
-
display: block;
|
14
|
+
text-align: center;
|
15
|
+
flex-direction: column;
|
57
16
|
}
|
58
17
|
}
|
59
18
|
|
@@ -61,10 +20,11 @@ nav.#{$tsb-ns}c-top-sub-nav {
|
|
61
20
|
font-size: 1.5rem;
|
62
21
|
font-weight: 500;
|
63
22
|
font-family: $header-font-family;
|
23
|
+
margin: 0;
|
64
24
|
}
|
65
25
|
|
66
26
|
.#{$tsb-ns}c-top-sub-nav .#{$tsb-ns}c-top-sub-nav-divider {
|
67
|
-
margin:
|
27
|
+
margin: 0 2rem;
|
68
28
|
|
69
29
|
&:before {
|
70
30
|
content: '\f105';
|
@@ -72,115 +32,44 @@ nav.#{$tsb-ns}c-top-sub-nav {
|
|
72
32
|
font-size: 1.3rem;
|
73
33
|
}
|
74
34
|
|
75
|
-
@include breakpoint(
|
76
|
-
display: inline-block;
|
77
|
-
width: 1px;
|
78
|
-
height: 22px;
|
79
|
-
margin: auto 30px;
|
80
|
-
vertical-align: baseline;
|
81
|
-
}
|
82
|
-
|
83
|
-
@include breakpoint(860px down) {
|
35
|
+
@include breakpoint(mobile down) {
|
84
36
|
display: block;
|
85
|
-
margin: 10px auto;
|
86
37
|
|
87
38
|
&:before {
|
88
39
|
content: '\f107';
|
89
40
|
margin-left: -7px;
|
90
41
|
}
|
91
42
|
}
|
92
|
-
|
93
|
-
@include breakpoint(mobile down) {
|
94
|
-
margin: 0px auto;
|
95
|
-
}
|
96
43
|
}
|
97
44
|
|
98
|
-
.#{$tsb-ns}c-top-sub-nav
|
99
|
-
display: inline-block;
|
45
|
+
.#{$tsb-ns}c-top-sub-nav-items {
|
100
46
|
list-style-type: none;
|
101
47
|
margin-left: 0;
|
102
48
|
margin-bottom: 0;
|
103
|
-
|
104
|
-
@include breakpoint(800px down) {
|
105
|
-
display: block;
|
106
|
-
}
|
107
|
-
|
108
49
|
}
|
109
50
|
|
110
|
-
.#{$tsb-ns}c-top-sub-
|
111
|
-
|
112
|
-
@include breakpoint(mobile down) {
|
113
|
-
line-height: 2;
|
114
|
-
}
|
115
|
-
|
116
|
-
}
|
117
|
-
|
118
|
-
.#{$tsb-ns}c-top-sub-nav .#{$tsb-ns}c-top-sub-nav__item {
|
51
|
+
.#{$tsb-ns}c-top-sub-nav__item {
|
119
52
|
display: inline-block;
|
120
53
|
margin-left: 0;
|
121
54
|
font-size: 1.15rem;
|
122
55
|
|
123
56
|
a {
|
124
|
-
color: #0a0a0a;
|
125
57
|
text-decoration: underline;
|
126
58
|
}
|
127
59
|
|
128
|
-
a:hover {
|
129
|
-
text-decoration: none;
|
130
|
-
}
|
131
|
-
|
132
|
-
}
|
133
|
-
|
134
|
-
.#{$tsb-ns}c-top-sub-nav {
|
135
|
-
|
136
|
-
@include breakpoint(medium) {
|
137
|
-
|
138
|
-
.#{$tsb-ns}c-top-sub-nav__item +
|
139
|
-
.#{$tsb-ns}c-top-sub-nav__item {
|
140
|
-
margin-left: 25px;
|
141
|
-
}
|
142
|
-
|
143
|
-
.#{$tsb-ns}c-top-sub-nav__item.#{$tsb-ns}c-top-sub-nav__item--smallerSpace +
|
144
|
-
.#{$tsb-ns}c-top-sub-nav__item.#{$tsb-ns}c-top-sub-nav__item--smallerSpace {
|
145
|
-
margin-left: 12px;
|
146
|
-
}
|
147
|
-
|
148
|
-
}
|
149
|
-
|
150
|
-
@include breakpoint(820px down) {
|
151
|
-
|
152
|
-
.#{$tsb-ns}c-top-sub-nav__item +
|
153
|
-
.#{$tsb-ns}c-top-sub-nav__item {
|
154
|
-
margin-left: 20px;
|
155
|
-
}
|
156
|
-
|
157
|
-
.#{$tsb-ns}c-top-sub-nav__item.#{$tsb-ns}c-top-sub-nav__item--smallerSpace +
|
158
|
-
.#{$tsb-ns}c-top-sub-nav__item.#{$tsb-ns}c-top-sub-nav__item--smallerSpace {
|
159
|
-
margin-left: 10px;
|
160
|
-
}
|
161
|
-
|
162
|
-
}
|
163
|
-
|
164
|
-
}
|
165
|
-
|
166
|
-
.#{$tsb-ns}c-top-sub-nav .#{$tsb-ns}c-top-sub-nav__section {
|
167
|
-
display: inline-block;
|
168
|
-
font-weight: bold;
|
169
|
-
vertical-align: middle;
|
170
|
-
|
171
60
|
@include breakpoint(mobile down) {
|
172
61
|
display: block;
|
173
62
|
}
|
174
|
-
|
175
63
|
}
|
64
|
+
.#{$tsb-ns}c-top-sub-nav__item +
|
65
|
+
.#{$tsb-ns}c-top-sub-nav__item {
|
66
|
+
margin-left: 2rem;
|
176
67
|
|
177
|
-
|
178
|
-
|
179
|
-
a:hover .#{$tsb-ns}c-top-sub-nav__itemDescription {
|
180
|
-
text-decoration: underline;
|
68
|
+
@include breakpoint(medium down) {
|
69
|
+
margin-left: 1rem;
|
181
70
|
}
|
182
71
|
|
183
|
-
|
184
|
-
margin
|
72
|
+
@include breakpoint(mobile down) {
|
73
|
+
margin: 0;
|
185
74
|
}
|
186
75
|
}
|