jekyll-theme-pirati 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/_sass/components/top-bar.scss +1 -2
- data/_sass/jquery-ui.scss +1311 -0
- data/_sass/layouts/_cast.scss +262 -0
- data/_sass/layouts/_kandidatka.scss +78 -0
- metadata +5 -4
- data/LICENSE +0 -21
- data/LICENSE.txt +0 -21
@@ -0,0 +1,262 @@
|
|
1
|
+
$dark: #343434;
|
2
|
+
%before-util{
|
3
|
+
content: '';
|
4
|
+
display: block;
|
5
|
+
position: absolute;
|
6
|
+
z-index: -1;
|
7
|
+
background: rgba($dark, .95);
|
8
|
+
left: 0;
|
9
|
+
top: 0;
|
10
|
+
bottom: 0;
|
11
|
+
right: 0;
|
12
|
+
}
|
13
|
+
%before-pattern{
|
14
|
+
background: -webkit-linear-gradient(-90deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 20%, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.4) 80%, rgba(0,0,0,0.5) 80%, rgba(0,0,0,0.5) 100%), -webkit-linear-gradient(0deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 20%, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.4) 80%, rgba(0,0,0,0.5) 80%, rgba(0,0,0,0.5) 100%), rgba(0,0,0,0.5);
|
15
|
+
background: -moz-linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 20%, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.4) 80%, rgba(0,0,0,0.5) 80%, rgba(0,0,0,0.5) 100%), -moz-linear-gradient(90deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 20%, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.4) 80%, rgba(0,0,0,0.5) 80%, rgba(0,0,0,0.5) 100%), rgba(0,0,0,0.5);
|
16
|
+
background: linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 20%, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.4) 80%, rgba(0,0,0,0.5) 80%, rgba(0,0,0,0.5) 100%), linear-gradient(90deg, rgba(0,0,0,0) 0, rgba(0,0,0,0) 20%, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.4) 80%, rgba(0,0,0,0.5) 80%, rgba(0,0,0,0.5) 100%), rgba(0,0,0,0.5);
|
17
|
+
-webkit-box-sizing: content-box;
|
18
|
+
-moz-box-sizing: content-box;
|
19
|
+
box-sizing: content-box;
|
20
|
+
-o-text-overflow: clip;
|
21
|
+
text-overflow: clip;
|
22
|
+
|
23
|
+
background-position: auto auto;
|
24
|
+
-webkit-background-origin: padding-box;
|
25
|
+
background-origin: padding-box;
|
26
|
+
-webkit-background-clip: border-box;
|
27
|
+
background-clip: border-box;
|
28
|
+
-webkit-background-size: 100% 100%;
|
29
|
+
background-size: 100% 100%;
|
30
|
+
}
|
31
|
+
.l-cast{
|
32
|
+
$unit: 1.125rem;
|
33
|
+
$light: #fff;
|
34
|
+
$accent: #f3c289;
|
35
|
+
position: relative;
|
36
|
+
&:before{
|
37
|
+
@extend %before-util;
|
38
|
+
background: url(https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/Slune%C4%8Dn%C3%AD_n%C3%A1m%C4%9Bst%C3%AD_Praha_13_2010.jpg/1200px-Slune%C4%8Dn%C3%AD_n%C3%A1m%C4%9Bst%C3%AD_Praha_13_2010.jpg);
|
39
|
+
background-size: contain;
|
40
|
+
background-repeat: no-repeat;
|
41
|
+
width: 1460px;
|
42
|
+
filter: grayscale(100%);
|
43
|
+
left: calc(50% - 730px);
|
44
|
+
}
|
45
|
+
|
46
|
+
&__top-bar{
|
47
|
+
background-color: $dark;
|
48
|
+
color: white;
|
49
|
+
text-align: center;
|
50
|
+
padding: 0;
|
51
|
+
position: sticky;
|
52
|
+
top: 0px;
|
53
|
+
z-index: 10;
|
54
|
+
&__list{
|
55
|
+
background-color: transparent !important;
|
56
|
+
&-item{
|
57
|
+
padding: $unit;
|
58
|
+
a{
|
59
|
+
color: $light !important;
|
60
|
+
font-size: 1rem !important;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
&__toggle{
|
66
|
+
&--more{
|
67
|
+
display: block;
|
68
|
+
text-align: center;
|
69
|
+
position: relative;
|
70
|
+
margin: $unit 0;
|
71
|
+
color: rgba($dark,.5);
|
72
|
+
&:before{
|
73
|
+
@extend %before-util;
|
74
|
+
top: auto;
|
75
|
+
height: 1px;
|
76
|
+
opacity: .3;
|
77
|
+
bottom: 50%;
|
78
|
+
right: 75%;
|
79
|
+
}
|
80
|
+
&:after{
|
81
|
+
@extend %before-util;
|
82
|
+
top: auto;
|
83
|
+
height: 1px;
|
84
|
+
opacity: .3;
|
85
|
+
bottom: 50%;
|
86
|
+
left: 75%;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
&__hero{
|
91
|
+
padding: 8*$unit 0;
|
92
|
+
overflow: hidden;
|
93
|
+
position: relative;
|
94
|
+
line-height: 1;
|
95
|
+
|
96
|
+
|
97
|
+
small{
|
98
|
+
font-size: 1.5rem;
|
99
|
+
}
|
100
|
+
&:before{
|
101
|
+
@extend %before-util;
|
102
|
+
@extend %before-pattern;
|
103
|
+
transform: rotate(-45deg) translate(-5%, -55%);
|
104
|
+
width: 60vw;
|
105
|
+
height: 60vw;
|
106
|
+
}
|
107
|
+
&:after{
|
108
|
+
@extend %before-util;
|
109
|
+
@extend %before-pattern;
|
110
|
+
transform: rotate(585deg) translate(-65%, 85%);
|
111
|
+
opacity: 0.2;
|
112
|
+
width: 80vh;
|
113
|
+
height: 80vh;
|
114
|
+
}
|
115
|
+
&-subhead{
|
116
|
+
line-height: 1.25;
|
117
|
+
margin-bottom: $unit;
|
118
|
+
}
|
119
|
+
&-head{
|
120
|
+
font-size: 6em;
|
121
|
+
font-weight: bold;
|
122
|
+
color: white;
|
123
|
+
}
|
124
|
+
&-text{
|
125
|
+
position: relative;
|
126
|
+
background: rgba(#ffffff,.85);
|
127
|
+
padding: 2*$unit;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
&__heading{
|
131
|
+
text-align: center;
|
132
|
+
font-size: 2.5em;
|
133
|
+
margin: 4*$unit 0;
|
134
|
+
position: relative;
|
135
|
+
color: white;
|
136
|
+
position: sticky;
|
137
|
+
top: 64px;
|
138
|
+
z-index: 1;
|
139
|
+
&:before{
|
140
|
+
@extend %before-util;
|
141
|
+
top: -$unit;
|
142
|
+
bottom: -$unit;
|
143
|
+
right: 20%;
|
144
|
+
transform: skew(45deg);
|
145
|
+
}
|
146
|
+
&:after{
|
147
|
+
@extend %before-util;
|
148
|
+
top: -$unit;
|
149
|
+
bottom: -$unit;
|
150
|
+
left: 20%;
|
151
|
+
transform: skew(-45deg);
|
152
|
+
}
|
153
|
+
}
|
154
|
+
&__perex{
|
155
|
+
font-size: 1.25em;
|
156
|
+
.l-cast__kan ~ section &{
|
157
|
+
margin-bottom: 3*$unit;
|
158
|
+
}
|
159
|
+
&-columns{
|
160
|
+
$u: 1.25rem;
|
161
|
+
column-count: 2;
|
162
|
+
column-gap: 2*$u;
|
163
|
+
padding: $u 0;
|
164
|
+
margin-bottom: 2*$u;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
&__kan{
|
168
|
+
margin-top: -5*$unit - .75rem;
|
169
|
+
//overflow: hidden;
|
170
|
+
.l-kan__item{
|
171
|
+
border-top: none;
|
172
|
+
}
|
173
|
+
&-img{
|
174
|
+
position: relative;
|
175
|
+
&:before{
|
176
|
+
@extend %before-util;
|
177
|
+
background: rgba($dark,.1) !important;
|
178
|
+
transform: rotate(45deg) translate(-0%, -62%);
|
179
|
+
opacity: 0.5;
|
180
|
+
width: 5*$unit;
|
181
|
+
height: 80vh;
|
182
|
+
}
|
183
|
+
img{
|
184
|
+
position: sticky;
|
185
|
+
top: 120px;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
&-item:nth-of-type(even) &-img{
|
189
|
+
&:before{
|
190
|
+
@extend %before-util;
|
191
|
+
transform: rotate(-45deg) translate(450%, -30%);
|
192
|
+
}
|
193
|
+
}
|
194
|
+
}
|
195
|
+
&__activity{
|
196
|
+
$u: 1.25rem;
|
197
|
+
&-perex{
|
198
|
+
&-item{
|
199
|
+
padding-top: $u;
|
200
|
+
padding-bottom: $u;
|
201
|
+
display: flex;
|
202
|
+
}
|
203
|
+
&-icon{
|
204
|
+
font-size: 3rem;
|
205
|
+
line-height: 5rem;
|
206
|
+
vertical-align: middle;
|
207
|
+
display: block;
|
208
|
+
text-align: center;
|
209
|
+
border-radius: 50%;
|
210
|
+
background: $dark;
|
211
|
+
color: white;
|
212
|
+
width: 5rem;
|
213
|
+
height: 5rem;
|
214
|
+
flex-basis: 5rem;
|
215
|
+
flex-shrink: 0;
|
216
|
+
margin: 0 2*$u;
|
217
|
+
}
|
218
|
+
}
|
219
|
+
}
|
220
|
+
&__priority,&__connect{
|
221
|
+
$u: 1.25rem;
|
222
|
+
&-detail{
|
223
|
+
background: rgba($dark,.05);
|
224
|
+
&-title{
|
225
|
+
margin: $u 0;
|
226
|
+
padding: $u 0;
|
227
|
+
position: relative;
|
228
|
+
font-size: 1.75em;
|
229
|
+
&:before{
|
230
|
+
@extend %before-util;
|
231
|
+
//right: -100%;
|
232
|
+
//border-bottom: 1px solid $dark;
|
233
|
+
top: auto;
|
234
|
+
height: 1px;
|
235
|
+
}
|
236
|
+
p + &{
|
237
|
+
margin-top: 2*$u;
|
238
|
+
}
|
239
|
+
}
|
240
|
+
}
|
241
|
+
&-row{
|
242
|
+
//border-top: 1px solid rgba(black, .1);
|
243
|
+
//padding-top: 4*$unit;
|
244
|
+
}
|
245
|
+
&-perex{
|
246
|
+
position: sticky;
|
247
|
+
top: 144px;
|
248
|
+
&-item{
|
249
|
+
padding: $u 2*$u 2*$u 0;
|
250
|
+
& + &{
|
251
|
+
border-top: 1px solid rgba(black, .1);
|
252
|
+
padding-top: 2*$u;
|
253
|
+
}
|
254
|
+
}
|
255
|
+
}
|
256
|
+
}
|
257
|
+
&__end{
|
258
|
+
p+p{
|
259
|
+
|
260
|
+
}
|
261
|
+
}
|
262
|
+
}
|
@@ -0,0 +1,78 @@
|
|
1
|
+
.l-kan{
|
2
|
+
$kandidate__margin: .85em;
|
3
|
+
&__item{
|
4
|
+
display: flex;
|
5
|
+
border-top: 1px solid rgba(black, .1);
|
6
|
+
padding-top: 4*$kandidate__margin;
|
7
|
+
&:nth-of-type(even) &-img{
|
8
|
+
order: 2;
|
9
|
+
}
|
10
|
+
@include breakpoint(mobile up) {
|
11
|
+
&:nth-of-type(n+5) &-img{
|
12
|
+
width: 20%;
|
13
|
+
}
|
14
|
+
&:nth-of-type(n+5) &-data{
|
15
|
+
width: 80%;
|
16
|
+
}
|
17
|
+
&:nth-of-type(n+5) .l-kan__name{
|
18
|
+
margin-top: 0;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
@include breakpoint(mobile down) {
|
23
|
+
&-img, &-data{
|
24
|
+
width: 100%;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
&-img{
|
29
|
+
|
30
|
+
}
|
31
|
+
&-data{
|
32
|
+
|
33
|
+
}
|
34
|
+
& + & {
|
35
|
+
margin-top: 5*$kandidate__margin;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
&__name{
|
39
|
+
margin-top: 3*$kandidate__margin;;
|
40
|
+
}
|
41
|
+
&__role{
|
42
|
+
opacity: .75;
|
43
|
+
margin-top: $kandidate__margin;
|
44
|
+
margin-bottom: 2*$kandidate__margin;
|
45
|
+
}
|
46
|
+
&__map{
|
47
|
+
position: sticky;
|
48
|
+
bottom: 0;
|
49
|
+
background: white;
|
50
|
+
padding: $kandidate__margin;
|
51
|
+
margin: 0 -18px;
|
52
|
+
border-top: 1px solid black;
|
53
|
+
margin-top: 2*$kandidate__margin;
|
54
|
+
//text-align: center;
|
55
|
+
//transform: translateY(404px);
|
56
|
+
//&:hover{
|
57
|
+
// transform: translateY(0);
|
58
|
+
//}
|
59
|
+
svg{
|
60
|
+
path{
|
61
|
+
fill: transparent !important;
|
62
|
+
stroke: black !important;
|
63
|
+
stroke-width: 2px;
|
64
|
+
&:hover{
|
65
|
+
fill: black !important;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
h4{
|
70
|
+
margin: .5em;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
&__region{
|
74
|
+
&-select{
|
75
|
+
margin: 0;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-pirati
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jitka Novotná
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -59,8 +59,6 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
-
- LICENSE
|
63
|
-
- LICENSE.txt
|
64
62
|
- README.md
|
65
63
|
- _includes/accordeon/accordeon-column.html
|
66
64
|
- _includes/accordeon/accordeon.html
|
@@ -208,6 +206,9 @@ files:
|
|
208
206
|
- _sass/foundation/util/_unit.scss
|
209
207
|
- _sass/foundation/util/_util.scss
|
210
208
|
- _sass/foundation/util/_value.scss
|
209
|
+
- _sass/jquery-ui.scss
|
210
|
+
- _sass/layouts/_cast.scss
|
211
|
+
- _sass/layouts/_kandidatka.scss
|
211
212
|
- _sass/main.scss
|
212
213
|
- _sass/minima.scss
|
213
214
|
- _sass/minima/_base.scss
|
data/LICENSE
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
MIT License
|
2
|
-
|
3
|
-
Copyright (c) 2018 jitka
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|
data/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2018 Jitka Novotná
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|