quattle 1.5.5 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
data/_sass/_posts.scss CHANGED
@@ -1,189 +1,189 @@
1
- // Posts and pages
2
-
3
- figure {
4
- margin-right: 0;
5
- margin-left: 0;
6
- margin-top: 1.5em;
7
- margin-bottom: 2em;
8
-
9
- & > :nth-last-child(2) {
10
- margin-bottom: 0;
11
-
12
- & > :last-child {
13
- margin-bottom: 0;
14
- }
15
- }
16
- figcaption {
17
- color: #878787;
18
- margin-top: 0.4em;
19
- font-size: 0.8em;
20
- text-align: center
21
- }
22
- &.screenshot {
23
- margin-left: 0;
24
- margin-right: 0;
25
- margin-top: 0;
26
-
27
- figcaption {
28
- margin-top: 1em;
29
- margin-right: 2em;
30
- margin-left: 2em;
31
- }
32
- }
33
- &.attributed-quote {
34
- margin-left: 0;
35
- margin-right: 0;
36
-
37
- figcaption {
38
- margin-top: 0.8em;
39
- margin-left: 4em;
40
-
41
- p {
42
- display: inline;
43
- }
44
- &::first-letter {
45
- margin-left: -2.5ex;
46
- }
47
- }
48
- }
49
- }
50
-
51
- @media screen and (max-width: 760px) {
52
- figure {
53
- margin-left: 1em;
54
- margin-right: 1em;
55
- }
56
- }
57
-
58
- @media screen and (max-width: 500px) {
59
- figure.screenshot figcaption {
60
- margin-top: 0;
61
- }
62
- }
63
-
64
- // End of alterations for captions.
65
-
66
- .page,
67
- .post {
68
- margin-bottom: 1em;
69
-
70
- li + li {
71
- margin-top: .25rem;
72
- }
73
- }
74
-
75
- // Blog post or page title
76
- .page-title,
77
- .post-title,
78
- .post-title a {
79
- color: $text;
80
-
81
- @media (prefers-color-scheme: light) {
82
- color: $light-scheme-text;
83
- }
84
- }
85
-
86
- .page-title,
87
- .post-title {
88
- margin-top: 0;
89
- }
90
-
91
- // Meta data line below post title
92
- .post-date {
93
- display: block;
94
- margin-top: -.4rem;
95
- margin-bottom: 1rem;
96
- color: $text;
97
-
98
- @media (prefers-color-scheme: light) {
99
- color: $light-scheme-text;
100
- }
101
- }
102
-
103
- .permalink {
104
- display: inline;
105
- margin-top: -1rem;
106
- margin-bottom: 1.5rem;
107
- color: $text;
108
-
109
- @media (prefers-color-scheme: light) {
110
- color: $light-scheme-color;
111
- }
112
- }
113
-
114
- .author {
115
- display: inline;
116
- margin-top: -1rem;
117
- margin-bottom: 1.5rem;
118
- opacity: .7;
119
- color: $text;
120
-
121
- @media (prefers-color-scheme: light) {
122
- color: $light-scheme-accent;
123
- opacity: 1;
124
- }
125
- }
126
-
127
- .tag-list {
128
-
129
- a:link {
130
- color: $color;
131
- display: inline-block;
132
- padding-top: 1px;
133
- padding-bottom: 1px;
134
- padding-left: 5px;
135
- padding-right: 5px;
136
- border: 1.5px solid $accent;
137
- border-radius: .25em;
138
- margin-bottom: .5rem;
139
- margin-right: .1rem;
140
- font-size: 90%;
141
-
142
- @media (prefers-color-scheme: light) {
143
- color: $light-scheme-color;
144
- border: 1.5px solid #d2d2d2;
145
- background-color: #f8f8f8;
146
- }
147
- }
148
-
149
- a:visited {
150
- color: $color;
151
- display: inline-block;
152
- padding-top: 1px;
153
- padding-bottom: 1px;
154
- padding-left: 5px;
155
- padding-right: 5px;
156
- border: 1px solid $accent;
157
- border-radius: .25em;
158
- margin-bottom: .5rem;
159
- margin-right: .1rem;
160
- font-size: 90%;
161
-
162
- @media (prefers-color-scheme: light) {
163
- color: $light-scheme-color;
164
- border: 1.5px solid #d2d2d2;
165
- background-color: #f8f8f8;
166
- }
167
- }
168
- }
169
-
170
- .source {
171
- display: inline-block;
172
- width: 100%;
173
- overflow: hidden;
174
- white-space: nowrap;
175
- margin-top: 2rem;
176
- font-variant: small-caps;
177
- }
178
-
179
- .PageNavigation a {
180
- display: inline;
181
- width: auto;
182
- float: left;
183
- margin: 1em 0;
184
- }
185
- .PageNavigation .next {
186
- float: right;
187
- width: auto;
188
- text-align: right;
189
- }
1
+ // Posts and pages
2
+
3
+ figure {
4
+ margin-right: 0;
5
+ margin-left: 0;
6
+ margin-top: 1.5em;
7
+ margin-bottom: 2em;
8
+
9
+ & > :nth-last-child(2) {
10
+ margin-bottom: 0;
11
+
12
+ & > :last-child {
13
+ margin-bottom: 0;
14
+ }
15
+ }
16
+ figcaption {
17
+ color: #878787;
18
+ margin-top: 0.4em;
19
+ font-size: 0.8em;
20
+ text-align: center
21
+ }
22
+ &.screenshot {
23
+ margin-left: 0;
24
+ margin-right: 0;
25
+ margin-top: 0;
26
+
27
+ figcaption {
28
+ margin-top: 1em;
29
+ margin-right: 2em;
30
+ margin-left: 2em;
31
+ }
32
+ }
33
+ &.attributed-quote {
34
+ margin-left: 0;
35
+ margin-right: 0;
36
+
37
+ figcaption {
38
+ margin-top: 0.8em;
39
+ margin-left: 4em;
40
+
41
+ p {
42
+ display: inline;
43
+ }
44
+ &::first-letter {
45
+ margin-left: -2.5ex;
46
+ }
47
+ }
48
+ }
49
+ }
50
+
51
+ @media screen and (max-width: 760px) {
52
+ figure {
53
+ margin-left: 1em;
54
+ margin-right: 1em;
55
+ }
56
+ }
57
+
58
+ @media screen and (max-width: 500px) {
59
+ figure.screenshot figcaption {
60
+ margin-top: 0;
61
+ }
62
+ }
63
+
64
+ // End of alterations for captions.
65
+
66
+ .page,
67
+ .post {
68
+ margin-bottom: 1em;
69
+
70
+ li + li {
71
+ margin-top: .25rem;
72
+ }
73
+ }
74
+
75
+ // Blog post or page title
76
+ .page-title,
77
+ .post-title,
78
+ .post-title a {
79
+ color: $text;
80
+
81
+ @media (prefers-color-scheme: light) {
82
+ color: $light-scheme-text;
83
+ }
84
+ }
85
+
86
+ .page-title,
87
+ .post-title {
88
+ margin-top: 0;
89
+ }
90
+
91
+ // Meta data line below post title
92
+ .post-date {
93
+ display: block;
94
+ margin-top: -.4rem;
95
+ margin-bottom: 1rem;
96
+ color: $text;
97
+
98
+ @media (prefers-color-scheme: light) {
99
+ color: $light-scheme-text;
100
+ }
101
+ }
102
+
103
+ .permalink {
104
+ display: inline;
105
+ margin-top: -1rem;
106
+ margin-bottom: 1.5rem;
107
+ color: $text;
108
+
109
+ @media (prefers-color-scheme: light) {
110
+ color: $light-scheme-color;
111
+ }
112
+ }
113
+
114
+ .author {
115
+ display: inline;
116
+ margin-top: -1rem;
117
+ margin-bottom: 1.5rem;
118
+ opacity: .7;
119
+ color: $text;
120
+
121
+ @media (prefers-color-scheme: light) {
122
+ color: $light-scheme-accent;
123
+ opacity: 1;
124
+ }
125
+ }
126
+
127
+ .tag-list {
128
+
129
+ a:link {
130
+ color: $color;
131
+ display: inline-block;
132
+ padding-top: 1px;
133
+ padding-bottom: 1px;
134
+ padding-left: 5px;
135
+ padding-right: 5px;
136
+ border: 1.5px solid $accent;
137
+ border-radius: .25em;
138
+ margin-bottom: .5rem;
139
+ margin-right: .1rem;
140
+ font-size: 90%;
141
+
142
+ @media (prefers-color-scheme: light) {
143
+ color: $light-scheme-color;
144
+ border: 1.5px solid #d2d2d2;
145
+ background-color: #f8f8f8;
146
+ }
147
+ }
148
+
149
+ a:visited {
150
+ color: $color;
151
+ display: inline-block;
152
+ padding-top: 1px;
153
+ padding-bottom: 1px;
154
+ padding-left: 5px;
155
+ padding-right: 5px;
156
+ border: 1px solid $accent;
157
+ border-radius: .25em;
158
+ margin-bottom: .5rem;
159
+ margin-right: .1rem;
160
+ font-size: 90%;
161
+
162
+ @media (prefers-color-scheme: light) {
163
+ color: $light-scheme-color;
164
+ border: 1.5px solid #d2d2d2;
165
+ background-color: #f8f8f8;
166
+ }
167
+ }
168
+ }
169
+
170
+ .source {
171
+ display: inline-block;
172
+ width: 100%;
173
+ overflow: hidden;
174
+ white-space: nowrap;
175
+ margin-top: 2rem;
176
+ font-variant: small-caps;
177
+ }
178
+
179
+ .PageNavigation a {
180
+ display: inline;
181
+ width: auto;
182
+ float: left;
183
+ margin: 1em 0;
184
+ }
185
+ .PageNavigation .next {
186
+ float: right;
187
+ width: auto;
188
+ text-align: right;
189
+ }
data/_sass/_syntax.scss CHANGED
@@ -1,96 +1,96 @@
1
- // Colors
2
-
3
- $code-green: #6aaf50;
4
- $code-dark-green: #1d9a79;
5
- $code-light-blue: #68a5e9;
6
- $code-blue: #5180b3;
7
- $code-orange: #e49824;
8
- $code-yellow: #baba36;
9
- $code-purple: #a743d3;
10
- $code-gray: #bdbdb3;
11
- $code-red: #cd3f29;
12
- $code-dark-red: #9d2512;
13
- $code-sky: #82d6d5;
14
- $code-white: #c7c7c7;
15
-
16
- // Syntax highlighting styles
17
-
18
- .highlight .hll {
19
-
20
- background-color: $code-block-bg;
21
-
22
- @media (prefers-color-scheme: light) {
23
- background-color: $code-block-bg-light;
24
- }
25
- }
26
-
27
- .highlight .lineno { color: $code-white; } /* Line numbers */
28
- .highlight .c { color: $code-gray } /* Comment */
29
- .highlight .err { color: $code-dark-red } /* Error */
30
- .highlight .g { color: $code-white } /* Generic */
31
- .highlight .k { color: $code-orange } /* Keyword */
32
- .highlight .l { color: $code-purple } /* Literal */
33
- .highlight .n { color: $code-red } /* Name */
34
- .highlight .o { color: $code-sky } /* Operator */
35
- .highlight .x { color: $code-purple } /* Other */
36
- .highlight .p { color: $code-white } /* Punctuation */
37
- .highlight .cm { color: $code-gray } /* Comment.Multiline */
38
- .highlight .cp { color: $code-yellow } /* Comment.Preproc */
39
- .highlight .c1 { color: $code-gray } /* Comment.Single */
40
- .highlight .cs { color: $code-yellow } /* Comment.Special */
41
- .highlight .gd { color: $code-green } /* Generic.Deleted */
42
- .highlight .ge { color: $code-white; font-style: italic } /* Generic.Emph */
43
- .highlight .gr { color: $code-red } /* Generic.Error */
44
- .highlight .gh { color: $code-purple } /* Generic.Heading */
45
- .highlight .gi { color: $code-yellow } /* Generic.Inserted */
46
- .highlight .go { color: $code-white } /* Generic.Output */
47
- .highlight .gp { color: $code-white } /* Generic.Prompt */
48
- .highlight .gs { color: $code-white } /* Generic.Strong */
49
- .highlight .gu { color: $code-purple } /* Generic.Subheading */
50
- .highlight .gt { color: $code-white } /* Generic.Traceback */
51
- .highlight .kc { color: $code-purple } /* Keyword.Constant */
52
- .highlight .kd { color: $code-blue } /* Keyword.Declaration */
53
- .highlight .kn { color: $code-yellow } /* Keyword.Namespace */
54
- .highlight .kp { color: $code-yellow } /* Keyword.Pseudo */
55
- .highlight .kr { color: $code-blue } /* Keyword.Reserved */
56
- .highlight .kt { color: $code-red } /* Keyword.Type */
57
- .highlight .ld { color: $code-white } /* Literal.Date */
58
- .highlight .m { color: $code-orange } /* Literal.Number */
59
- .highlight .s { color: $code-green } /* Literal.String */
60
- .highlight .na { color: $code-yellow } /* Name.Attribute */
61
- .highlight .nb { color: $code-purple } /* Name.Builtin */
62
- .highlight .nc { color: $code-dark-green } /* Name.Class */
63
- .highlight .no { color: $code-purple } /* Name.Constant */
64
- .highlight .nd { color: $code-blue } /* Name.Decorator */
65
- .highlight .ni { color: $code-orange } /* Name.Entity */
66
- .highlight .ne { color: $code-purple } /* Name.Exception */
67
- .highlight .nf { color: $code-dark-green } /* Name.Function */
68
- .highlight .nl { color: $code-yellow } /* Name.Label */
69
- .highlight .nn { color: $code-white } /* Name.Namespace */
70
- .highlight .nx { color: $code-white } /* Name.Other */
71
- .highlight .py { color: $code-yellow } /* Name.Property */
72
- .highlight .nt { color: $code-blue } /* Name.Tag */
73
- .highlight .nv { color: $code-blue } /* Name.Variable */
74
- .highlight .ow { color: $code-yellow } /* Operator.Word */
75
- .highlight .w { color: $code-white } /* Text.Whitespace */
76
- .highlight .mf { color: $code-orange } /* Literal.Number.Float */
77
- .highlight .mh { color: $code-orange } /* Literal.Number.Hex */
78
- .highlight .mi { color: $code-orange } /* Literal.Number.Integer */
79
- .highlight .mo { color: $code-orange } /* Literal.Number.Oct */
80
- .highlight .sb { color: $code-purple } /* Literal.String.Backtick */
81
- .highlight .sc { color: $code-green } /* Literal.String.Char */
82
- .highlight .sd { color: $code-white } /* Literal.String.Doc */
83
- .highlight .s2 { color: $code-green } /* Literal.String.Double */
84
- .highlight .se { color: $code-purple } /* Literal.String.Escape */
85
- .highlight .sh { color: $code-white } /* Literal.String.Heredoc */
86
- .highlight .si { color: $code-orange } /* Literal.String.Interpol */
87
- .highlight .sx { color: $code-green } /* Literal.String.Other */
88
- .highlight .sr { color: $code-red } /* Literal.String.Regex */
89
- .highlight .s1 { color: $code-green } /* Literal.String.Single */
90
- .highlight .ss { color: $code-light-blue } /* Literal.String.Symbol */
91
- .highlight .bp { color: $code-blue } /* Name.Builtin.Pseudo */
92
- .highlight .vc { color: $code-blue } /* Name.Variable.Class */
93
- .highlight .vg { color: $code-blue } /* Name.Variable.Global */
94
- .highlight .vi { color: $code-blue } /* Name.Variable.Instance */
95
- .highlight .vm { color: $code-blue } /* Name.Variable.Magic */
96
- .highlight .il { color: $code-green } /* Literal.Number.Integer.Long */
1
+ // Colors
2
+
3
+ $code-green: #6aaf50;
4
+ $code-dark-green: #1d9a79;
5
+ $code-light-blue: #68a5e9;
6
+ $code-blue: #5180b3;
7
+ $code-orange: #e49824;
8
+ $code-yellow: #baba36;
9
+ $code-purple: #a743d3;
10
+ $code-gray: #bdbdb3;
11
+ $code-red: #cd3f29;
12
+ $code-dark-red: #9d2512;
13
+ $code-sky: #82d6d5;
14
+ $code-white: #c7c7c7;
15
+
16
+ // Syntax highlighting styles
17
+
18
+ .highlight .hll {
19
+
20
+ background-color: $code-block-bg;
21
+
22
+ @media (prefers-color-scheme: light) {
23
+ background-color: $code-block-bg-light;
24
+ }
25
+ }
26
+
27
+ .highlight .lineno { color: $code-white; } /* Line numbers */
28
+ .highlight .c { color: $code-gray } /* Comment */
29
+ .highlight .err { color: $code-dark-red } /* Error */
30
+ .highlight .g { color: $code-white } /* Generic */
31
+ .highlight .k { color: $code-orange } /* Keyword */
32
+ .highlight .l { color: $code-purple } /* Literal */
33
+ .highlight .n { color: $code-red } /* Name */
34
+ .highlight .o { color: $code-sky } /* Operator */
35
+ .highlight .x { color: $code-purple } /* Other */
36
+ .highlight .p { color: $code-white } /* Punctuation */
37
+ .highlight .cm { color: $code-gray } /* Comment.Multiline */
38
+ .highlight .cp { color: $code-yellow } /* Comment.Preproc */
39
+ .highlight .c1 { color: $code-gray } /* Comment.Single */
40
+ .highlight .cs { color: $code-yellow } /* Comment.Special */
41
+ .highlight .gd { color: $code-green } /* Generic.Deleted */
42
+ .highlight .ge { color: $code-white; font-style: italic } /* Generic.Emph */
43
+ .highlight .gr { color: $code-red } /* Generic.Error */
44
+ .highlight .gh { color: $code-purple } /* Generic.Heading */
45
+ .highlight .gi { color: $code-yellow } /* Generic.Inserted */
46
+ .highlight .go { color: $code-white } /* Generic.Output */
47
+ .highlight .gp { color: $code-white } /* Generic.Prompt */
48
+ .highlight .gs { color: $code-white } /* Generic.Strong */
49
+ .highlight .gu { color: $code-purple } /* Generic.Subheading */
50
+ .highlight .gt { color: $code-white } /* Generic.Traceback */
51
+ .highlight .kc { color: $code-purple } /* Keyword.Constant */
52
+ .highlight .kd { color: $code-blue } /* Keyword.Declaration */
53
+ .highlight .kn { color: $code-yellow } /* Keyword.Namespace */
54
+ .highlight .kp { color: $code-yellow } /* Keyword.Pseudo */
55
+ .highlight .kr { color: $code-blue } /* Keyword.Reserved */
56
+ .highlight .kt { color: $code-red } /* Keyword.Type */
57
+ .highlight .ld { color: $code-white } /* Literal.Date */
58
+ .highlight .m { color: $code-orange } /* Literal.Number */
59
+ .highlight .s { color: $code-green } /* Literal.String */
60
+ .highlight .na { color: $code-yellow } /* Name.Attribute */
61
+ .highlight .nb { color: $code-purple } /* Name.Builtin */
62
+ .highlight .nc { color: $code-dark-green } /* Name.Class */
63
+ .highlight .no { color: $code-purple } /* Name.Constant */
64
+ .highlight .nd { color: $code-blue } /* Name.Decorator */
65
+ .highlight .ni { color: $code-orange } /* Name.Entity */
66
+ .highlight .ne { color: $code-purple } /* Name.Exception */
67
+ .highlight .nf { color: $code-dark-green } /* Name.Function */
68
+ .highlight .nl { color: $code-yellow } /* Name.Label */
69
+ .highlight .nn { color: $code-white } /* Name.Namespace */
70
+ .highlight .nx { color: $code-white } /* Name.Other */
71
+ .highlight .py { color: $code-yellow } /* Name.Property */
72
+ .highlight .nt { color: $code-blue } /* Name.Tag */
73
+ .highlight .nv { color: $code-blue } /* Name.Variable */
74
+ .highlight .ow { color: $code-yellow } /* Operator.Word */
75
+ .highlight .w { color: $code-white } /* Text.Whitespace */
76
+ .highlight .mf { color: $code-orange } /* Literal.Number.Float */
77
+ .highlight .mh { color: $code-orange } /* Literal.Number.Hex */
78
+ .highlight .mi { color: $code-orange } /* Literal.Number.Integer */
79
+ .highlight .mo { color: $code-orange } /* Literal.Number.Oct */
80
+ .highlight .sb { color: $code-purple } /* Literal.String.Backtick */
81
+ .highlight .sc { color: $code-green } /* Literal.String.Char */
82
+ .highlight .sd { color: $code-white } /* Literal.String.Doc */
83
+ .highlight .s2 { color: $code-green } /* Literal.String.Double */
84
+ .highlight .se { color: $code-purple } /* Literal.String.Escape */
85
+ .highlight .sh { color: $code-white } /* Literal.String.Heredoc */
86
+ .highlight .si { color: $code-orange } /* Literal.String.Interpol */
87
+ .highlight .sx { color: $code-green } /* Literal.String.Other */
88
+ .highlight .sr { color: $code-red } /* Literal.String.Regex */
89
+ .highlight .s1 { color: $code-green } /* Literal.String.Single */
90
+ .highlight .ss { color: $code-light-blue } /* Literal.String.Symbol */
91
+ .highlight .bp { color: $code-blue } /* Name.Builtin.Pseudo */
92
+ .highlight .vc { color: $code-blue } /* Name.Variable.Class */
93
+ .highlight .vg { color: $code-blue } /* Name.Variable.Global */
94
+ .highlight .vi { color: $code-blue } /* Name.Variable.Instance */
95
+ .highlight .vm { color: $code-blue } /* Name.Variable.Magic */
96
+ .highlight .il { color: $code-green } /* Literal.Number.Integer.Long */