casjaysdev-jekyll-theme 0.2.4 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitattributes +0 -0
- data/.gitignore +96 -17
- data/.prettierrc.json +8 -0
- data/.vscode/settings.json +6 -0
- data/Gemfile +25 -15
- data/LICENSE.md +1 -1
- data/_config.yml +195 -105
- data/_data/nav/external.yml +1 -1
- data/_includes/ads/adsense.html +15 -0
- data/_includes/analytics/google.html +13 -0
- data/_includes/{casjaysdev/piwik.html → analytics/matomo.html} +5 -6
- data/_includes/casjays-footer.html +61 -43
- data/_includes/casjays-header.html +39 -1
- data/_includes/casjaysdev/clock.html +3 -12
- data/_includes/casjaysdev/eucookie.html +21 -30
- data/_includes/casjaysdev/legal.html +17 -38
- data/_includes/casjaysdev/rocketchat.html +3 -4
- data/_includes/casjaysdev/sharethis.html +6 -42
- data/_includes/casjaysdev/socialfooter.html +9 -85
- data/_includes/casjaysdev/sociallinks.html +51 -79
- data/_includes/casjaysdev/statcounter.html +8 -25
- data/_includes/casjaysdev/theme.html +9 -11
- data/_includes/casjaysdev/widgetbot.html +3 -1
- data/_includes/disqus.html +3 -7
- data/_includes/functions/blog.html +68 -0
- data/_includes/functions/default.html +3 -0
- data/{_pages → _includes/functions}/gallery/index.html +3 -5
- data/_includes/functions/gallery.html +44 -0
- data/_includes/functions/recipes.html +68 -0
- data/_includes/github.html +17 -7
- data/_includes/nav/external.html +10 -11
- data/_includes/nav/internal.html +14 -10
- data/_includes/nav/sidebars/right.html +2 -1
- data/_includes/nav/top.html +12 -19
- data/_includes/themes/blank/layouts/default.html +5 -20
- data/_includes/themes/blank/navigation.html +16 -18
- data/_includes/themes/hacker/layouts/default.html +32 -60
- data/_includes/themes/hacker/meta.html +2 -95
- data/_includes/themes/hacker/page_header.html +27 -0
- data/_layouts/default.html +32 -13
- data/_layouts/page.html +3 -3
- data/_layouts/post.html +1 -1
- data/_layouts/recipes.html +43 -0
- data/_pages/about/index.html +3 -5
- data/_pages/blog/catergories/catergories.html +6 -6
- data/_pages/blog/index.html +48 -44
- data/_pages/blog/tags/tags.html +6 -6
- data/_pages/contact/index.html +62 -160
- data/_pages/index.html +102 -7
- data/_pages/rss/index.xml +1 -0
- data/_posts/2021-07-31-welcome-to-your-new-site.md +14 -0
- data/_posts/2022-07-31-templates-update.md +14 -0
- data/_posts/2023-04-24-theme-rewrite.md +14 -0
- data/assets/css/bootstrap/bootstrap-icons.css +5994 -2002
- data/assets/css/bootstrap/font-awesome.css +6812 -3
- data/assets/css/errorpages/errorpages.css +8 -7
- data/assets/css/gh/ribbon.css +31 -18
- data/assets/css/hacker.css +41 -54
- data/assets/css/other/forms-min.css +316 -1
- data/assets/js/errorpages/homepage.js +4 -2
- data/assets/js/errorpages/isup.js +5 -2
- data/assets/js/errorpages/loaddomain.js +5 -2
- data/assets/js/fetch-url.js +1 -3
- data/assets/js/utils/bootstrap.bundle.min.js +4181 -6
- data/assets/js/utils/fetch.min.js +467 -1
- data/casjaysdev-jekyll-theme.gemspec +16 -6
- data/error/403.html +49 -0
- data/error/404.html +39 -34
- data/error/418.html +48 -0
- data/error/500.html +39 -34
- data/error/502.html +49 -0
- data/error/503.html +49 -0
- data/error/504.html +49 -0
- data/health/index.html +7 -0
- data/health/json +3 -0
- data/health/txt +1 -0
- metadata +259 -22
- data/.editorconfig +0 -8
- data/CNAME +0 -1
- data/Gemfile.lock +0 -310
- data/_includes/casjaysdev/ads.html +0 -24
- data/_includes/casjaysdev/google.html +0 -32
- data/_includes/image-gallery.html +0 -30
- data/_layouts/errors.html +0 -26
- data/images/.keep +0 -1
@@ -6,6 +6,13 @@ body {
|
|
6
6
|
color: #777;
|
7
7
|
font-weight: 300;
|
8
8
|
padding: 1.5em 0;
|
9
|
+
margin-top: 20px;
|
10
|
+
}
|
11
|
+
|
12
|
+
vh-100 {
|
13
|
+
height: 100vh !important;
|
14
|
+
margin-top: 2rem;
|
15
|
+
padding: 1.5em 2em;
|
9
16
|
}
|
10
17
|
|
11
18
|
/* Layout */
|
@@ -182,13 +189,7 @@ header ul {
|
|
182
189
|
|
183
190
|
background: #eee;
|
184
191
|
background: -moz-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
185
|
-
background: -webkit-gradient(
|
186
|
-
linear,
|
187
|
-
left top,
|
188
|
-
left bottom,
|
189
|
-
color-stop(0%, #f8f8f8),
|
190
|
-
color-stop(100%, #dddddd)
|
191
|
-
);
|
192
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f8f8f8), color-stop(100%, #dddddd));
|
192
193
|
background: -webkit-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
193
194
|
background: -o-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
194
195
|
background: -ms-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
|
data/assets/css/gh/ribbon.css
CHANGED
@@ -21,11 +21,13 @@
|
|
21
21
|
position: fixed;
|
22
22
|
}
|
23
23
|
|
24
|
-
.github-fork-ribbon:hover,
|
25
|
-
|
24
|
+
.github-fork-ribbon:hover,
|
25
|
+
.github-fork-ribbon:active {
|
26
|
+
background-color: rgba(0, 0, 0, 0);
|
26
27
|
}
|
27
28
|
|
28
|
-
.github-fork-ribbon:before,
|
29
|
+
.github-fork-ribbon:before,
|
30
|
+
.github-fork-ribbon:after {
|
29
31
|
/* The right and left classes determine the side we attach our banner to */
|
30
32
|
position: absolute;
|
31
33
|
display: block;
|
@@ -47,10 +49,10 @@
|
|
47
49
|
}
|
48
50
|
|
49
51
|
.github-fork-ribbon:before {
|
50
|
-
content:
|
52
|
+
content: '';
|
51
53
|
|
52
54
|
/* Add a bit of padding to give some substance outside the "stitching" */
|
53
|
-
padding: .38em 0;
|
55
|
+
padding: 0.38em 0;
|
54
56
|
|
55
57
|
/* Set the base colour */
|
56
58
|
background-color: #a00;
|
@@ -64,9 +66,9 @@
|
|
64
66
|
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15));
|
65
67
|
|
66
68
|
/* Add a drop shadow */
|
67
|
-
-webkit-box-shadow: 0 .15em .23em 0 rgba(0, 0, 0, 0.5);
|
68
|
-
-moz-box-shadow: 0 .15em .23em 0 rgba(0, 0, 0, 0.5);
|
69
|
-
box-shadow: 0 .15em .23em 0 rgba(0, 0, 0, 0.5);
|
69
|
+
-webkit-box-shadow: 0 0.15em 0.23em 0 rgba(0, 0, 0, 0.5);
|
70
|
+
-moz-box-shadow: 0 0.15em 0.23em 0 rgba(0, 0, 0, 0.5);
|
71
|
+
box-shadow: 0 0.15em 0.23em 0 rgba(0, 0, 0, 0.5);
|
70
72
|
|
71
73
|
pointer-events: auto;
|
72
74
|
}
|
@@ -77,45 +79,56 @@
|
|
77
79
|
|
78
80
|
/* Set the text properties */
|
79
81
|
color: #fff;
|
80
|
-
font: 700 1em
|
82
|
+
font: 700 1em 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
81
83
|
line-height: 1.54em;
|
82
84
|
text-decoration: none;
|
83
|
-
text-shadow: 0
|
85
|
+
text-shadow: 0 -0.08em rgba(0, 0, 0, 0.5);
|
84
86
|
text-align: center;
|
85
87
|
text-indent: 0;
|
86
88
|
|
87
89
|
/* Set the layout properties */
|
88
|
-
padding: .15em 0;
|
89
|
-
margin: .15em 0;
|
90
|
+
padding: 0.15em 0;
|
91
|
+
margin: 0.15em 0;
|
90
92
|
|
91
93
|
/* Add "stitching" effect */
|
92
|
-
border-width: .08em 0;
|
94
|
+
border-width: 0.08em 0;
|
93
95
|
border-style: dotted;
|
94
96
|
border-color: #fff;
|
95
97
|
border-color: rgba(255, 255, 255, 0.7);
|
96
98
|
}
|
97
99
|
|
98
|
-
.github-fork-ribbon.left-top,
|
100
|
+
.github-fork-ribbon.left-top,
|
101
|
+
.github-fork-ribbon.left-bottom {
|
99
102
|
right: auto;
|
100
103
|
left: 0;
|
101
104
|
}
|
102
105
|
|
103
|
-
.github-fork-ribbon.left-bottom,
|
106
|
+
.github-fork-ribbon.left-bottom,
|
107
|
+
.github-fork-ribbon.right-bottom {
|
104
108
|
top: auto;
|
105
109
|
bottom: 0;
|
106
110
|
}
|
107
111
|
|
108
|
-
.github-fork-ribbon.left-top:before,
|
112
|
+
.github-fork-ribbon.left-top:before,
|
113
|
+
.github-fork-ribbon.left-top:after,
|
114
|
+
.github-fork-ribbon.left-bottom:before,
|
115
|
+
.github-fork-ribbon.left-bottom:after {
|
109
116
|
right: auto;
|
110
117
|
left: -3.23em;
|
111
118
|
}
|
112
119
|
|
113
|
-
.github-fork-ribbon.left-bottom:before,
|
120
|
+
.github-fork-ribbon.left-bottom:before,
|
121
|
+
.github-fork-ribbon.left-bottom:after,
|
122
|
+
.github-fork-ribbon.right-bottom:before,
|
123
|
+
.github-fork-ribbon.right-bottom:after {
|
114
124
|
top: auto;
|
115
125
|
bottom: 3.23em;
|
116
126
|
}
|
117
127
|
|
118
|
-
.github-fork-ribbon.left-top:before,
|
128
|
+
.github-fork-ribbon.left-top:before,
|
129
|
+
.github-fork-ribbon.left-top:after,
|
130
|
+
.github-fork-ribbon.right-bottom:before,
|
131
|
+
.github-fork-ribbon.right-bottom:after {
|
119
132
|
-webkit-transform: rotate(-45deg);
|
120
133
|
-moz-transform: rotate(-45deg);
|
121
134
|
-ms-transform: rotate(-45deg);
|
data/assets/css/hacker.css
CHANGED
@@ -90,7 +90,7 @@ video {
|
|
90
90
|
body {
|
91
91
|
margin: 0;
|
92
92
|
padding: 0;
|
93
|
-
background: #151515 url(
|
93
|
+
background: #151515 url('https://casjaysdev-sites.github.io/static/assets/images/bkg.png') 0 0;
|
94
94
|
color: #eaeaea;
|
95
95
|
font-size: 16px;
|
96
96
|
line-height: 25px;
|
@@ -122,7 +122,7 @@ q {
|
|
122
122
|
quotes: none;
|
123
123
|
}
|
124
124
|
|
125
|
-
.row [class*=
|
125
|
+
.row [class*='col-'] {
|
126
126
|
text-align: center;
|
127
127
|
background-clip: content-box;
|
128
128
|
min-height: 130px;
|
@@ -133,7 +133,7 @@ blockquote:before,
|
|
133
133
|
blockquote:after,
|
134
134
|
q:before,
|
135
135
|
q:after {
|
136
|
-
content:
|
136
|
+
content: '';
|
137
137
|
content: none;
|
138
138
|
}
|
139
139
|
|
@@ -158,12 +158,11 @@ table {
|
|
158
158
|
}
|
159
159
|
|
160
160
|
code {
|
161
|
-
font-family:
|
161
|
+
font-family: 'Bitstream Vera Sans Mono', 'Courier', monospace;
|
162
162
|
}
|
163
163
|
|
164
164
|
.container {
|
165
165
|
width: 90%;
|
166
|
-
max-width: 1000px;
|
167
166
|
margin: 0 auto;
|
168
167
|
}
|
169
168
|
|
@@ -180,12 +179,10 @@ h1 {
|
|
180
179
|
margin-bottom: 0.67em;
|
181
180
|
margin-left: 0;
|
182
181
|
margin-right: 0;
|
183
|
-
font-family: Roboto,
|
184
|
-
monospace;
|
182
|
+
font-family: Roboto, 'Bitstream Vera Sans Mono', 'Lucida Console', Terminal, monospace;
|
185
183
|
color: #b5e853;
|
186
184
|
letter-spacing: -0.03em;
|
187
|
-
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1),
|
188
|
-
0 0 10px rgba(181, 232, 83, 0.1);
|
185
|
+
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1), 0 0 10px rgba(181, 232, 83, 0.1);
|
189
186
|
font-weight: bold;
|
190
187
|
}
|
191
188
|
|
@@ -197,12 +194,10 @@ h2 {
|
|
197
194
|
margin-bottom: 0.83em;
|
198
195
|
margin-left: 0;
|
199
196
|
margin-right: 0;
|
200
|
-
font-family: Roboto,
|
201
|
-
monospace;
|
197
|
+
font-family: Roboto, 'Bitstream Vera Sans Mono', 'Lucida Console', Terminal, monospace;
|
202
198
|
color: #b5e853;
|
203
199
|
letter-spacing: -0.03em;
|
204
|
-
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1),
|
205
|
-
0 0 10px rgba(181, 232, 83, 0.1);
|
200
|
+
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1), 0 0 10px rgba(181, 232, 83, 0.1);
|
206
201
|
font-weight: bold;
|
207
202
|
}
|
208
203
|
|
@@ -214,12 +209,10 @@ h3 {
|
|
214
209
|
margin-bottom: 1em;
|
215
210
|
margin-left: 0;
|
216
211
|
margin-right: 0;
|
217
|
-
font-family: Roboto,
|
218
|
-
monospace;
|
212
|
+
font-family: Roboto, 'Bitstream Vera Sans Mono', 'Lucida Console', Terminal, monospace;
|
219
213
|
color: #b5e853;
|
220
214
|
letter-spacing: -0.03em;
|
221
|
-
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1),
|
222
|
-
0 0 10px rgba(181, 232, 83, 0.1);
|
215
|
+
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1), 0 0 10px rgba(181, 232, 83, 0.1);
|
223
216
|
font-weight: bold;
|
224
217
|
}
|
225
218
|
|
@@ -231,12 +224,10 @@ h4 {
|
|
231
224
|
margin-bottom: 1.33em;
|
232
225
|
margin-left: 0;
|
233
226
|
margin-right: 0;
|
234
|
-
font-family: Roboto,
|
235
|
-
monospace;
|
227
|
+
font-family: Roboto, 'Bitstream Vera Sans Mono', 'Lucida Console', Terminal, monospace;
|
236
228
|
color: #b5e853;
|
237
229
|
letter-spacing: -0.03em;
|
238
|
-
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1),
|
239
|
-
0 0 10px rgba(181, 232, 83, 0.1);
|
230
|
+
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1), 0 0 10px rgba(181, 232, 83, 0.1);
|
240
231
|
font-weight: bold;
|
241
232
|
}
|
242
233
|
|
@@ -248,12 +239,10 @@ h5 {
|
|
248
239
|
margin-bottom: 1.67em;
|
249
240
|
margin-left: 0;
|
250
241
|
margin-right: 0;
|
251
|
-
font-family: Roboto,
|
252
|
-
monospace;
|
242
|
+
font-family: Roboto, 'Bitstream Vera Sans Mono', 'Lucida Console', Terminal, monospace;
|
253
243
|
color: #b5e853;
|
254
244
|
letter-spacing: -0.03em;
|
255
|
-
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1),
|
256
|
-
0 0 10px rgba(181, 232, 83, 0.1);
|
245
|
+
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1), 0 0 10px rgba(181, 232, 83, 0.1);
|
257
246
|
font-weight: bold;
|
258
247
|
}
|
259
248
|
|
@@ -265,12 +254,10 @@ h6 {
|
|
265
254
|
margin-bottom: 2.33em;
|
266
255
|
margin-left: 0;
|
267
256
|
margin-right: 0;
|
268
|
-
font-family: Roboto,
|
269
|
-
monospace;
|
257
|
+
font-family: Roboto, 'Bitstream Vera Sans Mono', 'Lucida Console', Terminal, monospace;
|
270
258
|
color: #b5e853;
|
271
259
|
letter-spacing: -0.03em;
|
272
|
-
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1),
|
273
|
-
0 0 10px rgba(181, 232, 83, 0.1);
|
260
|
+
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1), 0 0 10px rgba(181, 232, 83, 0.1);
|
274
261
|
font-weight: bold;
|
275
262
|
}
|
276
263
|
|
@@ -291,11 +278,9 @@ header h1 {
|
|
291
278
|
line-height: 1.5;
|
292
279
|
margin: 0 0 0 -40px;
|
293
280
|
font-weight: bold;
|
294
|
-
font-family: Monaco,
|
295
|
-
monospace;
|
281
|
+
font-family: Monaco, 'Bitstream Vera Sans Mono', 'Lucida Console', Terminal, monospace;
|
296
282
|
color: #b5e853;
|
297
|
-
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1),
|
298
|
-
0 0 10px rgba(181, 232, 83, 0.1);
|
283
|
+
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(181, 232, 83, 0.1), 0 0 10px rgba(181, 232, 83, 0.1);
|
299
284
|
letter-spacing: -1px;
|
300
285
|
-webkit-font-smoothing: antialiased;
|
301
286
|
}
|
@@ -307,7 +292,7 @@ header h1 {
|
|
307
292
|
}
|
308
293
|
|
309
294
|
header h1:before {
|
310
|
-
content:
|
295
|
+
content: './ ';
|
311
296
|
font-size: 24px;
|
312
297
|
}
|
313
298
|
|
@@ -367,7 +352,7 @@ dt {
|
|
367
352
|
}
|
368
353
|
|
369
354
|
ul li {
|
370
|
-
list-style-image: url(
|
355
|
+
list-style-image: url('https://casjaysdev-sites.github.io/static/assets/images/bullet.png');
|
371
356
|
}
|
372
357
|
|
373
358
|
blockquote {
|
@@ -421,13 +406,7 @@ hr {
|
|
421
406
|
|
422
407
|
.btn {
|
423
408
|
display: inline-block;
|
424
|
-
background: -webkit-linear-gradient(
|
425
|
-
top,
|
426
|
-
rgba(40, 40, 40, 0.3),
|
427
|
-
rgba(35, 35, 35, 0.3) 50%,
|
428
|
-
rgba(10, 10, 10, 0.3) 50%,
|
429
|
-
rgba(0, 0, 0, 0.3)
|
430
|
-
);
|
409
|
+
background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.3), rgba(35, 35, 35, 0.3) 50%, rgba(10, 10, 10, 0.3) 50%, rgba(0, 0, 0, 0.3));
|
431
410
|
padding: 8px 18px;
|
432
411
|
border-radius: 50px;
|
433
412
|
border: 2px solid rgba(0, 0, 0, 0.7);
|
@@ -443,27 +422,35 @@ hr {
|
|
443
422
|
}
|
444
423
|
|
445
424
|
.btn:hover {
|
446
|
-
background: -webkit-linear-gradient(
|
447
|
-
top,
|
448
|
-
rgba(40, 40, 40, 0.6),
|
449
|
-
rgba(35, 35, 35, 0.6) 50%,
|
450
|
-
rgba(10, 10, 10, 0.8) 50%,
|
451
|
-
rgba(0, 0, 0, 0.8)
|
452
|
-
);
|
425
|
+
background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.6), rgba(35, 35, 35, 0.6) 50%, rgba(10, 10, 10, 0.8) 50%, rgba(0, 0, 0, 0.8));
|
453
426
|
}
|
454
427
|
|
455
428
|
.btn .icon {
|
456
429
|
display: inline-block;
|
457
|
-
width:
|
458
|
-
height:
|
430
|
+
width: 32px;
|
431
|
+
height: 32px;
|
459
432
|
margin: 1px 8px 0 0;
|
460
433
|
float: left;
|
461
434
|
}
|
462
435
|
|
463
436
|
.btn-github .icon {
|
437
|
+
font-size: 1.2rem;
|
438
|
+
color: #63c0f5;
|
439
|
+
cursor: pointer;
|
440
|
+
text-align: center;
|
464
441
|
opacity: 0.6;
|
465
|
-
|
466
|
-
|
442
|
+
width: 100%;
|
443
|
+
background: url('https://casjaysdev-sites.github.io/static/assets/images/blacktocat.png') 0 0 no-repeat;
|
444
|
+
}
|
445
|
+
|
446
|
+
.block {
|
447
|
+
display: block;
|
448
|
+
width: 100%;
|
449
|
+
border: none;
|
450
|
+
padding: 14px 28px;
|
451
|
+
font-size: 16px;
|
452
|
+
cursor: pointer;
|
453
|
+
text-align: center;
|
467
454
|
}
|
468
455
|
|
469
456
|
a {
|
@@ -473,7 +460,7 @@ a {
|
|
473
460
|
|
474
461
|
.cf:before,
|
475
462
|
.cf:after {
|
476
|
-
content:
|
463
|
+
content: '';
|
477
464
|
display: table;
|
478
465
|
}
|
479
466
|
|
@@ -4,4 +4,319 @@ Copyright 2013 Yahoo!
|
|
4
4
|
Licensed under the BSD License.
|
5
5
|
https://github.com/pure-css/pure/blob/master/LICENSE.md
|
6
6
|
*/
|
7
|
-
.pure-form input[type=color]
|
7
|
+
.pure-form input[type='color'],
|
8
|
+
.pure-form input[type='date'],
|
9
|
+
.pure-form input[type='datetime-local'],
|
10
|
+
.pure-form input[type='datetime'],
|
11
|
+
.pure-form input[type='email'],
|
12
|
+
.pure-form input[type='month'],
|
13
|
+
.pure-form input[type='number'],
|
14
|
+
.pure-form input[type='password'],
|
15
|
+
.pure-form input[type='search'],
|
16
|
+
.pure-form input[type='tel'],
|
17
|
+
.pure-form input[type='text'],
|
18
|
+
.pure-form input[type='time'],
|
19
|
+
.pure-form input[type='url'],
|
20
|
+
.pure-form input[type='week'],
|
21
|
+
.pure-form select,
|
22
|
+
.pure-form textarea {
|
23
|
+
padding: 0.5em 0.6em;
|
24
|
+
display: inline-block;
|
25
|
+
border: 1px solid #ccc;
|
26
|
+
-webkit-box-shadow: inset 0 1px 3px #ddd;
|
27
|
+
box-shadow: inset 0 1px 3px #ddd;
|
28
|
+
border-radius: 4px;
|
29
|
+
vertical-align: middle;
|
30
|
+
-webkit-box-sizing: border-box;
|
31
|
+
box-sizing: border-box;
|
32
|
+
}
|
33
|
+
.pure-form input:not([type]) {
|
34
|
+
padding: 0.5em 0.6em;
|
35
|
+
display: inline-block;
|
36
|
+
border: 1px solid #ccc;
|
37
|
+
-webkit-box-shadow: inset 0 1px 3px #ddd;
|
38
|
+
box-shadow: inset 0 1px 3px #ddd;
|
39
|
+
border-radius: 4px;
|
40
|
+
-webkit-box-sizing: border-box;
|
41
|
+
box-sizing: border-box;
|
42
|
+
}
|
43
|
+
.pure-form input[type='color'] {
|
44
|
+
padding: 0.2em 0.5em;
|
45
|
+
}
|
46
|
+
.pure-form input[type='color']:focus,
|
47
|
+
.pure-form input[type='date']:focus,
|
48
|
+
.pure-form input[type='datetime-local']:focus,
|
49
|
+
.pure-form input[type='datetime']:focus,
|
50
|
+
.pure-form input[type='email']:focus,
|
51
|
+
.pure-form input[type='month']:focus,
|
52
|
+
.pure-form input[type='number']:focus,
|
53
|
+
.pure-form input[type='password']:focus,
|
54
|
+
.pure-form input[type='search']:focus,
|
55
|
+
.pure-form input[type='tel']:focus,
|
56
|
+
.pure-form input[type='text']:focus,
|
57
|
+
.pure-form input[type='time']:focus,
|
58
|
+
.pure-form input[type='url']:focus,
|
59
|
+
.pure-form input[type='week']:focus,
|
60
|
+
.pure-form select:focus,
|
61
|
+
.pure-form textarea:focus {
|
62
|
+
outline: 0;
|
63
|
+
border-color: #129fea;
|
64
|
+
}
|
65
|
+
.pure-form input:not([type]):focus {
|
66
|
+
outline: 0;
|
67
|
+
border-color: #129fea;
|
68
|
+
}
|
69
|
+
.pure-form input[type='checkbox']:focus,
|
70
|
+
.pure-form input[type='file']:focus,
|
71
|
+
.pure-form input[type='radio']:focus {
|
72
|
+
outline: thin solid #129fea;
|
73
|
+
outline: 1px auto #129fea;
|
74
|
+
}
|
75
|
+
.pure-form .pure-checkbox,
|
76
|
+
.pure-form .pure-radio {
|
77
|
+
margin: 0.5em 0;
|
78
|
+
display: block;
|
79
|
+
}
|
80
|
+
.pure-form input[type='color'][disabled],
|
81
|
+
.pure-form input[type='date'][disabled],
|
82
|
+
.pure-form input[type='datetime-local'][disabled],
|
83
|
+
.pure-form input[type='datetime'][disabled],
|
84
|
+
.pure-form input[type='email'][disabled],
|
85
|
+
.pure-form input[type='month'][disabled],
|
86
|
+
.pure-form input[type='number'][disabled],
|
87
|
+
.pure-form input[type='password'][disabled],
|
88
|
+
.pure-form input[type='search'][disabled],
|
89
|
+
.pure-form input[type='tel'][disabled],
|
90
|
+
.pure-form input[type='text'][disabled],
|
91
|
+
.pure-form input[type='time'][disabled],
|
92
|
+
.pure-form input[type='url'][disabled],
|
93
|
+
.pure-form input[type='week'][disabled],
|
94
|
+
.pure-form select[disabled],
|
95
|
+
.pure-form textarea[disabled] {
|
96
|
+
cursor: not-allowed;
|
97
|
+
background-color: #eaeded;
|
98
|
+
color: #cad2d3;
|
99
|
+
}
|
100
|
+
.pure-form input:not([type])[disabled] {
|
101
|
+
cursor: not-allowed;
|
102
|
+
background-color: #eaeded;
|
103
|
+
color: #cad2d3;
|
104
|
+
}
|
105
|
+
.pure-form input[readonly],
|
106
|
+
.pure-form select[readonly],
|
107
|
+
.pure-form textarea[readonly] {
|
108
|
+
background-color: #eee;
|
109
|
+
color: #777;
|
110
|
+
border-color: #ccc;
|
111
|
+
}
|
112
|
+
.pure-form input:focus:invalid,
|
113
|
+
.pure-form select:focus:invalid,
|
114
|
+
.pure-form textarea:focus:invalid {
|
115
|
+
color: #b94a48;
|
116
|
+
border-color: #e9322d;
|
117
|
+
}
|
118
|
+
.pure-form input[type='checkbox']:focus:invalid:focus,
|
119
|
+
.pure-form input[type='file']:focus:invalid:focus,
|
120
|
+
.pure-form input[type='radio']:focus:invalid:focus {
|
121
|
+
outline-color: #e9322d;
|
122
|
+
}
|
123
|
+
.pure-form select {
|
124
|
+
height: 2.25em;
|
125
|
+
border: 1px solid #ccc;
|
126
|
+
background-color: #fff;
|
127
|
+
}
|
128
|
+
.pure-form select[multiple] {
|
129
|
+
height: auto;
|
130
|
+
}
|
131
|
+
.pure-form label {
|
132
|
+
margin: 0.5em 0 0.2em;
|
133
|
+
}
|
134
|
+
.pure-form fieldset {
|
135
|
+
margin: 0;
|
136
|
+
padding: 0.35em 0 0.75em;
|
137
|
+
border: 0;
|
138
|
+
}
|
139
|
+
.pure-form legend {
|
140
|
+
display: block;
|
141
|
+
width: 100%;
|
142
|
+
padding: 0.3em 0;
|
143
|
+
margin-bottom: 0.3em;
|
144
|
+
color: #333;
|
145
|
+
border-bottom: 1px solid #e5e5e5;
|
146
|
+
}
|
147
|
+
.pure-form-stacked input[type='color'],
|
148
|
+
.pure-form-stacked input[type='date'],
|
149
|
+
.pure-form-stacked input[type='datetime-local'],
|
150
|
+
.pure-form-stacked input[type='datetime'],
|
151
|
+
.pure-form-stacked input[type='email'],
|
152
|
+
.pure-form-stacked input[type='file'],
|
153
|
+
.pure-form-stacked input[type='month'],
|
154
|
+
.pure-form-stacked input[type='number'],
|
155
|
+
.pure-form-stacked input[type='password'],
|
156
|
+
.pure-form-stacked input[type='search'],
|
157
|
+
.pure-form-stacked input[type='tel'],
|
158
|
+
.pure-form-stacked input[type='text'],
|
159
|
+
.pure-form-stacked input[type='time'],
|
160
|
+
.pure-form-stacked input[type='url'],
|
161
|
+
.pure-form-stacked input[type='week'],
|
162
|
+
.pure-form-stacked label,
|
163
|
+
.pure-form-stacked select,
|
164
|
+
.pure-form-stacked textarea {
|
165
|
+
display: block;
|
166
|
+
margin: 0.25em 0;
|
167
|
+
}
|
168
|
+
.pure-form-stacked input:not([type]) {
|
169
|
+
display: block;
|
170
|
+
margin: 0.25em 0;
|
171
|
+
}
|
172
|
+
.pure-form-aligned input,
|
173
|
+
.pure-form-aligned select,
|
174
|
+
.pure-form-aligned textarea,
|
175
|
+
.pure-form-message-inline {
|
176
|
+
display: inline-block;
|
177
|
+
vertical-align: middle;
|
178
|
+
}
|
179
|
+
.pure-form-aligned textarea {
|
180
|
+
vertical-align: top;
|
181
|
+
}
|
182
|
+
.pure-form-aligned .pure-control-group {
|
183
|
+
margin-bottom: 0.5em;
|
184
|
+
}
|
185
|
+
.pure-form-aligned .pure-control-group label {
|
186
|
+
text-align: right;
|
187
|
+
display: inline-block;
|
188
|
+
vertical-align: middle;
|
189
|
+
width: 10em;
|
190
|
+
margin: 0 1em 0 0;
|
191
|
+
}
|
192
|
+
.pure-form-aligned .pure-controls {
|
193
|
+
margin: 1.5em 0 0 11em;
|
194
|
+
}
|
195
|
+
.pure-form .pure-input-rounded,
|
196
|
+
.pure-form input.pure-input-rounded {
|
197
|
+
border-radius: 2em;
|
198
|
+
padding: 0.5em 1em;
|
199
|
+
}
|
200
|
+
.pure-form .pure-group fieldset {
|
201
|
+
margin-bottom: 10px;
|
202
|
+
}
|
203
|
+
.pure-form .pure-group input,
|
204
|
+
.pure-form .pure-group textarea {
|
205
|
+
display: block;
|
206
|
+
padding: 10px;
|
207
|
+
margin: 0 0 -1px;
|
208
|
+
border-radius: 0;
|
209
|
+
position: relative;
|
210
|
+
top: -1px;
|
211
|
+
}
|
212
|
+
.pure-form .pure-group input:focus,
|
213
|
+
.pure-form .pure-group textarea:focus {
|
214
|
+
z-index: 3;
|
215
|
+
}
|
216
|
+
.pure-form .pure-group input:first-child,
|
217
|
+
.pure-form .pure-group textarea:first-child {
|
218
|
+
top: 1px;
|
219
|
+
border-radius: 4px 4px 0 0;
|
220
|
+
margin: 0;
|
221
|
+
}
|
222
|
+
.pure-form .pure-group input:first-child:last-child,
|
223
|
+
.pure-form .pure-group textarea:first-child:last-child {
|
224
|
+
top: 1px;
|
225
|
+
border-radius: 4px;
|
226
|
+
margin: 0;
|
227
|
+
}
|
228
|
+
.pure-form .pure-group input:last-child,
|
229
|
+
.pure-form .pure-group textarea:last-child {
|
230
|
+
top: -2px;
|
231
|
+
border-radius: 0 0 4px 4px;
|
232
|
+
margin: 0;
|
233
|
+
}
|
234
|
+
.pure-form .pure-group button {
|
235
|
+
margin: 0.35em 0;
|
236
|
+
}
|
237
|
+
.pure-form .pure-input-1 {
|
238
|
+
width: 100%;
|
239
|
+
}
|
240
|
+
.pure-form .pure-input-3-4 {
|
241
|
+
width: 75%;
|
242
|
+
}
|
243
|
+
.pure-form .pure-input-2-3 {
|
244
|
+
width: 66%;
|
245
|
+
}
|
246
|
+
.pure-form .pure-input-1-2 {
|
247
|
+
width: 50%;
|
248
|
+
}
|
249
|
+
.pure-form .pure-input-1-3 {
|
250
|
+
width: 33%;
|
251
|
+
}
|
252
|
+
.pure-form .pure-input-1-4 {
|
253
|
+
width: 25%;
|
254
|
+
}
|
255
|
+
.pure-form-message-inline {
|
256
|
+
display: inline-block;
|
257
|
+
padding-left: 0.3em;
|
258
|
+
color: #666;
|
259
|
+
vertical-align: middle;
|
260
|
+
font-size: 0.875em;
|
261
|
+
}
|
262
|
+
.pure-form-message {
|
263
|
+
display: block;
|
264
|
+
color: #666;
|
265
|
+
font-size: 0.875em;
|
266
|
+
}
|
267
|
+
@media only screen and (max-width: 480px) {
|
268
|
+
.pure-form button[type='submit'] {
|
269
|
+
margin: 0.7em 0 0;
|
270
|
+
}
|
271
|
+
.pure-form input:not([type]),
|
272
|
+
.pure-form input[type='color'],
|
273
|
+
.pure-form input[type='date'],
|
274
|
+
.pure-form input[type='datetime-local'],
|
275
|
+
.pure-form input[type='datetime'],
|
276
|
+
.pure-form input[type='email'],
|
277
|
+
.pure-form input[type='month'],
|
278
|
+
.pure-form input[type='number'],
|
279
|
+
.pure-form input[type='password'],
|
280
|
+
.pure-form input[type='search'],
|
281
|
+
.pure-form input[type='tel'],
|
282
|
+
.pure-form input[type='text'],
|
283
|
+
.pure-form input[type='time'],
|
284
|
+
.pure-form input[type='url'],
|
285
|
+
.pure-form input[type='week'],
|
286
|
+
.pure-form label {
|
287
|
+
margin-bottom: 0.3em;
|
288
|
+
display: block;
|
289
|
+
}
|
290
|
+
.pure-group input:not([type]),
|
291
|
+
.pure-group input[type='color'],
|
292
|
+
.pure-group input[type='date'],
|
293
|
+
.pure-group input[type='datetime-local'],
|
294
|
+
.pure-group input[type='datetime'],
|
295
|
+
.pure-group input[type='email'],
|
296
|
+
.pure-group input[type='month'],
|
297
|
+
.pure-group input[type='number'],
|
298
|
+
.pure-group input[type='password'],
|
299
|
+
.pure-group input[type='search'],
|
300
|
+
.pure-group input[type='tel'],
|
301
|
+
.pure-group input[type='text'],
|
302
|
+
.pure-group input[type='time'],
|
303
|
+
.pure-group input[type='url'],
|
304
|
+
.pure-group input[type='week'] {
|
305
|
+
margin-bottom: 0;
|
306
|
+
}
|
307
|
+
.pure-form-aligned .pure-control-group label {
|
308
|
+
margin-bottom: 0.3em;
|
309
|
+
text-align: left;
|
310
|
+
display: block;
|
311
|
+
width: 100%;
|
312
|
+
}
|
313
|
+
.pure-form-aligned .pure-controls {
|
314
|
+
margin: 1.5em 0 0 0;
|
315
|
+
}
|
316
|
+
.pure-form-message,
|
317
|
+
.pure-form-message-inline {
|
318
|
+
display: block;
|
319
|
+
font-size: 0.75em;
|
320
|
+
padding: 0.2em 0 0.8em;
|
321
|
+
}
|
322
|
+
}
|