middleman-sculptor 0.12 → 0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/middleman-sculptor/template/source/assets/styles/glyptotheque/_base.scss +9 -10
- data/lib/middleman-sculptor/template/source/glyptotheque/directory-index.html.slim +0 -5
- data/lib/middleman-sculptor/template/source/glyptotheque/site-index.html.slim +0 -1
- data/lib/middleman-sculptor/template/source/layouts/glyptotheque.slim +11 -6
- data/lib/middleman-sculptor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d553c0f6629caf58c7e7c093724bf55a6c5c921b
|
4
|
+
data.tar.gz: c00b49dd814a2f54f1aca8b22433729c4ef97197
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebf9105f24d6bf3494f0a56bcd556386b8cd0c36a109807117691d732495dd49c43a7469e024de2d53fd2bd666190e8e1a55ae6496ec7be78645ac9fd74cde66
|
7
|
+
data.tar.gz: 3352eb03ccb05b5009452f55ce1d057934cbe98f1d118234725b96ec221b22c1ef1c2cd005978fac5576fc417e07dd758a349141c332a598b0c109ea5d028db7
|
@@ -25,7 +25,7 @@ button {
|
|
25
25
|
|
26
26
|
.glyptotheque {
|
27
27
|
position: relative;
|
28
|
-
padding: 40px
|
28
|
+
padding: 40px;
|
29
29
|
min-height: 100%;
|
30
30
|
overflow: hidden;
|
31
31
|
background: white;
|
@@ -80,18 +80,21 @@ button {
|
|
80
80
|
}
|
81
81
|
}
|
82
82
|
|
83
|
-
|
84
|
-
margin: -40px -
|
85
|
-
padding: 40px
|
83
|
+
.glypto-header {
|
84
|
+
margin: -40px -40px 40px;
|
85
|
+
padding: 40px;
|
86
86
|
background: #ddd;
|
87
87
|
background: linear-gradient(58deg, #ddd, #f6f6f6);
|
88
88
|
box-shadow: inset 0 -10px 0 rgba(black, .13);
|
89
|
+
|
90
|
+
.glypto-title {
|
91
|
+
margin: 0;
|
92
|
+
}
|
89
93
|
}
|
90
94
|
|
91
95
|
.glypto-breadcrumbs {
|
92
96
|
transition: 160ms;
|
93
|
-
margin: -30px
|
94
|
-
padding: 0 30px;
|
97
|
+
margin-top: -30px;
|
95
98
|
font-weight: bold;
|
96
99
|
font-size: em(12);
|
97
100
|
line-height: 27px;
|
@@ -113,7 +116,3 @@ h1.glypto-title {
|
|
113
116
|
text-decoration: underline;
|
114
117
|
}
|
115
118
|
}
|
116
|
-
|
117
|
-
.glypto-nav.s-hidden ~ .glyptotheque > .glypto-breadcrumbs {
|
118
|
-
padding-left: 40px;
|
119
|
-
}
|
@@ -1,9 +1,4 @@
|
|
1
|
-
- unless current_page.data.title
|
2
|
-
- if current_page.metadata.locals[:section]
|
3
|
-
h1.glypto-title = current_page.metadata.locals.section.title
|
4
|
-
|
5
1
|
- resources_for(current_page.url, exclude_indexes: true, sort_by: :nav_order).each do |r|
|
6
|
-
|
7
2
|
- current_page.add_metadata({ page: { \
|
8
3
|
title: r.data.title,
|
9
4
|
description: r.data.description,
|
@@ -11,12 +11,17 @@
|
|
11
11
|
= partial 'glyptotheque/nav'
|
12
12
|
|
13
13
|
main.glyptotheque
|
14
|
-
-
|
15
|
-
.glypto-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
14
|
+
header.glypto-header
|
15
|
+
.glypto-container
|
16
|
+
- if current_page.parent
|
17
|
+
.glypto-breadcrumbs
|
18
|
+
= link_to current_page.parent.metadata.locals.section.title, current_page.parent.url
|
19
|
+
|
20
|
+
- if current_page.data.title
|
21
|
+
h1.glypto-title = current_page.data.title
|
22
|
+
- elsif current_page.metadata.locals[:section]
|
23
|
+
h1.glypto-title = current_page.metadata.locals.section.title
|
24
|
+
.glypto-container = yield
|
20
25
|
|
21
26
|
javascript:
|
22
27
|
APP_CONTEXT = {
|