jekyll-theme-easy-wedding 0.1.16 → 0.1.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/photo-gallery.html +2 -2
- data/_layouts/page.html +20 -1
- data/assets/css/styles.scss +55 -0
- data/assets/main-bundle.js +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5650011cf496022bbbc5998e04968cbea0c4c7197ca609070b417576e23d3b9f
|
4
|
+
data.tar.gz: c0c0f987db5e5002178226d5c1eb3195b85a0150756b859f9c55d625e0fb551f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aad7b8971ea13597f4b88af0896d7c5dd779a8bb411907f7a6ab710b6eb51b2f56f1576b7c07f81808815a284682168eb2b1a3c034f6137e3a82abafcde9a6b6
|
7
|
+
data.tar.gz: 4a03ae40bcd90168c679cccd61d0fdac906602f9fadc091267bfdd92cb044635e56b50cbf71f4f984abc60c9d655e2487ae428f410e31ea4decf1a0018f01da3
|
@@ -10,9 +10,9 @@
|
|
10
10
|
width: 300px;
|
11
11
|
height: auto;
|
12
12
|
padding: 15px;
|
13
|
-
border: solid 1px
|
13
|
+
border: solid 1px var(--secondary-color-darker);
|
14
14
|
margin: 8px;
|
15
|
-
background-color:
|
15
|
+
background-color: var(--secondary-color);
|
16
16
|
cursor: zoom-in;
|
17
17
|
}
|
18
18
|
</style>
|
data/_layouts/page.html
CHANGED
@@ -2,4 +2,23 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
{
|
5
|
+
{% capture style %}
|
6
|
+
{% if page.image_position %} background-position: {{ page.image_position }};{% endif %}
|
7
|
+
background-image: url({{site.baseurl}}/{{ page.billboard_image }})
|
8
|
+
{% endcapture %}
|
9
|
+
|
10
|
+
<header class="billboard billboard-header"
|
11
|
+
style="{{style}}">
|
12
|
+
<h1 class="billboard-text">
|
13
|
+
{{ page.title }}
|
14
|
+
</h1>
|
15
|
+
</header>
|
16
|
+
|
17
|
+
<section class="container content-section text-center">
|
18
|
+
<div class="row">
|
19
|
+
<div class="col-lg-12 page-content">
|
20
|
+
{{ content }}
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
</section>
|
24
|
+
|
data/assets/css/styles.scss
CHANGED
@@ -1,6 +1,39 @@
|
|
1
1
|
---
|
2
2
|
---
|
3
3
|
|
4
|
+
@use "sass:color";
|
5
|
+
|
6
|
+
@function text-clr($color) {
|
7
|
+
@if (lightness($color) > 50) {
|
8
|
+
@return #000;
|
9
|
+
} @else {
|
10
|
+
@return #fff;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
// Theme Variables
|
15
|
+
$text-color: {{site.data.settings.theme.text_color | default: "#404040"}};
|
16
|
+
|
17
|
+
$primary-color: {{site.data.settings.theme.primary_color | default: "#fff"}};
|
18
|
+
$primary-text-color: text-clr($primary-color);
|
19
|
+
$primary-color-darker: scale-color({{site.data.settings.theme.primary_color | default: "#fff"}}, $lightness: -10%);
|
20
|
+
$primary-text-color-darker: text-clr($primary-color-darker);
|
21
|
+
$primary-color-darkest: scale-color({{site.data.settings.theme.primary_color | default: "#fff"}}, $lightness: -30%);
|
22
|
+
$primary-text-color-darkest: text-clr($primary-color-darkest);
|
23
|
+
|
24
|
+
$secondary-color: {{site.data.settings.theme.secondary_color | default: "#afa63d"}};
|
25
|
+
$secondary-text-color: text-clr($secondary-color);
|
26
|
+
$secondary-color-darker: scale-color({{site.data.settings.theme.secondary_color | default: "#fff"}}, $lightness: -10%);
|
27
|
+
$secondary-text-color-darker: text-clr($secondary-color-darker);
|
28
|
+
$secondary-color-darkest: scale-color({{site.data.settings.theme.secondary_color | default: "#fff"}}, $lightness: -30%);
|
29
|
+
$secondary-text-color-darkest: text-clr($secondary-color-darkest);
|
30
|
+
|
31
|
+
$accent-color: {{site.data.settings.theme.accent_color | default: "#219ab3"}};
|
32
|
+
$accent-color-darker: scale-color({{site.data.settings.theme.accent_color | default: "#fff"}}, $lightness: -10%);
|
33
|
+
$accent-color-darkest: scale-color({{site.data.settings.theme.accent_color | default: "#fff"}}, $lightness: -30%);
|
34
|
+
|
35
|
+
$background-color: {{site.data.settings.theme.background_color | default: "#fff"}};
|
36
|
+
|
4
37
|
:root {
|
5
38
|
--intro-background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 0%,
|
6
39
|
rgba(0,0,0,0.65) 100%),url({{site.data.settings.hero_image}}) no-repeat center center scroll;
|
@@ -14,4 +47,26 @@
|
|
14
47
|
--intro-background-position: {{site.data.settings.mobile_hero_position | default: "center center"}};
|
15
48
|
{% endif %}
|
16
49
|
}
|
50
|
+
|
51
|
+
--text-color: #{$text-color};
|
52
|
+
|
53
|
+
--primary-color: #{$primary-color};
|
54
|
+
--primary-color-darker: #{$primary-color-darker};
|
55
|
+
--primary-color-darkest: #{$primary-color-darkest};
|
56
|
+
--primary-text-color: #{$primary-text-color};
|
57
|
+
--primary-text-color-darker: #{$primary-text-color-darker};
|
58
|
+
--primary-text-color-darkest: #{$primary-text-color-darkest};
|
59
|
+
|
60
|
+
--secondary-color: #{$secondary-color};
|
61
|
+
--secondary-color-darker: #{$secondary-color-darker};
|
62
|
+
--secondary-color-darkest: #{$secondary-color-darkest};
|
63
|
+
--secondary-text-color: #{$secondary-text-color};
|
64
|
+
--secondary-text-color-darker: #{$secondary-text-color-darker};
|
65
|
+
--secondary-text-color-darkest: #{$secondary-text-color-darkest};
|
66
|
+
|
67
|
+
--accent-color: #{$accent-color};
|
68
|
+
--accent-color-darker: #{$accent-color-darker};
|
69
|
+
--accent-color-darkest: #{$accent-color-darkest};
|
70
|
+
|
71
|
+
--background-color: #{$background-color};
|
17
72
|
}
|