jekyll-theme-teddy 0.4.1 → 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.
@@ -1,175 +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
- @media (min-width: $large-screen) {
16
- main {
17
- margin: 2% 20% 5% 20%;
18
- }
19
- }
20
-
21
- @media (min-width: $medium-screen) and (max-width: $large-screen - 1px) {
22
- main {
23
- margin: 2% 15% 5% 15%;
24
- }
25
- }
26
-
27
- @media (min-width: $small-screen) and (max-width: $medium-screen - 1px) {
28
- main {
29
- margin: 2% 10% 5% 10%;
30
- }
31
- }
32
-
33
- @media (max-width: $small-screen - 1px) {
34
- main {
35
- margin: 2% 5% 5% 5%;
36
- }
37
- }
38
-
39
- img {
40
- object-fit: contain;
41
- max-height: 100%;
42
- max-width: 100%;
43
- }
44
-
45
- h1, h2, h3, h4, h5, h6, p, li, br, a, span, table {
46
- font-family: "Inter", Helvetica, Arial, serif;
47
- }
48
-
49
- h1 {
50
- font-size: $h1-font-size;
51
- }
52
-
53
- h2 {
54
- font-size: $h2-font-size;
55
- }
56
-
57
- h3 {
58
- font-size: $h3-font-size;
59
- }
60
-
61
- h4 {
62
- font-size: $h4-font-size;
63
- }
64
-
65
- h5 {
66
- font-size: $h5-font-size;
67
- }
68
-
69
- h6 {
70
- font-size: $h6-font-size;
71
- }
72
-
73
- p, li, br, a, span {
74
- font-size: $regular-text-size;
75
- line-height: 1.5;
76
- }
77
-
78
- ul, li {
79
- margin: 4px 0 4px 0;
80
- }
81
-
82
- a:link {
83
- color: $link-normal;
84
- }
85
-
86
- a:visited {
87
- color: $link-visited;
88
- }
89
-
90
- blockquote {
91
- border-radius: 0 10px 10px 0;
92
- border-style: solid;
93
- border-color: transparent transparent transparent #0071e0;
94
-
95
- margin: 10px 2px 10px 2px;
96
- padding: 0 0 10px 20px;
97
-
98
- background: $blockquote-bg;
99
- }
100
-
101
- th, td {
102
- border-style: solid;
103
- border-width: 1px;
104
- padding: 3px;
105
- border-color: $primary-color;
106
- }
107
-
108
- table {
109
- border-spacing: 0;
110
- border-collapse: collapse;
111
- display: block;
112
- overflow: auto;
113
- white-space: nowrap;
114
- }
115
-
116
- footer {
117
- margin-top: 30px;
118
- padding: 20px 0 20px 0;
119
- background: $footer-bg;
120
- height: 100%;
121
- width: 100%;
122
- }
123
-
124
- footer span {
125
- margin: 10px 10px 10px 40px;
126
- grid-column: 1;
127
- grid-row: 1;
128
- }
129
-
130
- footer {
131
- display: grid;
132
- grid-template-columns: 1fr 1fr 1fr;
133
- grid-template-rows: 1fr;
134
- align-items: center;
135
- }
136
-
137
- #github-icon {
138
- height: 50px;
139
- width: 50px;
140
-
141
- margin: 10px 50px 10px 10px;
142
-
143
- grid-column: 3;
144
- grid-row: 1;
145
- justify-self: end;
146
- }
147
-
148
- #top-nav {
149
- display: grid;
150
- grid-template-columns: 1fr 1fr 1fr;
151
- grid-template-rows: 1fr;
152
-
153
- a {
154
- text-decoration: inherit;
155
- font-weight: bold;
156
- }
157
- }
158
-
159
- #home-link {
160
- grid-column: 1;
161
- grid-row: 1;
162
-
163
- justify-self: start;
164
- }
165
-
166
- #source-link {
167
- grid-column: 3;
168
- grid-row: 1;
169
-
170
- justify-self: end;
171
- }
172
-
173
- #toc {
174
- margin: 0 0 30px 0;
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;
175
181
  }
