jekyll-theme-persephone 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,216 +0,0 @@
1
- .comment-container {
2
- padding: 1.5rem 0;
3
- }
4
- .comment-left {
5
- float: left;
6
- width: 60px;
7
- }
8
- .comment__avatar {
9
- img {
10
- border-radius: 50%;
11
- }
12
- }
13
-
14
- .comment-right {
15
- float: right;
16
- width: calc(100% - 60px);
17
- }
18
- .new-comment-right {
19
- padding-left: 1rem;
20
- }
21
- .comment__box {
22
- position: relative;
23
- border: 1px solid var(--lighter);
24
- @include flex;
25
- @include flex-column;
26
- border-radius: 0.35rem;
27
- &:after, &:before {
28
- @include pseudo;
29
- width: 0;
30
- height: 0;
31
- right: 100%;
32
- border-style: solid solid outset solid;
33
- pointer-events: none;
34
- }
35
- &:after {
36
- border-width: 8px;
37
- border-color: transparent var(--lighter) transparent transparent;
38
- left: -16px;
39
- top: 11px;
40
- z-index: 4;
41
- }
42
- &:before {
43
- border-width: 7px;
44
- border-color: transparent var(--bg-color) transparent transparent;
45
- left: -14px;
46
- top: 12px;
47
- z-index: 5;
48
- }
49
- }
50
- .comment__box_top, .comment__box_bottom {
51
- width: 100%;
52
- @include flex;
53
- }
54
- .comment__box_top {
55
- border-bottom: 1px solid var(--lighter);
56
- }
57
- @media screen and (max-width: 500px) {
58
- .comment__box_top {
59
- @include flex-column;
60
- }
61
- }
62
- .comment__box_bottom {
63
- border-top: 1px solid var(--lighter);
64
- justify-content: flex-end;
65
- }
66
- .comment__hint {
67
- font-size: 0.875rem;
68
- color: var(--gray);
69
- flex: 1;
70
- line-height: 40px;
71
- padding: 0 10px;
72
- overflow: hidden;
73
- white-space: nowrap;
74
- text-overflow: ellipsis;
75
- }
76
- .comment__smileys_box {
77
- padding: 4px 10px;
78
- border-top: 1px solid var(--lighter);
79
- position: absolute;
80
- bottom: 40px;
81
- left: 0;
82
- width: 100%;
83
- display: none;
84
- img {
85
- width: 34px;
86
- height: auto;
87
- }
88
- }
89
- .comment__smileys_toggler {
90
- width: 48px;
91
- text-align: center;
92
- padding: 9px 0 0 0;
93
- border-right: 1px solid var(--lighter);
94
- cursor: pointer;
95
- svg {
96
- stroke: var(--light-gray);
97
- }
98
- }
99
- .comment__error {
100
- color: var(--red);
101
- }
102
-
103
- .input-group {
104
- position: relative;
105
- padding-left: 35px;
106
- }
107
- .input-label {
108
- position: absolute;
109
- left: 10px;
110
- top: 8px;
111
- width: 24px;
112
- height: 24px;
113
- z-index: 33;
114
- transition: all .25s linear;
115
- svg {
116
- stroke: var(--light-gray);
117
- stroke-width: 2;
118
- }
119
- }
120
- .form__inputs__group.hide {
121
- display: none;
122
- }
123
- .form__inputs__group .input-group {
124
- width: 48%;
125
- float: left;
126
- margin-right: 2%;
127
- }
128
- .form-control {
129
- width: 100%;
130
- padding: 0.375rem 0.75rem;
131
- color: var(--gray);
132
- font-size: 1rem;
133
- line-height: 1.5;
134
- background-color: transparent;
135
- font-family: "OpenSans", "Microsoft YaHei", "微软雅黑", "宋体", STXihei, "华文细黑", Arial, Verdana, arial, serif;
136
- &:focus {
137
- outline: none;
138
- }
139
- &::placeholder {
140
- font-size: 0.875rem;
141
- color: var(--gray-light);
142
- }
143
- }
144
- .form-control-name {
145
- max-width: 180px;
146
- }
147
- textarea.form-control {
148
- height: 7em;
149
- padding-top: 0.5rem;
150
- padding-bottom: 0.5rem;
151
- resize: vertical;
152
- }
153
- .submit-btn {
154
- width: 120px;
155
- display: inline-block;
156
- background: none;
157
- color: var(--gray);
158
- border-left: 1px solid var(--lighter);
159
- cursor: pointer;
160
- position: relative;
161
- height: 40px;
162
- line-height: 40px;
163
- transition: all 0.45s ease-in;
164
- &:disabled {
165
- cursor: not-allowed;
166
- opacity: 0.5;
167
- }
168
- }
169
-
170
- .comment__list {
171
- margin: 3rem 0;
172
- }
173
- .comment {
174
- margin: 1rem 0;
175
- border-radius: 0.35rem;
176
- }
177
- .comment__list > .comment {
178
- padding: 0.5rem 0 0.5rem 0.5rem;
179
- }
180
- .comment__list > .comment > .comment {
181
- margin-left: 2.5rem;
182
- }
183
- .comment_new {
184
- background-color: var(--lighter);
185
- padding: 0.75rem;
186
- }
187
- .comment__author {
188
- font-size: 1.05rem;
189
- line-height: 2.5rem;
190
- margin-right: 10px;
191
- }
192
- .comment__reply_to {
193
- color: var(--gray);
194
- margin-right: 10px;
195
- font-size: 0.875rem;
196
- }
197
- .comment__date {
198
- color: var(--light-gray);
199
- font-size: 0.875rem;
200
- }
201
- .comment__content {
202
- padding: 0.5rem 0;
203
- p {
204
- color: var(--gray);
205
- font-size: 0.95rem;
206
- white-space: pre-line;
207
- }
208
- }
209
- .comment__reply {
210
- float: right;
211
- font-size: 0.8rem;
212
- border-bottom: 1px dashed var(--gray);
213
- &:hover {
214
- border-style: solid;
215
- }
216
- }
@@ -1,110 +0,0 @@
1
- * {
2
- border: 0;
3
- padding: 0;
4
- margin: 0;
5
- //outline: none;
6
- box-sizing: border-box;
7
- }
8
- body, html {
9
- font-family: "Microsoft YaHei", "微软雅黑", "宋体", STXihei, "华文细黑", Arial, Verdana, arial, serif;
10
- width: 100%;
11
- background-color: var(--bg-color);
12
- color: var(--dark);
13
- font-size: 17px;
14
- }
15
- body {
16
- min-height: 100vh;
17
- overflow-x: hidden;
18
- @include flex();
19
- @include flex-column();
20
- }
21
- main {
22
- flex: 1;
23
- }
24
- h1, h2, h3 {
25
- font-weight: normal;
26
- }
27
- h1 {
28
- font-size: 2.36rem;
29
- }
30
-
31
- h2 {
32
- font-size: 1.77rem;
33
- }
34
-
35
- h3 {
36
- font-size: 1.33rem;
37
- }
38
- a {
39
- text-decoration: none;
40
- color: var(--dark);
41
- }
42
- a:hover, a:visited, a:linked, a:active {
43
- text-decoration: none;
44
- color: var(--dark);
45
- }
46
-
47
- .loading {
48
- display: flex;
49
- width: 100vw;
50
- height: 100vh;
51
- position: fixed;
52
- z-index: 15;
53
- background-color: var(--bg-color);
54
- align-items: center;
55
- justify-content: center;
56
- }
57
- .loading__icon {
58
- width: 60px;
59
- height: 60px;
60
- position: relative;
61
- border-radius: 30px;
62
- border: 2px solid var(--gray-light);
63
- }
64
- .loading__icon:after {
65
- content: "";
66
- position: absolute;
67
- top: -2px;
68
- left: -2px;
69
- bottom: -2px;
70
- right: -2px;
71
- border-radius: 30px;
72
- border: 2px solid transparent;
73
- border-top-color: var(--gray);
74
- animation: spin 1s linear infinite;
75
- }
76
- .error-container {
77
- display: flex;
78
- width: 100vw;
79
- height: 100vh;
80
- align-items: center;
81
- justify-content: center;
82
- flex-direction: column;
83
- }
84
- .error-title {
85
- font-size: 3.5rem;
86
- }
87
- .error-hint {
88
- margin: 3rem 0;
89
- font-size: 1.35rem;
90
- }
91
- .error-link {
92
- text-decoration: underline;
93
- }
94
- .clearfix:after {
95
- content: "";
96
- clear: both;
97
- display: block;
98
- }
99
- .site-footer {
100
- line-height: 1.5rem;
101
- padding: 1.25rem 0;
102
- color: var(--gray);
103
- font-size: 0.75rem;
104
- text-align: center;
105
- width: 100%;
106
- a {
107
- font-size: 0.75rem;
108
- margin: 0 3px;
109
- }
110
- }
@@ -1,279 +0,0 @@
1
- .content {
2
- display: block;
3
- word-wrap: break-word;
4
- overflow: hidden;
5
- color: var(--dark);
6
- line-height: 1.7;
7
- /* Printing */
8
- /* Typography */
9
- /* Spacing */
10
- /* Links */
11
- /* Images */
12
- /* Horizontal lines */
13
- /* Headings */
14
- /* Code blocks */
15
- /* Tables */
16
- /* Lists */
17
- /* Blockquote */
18
- /* Description Lists */
19
- }
20
- .content * {
21
- box-sizing: border-box;
22
- -webkit-box-sizing: border-box;
23
- font-size: inherit;
24
- }
25
- .content > *:first-child {
26
- margin-top: 0 !important;
27
- }
28
- .content > *:last-child {
29
- margin-bottom: 0 !important;
30
- }
31
- .content pre,
32
- .content code,
33
- .content blockquote,
34
- .content tr,
35
- .content img,
36
- .content table,
37
- .content figure {
38
- page-break-inside: avoid;
39
- }
40
- .content p,
41
- .content h2,
42
- .content h3,
43
- .content h4,
44
- .content h5 {
45
- orphans: 3;
46
- widows: 3;
47
- }
48
- .content h1,
49
- .content h2,
50
- .content h3,
51
- .content h4,
52
- .content h5 {
53
- page-break-after: avoid;
54
- }
55
- .content strong,
56
- .content b {
57
- font-weight: bold;
58
- }
59
- .content em {
60
- font-style: italic;
61
- }
62
- .content p,
63
- .content blockquote,
64
- .content ul,
65
- .content ol,
66
- .content dl,
67
- .content table {
68
- margin-top: 0;
69
- margin-bottom: 0.85em;
70
- }
71
- .content a {
72
- text-decoration: none;
73
- background: transparent;
74
- display: inline-block;
75
- border-bottom: 1px dashed var(--gray);
76
- margin: 0 0.25rem;
77
- font-size: 0.9em;
78
- color: var(--grayer);
79
- }
80
- .content a:hover,
81
- .content a:focus,
82
- .content a:active {
83
- outline: 0;
84
- border-style: solid;
85
- }
86
- .content img {
87
- border: 0;
88
- max-width: 100%;
89
- vertical-align: middle;
90
- }
91
- .content hr {
92
- height: 1px;
93
- padding: 0;
94
- margin: 1.7em 0;
95
- overflow: hidden;
96
- background-color: #e7e7e7;
97
- border: none;
98
- }
99
- .content hr:before,
100
- .content hr:after {
101
- display: table;
102
- content: " ";
103
- }
104
- .content hr:after {
105
- clear: both;
106
- }
107
- .content h1,
108
- .content h2,
109
- .content h3,
110
- .content h4,
111
- .content h5,
112
- .content h6 {
113
- margin-top: 1.275em;
114
- margin-bottom: 0.85em;
115
- font-weight: 550;
116
- }
117
- .content h1 {
118
- font-size: 2.3em;
119
- font-weight: 500;
120
- margin-bottom: 1em;
121
- }
122
- .content h2 {
123
- font-size: 1.75em;
124
- }
125
- .content h3 {
126
- font-size: 1.5em;
127
- }
128
- .content h4 {
129
- font-size: 1.25em;
130
- }
131
- .content h5 {
132
- font-size: 1em;
133
- }
134
- .content h6 {
135
- font-size: 1em;
136
- color: #777;
137
- }
138
- .content code,
139
- .content pre {
140
- font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
141
- direction: ltr;
142
- margin: 0px;
143
- padding: 0px;
144
- border: none;
145
- color: inherit;
146
- }
147
- .content pre {
148
- overflow: auto;
149
- word-wrap: normal;
150
- margin: 0px;
151
- padding: 0.85em 1em;
152
- margin-bottom: 1.275em;
153
- background: var(--lightest);
154
- }
155
- .content pre > code {
156
- display: inline;
157
- max-width: initial;
158
- padding: 0;
159
- margin: 0;
160
- overflow: initial;
161
- line-height: inherit;
162
- font-size: 0.85em;
163
- white-space: pre;
164
- background: transparent;
165
- }
166
- .content pre > code:before,
167
- .content pre > code:after {
168
- content: normal;
169
- }
170
- .content code {
171
- padding: 0.2em;
172
- margin: 0;
173
- font-size: 0.85em;
174
- background-color: var(--lightest);
175
- border-radius: 3px;
176
- //color: #EB5757;
177
- }
178
- .content code:before,
179
- .content code:after {
180
- letter-spacing: -0.2em;
181
- content: "\00a0";
182
- }
183
- .content table {
184
- display: table;
185
- width: 100%;
186
- border-collapse: collapse;
187
- border-spacing: 0;
188
- overflow: auto;
189
- }
190
- .content table td,
191
- .content table th {
192
- padding: 6px 13px;
193
- border: 1px solid #ddd;
194
- }
195
- .content table tr {
196
- background-color: #fff;
197
- border-top: 1px solid var(--gray-light);
198
- }
199
- .content table tr:nth-child(2n) {
200
- background-color: var(--lightest);
201
- }
202
- .content table th {
203
- font-weight: bold;
204
- }
205
- .content ul,
206
- .content ol {
207
- padding: 0;
208
- margin: 0;
209
- margin-bottom: 0.85em;
210
- padding-left: 2em;
211
- }
212
- .content ul ol,
213
- .content ol ol,
214
- .content ul ul,
215
- .content ol ul {
216
- margin-top: 0;
217
- margin-bottom: 0;
218
- }
219
- .content ol ol {
220
- list-style-type: lower-roman;
221
- }
222
- .content blockquote {
223
- margin: 0;
224
- margin-bottom: 0.85em;
225
- padding: 0 15px;
226
- color: var(--gray);
227
- border-left: 4px solid var(--light);
228
- }
229
- .content blockquote:first-child {
230
- margin-top: 0;
231
- }
232
- .content blockquote:last-child {
233
- margin-bottom: 0;
234
- }
235
- .content dl {
236
- padding: 0;
237
- }
238
- .content dl dt {
239
- padding: 0;
240
- margin-top: 0.85em;
241
- font-style: italic;
242
- font-weight: bold;
243
- }
244
- .content dl dd {
245
- padding: 0 0.85em;
246
- margin-bottom: 0.85em;
247
- }
248
- .content dd {
249
- margin-left: 0;
250
- }
251
- .content .mermaid {
252
- margin-bottom: 0.85rem;
253
- }
254
- .content sup {
255
- .footnote {
256
- font-size: 0.75rem;
257
- }
258
- }
259
- .content .footnotes {
260
- margin: 2rem 0 0 0;
261
- padding: 1rem 0;
262
- position: relative;
263
- color: var(--gray);
264
- width: 100%;
265
- text-align: left;
266
- &:before {
267
- @include pseudo();
268
- left: 0;
269
- background-color: var(--light);
270
- width: 30%;
271
- height: 1px;
272
- top: 0;
273
- }
274
- ol {
275
- li {
276
- font-size: 0.875rem;
277
- }
278
- }
279
- }
@@ -1,16 +0,0 @@
1
- .error-container {
2
- display: flex;
3
- width: 100vw;
4
- height: 100vh;
5
- align-items: center;
6
- justify-content: center;
7
- flex-direction: column;
8
- }
9
- .error-title {
10
- font-size: 4rem;
11
- }
12
- .error-hint {
13
- margin: 0.5rem 0 1.5rem 0;
14
- font-size: 1.35rem;
15
- text-decoration: none;
16
- }