jekyll-theme-teddy 0.3.0 → 0.5.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.txt +21 -21
- data/README.md +84 -42
- data/_layouts/default.html +38 -22
- data/_layouts/home.html +39 -0
- data/_layouts/post.html +22 -0
- data/_sass/code-highlighting.scss +98 -97
- data/_sass/fonts.scss +108 -108
- data/_sass/home-page.scss +173 -0
- data/_sass/jekyll-theme-teddy.scss +180 -98
- data/_sass/mixins.scss +4 -0
- data/_sass/teddy.scss +3 -3
- data/_sass/variables.scss +47 -24
- data/assets/css/default.scss +4 -0
- data/assets/css/home.scss +4 -0
- data/assets/images/github-icon.png +0 -0
- data/assets/js/galaxy-animation.js +128 -0
- metadata +38 -18
- data/_sass/Inter.scss +0 -0
- data/assets/css/style.scss +0 -4
- /data/assets/{Fonts → fonts}/Inter/cyrillic-ext.woff2 +0 -0
- /data/assets/{Fonts → fonts}/Inter/cyrillic.woff2 +0 -0
- /data/assets/{Fonts → fonts}/Inter/greek-ext.woff2 +0 -0
- /data/assets/{Fonts → fonts}/Inter/greek.woff2 +0 -0
- /data/assets/{Fonts → fonts}/Inter/latin-ext.woff2 +0 -0
- /data/assets/{Fonts → fonts}/Inter/latin.woff2 +0 -0
- /data/assets/{Fonts → fonts}/Inter/vietnamese.woff2 +0 -0
- /data/assets/{Fonts → fonts}/JetbrainsMono/cyrillic-ext.woff2 +0 -0
- /data/assets/{Fonts → fonts}/JetbrainsMono/cyrillic.woff2 +0 -0
- /data/assets/{Fonts → fonts}/JetbrainsMono/greek.woff2 +0 -0
- /data/assets/{Fonts → fonts}/JetbrainsMono/latin-ext.woff2 +0 -0
- /data/assets/{Fonts → fonts}/JetbrainsMono/latin.woff2 +0 -0
- /data/assets/{Fonts → fonts}/JetbrainsMono/vietnamese.woff2 +0 -0
data/_sass/fonts.scss
CHANGED
@@ -1,109 +1,109 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
/* cyrillic-ext */
|
4
|
-
@font-face {
|
5
|
-
font-family: 'Inter';
|
6
|
-
font-style: normal;
|
7
|
-
font-weight: 400;
|
8
|
-
src: url(../
|
9
|
-
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
10
|
-
}
|
11
|
-
/* cyrillic */
|
12
|
-
@font-face {
|
13
|
-
font-family: 'Inter';
|
14
|
-
font-style: normal;
|
15
|
-
font-weight: 400;
|
16
|
-
src: url(../
|
17
|
-
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
18
|
-
}
|
19
|
-
/* greek-ext */
|
20
|
-
@font-face {
|
21
|
-
font-family: 'Inter';
|
22
|
-
font-style: normal;
|
23
|
-
font-weight: 400;
|
24
|
-
src: url(../
|
25
|
-
unicode-range: U+1F00-1FFF;
|
26
|
-
}
|
27
|
-
/* greek */
|
28
|
-
@font-face {
|
29
|
-
font-family: 'Inter';
|
30
|
-
font-style: normal;
|
31
|
-
font-weight: 400;
|
32
|
-
src: url(../
|
33
|
-
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
34
|
-
}
|
35
|
-
/* vietnamese */
|
36
|
-
@font-face {
|
37
|
-
font-family: 'Inter';
|
38
|
-
font-style: normal;
|
39
|
-
font-weight: 400;
|
40
|
-
src: url(../
|
41
|
-
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
42
|
-
}
|
43
|
-
/* latin-ext */
|
44
|
-
@font-face {
|
45
|
-
font-family: 'Inter';
|
46
|
-
font-style: normal;
|
47
|
-
font-weight: 400;
|
48
|
-
src: url(../
|
49
|
-
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
50
|
-
}
|
51
|
-
/* latin */
|
52
|
-
@font-face {
|
53
|
-
font-family: 'Inter';
|
54
|
-
font-style: normal;
|
55
|
-
font-weight: 400;
|
56
|
-
src: url(../
|
57
|
-
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
58
|
-
}
|
59
|
-
|
60
|
-
/// Jetbrains Mono ///
|
61
|
-
|
62
|
-
/* cyrillic-ext */
|
63
|
-
@font-face {
|
64
|
-
font-family: 'JetBrains Mono';
|
65
|
-
font-style: normal;
|
66
|
-
font-weight: 400;
|
67
|
-
src: url(../
|
68
|
-
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
69
|
-
}
|
70
|
-
/* cyrillic */
|
71
|
-
@font-face {
|
72
|
-
font-family: 'JetBrains Mono';
|
73
|
-
font-style: normal;
|
74
|
-
font-weight: 400;
|
75
|
-
src: url(../
|
76
|
-
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
77
|
-
}
|
78
|
-
/* greek */
|
79
|
-
@font-face {
|
80
|
-
font-family: 'JetBrains Mono';
|
81
|
-
font-style: normal;
|
82
|
-
font-weight: 400;
|
83
|
-
src: url(../
|
84
|
-
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
85
|
-
}
|
86
|
-
/* vietnamese */
|
87
|
-
@font-face {
|
88
|
-
font-family: 'JetBrains Mono';
|
89
|
-
font-style: normal;
|
90
|
-
font-weight: 400;
|
91
|
-
src: url(../
|
92
|
-
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
93
|
-
}
|
94
|
-
/* latin-ext */
|
95
|
-
@font-face {
|
96
|
-
font-family: 'JetBrains Mono';
|
97
|
-
font-style: normal;
|
98
|
-
font-weight: 400;
|
99
|
-
src: url(../
|
100
|
-
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
101
|
-
}
|
102
|
-
/* latin */
|
103
|
-
@font-face {
|
104
|
-
font-family: 'JetBrains Mono';
|
105
|
-
font-style: normal;
|
106
|
-
font-weight: 400;
|
107
|
-
src: url(../
|
108
|
-
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
1
|
+
/// Inter ///
|
2
|
+
|
3
|
+
/* cyrillic-ext */
|
4
|
+
@font-face {
|
5
|
+
font-family: 'Inter';
|
6
|
+
font-style: normal;
|
7
|
+
font-weight: 400;
|
8
|
+
src: url(../fonts/Inter/cyrillic-ext.woff2) format('woff2');
|
9
|
+
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
10
|
+
}
|
11
|
+
/* cyrillic */
|
12
|
+
@font-face {
|
13
|
+
font-family: 'Inter';
|
14
|
+
font-style: normal;
|
15
|
+
font-weight: 400;
|
16
|
+
src: url(../fonts/Inter/cyrillic.woff2) format('woff2');
|
17
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
18
|
+
}
|
19
|
+
/* greek-ext */
|
20
|
+
@font-face {
|
21
|
+
font-family: 'Inter';
|
22
|
+
font-style: normal;
|
23
|
+
font-weight: 400;
|
24
|
+
src: url(../fonts/Inter/greek-ext.woff2) format('woff2');
|
25
|
+
unicode-range: U+1F00-1FFF;
|
26
|
+
}
|
27
|
+
/* greek */
|
28
|
+
@font-face {
|
29
|
+
font-family: 'Inter';
|
30
|
+
font-style: normal;
|
31
|
+
font-weight: 400;
|
32
|
+
src: url(../fonts/Inter/greek.woff2) format('woff2');
|
33
|
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
34
|
+
}
|
35
|
+
/* vietnamese */
|
36
|
+
@font-face {
|
37
|
+
font-family: 'Inter';
|
38
|
+
font-style: normal;
|
39
|
+
font-weight: 400;
|
40
|
+
src: url(../fonts/Inter/vietnamese.woff2) format('woff2');
|
41
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
42
|
+
}
|
43
|
+
/* latin-ext */
|
44
|
+
@font-face {
|
45
|
+
font-family: 'Inter';
|
46
|
+
font-style: normal;
|
47
|
+
font-weight: 400;
|
48
|
+
src: url(../fonts/Inter/latin-ext.woff2) format('woff2');
|
49
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
50
|
+
}
|
51
|
+
/* latin */
|
52
|
+
@font-face {
|
53
|
+
font-family: 'Inter';
|
54
|
+
font-style: normal;
|
55
|
+
font-weight: 400;
|
56
|
+
src: url(../fonts/Inter/latin.woff2) format('woff2');
|
57
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
58
|
+
}
|
59
|
+
|
60
|
+
/// Jetbrains Mono ///
|
61
|
+
|
62
|
+
/* cyrillic-ext */
|
63
|
+
@font-face {
|
64
|
+
font-family: 'JetBrains Mono';
|
65
|
+
font-style: normal;
|
66
|
+
font-weight: 400;
|
67
|
+
src: url(../fonts/JetbrainsMono/cyrillic-ext.woff2) format('woff2');
|
68
|
+
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
69
|
+
}
|
70
|
+
/* cyrillic */
|
71
|
+
@font-face {
|
72
|
+
font-family: 'JetBrains Mono';
|
73
|
+
font-style: normal;
|
74
|
+
font-weight: 400;
|
75
|
+
src: url(../fonts/JetbrainsMono/cyrillic.woff2) format('woff2');
|
76
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
77
|
+
}
|
78
|
+
/* greek */
|
79
|
+
@font-face {
|
80
|
+
font-family: 'JetBrains Mono';
|
81
|
+
font-style: normal;
|
82
|
+
font-weight: 400;
|
83
|
+
src: url(../fonts/JetbrainsMono/greek.woff2) format('woff2');
|
84
|
+
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
|
85
|
+
}
|
86
|
+
/* vietnamese */
|
87
|
+
@font-face {
|
88
|
+
font-family: 'JetBrains Mono';
|
89
|
+
font-style: normal;
|
90
|
+
font-weight: 400;
|
91
|
+
src: url(../fonts/JetbrainsMono/vietnamese.woff2) format('woff2');
|
92
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
93
|
+
}
|
94
|
+
/* latin-ext */
|
95
|
+
@font-face {
|
96
|
+
font-family: 'JetBrains Mono';
|
97
|
+
font-style: normal;
|
98
|
+
font-weight: 400;
|
99
|
+
src: url(../fonts/JetbrainsMono/latin-ext.woff2) format('woff2');
|
100
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
101
|
+
}
|
102
|
+
/* latin */
|
103
|
+
@font-face {
|
104
|
+
font-family: 'JetBrains Mono';
|
105
|
+
font-style: normal;
|
106
|
+
font-weight: 400;
|
107
|
+
src: url(../fonts/JetbrainsMono/latin.woff2) format('woff2');
|
108
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
109
109
|
}
|
@@ -0,0 +1,173 @@
|
|
1
|
+
@import "variables";
|
2
|
+
@import "mixins";
|
3
|
+
|
4
|
+
html {
|
5
|
+
background: linear-gradient(180deg, black 25%, $main-bg 50%);
|
6
|
+
}
|
7
|
+
|
8
|
+
#home-banner {
|
9
|
+
margin: 4% 0 6% 0;
|
10
|
+
padding-bottom: 4%;
|
11
|
+
display: flex;
|
12
|
+
justify-content: center;
|
13
|
+
flex-direction: column;
|
14
|
+
|
15
|
+
h1, h2 {
|
16
|
+
align-self: center;
|
17
|
+
}
|
18
|
+
|
19
|
+
h1 {
|
20
|
+
font-size: $main-title;
|
21
|
+
}
|
22
|
+
|
23
|
+
h2 {
|
24
|
+
font-size: $sub-title;
|
25
|
+
margin: 0 0 50px 0;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
hr {
|
30
|
+
margin: 30px 0 30px 0;
|
31
|
+
}
|
32
|
+
|
33
|
+
#canvas {
|
34
|
+
position: absolute;
|
35
|
+
top: 0;
|
36
|
+
left: 0;
|
37
|
+
z-index: -1;
|
38
|
+
}
|
39
|
+
|
40
|
+
.home-banner-links {
|
41
|
+
display: flex;
|
42
|
+
justify-content: center;
|
43
|
+
flex-direction: row;
|
44
|
+
|
45
|
+
a {
|
46
|
+
@include blankLink();
|
47
|
+
font-weight: bold;
|
48
|
+
|
49
|
+
border-style: solid;
|
50
|
+
border-width: 1px;
|
51
|
+
border-color: $primary-color-faded;
|
52
|
+
border-radius: 20px;
|
53
|
+
|
54
|
+
box-shadow: 0 0 8px 4px $primary-color-faded inset, 0 0 8px 4px $primary-color-faded;
|
55
|
+
|
56
|
+
padding: 15px;
|
57
|
+
margin: 0 5% 0 5%;
|
58
|
+
|
59
|
+
text-align: center;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
@media (min-width: $extra-large-screen) {
|
64
|
+
main {
|
65
|
+
margin-right: 15%;
|
66
|
+
margin-left: 15%;
|
67
|
+
}
|
68
|
+
|
69
|
+
.outer-card {
|
70
|
+
width: 18.8%;
|
71
|
+
padding: .6%;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
@media (min-width: $large-screen) and (max-width: $extra-large-screen - 1px) {
|
76
|
+
main {
|
77
|
+
margin-right: 12%;
|
78
|
+
margin-left: 12%;
|
79
|
+
}
|
80
|
+
|
81
|
+
.outer-card {
|
82
|
+
width: 18.5%;
|
83
|
+
padding: .75%;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
@media (min-width: $medium-screen) and (max-width: $large-screen - 1px) {
|
88
|
+
main {
|
89
|
+
margin-right: 10%;
|
90
|
+
margin-left: 10%;
|
91
|
+
}
|
92
|
+
|
93
|
+
.outer-card {
|
94
|
+
width: 23%;
|
95
|
+
padding: 1%;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
@media (min-width: $small-screen) and (max-width: $medium-screen - 1px) {
|
100
|
+
main {
|
101
|
+
margin-right: 8%;
|
102
|
+
margin-left: 8%;
|
103
|
+
}
|
104
|
+
|
105
|
+
.outer-card {
|
106
|
+
width: 47%;
|
107
|
+
padding: 1.5%;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
@media (max-width: $small-screen - 1px) {
|
112
|
+
.outer-card {
|
113
|
+
width: 100%;
|
114
|
+
padding: 3% 1% 3% 1%;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
#card-container {
|
119
|
+
display: flex;
|
120
|
+
flex-wrap: wrap;
|
121
|
+
justify-content: start;
|
122
|
+
}
|
123
|
+
|
124
|
+
.card {
|
125
|
+
@include blankLink();
|
126
|
+
display: flex;
|
127
|
+
flex-direction: column;
|
128
|
+
transition-duration: 0.3s;
|
129
|
+
border-radius: $card-border-radius;
|
130
|
+
background: $secondary-bg;
|
131
|
+
width: 100%;
|
132
|
+
height: 400px;
|
133
|
+
|
134
|
+
img {
|
135
|
+
object-fit: cover;
|
136
|
+
overflow: hidden;
|
137
|
+
border-radius: $card-border-radius $card-border-radius 0 0;
|
138
|
+
height: 40%;
|
139
|
+
width: 100%;
|
140
|
+
}
|
141
|
+
|
142
|
+
h3 {
|
143
|
+
margin: 15px 5% 10px 5%;
|
144
|
+
height: 55px;
|
145
|
+
font-size: $card-header-font-size;
|
146
|
+
overflow: hidden;
|
147
|
+
display: -webkit-box;
|
148
|
+
-webkit-line-clamp: 2;
|
149
|
+
-webkit-box-orient: vertical;
|
150
|
+
color: $text-color;
|
151
|
+
}
|
152
|
+
|
153
|
+
p {
|
154
|
+
margin: 5px 4% 5px 4%;
|
155
|
+
height: 90px;
|
156
|
+
font-size: $card-content-font-size;
|
157
|
+
overflow: hidden;
|
158
|
+
display: -webkit-box;
|
159
|
+
-webkit-line-clamp: 4;
|
160
|
+
-webkit-box-orient: vertical;
|
161
|
+
color: $card-content-color;
|
162
|
+
}
|
163
|
+
|
164
|
+
.card-date {
|
165
|
+
padding-top: 25px;
|
166
|
+
height: 35px;
|
167
|
+
}
|
168
|
+
}
|
169
|
+
|
170
|
+
.card:hover {
|
171
|
+
box-shadow: 0 0 20px $card-shadow;
|
172
|
+
}
|
173
|
+
|
@@ -1,99 +1,181 @@
|
|
1
|
-
@import "code-highlighting";
|
2
|
-
@import "variables";
|
3
|
-
@import "fonts";
|
4
|
-
|
5
|
-
html {
|
6
|
-
background: $main-bg;
|
7
|
-
color: $text-color;
|
8
|
-
}
|
9
|
-
|
10
|
-
body {
|
11
|
-
padding: 0;
|
12
|
-
margin: 0;
|
13
|
-
}
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
}
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
}
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
}
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
1
|
+
@import "code-highlighting";
|
2
|
+
@import "variables";
|
3
|
+
@import "fonts";
|
4
|
+
|
5
|
+
html {
|
6
|
+
background: $main-bg;
|
7
|
+
color: $text-color;
|
8
|
+
}
|
9
|
+
|
10
|
+
body {
|
11
|
+
padding: 0;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
@media (min-width: $extra-large-screen) {
|
16
|
+
main {
|
17
|
+
margin: 2% 25% 5% 25%;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
@media (min-width: $large-screen) and (max-width: $extra-large-screen - 1px) {
|
22
|
+
main {
|
23
|
+
margin: 2% 20% 5% 20%;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
@media (min-width: $medium-screen) and (max-width: $large-screen - 1px) {
|
28
|
+
main {
|
29
|
+
margin: 2% 15% 5% 15%;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
@media (min-width: $small-screen) and (max-width: $medium-screen - 1px) {
|
34
|
+
main {
|
35
|
+
margin: 2% 10% 5% 10%;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
@media (max-width: $small-screen - 1px) {
|
40
|
+
main {
|
41
|
+
margin: 2% 5% 5% 5%;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
img {
|
46
|
+
object-fit: contain;
|
47
|
+
max-height: 100%;
|
48
|
+
max-width: 100%;
|
49
|
+
}
|
50
|
+
|
51
|
+
h1, h2, h3, h4, h5, h6, p, li, br, a, span, table {
|
52
|
+
font-family: "Inter", Helvetica, Arial, serif;
|
53
|
+
}
|
54
|
+
|
55
|
+
h1 {
|
56
|
+
font-size: $h1-font-size;
|
57
|
+
}
|
58
|
+
|
59
|
+
h2 {
|
60
|
+
font-size: $h2-font-size;
|
61
|
+
}
|
62
|
+
|
63
|
+
h3 {
|
64
|
+
font-size: $h3-font-size;
|
65
|
+
}
|
66
|
+
|
67
|
+
h4 {
|
68
|
+
font-size: $h4-font-size;
|
69
|
+
}
|
70
|
+
|
71
|
+
h5 {
|
72
|
+
font-size: $h5-font-size;
|
73
|
+
}
|
74
|
+
|
75
|
+
h6 {
|
76
|
+
font-size: $h6-font-size;
|
77
|
+
}
|
78
|
+
|
79
|
+
p, li, br, a, span {
|
80
|
+
font-size: $regular-text-size;
|
81
|
+
line-height: 1.5;
|
82
|
+
}
|
83
|
+
|
84
|
+
ul, li {
|
85
|
+
margin: 4px 0 4px 0;
|
86
|
+
}
|
87
|
+
|
88
|
+
a:link {
|
89
|
+
color: $link-normal;
|
90
|
+
}
|
91
|
+
|
92
|
+
a:visited {
|
93
|
+
color: $link-visited;
|
94
|
+
}
|
95
|
+
|
96
|
+
blockquote {
|
97
|
+
border-radius: 0 10px 10px 0;
|
98
|
+
border-style: solid;
|
99
|
+
border-color: transparent transparent transparent #0071e0;
|
100
|
+
|
101
|
+
margin: 10px 2px 10px 2px;
|
102
|
+
padding: 0 0 10px 20px;
|
103
|
+
|
104
|
+
background: $blockquote-bg;
|
105
|
+
}
|
106
|
+
|
107
|
+
th, td {
|
108
|
+
border-style: solid;
|
109
|
+
border-width: 1px;
|
110
|
+
padding: 3px;
|
111
|
+
border-color: $primary-color;
|
112
|
+
}
|
113
|
+
|
114
|
+
table {
|
115
|
+
border-spacing: 0;
|
116
|
+
border-collapse: collapse;
|
117
|
+
display: block;
|
118
|
+
overflow: auto;
|
119
|
+
white-space: nowrap;
|
120
|
+
}
|
121
|
+
|
122
|
+
footer {
|
123
|
+
margin-top: 30px;
|
124
|
+
padding: 20px 0 20px 0;
|
125
|
+
background: $footer-bg;
|
126
|
+
height: 100%;
|
127
|
+
width: 100%;
|
128
|
+
}
|
129
|
+
|
130
|
+
footer span {
|
131
|
+
margin: 10px 10px 10px 40px;
|
132
|
+
grid-column: 1;
|
133
|
+
grid-row: 1;
|
134
|
+
}
|
135
|
+
|
136
|
+
footer {
|
137
|
+
display: grid;
|
138
|
+
grid-template-columns: 1fr 1fr 1fr;
|
139
|
+
grid-template-rows: 1fr;
|
140
|
+
align-items: center;
|
141
|
+
}
|
142
|
+
|
143
|
+
#github-icon {
|
144
|
+
height: 50px;
|
145
|
+
width: 50px;
|
146
|
+
|
147
|
+
margin: 10px 50px 10px 10px;
|
148
|
+
|
149
|
+
grid-column: 3;
|
150
|
+
grid-row: 1;
|
151
|
+
justify-self: end;
|
152
|
+
}
|
153
|
+
|
154
|
+
#top-nav {
|
155
|
+
display: grid;
|
156
|
+
grid-template-columns: 1fr 1fr 1fr;
|
157
|
+
grid-template-rows: 1fr;
|
158
|
+
|
159
|
+
a {
|
160
|
+
text-decoration: inherit;
|
161
|
+
font-weight: bold;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
|
165
|
+
#home-link {
|
166
|
+
grid-column: 1;
|
167
|
+
grid-row: 1;
|
168
|
+
|
169
|
+
justify-self: start;
|
170
|
+
}
|
171
|
+
|
172
|
+
#source-link {
|
173
|
+
grid-column: 3;
|
174
|
+
grid-row: 1;
|
175
|
+
|
176
|
+
justify-self: end;
|
177
|
+
}
|
178
|
+
|
179
|
+
#toc {
|
180
|
+
margin: 0 0 30px 0;
|
99
181
|
}
|
data/_sass/mixins.scss
ADDED
data/_sass/teddy.scss
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
// Placeholder file. If your site uses
|
2
|
-
// @import "{{ site.theme }}";
|
3
|
-
// Then using this theme with jekyll-remote-theme will work fine.
|
1
|
+
// Placeholder file. If your site uses
|
2
|
+
// @import "{{ site.theme }}";
|
3
|
+
// Then using this theme with jekyll-remote-theme will work fine.
|
4
4
|
@import "jekyll-theme-teddy";
|