jekyll-theme-persephone 0.1.7 → 0.1.8

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.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-persephone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - erlzhang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-14 00:00:00.000000000 Z
11
+ date: 2019-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -104,27 +104,10 @@ files:
104
104
  - _layouts/page.html
105
105
  - _layouts/post.html
106
106
  - _layouts/slides.html
107
- - _sass/persephone.scss
108
- - _sass/persephone/_archive.scss
109
- - _sass/persephone/_blog.scss
110
- - _sass/persephone/_book.scss
111
- - _sass/persephone/_chapter.scss
112
- - _sass/persephone/_comments.scss
113
- - _sass/persephone/_common.scss
114
- - _sass/persephone/_content.scss
115
- - _sass/persephone/_error.scss
116
- - _sass/persephone/_header.scss
117
- - _sass/persephone/_keyframes.scss
118
- - _sass/persephone/_list.scss
119
- - _sass/persephone/_minxins.scss
120
- - _sass/persephone/_post.scss
121
- - _sass/persephone/_slides.scss
122
- - _sass/persephone/_summary.scss
123
- - _sass/persephone/_variables.scss
124
107
  - assets/css/tomorrow.css
125
108
  - assets/js/highlight.js
126
- - assets/js/main.js
127
- - assets/main.scss
109
+ - assets/main.css
110
+ - assets/main.js
128
111
  homepage: https://github.com/erlzhang/jekyll-theme-persephone
129
112
  licenses:
130
113
  - MIT
