imdhemy-jekyll-theme 0.1.0 → 0.4.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,304 @@
1
+ #main-header {
2
+ ion-icon[name="menu-outline"],
3
+ ion-icon[name="close"] {
4
+ font-size: 3rem;
5
+ color: rgb(17 24 39);
6
+ }
7
+
8
+ .menu-toggle {
9
+ display: inline-flex;
10
+ align-items: center;
11
+ justify-content: center;
12
+ border: 0;
13
+ background: transparent;
14
+ line-height: 1;
15
+ }
16
+ }
17
+
18
+ .organization-logo {
19
+ filter: invert(51%) sepia(4%) saturate(1703%) hue-rotate(179deg) brightness(85%) contrast(89%);
20
+ }
21
+
22
+ .bg-social {
23
+ background-image: url(../images/social.png);
24
+ }
25
+
26
+ .content {
27
+ color: #333;
28
+
29
+ p {
30
+ margin-bottom: 1.5rem;
31
+ }
32
+
33
+ hr {
34
+ margin-top: 4rem;
35
+ margin-bottom: 4rem;
36
+ }
37
+
38
+ h1,
39
+ h2,
40
+ h3,
41
+ h4,
42
+ h5,
43
+ h6 {
44
+ margin-top: 2rem;
45
+ margin-bottom: 2rem;
46
+ font-weight: 800;
47
+ line-height: 1.5;
48
+ }
49
+
50
+ h1 {
51
+ font-size: 2rem;
52
+ }
53
+
54
+ h2 {
55
+ font-size: 1.75rem;
56
+ }
57
+
58
+ h3 {
59
+ font-size: 1.5rem;
60
+ }
61
+
62
+ h4 {
63
+ font-size: 1.25rem;
64
+ }
65
+
66
+ h5 {
67
+ font-size: 1rem;
68
+ }
69
+
70
+ h6 {
71
+ font-size: 0.9rem;
72
+ }
73
+
74
+ ul,
75
+ ol,
76
+ dd {
77
+ margin-bottom: 1.5rem;
78
+ margin-left: 1rem;
79
+ padding-left: 0.25rem;
80
+ }
81
+
82
+ ol {
83
+ list-style-type: decimal;
84
+ }
85
+
86
+ ul {
87
+ list-style-type: disc;
88
+ }
89
+
90
+ ol,
91
+ ul {
92
+ li {
93
+ display: list-item;
94
+ margin-bottom: 0.75rem;
95
+ text-align: -webkit-match-parent;
96
+ }
97
+ }
98
+
99
+ a:link,
100
+ a:visited {
101
+ text-decoration: underline;
102
+ text-decoration-color: #4d41e0;
103
+ transition: all 0.2s ease-in-out;
104
+ }
105
+
106
+ a:hover,
107
+ a:active {
108
+ text-decoration: none;
109
+ }
110
+
111
+ strong {
112
+ color: #000;
113
+ font-weight: 500;
114
+ }
115
+
116
+ > table {
117
+ box-sizing: border-box;
118
+ display: block;
119
+ max-width: 100%;
120
+ margin-bottom: 1.5rem;
121
+ overflow: auto;
122
+ border-spacing: 0;
123
+ font-size: 0.9rem;
124
+
125
+ thead {
126
+ display: table-header-group;
127
+ background: #f8fafc;
128
+ color: #94a3b8;
129
+ font-size: 1.1em;
130
+ vertical-align: middle;
131
+ unicode-bidi: isolate;
132
+ }
133
+
134
+ th {
135
+ border: 1px solid #eee;
136
+ padding: 0.5rem;
137
+ color: inherit;
138
+ font-weight: 500;
139
+ text-align: left;
140
+ white-space: nowrap;
141
+ }
142
+
143
+ td {
144
+ padding: 0.5rem;
145
+ white-space: nowrap;
146
+ }
147
+
148
+ tbody tr:nth-child(odd) {
149
+ background: #fff;
150
+
151
+ td {
152
+ border: 1px solid #f9f9f9;
153
+ }
154
+ }
155
+
156
+ tbody tr:nth-child(even) {
157
+ background: #f8fafc;
158
+
159
+ td {
160
+ border: 1px solid #eee;
161
+ }
162
+ }
163
+ }
164
+
165
+ img {
166
+ max-width: 100%;
167
+ height: auto;
168
+ }
169
+
170
+ iframe {
171
+ max-width: 100%;
172
+ margin-bottom: 1.5rem;
173
+ }
174
+
175
+ mjx-container {
176
+ max-width: 100%;
177
+ overflow: auto;
178
+ }
179
+
180
+ blockquote,
181
+ div.note,
182
+ div.tip,
183
+ div.info,
184
+ div.caution,
185
+ div.danger {
186
+ position: relative;
187
+ margin-top: 1.5rem;
188
+ margin-bottom: 1.5rem;
189
+ padding: 2rem;
190
+ font-size: 1.25rem;
191
+ line-height: 1.5;
192
+
193
+ p:last-child {
194
+ margin-bottom: 0;
195
+ }
196
+ }
197
+
198
+ blockquote::before,
199
+ div.note::before,
200
+ div.tip::before,
201
+ div.info::before,
202
+ div.caution::before,
203
+ div.danger::before {
204
+ position: absolute;
205
+ top: 0;
206
+ left: 0;
207
+ width: 100%;
208
+ height: 100%;
209
+ border-radius: 1rem;
210
+ content: "";
211
+ opacity: 0.08;
212
+ pointer-events: none;
213
+ }
214
+
215
+ blockquote::after,
216
+ div.note::after,
217
+ div.tip::after,
218
+ div.info::after,
219
+ div.caution::after,
220
+ div.danger::after {
221
+ position: absolute;
222
+ top: 40px;
223
+ left: 10px;
224
+ z-index: 1;
225
+ color: #4d41e0;
226
+ font-family: "Noto Serif", Georgia, Cambria, "Times New Roman", Times, serif;
227
+ font-size: 3rem;
228
+ line-height: 0;
229
+ content: "";
230
+ pointer-events: none;
231
+ }
232
+
233
+ blockquote {
234
+ &::before {
235
+ background: #4d41e0;
236
+ }
237
+
238
+ &::after {
239
+ font-size: 9rem;
240
+ font-style: italic;
241
+ content: "\0022";
242
+ }
243
+ }
244
+
245
+ div.note {
246
+ &::before {
247
+ border: 1px solid #000;
248
+ }
249
+
250
+ &::after {
251
+ color: #000;
252
+ content: "\0021";
253
+ }
254
+ }
255
+
256
+ div.tip {
257
+ &::before {
258
+ background: #4d41e0;
259
+ }
260
+
261
+ &::after {
262
+ content: "\0021";
263
+ }
264
+ }
265
+
266
+ div.info {
267
+ &::before {
268
+ border: 1px solid #4bb3d4;
269
+ background: #eef9fc;
270
+ opacity: 0.2;
271
+ }
272
+
273
+ &::after {
274
+ color: #4bb3d4;
275
+ content: "\0021";
276
+ }
277
+ }
278
+
279
+ div.caution {
280
+ &::before {
281
+ border: 1px solid #f0c14b;
282
+ background: #fff9e6;
283
+ opacity: 0.2;
284
+ }
285
+
286
+ &::after {
287
+ color: #f0c14b;
288
+ content: "\0021";
289
+ }
290
+ }
291
+
292
+ div.danger {
293
+ &::before {
294
+ border: 1px solid #e03e2d;
295
+ background: #ffe6e6;
296
+ opacity: 0.2;
297
+ }
298
+
299
+ &::after {
300
+ color: #e03e2d;
301
+ content: "\0021";
302
+ }
303
+ }
304
+ }
data/_sass/style.scss CHANGED
@@ -1,275 +1,11 @@
1
- * {
2
- -webkit-font-smoothing: antialiased;
3
- }
1
+ @forward "base/reset";
2
+ @forward "base/typography";
4
3
 