data/_sass/mixins.scss CHANGED
@@ -1,4 +1,4 @@
1
- @mixin blankLink {
2
- color: inherit;
3
- text-decoration: inherit;
1
+ @mixin blankLink {
2
+ color: inherit;
3
+ text-decoration: inherit;
4
4
  }
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";
data/_sass/variables.scss CHANGED
@@ -1,39 +1,47 @@
1
- // Home Header
2
- $main-title: 50pt !default;
3
- $sub-title: 26pt !default;
4
-
5
- // Header/Text Size
6
- $h1-font-size: 30pt !default;
7
- $h2-font-size: 24pt !default;
8
- $h3-font-size: 22pt !default;
9
- $h4-font-size: 20pt !default;
10
- $h5-font-size: 18pt !default;
11
- $h6-font-size: 16pt !default;
12
- $regular-text-size: 12pt !default;
13
-
14
- // General Colors
15
- $primary-color: #C9C9D1 !default;
16
- $primary-color-slightly-faded: rgba(201, 201, 209, 0.6) !default;
17
- $primary-color-faded: rgba(201, 201, 209, 0.4) !default;
18
-
19
- // Text
20
- $text-color: $primary-color !default;
21
-
22
- // Background
23
- $main-bg: #1D1D26 !default;
24
- $secondary-bg: #2F3039 !default;
25
- $footer-bg: #15151c !default;
26
- $blockquote-bg: $secondary-bg !default;
27
-
28
- // Code
29
- $code-bg-color: $secondary-bg !default;
30
- $code-text-color: $text-color !default;
31
-
32
- // Links
33
- $link-normal: #0071e0 !default;
34
- $link-visited: #7540b2 !default;
35
-
36
- // Responsive Sizes
37
- $large-screen: 2000px !default;
38
- $medium-screen: 1000px !default;
1
+ // Home Header
2
+ $main-title: 50pt !default;
3
+ $sub-title: 26pt !default;
4
+
5
+ // Home Card
6
+ $card-header-font-size: 14pt !default;
7
+ $card-content-font-size: 11pt !default;
8
+ $card-content-color: rgba(201, 201, 209, 0.75) !default;
9
+ $card-border-radius: 15px !default;
10
+ $card-shadow: rgba(255, 255, 255, .5) !default;
11
+
12
+ // Header/Text Size
13
+ $h1-font-size: 30pt !default;
14
+ $h2-font-size: 24pt !default;
15
+ $h3-font-size: 22pt !default;
16
+ $h4-font-size: 20pt !default;
17
+ $h5-font-size: 18pt !default;
18
+ $h6-font-size: 16pt !default;
19
+ $regular-text-size: 12pt !default;
20
+
21
+ // General Colors
22
+ $primary-color: #C9C9D1 !default;
23
+ $primary-color-slightly-faded: rgba(201, 201, 209, 0.6) !default;
24
+ $primary-color-faded: rgba(201, 201, 209, 0.4) !default;
25
+
26
+ // Text
27
+ $text-color: $primary-color !default;
28
+
29
+ // Background
30
+ $main-bg: #1D1D26 !default;
31
+ $secondary-bg: #2F3039 !default;
32
+ $footer-bg: #15151c !default;
33
+ $blockquote-bg: $secondary-bg !default;
34
+
35
+ // Code
36
+ $code-bg-color: $secondary-bg !default;
37
+ $code-text-color: $text-color !default;
38
+
39
+ // Links
40
+ $link-normal: #0071e0 !default;
41
+ $link-visited: #7540b2 !default;
42
+
43
+ // Responsive Sizes
44
+ $extra-large-screen: 3500px !default;
45
+ $large-screen: 2500px !default;
46
+ $medium-screen: 1600px !default;
39
47
  $small-screen: 700px !default;
@@ -1,4 +1,4 @@
1
- ---
2
- ---
3
-
1
+ ---
2
+ ---
3
+
4
4
  @import 'jekyll-theme-teddy';
data/assets/css/home.scss CHANGED
@@ -1,4 +1,4 @@
1
- ---
2
- ---
3
-
1
+ ---
2
+ ---
3
+
4
4
  @import 'home-page';