frame9-jekyll-theme 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +39 -0
- data/_config.yml +85 -0
- data/_includes/banner.html +5 -0
- data/_includes/custom_head.html +0 -0
- data/_includes/fonts.html +4 -0
- data/_includes/footer.html +17 -0
- data/_includes/gallery.html +17 -0
- data/_includes/gallery_item.html +24 -0
- data/_includes/head.html +27 -0
- data/_includes/header.html +42 -0
- data/_includes/image.html +5 -0
- data/_includes/section.html +6 -0
- data/_includes/siblings.html +41 -0
- data/_layouts/default.html +7 -0
- data/_layouts/post.html +9 -0
- data/_layouts/root.html +31 -0
- data/_layouts/section.html +2 -0
- data/_sass/block/banner.sass +28 -0
- data/_sass/block/footer.sass +2 -0
- data/_sass/block/gallery.sass +14 -0
- data/_sass/block/img-wrap.sass +81 -0
- data/_sass/block/logo.sass +20 -0
- data/_sass/block/menu.sass +27 -0
- data/_sass/block/root-layout.sass +43 -0
- data/_sass/block/sibling-nav.sass +30 -0
- data/_sass/composition/action.sass +35 -0
- data/_sass/composition/code.scss +20 -0
- data/_sass/composition/normalize.sass +12 -0
- data/_sass/composition/size.sass +5 -0
- data/_sass/composition/table.sass +13 -0
- data/_sass/composition/text.sass +6 -0
- data/_sass/composition/theme.sass +8 -0
- data/_sass/exception/img-wrap.sass +34 -0
- data/_sass/frame9-jekyll-theme.sass +43 -0
- data/_sass/gorko-config.scss +79 -0
- data/_sass/theme/colors.scss +108 -0
- data/_sass/theme/font.scss +32 -0
- data/_sass/theme/monokai.scss +70 -0
- data/_sass/utility/bleed.sass +10 -0
- data/_sass/utility/box.sass +32 -0
- data/_sass/utility/columns.sass +3 -0
- data/_sass/utility/shadow.sass +13 -0
- data/assets/404.html +25 -0
- data/assets/css/style.sass +7 -0
- data/assets/img/avatar.png +0 -0
- data/assets/js/main.js +5 -0
- data/assets/js/openGallery.js +50 -0
- data/package.json +22 -0
- metadata +180 -0
@@ -0,0 +1,81 @@
|
|
1
|
+
|
2
|
+
.img-wrap
|
3
|
+
display: flex
|
4
|
+
justify-content: center
|
5
|
+
position: relative
|
6
|
+
object-fit: cover
|
7
|
+
|
8
|
+
overflow: hidden
|
9
|
+
max-width: 100%
|
10
|
+
|
11
|
+
img
|
12
|
+
max-width: 100vw
|
13
|
+
@include media-query('md')
|
14
|
+
max-width: 100%
|
15
|
+
|
16
|
+
a > *
|
17
|
+
max-width: 80%
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
.gallery .img-wrap
|
24
|
+
|
25
|
+
|
26
|
+
margin: 0
|
27
|
+
width: 100%
|
28
|
+
height: 0
|
29
|
+
padding-top: 100%
|
30
|
+
img, a
|
31
|
+
position: absolute
|
32
|
+
top: 0em
|
33
|
+
height: 100%
|
34
|
+
width: auto
|
35
|
+
|
36
|
+
|
37
|
+
.layout:page .img-small
|
38
|
+
width: 100%
|
39
|
+
|
40
|
+
@include media-query('md')
|
41
|
+
.layout\:post .img-wrap
|
42
|
+
width: 33%
|
43
|
+
|
44
|
+
.img-wrap.float-left
|
45
|
+
margin-right: var(--x)
|
46
|
+
margin-bottom: var(--x)
|
47
|
+
.img-wrap.float-right
|
48
|
+
margin-left: var(--x)
|
49
|
+
margin-bottom: var(--x)
|
50
|
+
|
51
|
+
|
52
|
+
.img-wrap[openable] a
|
53
|
+
transition: transform .5s ease-in-out .2s, opacity .5s ease-in-out .2s
|
54
|
+
color: var(--scribe-white) !important
|
55
|
+
&:hover, &:focus
|
56
|
+
color: var(--scribe-white) !important
|
57
|
+
text-decoration: none
|
58
|
+
display: flex
|
59
|
+
width: 100%
|
60
|
+
background-color: #000a
|
61
|
+
opacity: 0.0
|
62
|
+
div
|
63
|
+
margin: auto
|
64
|
+
|
65
|
+
.img-wrap[viewer],
|
66
|
+
.img-wrap[openable]
|
67
|
+
transform: scale(1)
|
68
|
+
transition: transform .2s .05s
|
69
|
+
|
70
|
+
img
|
71
|
+
transform: scale(1)
|
72
|
+
transition: transform .5s .05s
|
73
|
+
|
74
|
+
.img-wrap[viewer]:hover:not([viewer="open"]),
|
75
|
+
.img-wrap[openable]:hover:not([viewer="open"])
|
76
|
+
transform: scale(1.05)
|
77
|
+
img
|
78
|
+
transform: scale(1.1)
|
79
|
+
a
|
80
|
+
opacity: 1.0
|
81
|
+
transform: scale(1.02)
|
@@ -0,0 +1,20 @@
|
|
1
|
+
.logo
|
2
|
+
display: flex
|
3
|
+
justify-content: center
|
4
|
+
|
5
|
+
|
6
|
+
img
|
7
|
+
max-width: 50vw
|
8
|
+
position: relative
|
9
|
+
transform: scale(1)
|
10
|
+
transition: transform .2s 0s
|
11
|
+
|
12
|
+
img:hover
|
13
|
+
transform: scale(1.04)
|
14
|
+
|
15
|
+
@include media-query('md')
|
16
|
+
width: fit-content
|
17
|
+
display: block
|
18
|
+
img
|
19
|
+
max-width: 20vw
|
20
|
+
// margin-bottom: 2%
|
@@ -0,0 +1,27 @@
|
|
1
|
+
.menu
|
2
|
+
display: block
|
3
|
+
position: relative
|
4
|
+
width: 100%
|
5
|
+
text-align: center
|
6
|
+
@include media-query('md')
|
7
|
+
position: absolute
|
8
|
+
width: auto
|
9
|
+
text-align: right
|
10
|
+
bottom: unset
|
11
|
+
top: var(--x)
|
12
|
+
right: calc( -0.5 * var(--x) )
|
13
|
+
a
|
14
|
+
display: block
|
15
|
+
text-decoration: none
|
16
|
+
font-weight: bold
|
17
|
+
transition: transform 50ms
|
18
|
+
transform-origin: 50% 80%
|
19
|
+
|
20
|
+
a[active]
|
21
|
+
color: var(--scribe-main-b)
|
22
|
+
pointer-events: none
|
23
|
+
|
24
|
+
a:hover, a:focus
|
25
|
+
transform: scaleY(1.2)
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,43 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
.root-layout
|
6
|
+
display: grid
|
7
|
+
width: 100%
|
8
|
+
|
9
|
+
grid-template-columns: 1fr minmax( 10em, 60em) 1fr
|
10
|
+
|
11
|
+
grid-template-rows: minmax( 5vh, auto) minmax(10vh, auto)
|
12
|
+
grid-auto-rows: minmax( 1em, auto )
|
13
|
+
|
14
|
+
grid-gap: var(--x)
|
15
|
+
|
16
|
+
& > *
|
17
|
+
grid-column: 2 / 3
|
18
|
+
|
19
|
+
.l-banner
|
20
|
+
|
21
|
+
grid-column: 1 / 4
|
22
|
+
grid-row: 1 / 3
|
23
|
+
|
24
|
+
|
25
|
+
.l-header
|
26
|
+
grid-row: 1 / 2
|
27
|
+
position: relative
|
28
|
+
|
29
|
+
.l-main
|
30
|
+
grid-row: 2 / 4
|
31
|
+
|
32
|
+
.l-menu
|
33
|
+
grid-row: 1 / 2
|
34
|
+
position: relative
|
35
|
+
|
36
|
+
|
37
|
+
.l-content
|
38
|
+
padding-bottom: get-size('900')
|
39
|
+
|
40
|
+
.l-logo
|
41
|
+
margin-left: calc( -1 * var(--x) )
|
42
|
+
|
43
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
|
2
|
+
.sibling-nav
|
3
|
+
display: grid
|
4
|
+
grid-auto-columns: 1fr
|
5
|
+
gap: 0
|
6
|
+
|
7
|
+
margin-bottom: calc( var(--x) * -1 )
|
8
|
+
padding-top: var(--x)
|
9
|
+
|
10
|
+
.sibling-btn
|
11
|
+
border-top: solid 1px var(--scribe-mute)
|
12
|
+
display: block
|
13
|
+
width: 100%
|
14
|
+
background-color: var(--fill-main-a)
|
15
|
+
padding: 1em
|
16
|
+
|
17
|
+
.sibling-nav > div + div .sibling-btn
|
18
|
+
border-left: solid 1px var(--scribe-mute)
|
19
|
+
|
20
|
+
.sibling-btn:hover
|
21
|
+
background-color: var(--fill-mute)
|
22
|
+
text-decoration: none !important
|
23
|
+
|
24
|
+
.sibling-btn:hover > *:not(label)
|
25
|
+
text-decoration: underline
|
26
|
+
|
27
|
+
.sibling-btn label
|
28
|
+
display: block
|
29
|
+
line-height: 1em
|
30
|
+
color: var(--scribe-mute)
|
@@ -0,0 +1,35 @@
|
|
1
|
+
a
|
2
|
+
color: var(--scribe-action)
|
3
|
+
display: inline-block
|
4
|
+
transform-origin: 50% 90%
|
5
|
+
transition: transform 10ms
|
6
|
+
@include media-query('md')
|
7
|
+
text-decoration: none
|
8
|
+
|
9
|
+
a.action
|
10
|
+
text-decoration: none
|
11
|
+
text-align: center
|
12
|
+
font-family: 'Augusta', serif
|
13
|
+
font-size: get-size('700')
|
14
|
+
font-weight: bold
|
15
|
+
width: 100%
|
16
|
+
@include media-query('md')
|
17
|
+
font-size: get-size('900')
|
18
|
+
|
19
|
+
|
20
|
+
a:not(.menu a):hover, a:not(.menu a):focus
|
21
|
+
text-decoration: underline
|
22
|
+
color: var(--scribe-action-hover)
|
23
|
+
|
24
|
+
a.logo, a.logo:hover, a.logo:focus
|
25
|
+
transform: none !important
|
26
|
+
|
27
|
+
|
28
|
+
.btn
|
29
|
+
padding: .2em .5em
|
30
|
+
border-radius: .5em
|
31
|
+
letter-spacing: 1px
|
32
|
+
|
33
|
+
.btn-border
|
34
|
+
border: currentColor 2px solid
|
35
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
.highlighter-rouge > *, figure.highlight {
|
2
|
+
padding: .5em;
|
3
|
+
border-radius: .5em;
|
4
|
+
}
|
5
|
+
|
6
|
+
.highlighter-rouge, figure.highlight {
|
7
|
+
margin: 1em 0;
|
8
|
+
overflow: auto;
|
9
|
+
}
|
10
|
+
|
11
|
+
code {
|
12
|
+
background: var(--fill-code);
|
13
|
+
color: var(--scribe-code);
|
14
|
+
padding: 0 .2em;
|
15
|
+
border-radius: .3em;
|
16
|
+
}
|
17
|
+
|
18
|
+
pre {
|
19
|
+
white-space: pre-wrap;
|
20
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
[viewer='open'].img-wrap
|
5
|
+
width: 100vw
|
6
|
+
height: 100vh
|
7
|
+
|
8
|
+
background: #000a
|
9
|
+
|
10
|
+
display: block
|
11
|
+
|
12
|
+
z-index: 100
|
13
|
+
position: fixed
|
14
|
+
top: 0
|
15
|
+
left: 0
|
16
|
+
|
17
|
+
overflow: scroll
|
18
|
+
|
19
|
+
img
|
20
|
+
margin: 0
|
21
|
+
margin-top: 2em
|
22
|
+
width: auto
|
23
|
+
max-height: 100vw
|
24
|
+
|
25
|
+
@include media-query('md')
|
26
|
+
|
27
|
+
|
28
|
+
[viewer='open'].img-wrap
|
29
|
+
display: flex
|
30
|
+
justify-content: space-around
|
31
|
+
|
32
|
+
img
|
33
|
+
margin: 0 auto
|
34
|
+
height: 100vh
|
@@ -0,0 +1,43 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
// Colors
|
4
|
+
@import theme/colors
|
5
|
+
|
6
|
+
|
7
|
+
// Gorko and gorko config
|
8
|
+
@import gorko-config
|
9
|
+
@import gorko/gorko
|
10
|
+
|
11
|
+
// Theme
|
12
|
+
@import theme/font
|
13
|
+
@import theme/monokai
|
14
|
+
|
15
|
+
|
16
|
+
// CUBE, Composition Utility Block Exception
|
17
|
+
// Composition
|
18
|
+
@import composition/theme
|
19
|
+
@import composition/size
|
20
|
+
@import composition/normalize
|
21
|
+
@import composition/action
|
22
|
+
@import composition/text
|
23
|
+
@import composition/table
|
24
|
+
@import composition/code
|
25
|
+
|
26
|
+
// Utility
|
27
|
+
@import utility/bleed
|
28
|
+
@import utility/box
|
29
|
+
@import utility/shadow
|
30
|
+
@import utility/columns
|
31
|
+
|
32
|
+
// Block
|
33
|
+
@import block/root-layout
|
34
|
+
@import block/banner
|
35
|
+
@import block/gallery
|
36
|
+
@import block/menu
|
37
|
+
@import block/logo
|
38
|
+
@import block/footer
|
39
|
+
@import block/img-wrap
|
40
|
+
@import block/sibling-nav
|
41
|
+
|
42
|
+
// Exception
|
43
|
+
@import exception/img-wrap
|
@@ -0,0 +1,79 @@
|
|
1
|
+
@use "sass:map";
|
2
|
+
|
3
|
+
/// BASE SIZE
|
4
|
+
/// All calculations are based on this. It’s recommended that
|
5
|
+
/// you keep it at 1rem because that is the root font size. You
|
6
|
+
/// can set it to whatever you like and whatever unit you like.
|
7
|
+
///
|
8
|
+
$gorko-base-size: 1rem;
|
9
|
+
|
10
|
+
/// SIZE SCALE
|
11
|
+
/// This is a Major Third scale that powers all the utilities that
|
12
|
+
/// it is relevant for (font-size, margin, padding). All items are
|
13
|
+
/// calcuated off the base size, so change that and cascade across
|
14
|
+
/// your whole project.
|
15
|
+
///
|
16
|
+
$gorko-size-scale: (
|
17
|
+
'300': $gorko-base-size * 0.8,
|
18
|
+
'400': $gorko-base-size,
|
19
|
+
'500': $gorko-base-size * 1.25,
|
20
|
+
'600': $gorko-base-size * 1.6,
|
21
|
+
'700': $gorko-base-size * 2,
|
22
|
+
'900': $gorko-base-size * 3
|
23
|
+
);
|
24
|
+
|
25
|
+
$justify-align-content: (
|
26
|
+
'start': 'start',
|
27
|
+
'end': 'end',
|
28
|
+
'center': 'center',
|
29
|
+
'normal': 'normal',
|
30
|
+
'between': 'space-between',
|
31
|
+
'around': 'space-around',
|
32
|
+
'evenly': 'space-evenly',
|
33
|
+
'stretch': 'stretch'
|
34
|
+
);
|
35
|
+
|
36
|
+
|
37
|
+
$gorko-colors: $colors;
|
38
|
+
|
39
|
+
/// CORE CONFIG
|
40
|
+
/// This powers everything from utility class generation to breakpoints
|
41
|
+
/// to enabling/disabling pre-built components/utilities.
|
42
|
+
///
|
43
|
+
$gorko-config: (
|
44
|
+
'fill': (
|
45
|
+
'items': $fill-colors,
|
46
|
+
'output': 'standard',
|
47
|
+
'property': 'background'
|
48
|
+
),
|
49
|
+
'scribe': (
|
50
|
+
'items': $scribe-colors,
|
51
|
+
'output': 'standard',
|
52
|
+
'property': 'color'
|
53
|
+
),
|
54
|
+
'x': (
|
55
|
+
'items': $gorko-size-scale,
|
56
|
+
'output': 'responsive',
|
57
|
+
'property': '--x'
|
58
|
+
),
|
59
|
+
'text-align': (
|
60
|
+
'items': (
|
61
|
+
'right': 'right',
|
62
|
+
'left': 'left',
|
63
|
+
'center': 'center'
|
64
|
+
),
|
65
|
+
'output': 'standard',
|
66
|
+
'property': 'text-align'
|
67
|
+
),
|
68
|
+
'float': (
|
69
|
+
'items': (
|
70
|
+
'left': 'left',
|
71
|
+
'right': 'right'
|
72
|
+
),
|
73
|
+
'output': 'responsive',
|
74
|
+
'property': 'float'
|
75
|
+
),
|
76
|
+
'breakpoints': (
|
77
|
+
'md': '(min-width: 48em)'
|
78
|
+
)
|
79
|
+
);
|