quattle 1.5.4 → 1.6.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 +4 -4
- data/LICENSE +21 -21
- data/README.md +44 -44
- data/_includes/author.html +10 -10
- data/_includes/cookie-consent.html +45 -45
- data/_layouts/compress.html +10 -10
- data/_layouts/default.html +82 -82
- data/_layouts/page.html +7 -7
- data/_layouts/post.html +62 -62
- data/_sass/_base.scss +93 -93
- data/_sass/_buttons.scss +59 -59
- data/_sass/_code.scss +250 -250
- data/_sass/_layout.scss +46 -46
- data/_sass/_masthead.scss +52 -52
- data/_sass/_message.scss +121 -121
- data/_sass/_pagination.scss +48 -48
- data/_sass/_posts.scss +189 -189
- data/_sass/_syntax.scss +96 -96
- data/_sass/_type.scss +211 -211
- data/_sass/_variables.scss +52 -52
- metadata +4 -4
data/_sass/_message.scss
CHANGED
@@ -1,121 +1,121 @@
|
|
1
|
-
// Messages
|
2
|
-
|
3
|
-
// Example message box
|
4
|
-
// <p class="message-yellow"><small><b>Warning!</b> This is a sentence inside of a message box.</small></p>
|
5
|
-
|
6
|
-
// Example with close button
|
7
|
-
// <p class="message-yellow"><span class="closebtn" onclick="this.parentElement.style.display='none';">×</span>
|
8
|
-
// <small><b>Warning!</b> This is a sentence inside of a message box.</small></p>
|
9
|
-
|
10
|
-
.notice {
|
11
|
-
margin-bottom: 15px;
|
12
|
-
padding: 12px;
|
13
|
-
color: $text;
|
14
|
-
border: .1rem solid $notice;
|
15
|
-
background-color: $notice-bg;
|
16
|
-
border: .1rem solid $notice;
|
17
|
-
border-radius: .5em;
|
18
|
-
text-align: center;
|
19
|
-
|
20
|
-
@media (prefers-color-scheme: light) {
|
21
|
-
color: $light-scheme-text;
|
22
|
-
border: .1rem solid $notice-light;
|
23
|
-
background-color: $notice-bg-light;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
.message {
|
28
|
-
margin-bottom: 15px;
|
29
|
-
padding: 12px;
|
30
|
-
color: $text;
|
31
|
-
background-color: $message-default;
|
32
|
-
border: .1rem solid #00c2bb;
|
33
|
-
border-radius: .5em;
|
34
|
-
text-align: center;
|
35
|
-
|
36
|
-
@media (prefers-color-scheme: light) {
|
37
|
-
color: $light-scheme-text;
|
38
|
-
background-color: $message-light;
|
39
|
-
border: .1rem solid #d2d2d2;
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
.black {
|
44
|
-
margin-bottom: 15px;
|
45
|
-
padding: 12px;
|
46
|
-
color: #fff;
|
47
|
-
background-color: $message-black;
|
48
|
-
border-left: .3rem solid #595959;
|
49
|
-
border-radius: .5em;
|
50
|
-
}
|
51
|
-
|
52
|
-
.green {
|
53
|
-
margin-bottom: 15px;
|
54
|
-
padding: 12px;
|
55
|
-
color: #fff;
|
56
|
-
background-color: $message-green;
|
57
|
-
border-left: .3rem solid #93d080;
|
58
|
-
border-radius: .5em;
|
59
|
-
}
|
60
|
-
|
61
|
-
.yellow {
|
62
|
-
margin-bottom: 15px;
|
63
|
-
padding: 12px;
|
64
|
-
color: #fff;
|
65
|
-
background-color: $message-yellow;
|
66
|
-
border-left: .3rem solid #fdcb61;
|
67
|
-
border-radius: .5em;
|
68
|
-
}
|
69
|
-
|
70
|
-
.orange {
|
71
|
-
margin-bottom: 15px;
|
72
|
-
padding: 12px;
|
73
|
-
color: #fff;
|
74
|
-
background-color: $message-orange;
|
75
|
-
border-left: .3rem solid #f9ac6b;
|
76
|
-
border-radius: .5em;
|
77
|
-
}
|
78
|
-
|
79
|
-
.red {
|
80
|
-
margin-bottom: 15px;
|
81
|
-
padding: 12px;
|
82
|
-
color: #fff;
|
83
|
-
background-color: $message-red;
|
84
|
-
border-left: .3rem solid #e86c71;
|
85
|
-
border-radius: .5em;
|
86
|
-
}
|
87
|
-
|
88
|
-
.purple {
|
89
|
-
margin-bottom: 15px;
|
90
|
-
padding: 12px;
|
91
|
-
color: #fff;
|
92
|
-
background-color: $message-purple;
|
93
|
-
border-left: .3rem solid #bf61c0;
|
94
|
-
border-radius: .5em;
|
95
|
-
}
|
96
|
-
|
97
|
-
.blue {
|
98
|
-
margin-bottom: 15px;
|
99
|
-
padding: 12px;
|
100
|
-
color: #fff;
|
101
|
-
background-color: $message-blue;
|
102
|
-
border-left: .3rem solid #2bc2ff;
|
103
|
-
border-radius: .5em;
|
104
|
-
}
|
105
|
-
|
106
|
-
/* The close button */
|
107
|
-
.closebtn {
|
108
|
-
margin-left: 15px;
|
109
|
-
color: white;
|
110
|
-
font-weight: bold;
|
111
|
-
float: right;
|
112
|
-
font-size: 22px;
|
113
|
-
line-height: 27px;
|
114
|
-
cursor: pointer;
|
115
|
-
transition: 0.3s;
|
116
|
-
}
|
117
|
-
|
118
|
-
/* When moving the mouse over the close button */
|
119
|
-
.closebtn:hover {
|
120
|
-
color: black;
|
121
|
-
}
|
1
|
+
// Messages
|
2
|
+
|
3
|
+
// Example message box
|
4
|
+
// <p class="message-yellow"><small><b>Warning!</b> This is a sentence inside of a message box.</small></p>
|
5
|
+
|
6
|
+
// Example with close button
|
7
|
+
// <p class="message-yellow"><span class="closebtn" onclick="this.parentElement.style.display='none';">×</span>
|
8
|
+
// <small><b>Warning!</b> This is a sentence inside of a message box.</small></p>
|
9
|
+
|
10
|
+
.notice {
|
11
|
+
margin-bottom: 15px;
|
12
|
+
padding: 12px;
|
13
|
+
color: $text;
|
14
|
+
border: .1rem solid $notice;
|
15
|
+
background-color: $notice-bg;
|
16
|
+
border: .1rem solid $notice;
|
17
|
+
border-radius: .5em;
|
18
|
+
text-align: center;
|
19
|
+
|
20
|
+
@media (prefers-color-scheme: light) {
|
21
|
+
color: $light-scheme-text;
|
22
|
+
border: .1rem solid $notice-light;
|
23
|
+
background-color: $notice-bg-light;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.message {
|
28
|
+
margin-bottom: 15px;
|
29
|
+
padding: 12px;
|
30
|
+
color: $text;
|
31
|
+
background-color: $message-default;
|
32
|
+
border: .1rem solid #00c2bb;
|
33
|
+
border-radius: .5em;
|
34
|
+
text-align: center;
|
35
|
+
|
36
|
+
@media (prefers-color-scheme: light) {
|
37
|
+
color: $light-scheme-text;
|
38
|
+
background-color: $message-light;
|
39
|
+
border: .1rem solid #d2d2d2;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
.black {
|
44
|
+
margin-bottom: 15px;
|
45
|
+
padding: 12px;
|
46
|
+
color: #fff;
|
47
|
+
background-color: $message-black;
|
48
|
+
border-left: .3rem solid #595959;
|
49
|
+
border-radius: .5em;
|
50
|
+
}
|
51
|
+
|
52
|
+
.green {
|
53
|
+
margin-bottom: 15px;
|
54
|
+
padding: 12px;
|
55
|
+
color: #fff;
|
56
|
+
background-color: $message-green;
|
57
|
+
border-left: .3rem solid #93d080;
|
58
|
+
border-radius: .5em;
|
59
|
+
}
|
60
|
+
|
61
|
+
.yellow {
|
62
|
+
margin-bottom: 15px;
|
63
|
+
padding: 12px;
|
64
|
+
color: #fff;
|
65
|
+
background-color: $message-yellow;
|
66
|
+
border-left: .3rem solid #fdcb61;
|
67
|
+
border-radius: .5em;
|
68
|
+
}
|
69
|
+
|
70
|
+
.orange {
|
71
|
+
margin-bottom: 15px;
|
72
|
+
padding: 12px;
|
73
|
+
color: #fff;
|
74
|
+
background-color: $message-orange;
|
75
|
+
border-left: .3rem solid #f9ac6b;
|
76
|
+
border-radius: .5em;
|
77
|
+
}
|
78
|
+
|
79
|
+
.red {
|
80
|
+
margin-bottom: 15px;
|
81
|
+
padding: 12px;
|
82
|
+
color: #fff;
|
83
|
+
background-color: $message-red;
|
84
|
+
border-left: .3rem solid #e86c71;
|
85
|
+
border-radius: .5em;
|
86
|
+
}
|
87
|
+
|
88
|
+
.purple {
|
89
|
+
margin-bottom: 15px;
|
90
|
+
padding: 12px;
|
91
|
+
color: #fff;
|
92
|
+
background-color: $message-purple;
|
93
|
+
border-left: .3rem solid #bf61c0;
|
94
|
+
border-radius: .5em;
|
95
|
+
}
|
96
|
+
|
97
|
+
.blue {
|
98
|
+
margin-bottom: 15px;
|
99
|
+
padding: 12px;
|
100
|
+
color: #fff;
|
101
|
+
background-color: $message-blue;
|
102
|
+
border-left: .3rem solid #2bc2ff;
|
103
|
+
border-radius: .5em;
|
104
|
+
}
|
105
|
+
|
106
|
+
/* The close button */
|
107
|
+
.closebtn {
|
108
|
+
margin-left: 15px;
|
109
|
+
color: white;
|
110
|
+
font-weight: bold;
|
111
|
+
float: right;
|
112
|
+
font-size: 22px;
|
113
|
+
line-height: 27px;
|
114
|
+
cursor: pointer;
|
115
|
+
transition: 0.3s;
|
116
|
+
}
|
117
|
+
|
118
|
+
/* When moving the mouse over the close button */
|
119
|
+
.closebtn:hover {
|
120
|
+
color: black;
|
121
|
+
}
|
data/_sass/_pagination.scss
CHANGED
@@ -1,48 +1,48 @@
|
|
1
|
-
// Pagination
|
2
|
-
|
3
|
-
.pagination {
|
4
|
-
overflow: hidden; // clearfix
|
5
|
-
margin: 0 -1.5rem 1rem;
|
6
|
-
color: #ccc;
|
7
|
-
text-align: center;
|
8
|
-
}
|
9
|
-
|
10
|
-
// Pagination items can be `span`s or `a`s
|
11
|
-
.pagination-item {
|
12
|
-
display: block;
|
13
|
-
padding: 1rem;
|
14
|
-
border: solid #111111;
|
15
|
-
border-width: 1px 0;
|
16
|
-
|
17
|
-
&:first-child {
|
18
|
-
margin-bottom: -1px;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
// Only provide a hover state for linked pagination items
|
23
|
-
a.pagination-item:hover {
|
24
|
-
background-color: #1e1e1e;
|
25
|
-
}
|
26
|
-
|
27
|
-
@media (min-width: 30em) {
|
28
|
-
.pagination {
|
29
|
-
margin: 3rem 0;
|
30
|
-
}
|
31
|
-
|
32
|
-
.pagination-item {
|
33
|
-
float: left;
|
34
|
-
width: 50%;
|
35
|
-
border-width: 1px;
|
36
|
-
|
37
|
-
&:first-child {
|
38
|
-
margin-bottom: 0;
|
39
|
-
border-top-left-radius: 4px;
|
40
|
-
border-bottom-left-radius: 4px;
|
41
|
-
}
|
42
|
-
&:last-child {
|
43
|
-
margin-left: -1px;
|
44
|
-
border-top-right-radius: 4px;
|
45
|
-
border-bottom-right-radius: 4px;
|
46
|
-
}
|
47
|
-
}
|
48
|
-
}
|
1
|
+
// Pagination
|
2
|
+
|
3
|
+
.pagination {
|
4
|
+
overflow: hidden; // clearfix
|
5
|
+
margin: 0 -1.5rem 1rem;
|
6
|
+
color: #ccc;
|
7
|
+
text-align: center;
|
8
|
+
}
|
9
|
+
|
10
|
+
// Pagination items can be `span`s or `a`s
|
11
|
+
.pagination-item {
|
12
|
+
display: block;
|
13
|
+
padding: 1rem;
|
14
|
+
border: solid #111111;
|
15
|
+
border-width: 1px 0;
|
16
|
+
|
17
|
+
&:first-child {
|
18
|
+
margin-bottom: -1px;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
// Only provide a hover state for linked pagination items
|
23
|
+
a.pagination-item:hover {
|
24
|
+
background-color: #1e1e1e;
|
25
|
+
}
|
26
|
+
|
27
|
+
@media (min-width: 30em) {
|
28
|
+
.pagination {
|
29
|
+
margin: 3rem 0;
|
30
|
+
}
|
31
|
+
|
32
|
+
.pagination-item {
|
33
|
+
float: left;
|
34
|
+
width: 50%;
|
35
|
+
border-width: 1px;
|
36
|
+
|
37
|
+
&:first-child {
|
38
|
+
margin-bottom: 0;
|
39
|
+
border-top-left-radius: 4px;
|
40
|
+
border-bottom-left-radius: 4px;
|
41
|
+
}
|
42
|
+
&:last-child {
|
43
|
+
margin-left: -1px;
|
44
|
+
border-top-right-radius: 4px;
|
45
|
+
border-bottom-right-radius: 4px;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|