daydream-theme 0.1.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.
@@ -0,0 +1,13 @@
1
+ .content {
2
+ padding: 4em 1em;
3
+ }
4
+
5
+ .main {
6
+ font-family: var(--body-font);
7
+ }
8
+
9
+ @media (min-width: $md-screen) {
10
+ .content {
11
+ padding: 4em 4em;
12
+ }
13
+ }
@@ -0,0 +1,5 @@
1
+ .footer {
2
+ margin: 3em 0 0 0;
3
+ padding: 1em 0;
4
+ border-top: 1px solid var(--border-color);
5
+ }
@@ -0,0 +1,91 @@
1
+ /**
2
+ * rougify style gruvbox
3
+ */
4
+
5
+ .highlight table td { padding: 5px; }
6
+ .highlight table pre { margin: 0; }
7
+ .highlight, .highlight .w {
8
+ color: #fbf1c7;
9
+ background-color: #282828;
10
+ }
11
+ .highlight .err {
12
+ color: #fb4934;
13
+ background-color: #282828;
14
+ font-weight: bold;
15
+ }
16
+ .highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cpf, .highlight .c1, .highlight .cs {
17
+ color: #928374;
18
+ font-style: italic;
19
+ }
20
+ .highlight .cp {
21
+ color: #8ec07c;
22
+ }
23
+ .highlight .nt {
24
+ color: #fb4934;
25
+ }
26
+ .highlight .o, .highlight .ow {
27
+ color: #fbf1c7;
28
+ }
29
+ .highlight .p, .highlight .pi {
30
+ color: #fbf1c7;
31
+ }
32
+ .highlight .gi {
33
+ color: #b8bb26;
34
+ background-color: #282828;
35
+ }
36
+ .highlight .gd {
37
+ color: #fb4934;
38
+ background-color: #282828;
39
+ }
40
+ .highlight .gh {
41
+ color: #b8bb26;
42
+ font-weight: bold;
43
+ }
44
+ .highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
45
+ color: #fb4934;
46
+ }
47
+ .highlight .kc {
48
+ color: #d3869b;
49
+ }
50
+ .highlight .kt {
51
+ color: #fabd2f;
52
+ }
53
+ .highlight .kd {
54
+ color: #fe8019;
55
+ }
56
+ .highlight .s, .highlight .sb, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
57
+ color: #b8bb26;
58
+ font-style: italic;
59
+ }
60
+ .highlight .si {
61
+ color: #b8bb26;
62
+ font-style: italic;
63
+ }
64
+ .highlight .sr {
65
+ color: #b8bb26;
66
+ font-style: italic;
67
+ }
68
+ .highlight .sa {
69
+ color: #fb4934;
70
+ }
71
+ .highlight .se {
72
+ color: #fe8019;
73
+ }
74
+ .highlight .nn {
75
+ color: #8ec07c;
76
+ }
77
+ .highlight .nc {
78
+ color: #8ec07c;
79
+ }
80
+ .highlight .no {
81
+ color: #d3869b;
82
+ }
83
+ .highlight .na {
84
+ color: #b8bb26;
85
+ }
86
+ .highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx {
87
+ color: #d3869b;
88
+ }
89
+ .highlight .ss {
90
+ color: #83a598;
91
+ }
@@ -0,0 +1,217 @@
1
+ /**
2
+ * rougify style github
3
+ */
4
+
5
+ .highlight table td { padding: 5px; }
6
+ .highlight table pre { margin: 0; }
7
+ .highlight .cm {
8
+ color: #999988;
9
+ font-style: italic;
10
+ }
11
+ .highlight .cp {
12
+ color: #999999;
13
+ font-weight: bold;
14
+ }
15
+ .highlight .c1 {
16
+ color: #999988;
17
+ font-style: italic;
18
+ }
19
+ .highlight .cs {
20
+ color: #999999;
21
+ font-weight: bold;
22
+ font-style: italic;
23
+ }
24
+ .highlight .c, .highlight .ch, .highlight .cd, .highlight .cpf {
25
+ color: #999988;
26
+ font-style: italic;
27
+ }
28
+ .highlight .err {
29
+ color: #a61717;
30
+ background-color: #e3d2d2;
31
+ }
32
+ .highlight .gd {
33
+ color: #000000;
34
+ background-color: #ffdddd;
35
+ }
36
+ .highlight .ge {
37
+ color: #000000;
38
+ font-style: italic;
39
+ }
40
+ .highlight .gr {
41
+ color: #aa0000;
42
+ }
43
+ .highlight .gh {
44
+ color: #999999;
45
+ }
46
+ .highlight .gi {
47
+ color: #000000;
48
+ background-color: #ddffdd;
49
+ }
50
+ .highlight .go {
51
+ color: #888888;
52
+ }
53
+ .highlight .gp {
54
+ color: #555555;
55
+ }
56
+ .highlight .gs {
57
+ font-weight: bold;
58
+ }
59
+ .highlight .gu {
60
+ color: #aaaaaa;
61
+ }
62
+ .highlight .gt {
63
+ color: #aa0000;
64
+ }
65
+ .highlight .kc {
66
+ color: #000000;
67
+ font-weight: bold;
68
+ }
69
+ .highlight .kd {
70
+ color: #000000;
71
+ font-weight: bold;
72
+ }
73
+ .highlight .kn {
74
+ color: #000000;
75
+ font-weight: bold;
76
+ }
77
+ .highlight .kp {
78
+ color: #000000;
79
+ font-weight: bold;
80
+ }
81
+ .highlight .kr {
82
+ color: #000000;
83
+ font-weight: bold;
84
+ }
85
+ .highlight .kt {
86
+ color: #445588;
87
+ font-weight: bold;
88
+ }
89
+ .highlight .k, .highlight .kv {
90
+ color: #000000;
91
+ font-weight: bold;
92
+ }
93
+ .highlight .mf {
94
+ color: #009999;
95
+ }
96
+ .highlight .mh {
97
+ color: #009999;
98
+ }
99
+ .highlight .il {
100
+ color: #009999;
101
+ }
102
+ .highlight .mi {
103
+ color: #009999;
104
+ }
105
+ .highlight .mo {
106
+ color: #009999;
107
+ }
108
+ .highlight .m, .highlight .mb, .highlight .mx {
109
+ color: #009999;
110
+ }
111
+ .highlight .sa {
112
+ color: #000000;
113
+ font-weight: bold;
114
+ }
115
+ .highlight .sb {
116
+ color: #d14;
117
+ }
118
+ .highlight .sc {
119
+ color: #d14;
120
+ }
121
+ .highlight .sd {
122
+ color: #d14;
123
+ }
124
+ .highlight .s2 {
125
+ color: #d14;
126
+ }
127
+ .highlight .se {
128
+ color: #d14;
129
+ }
130
+ .highlight .sh {
131
+ color: #d14;
132
+ }
133
+ .highlight .si {
134
+ color: #d14;
135
+ }
136
+ .highlight .sx {
137
+ color: #d14;
138
+ }
139
+ .highlight .sr {
140
+ color: #009926;
141
+ }
142
+ .highlight .s1 {
143
+ color: #d14;
144
+ }
145
+ .highlight .ss {
146
+ color: #990073;
147
+ }
148
+ .highlight .s, .highlight .dl {
149
+ color: #d14;
150
+ }
151
+ .highlight .na {
152
+ color: #008080;
153
+ }
154
+ .highlight .bp {
155
+ color: #999999;
156
+ }
157
+ .highlight .nb {
158
+ color: #0086B3;
159
+ }
160
+ .highlight .nc {
161
+ color: #445588;
162
+ font-weight: bold;
163
+ }
164
+ .highlight .no {
165
+ color: #008080;
166
+ }
167
+ .highlight .nd {
168
+ color: #3c5d5d;
169
+ font-weight: bold;
170
+ }
171
+ .highlight .ni {
172
+ color: #800080;
173
+ }
174
+ .highlight .ne {
175
+ color: #990000;
176
+ font-weight: bold;
177
+ }
178
+ .highlight .nf, .highlight .fm {
179
+ color: #990000;
180
+ font-weight: bold;
181
+ }
182
+ .highlight .nl {
183
+ color: #990000;
184
+ font-weight: bold;
185
+ }
186
+ .highlight .nn {
187
+ color: #555555;
188
+ }
189
+ .highlight .nt {
190
+ color: #000080;
191
+ }
192
+ .highlight .vc {
193
+ color: #008080;
194
+ }
195
+ .highlight .vg {
196
+ color: #008080;
197
+ }
198
+ .highlight .vi {
199
+ color: #008080;
200
+ }
201
+ .highlight .nv, .highlight .vm {
202
+ color: #008080;
203
+ }
204
+ .highlight .ow {
205
+ color: #000000;
206
+ font-weight: bold;
207
+ }
208
+ .highlight .o {
209
+ color: #000000;
210
+ font-weight: bold;
211
+ }
212
+ .highlight .w {
213
+ color: #bbbbbb;
214
+ }
215
+ .highlight {
216
+ background-color: #f8f8f8;
217
+ }
@@ -0,0 +1,23 @@
1
+ #layout {
2
+ padding: 0;
3
+ }
4
+
5
+ @media (min-width: $md-screen) {
6
+ .sidebar {
7
+ position: fixed;
8
+ top: 0;
9
+ bottom: 0;
10
+ }
11
+
12
+ .content {
13
+ margin-left: 25%;
14
+ flex: 1 0 auto;
15
+ }
16
+
17
+ .footer{
18
+ position: fixed;
19
+ bottom: 0;
20
+ margin-left: 25%;
21
+ width: 75%;
22
+ }
23
+ }
@@ -0,0 +1,11 @@
1
+ // Messages
2
+ //
3
+ // Show alert messages to users. You may add it to single elements like a `<p>`,
4
+ // or to a parent if there are multiple elements to show.
5
+
6
+ .message {
7
+ padding: 1em;
8
+ color: var(--message-color);
9
+ background-color: var(--message-bg);
10
+ border-radius: var(--border-radius);
11
+ }
@@ -0,0 +1,127 @@
1
+ .page,
2
+ .post {
3
+ h1, h2, h3, h4, h5, h6 {
4
+ color: var(--heading-color);
5
+ font-family: var(--heading-font);
6
+ }
7
+ }
8
+
9
+ .page-title,
10
+ .post-title {
11
+ margin-top: 0;
12
+ margin-bottom: 0;
13
+ }
14
+
15
+ .post-meta {
16
+ color: var(--body-color-light);
17
+ font-size: .8em;
18
+ margin-top: 0;
19
+ }
20
+
21
+ .post-categories,
22
+ .post-tags {
23
+ display: inline-block;
24
+ list-style: none;
25
+ padding: 0;
26
+ margin: 0;
27
+
28
+ li {
29
+ display: inline-block;
30
+ }
31
+ }
32
+
33
+ .post-tags {
34
+ margin: 1em 0;
35
+ }
36
+
37
+ .post-category {
38
+ color: inherit;
39
+
40
+ &::after {
41
+ content: "/";
42
+ }
43
+ }
44
+
45
+ .post-tag {
46
+ padding: .1em .5em;
47
+ margin-right: .5em;
48
+ border: 1px solid var(--border-color);
49
+ border-radius: var(--border-radius);
50
+ }
51
+
52
+ a.post-tag {
53
+ color: inherit;
54
+ text-decoration: none;
55
+
56
+ &:focus,
57
+ &:hover {
58
+ color: var(--body-bg);
59
+ background-color: var(--link-color);
60
+ }
61
+ }
62
+
63
+ .posts {
64
+ .post {
65
+ padding: 1em;
66
+ margin-bottom: 1em;
67
+ border: 1px solid var(--border-color);
68
+ border-radius: var(--border-radius);
69
+ }
70
+
71
+ .post-title {
72
+ a {
73
+ color: inherit;
74
+ }
75
+ }
76
+ }
77
+
78
+ .highlight {
79
+ border-radius: var(--border-radius);
80
+ background-color: var(--code-bg);
81
+ }
82
+
83
+ .rouge-table {
84
+ margin: 0;
85
+
86
+ &,
87
+ td,
88
+ th {
89
+ border: 0;
90
+ padding: 0;
91
+ }
92
+
93
+ pre {
94
+ padding: 0;
95
+ margin: 0;
96
+ }
97
+
98
+ .gutter {
99
+ vertical-align: top;
100
+ user-select: none;
101
+ opacity: .25;
102
+ padding-right: 1em;
103
+ }
104
+ }
105
+
106
+ #markdown-toc {
107
+ font-size: .8em;
108
+ padding: 2em 3em;
109
+ margin: 2em 0;
110
+ border: solid var(--border-color);
111
+ border-width: 1px 0;
112
+
113
+ &::before {
114
+ display: block;
115
+ margin-left: -3em;
116
+ content: "TOC";
117
+ }
118
+ }
119
+
120
+ .task-list-item {
121
+ list-style-type: none;
122
+
123
+ .task-list-item-checkbox {
124
+ margin: 0 .2em .25em -1.6em;
125
+ vertical-align: middle;
126
+ }
127
+ }
@@ -0,0 +1,23 @@
1
+ .pagination {
2
+ margin-top: 2em;
3
+
4
+ .older,
5
+ .newer {
6
+ border: 1px solid var(--border-color);
7
+ padding: 1em;
8
+ }
9
+
10
+ .older {
11
+ border-top-left-radius: var(--border-radius);
12
+ border-bottom-left-radius: var(--border-radius);
13
+ border-top-right-radius: 0;
14
+ border-bottom-right-radius: 0;
15
+ }
16
+
17
+ .newer {
18
+ border-top-left-radius: 0;
19
+ border-bottom-left-radius: 0;
20
+ border-top-right-radius: var(--border-radius);
21
+ border-bottom-right-radius: var(--border-radius);
22
+ }
23
+ }
@@ -0,0 +1,105 @@
1
+ .sidebar {
2
+ width: 15%;
3
+ color: var(--sidebar-color);
4
+ background: center / cover;
5
+ }
6
+
7
+ .sidebar-shield {
8
+ width: 100%;
9
+ height: 100%;
10
+ background-color: rgba(0,0,0,0.1);
11
+ }
12
+
13
+ .header {
14
+ width: 100%;
15
+ text-align: center;
16
+ text-shadow: 1px 1px 3px var(--oc-black);
17
+ padding: 2em;
18
+
19
+ a {
20
+ color: var(--oc-white);
21
+ }
22
+ }
23
+
24
+ .brand-title {
25
+ font-family: var(--brand-title-font);
26
+ font-size: 2.5em;
27
+ font-weight: bold;
28
+ line-height: 1.2;
29
+ letter-spacing: -1px;
30
+ word-wrap: break-word;
31
+ }
32
+
33
+ .brand-tagline {
34
+ font-size: 1.25em;
35
+ line-height: 1.2;
36
+ letter-spacing: -1px;
37
+ margin-top: 0;
38
+ }
39
+
40
+ .nav {
41
+ margin: 1em 0;
42
+ }
43
+
44
+ .nav-item {
45
+ a:hover {
46
+ background-color: transparent;
47
+ }
48
+
49
+ .current {
50
+ font-weight: bold;
51
+ }
52
+ }
53
+
54
+ .social-list {
55
+ white-space: normal;
56
+ }
57
+
58
+ .social-item {
59
+ a {
60
+ background-color: transparent;
61
+
62
+ &:focus,
63
+ &:hover {
64
+ color: var(--link-color);
65
+ background-color: transparent;
66
+ background-image: none;
67
+ }
68
+ }
69
+ }
70
+
71
+ .image-cropper {
72
+ width: 100px;
73
+ height: 100px;
74
+ position: relative;
75
+ left: 2em;
76
+ overflow: hidden;
77
+ border-radius: 40%;
78
+ margin: 1em;
79
+ }
80
+
81
+ img {
82
+ display: inline;
83
+ margin: 0 auto;
84
+ height: 100%;
85
+ width: auto;
86
+ }
87
+
88
+ @media (min-width: $md-screen) {
89
+ .header {
90
+ text-align: left;
91
+ position: absolute;
92
+ top: 10%;
93
+ text-underline-offset: 0.35rem;
94
+ }
95
+
96
+ .nav-item a {
97
+ padding-left: 0;
98
+ }
99
+
100
+ .social-item {
101
+ a {
102
+ padding-left: 0;
103
+ }
104
+ }
105
+ }
@@ -0,0 +1,46 @@
1
+ $sm-screen: 35.5rem;
2
+ $md-screen: 48rem;
3
+ $lg-screen: 64rem;
4
+ $xl-screen: 80rem;
5
+
6
+ :root {
7
+ --body-font-size: 16px;
8
+ --body-line-height: 1.5;
9
+ --body-color: var(--oc-gray-9);
10
+ --body-color-light: var(--oc-gray-6);
11
+ --body-bg: var(--oc-white);
12
+ --link-color: var(--oc-blue-9);
13
+ --heading-color: var(--oc-black);
14
+
15
+ --body-font: Noto Sans,Helvetica,Arial,sans-serif;
16
+ --brand-title-font: Noto Sans,Helvetica,Arial,sans-serif;
17
+ --heading-font: Noto Sans,Helvetica,Arial,sans-serif;
18
+ --code-font: Noto Sans,Helvetica,Arial,sans-serif;
19
+
20
+ --sidebar-color: var(--oc-gray-4);
21
+
22
+ --message-color: var(--oc-white);
23
+ --message-bg: var(--oc-yellow-9);
24
+
25
+ --border-radius: .5em;
26
+ --border-color: var(--oc-gray-3);
27
+
28
+ --code-bg: var(--oc-gray-1);
29
+ }
30
+
31
+ @media (prefers-color-scheme: dark) {
32
+ :root {
33
+ --body-color: var(--oc-gray-4);
34
+ --body-color-light: var(--oc-gray-6);
35
+ --body-bg: var(--oc-gray-9);
36
+ --link-color: var(--oc-blue-4);
37
+ --heading-color: var(--oc-white);
38
+
39
+ --message-color: var(--oc-gray-9);
40
+ --message-bg: var(--oc-yellow-4);
41
+
42
+ --border-color: var(--oc-gray-7);
43
+
44
+ --code-bg: var(--oc-gray-8);
45
+ }
46
+ }
@@ -0,0 +1,16 @@
1
+ @import "variables";
2
+ @import "base";
3
+ @import "layout";
4
+ @import "sidebar";
5
+ @import "content";
6
+ @import "footer";
7
+ @import "page";
8
+ @import "pagination";
9
+ @import "archive";
10
+ @import "message";
11
+ @import "alignment";
12
+ @import "highlight-light";
13
+
14
+ @media (prefers-color-scheme: dark) {
15
+ @import "highlight-dark";
16
+ }
@@ -0,0 +1,4 @@
1
+ ---
2
+ ---
3
+
4
+ @import "daydream/main";