5
- ::selection {
6
- background: #4d41e0;
7
- color: #fff;
8
- }
4
+ @forward "utilities/layout";
5
+ @forward "utilities/visual";
6
+ @forward "utilities/typography";
7
+ @forward "utilities/interactive";
8
+ @forward "utilities/responsive";
9
9
 
10
- ::-moz-selection {
11
- background: #4d41e0;
12
- color: #fff;
13
- }
14
-
15
- #main-header {
16
- ion-icon[name="menu-outline"], ion-icon[name="close-outline"] {
17
- font-size: 3rem;
18
- }
19
- }
20
-
21
- h1, h2, h3, h4, h5, h6 {
22
- font-family: "Noto Serif", Georgia, Cambria, Times New Roman, Times, serif;
23
- }
24
-
25
- .organization-logo {
26
- filter: invert(51%) sepia(4%) saturate(1703%) hue-rotate(179deg) brightness(85%) contrast(89%)
27
- }
28
-
29
- .post-title {
30
- //line-height: 4rem;
31
- }
32
-
33
- .content {
34
- color: #333;
35
-
36
- p {
37
- margin-bottom: 1.5rem;
38
- }
39
-
40
- hr {
41
- margin-bottom: 4rem;
42
- margin-top: 4rem;
43
- }
44
-
45
- h1, h2, h3, h4, h5, h6 {
46
- margin-bottom: 2rem;
47
- margin-top: 2rem;
48
- font-weight: 800;
49
- }
50
-
51
- h1 {
52
- font-size: 2.5rem;
53
- }
54
-
55
- h2 {
56
- font-size: 2rem;
57
- }
58
-
59
- h3 {
60
- font-size: 1.75rem;
61
- }
62
-
63
- h4 {
64
- font-size: 1.5rem;
65
- }
66
-
67
- h5 {
68
- font-size: 1.25rem;
69
- }
70
-
71
- h6 {
72
- font-size: 1rem;
73
- }
74
-
75
- ul, ol, dd {
76
- margin-left: 1rem;
77
- padding-left: 0.25rem;
78
- margin-bottom: 1.5rem;
79
- }
80
-
81
- ol {
82
- list-style-type: decimal;
83
- }
84
-
85
- ul {
86
- list-style-type: disc;
87
- }
88
-
89
- ol, ul {
90
- li {
91
- margin-bottom: 0.75rem;
92
- display: list-item;
93
- text-align: -webkit-match-parent;
94
- }
95
- }
96
-
97
- a:link, a:visited {
98
- text-decoration: underline;
99
- text-decoration-color: #4d41e0;
100
- transition: all 0.2s ease-in-out;
101
- }
102
-
103
- a:hover, a:active {
104
- text-decoration: none;
105
- }
106
-
107
- strong {
108
- font-weight: 500;
109
- color: #000;
110
- }
111
-
112
- > table {
113
- font-size: 0.9rem;
114
- max-width: 100%;
115
- overflow: auto;
116
- border-collapse: collapse;
117
- border-spacing: 0;
118
- margin-bottom: 1.5rem;
119
-
120
- thead {
121
- background: #f9f9f9;
122
- }
123
-
124
- th {
125
- font-weight: 700;
126
- border: 1px solid #eee;
127
- padding: 0.5rem;
128
- text-align: left;
129
- }
130
-
131
- td {
132
- padding: 0.5rem;
133
- }
134
-
135
- tbody tr:nth-child(odd) {
136
- background: #fff;
137
-
138
- td {
139
- border: 1px solid #f9f9f9;
140
- }
141
- }
142
-
143
- tbody tr:nth-child(even) {
144
- background: #f9f9f9;
145
-
146
- td {
147
- border: 1px solid #eee;
148
- }
149
- }
150
- }
151
-
152
- img {
153
- max-width: 100%;
154
- height: auto;
155
- }
156
-
157
- iframe {
158
- max-width: 100%;
159
- margin-bottom: 1.5rem;
160
- }
161
-
162
- mjx-container {
163
- max-width: 100%;
164
- overflow: auto;
165
- }
166
-
167
- blockquote, div.note, div.tip, div.info, div.caution, div.danger {
168
- position: relative;
169
- padding: 2rem;
170
- margin-bottom: 1.5rem;
171
- margin-top: 1.5rem;
172
- font-size: 1.25rem;
173
- line-height: 1.5;
174
-
175
- p:last-child {
176
- margin-bottom: 0;
177
- }
178
- }
179
-
180
- blockquote::before, div.note::before, div.tip::before, div.info::before, div.caution::before, div.danger::before {
181
- content: "";
182
- position: absolute;
183
- top: 0;
184
- left: 0;
185
- width: 100%;
186
- height: 100%;
187
- opacity: .08;
188
- border-radius: 1rem;
189
- }
190
-
191
- blockquote::after, div.note::after, div.tip::after, div.info::after, div.caution::after, div.danger::after {
192
- font-family: "Noto Serif", Georgia, Cambria, Times New Roman, Times, serif;
193
- position: absolute;
194
- top: 40px;
195
- left: 10px;
196
- z-index: 1;
197
- font-size: 3rem;
198
- line-height: 0;
199
- color: #4d41e0;
200
- }
201
-
202
- blockquote {
203
- &::before {
204
- background: #4d41e0;
205
- }
206
-
207
- &::after {
208
- content: "\0022";
209
- font-style: italic;
210
- font-size: 9rem;
211
- }
212
- }
213
-
214
- div.note {
215
- &::before {
216
- border: 1px solid #000;
217
- }
218
-
219
- &::after {
220
- content: "\0021";
221
- color: #000;
222
- }
223
- }
224
-
225
- div.tip {
226
- &::before {
227
- background: #4d41e0;
228
- }
229
-
230
- &::after {
231
- content: "\0021";
232
- }
233
- }
234
-
235
- div.info {
236
- &::before {
237
- background: #eef9fc;
238
- border: 1px solid #4bb3d4;
239
- opacity: 0.2;
240
- }
241
-
242
- &::after {
243
- content: "\0021";
244
- color: #4bb3d4;
245
- }
246
- }
247
-
248
- div.caution {
249
- &::before {
250
- background: #fff9e6;
251
- border: 1px solid #f0c14b;
252
- opacity: 0.2;
253
- }
254
-
255
- &::after {
256
- content: "\0021";
257
- color: #f0c14b;
258
- }
259
- }
260
-
261
- div.danger {
262
- &::before {
263
- background: #ffe6e6;
264
- border: 1px solid #e03e2d;
265
- opacity: 0.2;
266
- }
267
-
268
- &::after {
269
- content: "\0021";
270
- color: #e03e2d;
271
- }
272
- }
273
- }
274
-
275
- @import "highlight";
10
+ @forward "components/core";
11
+ @forward "components/highlight";
@@ -0,0 +1,100 @@
1
+ .cursor-not-allowed {
2
+ cursor: not-allowed;
3
+ }
4
+
5
+ .select-none {
6
+ user-select: none;
7
+ }
8
+
9
+ .duration-300 {
10
+ transition-duration: 0.3s;
11
+ }
12
+
13
+ .ease-in {
14
+ transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
15
+ }
16
+
17
+ .ease-linear {
18
+ transition-timing-function: linear;
19
+ }
20
+
21
+ .hover\:scale-105:hover {
22
+ transform: scale(1.05);
23
+ }
24
+
25
+ .hover\:border-indigo-600:hover {
26
+ border-color: rgb(79 70 229);
27
+ }
28
+
29
+ .hover\:border-b-violet-600:hover {
30
+ border-bottom-color: rgb(124 58 237);
31
+ }
32
+
33
+ .hover\:bg-indigo-600:hover {
34
+ background-color: rgb(79 70 229);
35
+ }
36
+
37
+ .hover\:bg-violet-800:hover {
38
+ background-color: rgb(91 33 182);
39
+ }
40
+
41
+ .hover\:text-blue-600:hover {
42
+ color: rgb(37 99 235);
43
+ }
44
+
45
+ .hover\:text-gray-700:hover {
46
+ color: rgb(55 65 81);
47
+ }
48
+
49
+ .hover\:text-white:hover {
50
+ color: rgb(255 255 255);
51
+ }
52
+
53
+ .active\:text-blue-600:active {
54
+ color: rgb(37 99 235);
55
+ }
56
+
57
+ .before\:absolute::before {
58
+ content: var(--tw-content);
59
+ position: absolute;
60
+ }
61
+
62
+ .before\:-left-\[10px\]::before {
63
+ content: var(--tw-content);
64
+ left: -10px;
65
+ }
66
+
67
+ .before\:top-\[50px\]::before {
68
+ content: var(--tw-content);
69
+ top: 50px;
70
+ }
71
+
72
+ .before\:block::before {
73
+ content: var(--tw-content);
74
+ display: block;
75
+ }
76
+
77
+ .before\:font-sans::before {
78
+ content: var(--tw-content);
79
+ font-family: "Noto Sans Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
80
+ }
81
+
82
+ .before\:font-serif::before {
83
+ content: var(--tw-content);
84
+ font-family: "Noto Serif", Georgia, Cambria, "Times New Roman", Times, serif;
85
+ }
86
+
87
+ .before\:text-\[182px\]::before {
88
+ content: var(--tw-content);
89
+ font-size: 182px;
90
+ }
91
+
92
+ .before\:opacity-10::before {
93
+ content: var(--tw-content);
94
+ opacity: 0.1;
95
+ }
96
+
97
+ .before\:content-\[\'\\0022\'\]::before {
98
+ --tw-content: "\0022";
99
+ content: var(--tw-content);
100
+ }