@@ -1,140 +0,0 @@
1
- .body-archive {
2
- overflow-x: hidden;
3
- }
4
- .archive {
5
- width: 100vw;
6
- height: 100vh;
7
- overflow: hidden;
8
- .site-footer {
9
- position: fixed;
10
- width: 35%;
11
- left: 0;
12
- bottom: 0;
13
- z-index: 2;
14
- }
15
- }
16
- .archive__header {
17
- width: 35%;
18
- height: 100%;
19
- border-right: 1px solid var(--lighter);
20
- text-align: center;
21
- justify-content: center;
22
- position: fixed;
23
- left: 0;
24
- top: 0;
25
- z-index: 1;
26
- @include flex();
27
- @include flex-middle();
28
- @include flex-column();
29
- h1 {
30
- font-size: 1.5rem;
31
- margin-bottom: 0.75rem;
32
- a:hover {
33
- text-decoration: underline;
34
- }
35
- }
36
- .archive__header_intro {
37
- width: 70%;
38
- max-width: 345px;
39
- margin: 0 0 1.5rem 0;
40
- color: var(--grayer);
41
- font-size: 0.875rem;
42
- }
43
- }
44
- .archive__content {
45
- width: 65%;
46
- min-height: 100%;
47
- margin-left: 35%;
48
- @include flex();
49
- @include flex-column();
50
- flex-wrap: nowrap;
51
- justify-content: center;
52
- }
53
- .archive__list {
54
- width: 100%;
55
- margin: 1.5rem 0 2.5rem 0;
56
- flex: 1;
57
- @include flex();
58
- @include flex-column();
59
- justify-content: center;
60
- }
61
- .archive__item {
62
- list-style: none;
63
- padding: 0.75rem 5.35rem;
64
- border-top: 1px solid transparent;
65
- border-bottom: 1px solid transparent;
66
- width: 100%;
67
- overflow: hidden;
68
- &:hover {
69
- border-color: var(--lighter);
70
- }
71
- }
72
- .archive__link {
73
- color: var(--dark);
74
- width: 100%;
75
- height: 100%;
76
- font-size: 18px;
77
- line-height: 1.5rem;
78
- @include flex()
79
- }
80
- .archive__time {
81
- width: 135px;
82
- flex-basis: 135px;
83
- font-size: 0.9rem;
84
- color: var(--gray);
85
- flex-shrink: 0;
86
- }
87
- .icon__list {
88
- text-align: center;
89
- margin: 0 0 1.5rem 0;
90
- }
91
- .icon__link svg {
92
- margin: 0 5px;
93
- width: 18px;
94
- height: 18px;
95
- }
96
- .icon__fill {
97
- fill: var(--gray);
98
- }
99
- .icon__stroke {
100
- stroke: var(--gray);
101
- }
102
- .icon__list a:hover .icon__fill {
103
- fill: var(--dark);
104
- }
105
- .icon__list a:hover .icon__stroke {
106
- stroke: var(--dark);
107
- }
108
- @media screen and (max-width: 800px) {
109
- .archive {
110
- @include flex-column();
111
- min-height: 100%;
112
- height: auto;
113
- .site-footer {
114
- position: static;
115
- width: 100%;
116
- }
117
- }
118
- .archive__header, .archive__content {
119
- width: 100%;
120
- height: auto;
121
- margin: 0;
122
- }
123
- .archive__header {
124
- padding: 5rem 0 0 0;
125
- position: static;
126
- }
127
- }
128
- @media screen and (max-width: 600px) {
129
- .archive__item {
130
- padding: 0.75rem 2rem;
131
- }
132
- .archive__time {
133
- width: 100px;
134
- flex-basis: 100px;
135
- }
136
- }
137
- .page__content {
138
- max-width: 800px;
139
- padding: 2rem 3rem!important;
140
- }
@@ -1,190 +0,0 @@
1
- .post__top_navs {
2
- margin-bottom: 2rem;
3
- }
4
- .post__archive__header {
5
- margin: 5rem 0 5rem 0;
6
- @include flex();
7
- flex-direction: column;
8
- align-items: center;
9
- h1 {
10
- font-weight: 300;
11
- display: inline-block;
12
- margin: 0 auto;
13
- position: relative;
14
- text-transform: capitalize;
15
- &:before, &:after {
16
- @include pseudo();
17
- width: 30px;
18
- height: 1px;
19
- top: 50%;
20
- background-color: var(--gray);
21
- }
22
- &:before {
23
- left: -40px;
24
- }
25
- &:after {
26
- right: -40px;
27
- }
28
- }
29
- p {
30
- color: var(--gray);
31
- }
32
- }
33
- .post__entry {
34
- margin: 0 0 3rem 0;
35
- .post__link {
36
- display: block;
37
- }
38
- h2 {
39
- margin-bottom: 0.75rem;
40
- }
41
- .post__meta {
42
- font-size: 0.875rem;
43
- color: var(--gray);
44
- margin: 0.5rem 0 1rem 0;
45
- }
46
- .post__excerpt {
47
- color: var(--gray);
48
- margin: 0.5rem 0 0 0;
49
- p {
50
- line-height: 1.5rem;
51
- }
52
- }
53
- .post__more_arrow {
54
- margin-top: 2rem;
55
- width: 30%;
56
- height: 1px;
57
- background-color: var(--light);
58
- position: relative;
59
- transition: all 0.35s ease-out;
60
- display: inline-block;
61
- &:after, &:before {
62
- content: "";
63
- position: absolute;
64
- width: 15px;
65
- height: 1px;
66
- background-color: var(--light);
67
- right: -2.5px;
68
- opacity: 0;
69
- transition: all 0.35s ease-out;
70
- }
71
- &:after {
72
- transform: rotate(45deg);
73
- top: -5px;
74
- }
75
- &:before {
76
- transform: rotate(-45deg);
77
- top: 5px;
78
- }
79
- }
80
- .post__entry__link {
81
- display: block;
82
- }
83
- .post__entry__link:hover {
84
- .post__more_arrow {
85
- width: 30px;
86
- background-color: var(--gray);
87
- &:before, &:after {
88
- opacity: 1;
89
- background-color: var(--gray);
90
- }
91
- }
92
- }
93
- .post-link.emit {
94
- .more-arrow {
95
- margin-left: 30%;
96
- opacity: 0;
97
- }
98
- }
99
- }
100
- .paginiation {
101
- text-align: center;
102
- li {
103
- list-style: none;
104
- display: inline-block;
105
- margin: 0 5px;
106
- .pagi__link, .pagi__icon {
107
- width: 40px;
108
- height: 40px;
109
- line-height: 40px;
110
- text-align: center;
111
- vertical-align: bottom;
112
- display: inline-block;
113
- position: relative;
114
- }
115
- .pagi__link {
116
- &:after {
117
- @include pseudo();
118
- left: 0;
119
- bottom: -1px;
120
- width: 0;
121
- height: 1px;
122
- transition: all 0.35s ease-out;
123
- background-color: var(--gray);
124
- }
125
- &.active {
126
- color: var(--gray);
127
- border-color: var(--gray);
128
- }
129
- &:hover {
130
- border-color: var(--gray-light);
131
- &:after {
132
- width: 100%;
133
- }
134
- }
135
- }
136
- .pagi__icon {
137
- border-radius: 50%;
138
- .circle-progress {
139
- stroke: var(--gray);
140
- stroke-width: 1;
141
- }
142
- &:hover .circle-progress {
143
- stroke-dasharray: 120 120;
144
- }
145
- .pagi__icon_arrow {
146
- position: absolute;
147
- width: 60%;
148
- height: 1px;
149
- top: calc(50% - 1px);
150
- left: 20%;
151
- background-color: var(--gray);
152
- transition: all 0.25s ease-in;
153
- &:before, &:after {
154
- @include pseudo();
155
- width: 50%;
156
- height: 1px;
157
- background-color: var(--gray);
158
- }
159
- }
160
- &.next .pagi__icon_arrow {
161
- &:before, &:after {
162
- right: 0;
163
- top: 0;
164
- }
165
- &:before {
166
- transform-origin: bottom right;
167
- transform: rotate(45deg);
168
- }
169
- &:after {
170
- transform-origin: top right;
171
- transform: rotate(-45deg);
172
- }
173
- }
174
- &.prev .pagi__icon_arrow {
175
- &:before, &:after {
176
- left: 0;
177
- top: 0;
178
- }
179
- &:before {
180
- transform-origin: bottom left;
181
- transform: rotate(45deg);
182
- }
183
- &:after {
184
- transform-origin: top left;
185
- transform: rotate(-45deg);
186
- }
187
- }
188
- }
189
- }
190
- }
@@ -1,120 +0,0 @@
1
- .book {
2
- margin-left: 0;
3
- width: 100vw;
4
- height: 100vh;
5
- }
6
- .book__cover {
7
- height: 100vh;
8
- width: 40%;
9
- overflow: hidden;
10
- position: fixed;
11
- left: 0;
12
- top: 0;
13
- }
14
- .book__img {
15
- height: 100vh;
16
- width: auto;
17
- }
18
- .book__content {
19
- width: 60%;
20
- min-height: 100%;
21
- margin-left: 40%;
22
- @include flex();
23
- @include flex-column();
24
- //justify-content: center;
25
- flex-wrap: nowrap;
26
- }
27
- .book__content_inner {
28
- padding: 2.5rem 10%;
29
- width: 100%;
30
- flex: 1;
31
- @include flex();
32
- @include flex-column();
33
- justify-content: center;
34
- flex-wrap: nowrap;
35
- }
36
- .book__title {
37
- margin: 2.5rem 0;
38
- color: var(--dark);
39
- font-size: 2.85rem;
40
- }
41
- .book__desc {
42
- color: var(--dark-light);
43
- line-height: 2rem;
44
- }
45
- .book__meta {
46
- margin: 0 0 1.5rem 0;
47
- color: var(--gray);
48
- font-size: 0.875rem;
49
- }
50
- .book__icon {
51
- display: inline-block;
52
- width: 80px;
53
- height: 80px;
54
- border-radius: 50%;
55
- position: relative;
56
- cursor: pointer;
57
- margin: 1.5rem 0;
58
- }
59
- .book__icon .circle-progress {
60
- stroke-dasharray: 0 226;
61
- }
62
- .book__icon:hover .circle-progress {
63
- stroke-dasharray: 226 226;
64
- }
65
- .book__icon_arrow {
66
- position: absolute;
67
- width: 60%;
68
- height: 2px;
69
- top: calc(50% - 1px);
70
- left: 20%;
71
- background-color: var(--gray-light);
72
- transition: all 0.25s ease-in;
73
- &:before, &:after {
74
- @include pseudo();
75
- width: 50%;
76
- height: 2px;
77
- background-color: var(--gray-light);
78
- right: 0;
79
- top: 0;
80
- }
81
- &:before {
82
- transform-origin: bottom right;
83
- transform: rotate(45deg);
84
- }
85
- &:after {
86
- transform-origin: top right;
87
- transform: rotate(-45deg);
88
- }
89
- }
90
-
91
- @media screen and (max-width: 750px) {
92
- .book {
93
- @include flex-column;
94
- height: auto;
95
- min-height: 100vh;
96
- position: relative;
97
- }
98
- .book__cover, .book__content {
99
- width: 100%;
100
- }
101
- .book__cover {
102
- height: 35%;
103
- position: static;
104
- .book__img {
105
- width: 100%;
106
- height: auto;
107
- margin-top: -35%;
108
- }
109
- }
110
- .book__content {
111
- margin-left: 0;
112
- }
113
- .book__content_inner {
114
- padding: 1rem 10%;
115
- }
116
- .book__more {
117
- display: block;
118
- text-align: center;
119
- }
120
- }
@@ -1,192 +0,0 @@
1
- .book__wrapper {
2
- position: relative;
3
- min-height: 100vh;
4
- width: 100%;
5
- }
6
- .book-header {
7
- position: fixed;
8
- top: 0;
9
- right: 0;
10
- width: 100%;
11
- z-index: 7;
12
- }
13
- .with-summary .book-header {
14
- width: calc(100% - 300px);
15
- }
16
- .book-header h1 {
17
- margin: 0px;
18
- font-size: 20px;
19
- font-weight: 200;
20
- text-align: center;
21
- opacity: 0;
22
- padding-left: 200px;
23
- padding-right: 200px;
24
- overflow: hidden;
25
- text-overflow: ellipsis;
26
- white-space: nowrap;
27
- margin-top: 1.5rem;
28
- @include transition(opacity ease 0.4s);
29
- }
30
- .book-header h1 a,
31
- .book-header h1 a:hover {
32
- color: inherit;
33
- text-decoration: none;
34
- }
35
- .summary__toggler {
36
- position: absolute;
37
- top: 1.5rem;
38
- left: 3rem;
39
- width: 30px;
40
- height: 30px;
41
- z-index: 8;
42
- transition: transform 0.25s linear;
43
- transform-origin: top left;
44
- color: var(--gray);
45
- }
46
- .summary__toggler.active {
47
- transform: rotate(90deg);
48
- }
49
- @media (max-width: 1000px) {
50
- .book-header h1 {
51
- display: none;
52
- }
53
- }
54
- .book-header h1 i {
55
- display: none;
56
- }
57
- .book-header:hover h1 {
58
- opacity: 1;
59
- }
60
- /*SUMMARY*/
61
- .book__body {
62
- position: absolute;
63
- top: 0px;
64
- right: 0px;
65
- left: 0px;
66
- bottom: 0px;
67
- overflow-y: auto;
68
- @include transition(left 250ms ease);
69
- }
70
- .book__body .body__inner {
71
- position: absolute;
72
- top: 0px;
73
- right: 0px;
74
- left: 0px;
75
- bottom: 0px;
76
- overflow-y: auto;
77
- }
78
- .book__wrapper.with-summary .book-summary {
79
- left: 0px;
80
- }
81
- .book__wrapper.with-summary .book__body {
82
- left: 300px;
83
- }
84
- @media (max-width: 1240px) {
85
- .book__body {
86
- @include transition(transform 250ms ease);
87
- padding-bottom: 20px;
88
- }
89
- .book__body .body__inner {
90
- position: static;
91
- min-height: calc(100% - 50px);
92
- }
93
- }
94
- @media (max-width: 600px) {
95
- .book__wrapper.with-summary {
96
- overflow: hidden;
97
- }
98
- .book__wrapper.with-summary .book__body {
99
- left: calc(100% - 60px);
100
- right: calc(60px - 100%);
101
- }
102
- .book__wrapper.with-summary .sidebar__toggler {
103
- display: none;
104
- }
105
- }
106
- .chapter__wrapper {
107
- position: relative;
108
- outline: none;
109
- padding-top: 5rem;
110
- min-height: 100vh;
111
- @include flex();
112
- @include flex-column();
113
- .site-footer {
114
- margin-top: 2.5rem;
115
- }
116
- }
117
- .chapter__inner {
118
- position: relative;
119
- max-width: 800px;
120
- margin: 0px auto;
121
- padding: 1.5rem 1rem;
122
- max-width: var(--content-width);
123
- flex: 1;
124
- }
125
- /*
126
- Right/Left buttons to change page
127
- */
128
- .navigation {
129
- position: absolute;
130
- top: 50px;
131
- bottom: 0px;
132
- margin: 0;
133
- max-width: 150px;
134
- min-width: 90px;
135
- @include flex();
136
- @include flex-column();
137
- justify-content: center;
138
- align-content: center;
139
- align-items: center;
140
- font-size: 40px;
141
- color: var(--gray-light);
142
- text-align: center;
143
- @include transition(all 0.35s ease);
144
- }
145
- .navigation:hover {
146
- text-decoration: none;
147
- color: var(--gray);
148
- }
149
- .navigation.navigation-next {
150
- right: 20px;
151
- }
152
- .navigation.navigation-prev {
153
- left: 0px;
154
- }
155
- @media (max-width: 1240px) {
156
- .navigation {
157
- position: static;
158
- top: auto;
159
- max-width: 50%;
160
- width: 50%;
161
- display: inline-block;
162
- float: left;
163
- }
164
- .navigation.navigation-unique {
165
- max-width: 100%;
166
- width: 100%;
167
- }
168
- }
169
-
170
- @media screen and (max-width: 768px) {
171
- .book__wrapper.sidebar-right .logo, .book_wrapper.sidebar-right.logo {
172
- left: 50%;
173
- margin-left: -20px;
174
- }
175
- .book-summary {
176
- z-index: 12;
177
- }
178
- .summary__toggler {
179
- left: 1.5rem;
180
- top: 2rem;
181
- position: absolute;
182
- }
183
- }
184
- @media screen and (max-width: 600px) {
185
- .summary__toggler.active {
186
- left: 45px;
187
- }
188
- .book-header {
189
- right: auto;
190
- }
191
-
192
- }