askclass-course-theme 0.13.2 → 0.13.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1b0a0f9795845f8255a7ee1a85827b03e4397023fb58bdccc04d9cc1159a42e
4
- data.tar.gz: 87cf066ce6b8074390d6346d0af7cb1364d0da61d14d49b439bd9176b5de5678
3
+ metadata.gz: '096e341924170785544990b9d7d21ad9466101de058c0a47737a0b0995fe29b9'
4
+ data.tar.gz: 7bba85c56ef67b876db4455e06e36910e3867c9fea40e46ba436fa9540b53440
5
5
  SHA512:
6
- metadata.gz: 5e9a9a43680cff02513dde129387665f0623163050f42b7cc85e1ae62af6c2caecfc262ba4f86836a189efa515d41eb504ed99ce6310292198d20ae2ecd7729c
7
- data.tar.gz: 16c7601bb1b7f4cfaac4aa708c5ca0ebc8dccea728734fc02f2f775110475b9247af5c40db17a77feb614134ccf75e6936360557b34790a62bdec6e6165c57d9
6
+ metadata.gz: 5bd927bbffe253d51609820f0590d525a39a13658ebd1d82028955598e9f7a99dda79a5d065fe07256df340a9b15369031a93823c2fe7d07b4e751211b6a08ff
7
+ data.tar.gz: 8f32dec99ab48d019c4ab5e549e96c006162e6d85f326617cf0db202f8fe193a3b1b7d87ade76278ae8bf661526edc8a48d25c92a71eca38b9098f7724956cee
@@ -1,5 +1,5 @@
1
1
  {% assign acc = site.acc %}
2
- {% assign desc = page.excerpt | default: site.description | strip_html | strip_newlines %}
2
+ {% assign desc = page.description | default: site.description | strip_html | strip_newlines %}
3
3
  {% assign assets = '/assets/' | prepend: site.url %}
4
4
  {% assign families = acc.font_families | join: "&family=" %}
5
5
  {% assign og_image = acc.meta.og_image | prepend: assets %}
data/_sass/_base.scss CHANGED
@@ -6,6 +6,7 @@
6
6
  --font-main: #{$font-main};
7
7
  --font-secondary: #{$font-secondary};
8
8
  --font-tertiary: #{$font-tertiary};
9
+ --font-samp: #{$font-samp};
9
10
 
10
11
  --color-bg: #{$color-bg};
11
12
  --color-fg: #{$color-fg};
@@ -15,6 +16,7 @@
15
16
  --color-link: #{$color-link};
16
17
  --color-dark: #{$color-dark};
17
18
  --color-theme: #{$color-theme};
19
+ --color-bullet: #{$color-bullet};
18
20
  --color-row-odd: #{$color-row-odd};
19
21
  --color-row-even: #{$color-row-even};
20
22
 
@@ -27,6 +29,7 @@
27
29
  --grid-width: #{$grid-width};
28
30
  --grid-image-height: #{$grid-image-height};
29
31
  --card-font-size: #{$card-font-size};
32
+ --samp-font-size: #{$samp-font-size};
30
33
  }
31
34
 
32
35
  body {
data/_sass/_bullets.scss CHANGED
@@ -7,11 +7,12 @@ ul, ol {
7
7
  }
8
8
  blockquote {
9
9
  padding-left: 0.5em;
10
- margin: 0 0.5em;
10
+ margin-left: 0.5em;
11
+ margin-right: 0.5em;
11
12
  }
12
13
  }
13
14
  ol ::marker, ul ::marker {
14
- color: var(--color-dark);
15
+ color: var(--color-bullet);
15
16
  }
16
17
  ol > li {
17
18
  ul > li {
data/_sass/_default.scss CHANGED
@@ -5,6 +5,7 @@ $font-mono: 'Share Tech Mono', monospace;
5
5
  $font-special: 'Josefin Sans', sans-serif;
6
6
  $font-secondary: 'Teko', sans-serif;
7
7
  $font-tertiary: 'Lexend', sans-serif;
8
+ $font-samp: $font-main;
8
9
 
9
10
  $color-primary: white;
10
11
  $color-secondary: floralwhite;
@@ -14,6 +15,7 @@ $color-fg: ivory;
14
15
  $color-dark: gray;
15
16
  $color-link: deeppink;
16
17
  $color-theme: #ffc100;
18
+ $color-bullet: gray;
17
19
 
18
20
  $color-row-odd: #2a2a2a;
19
21
  $color-row-even: #2f2f2f;
@@ -23,6 +25,7 @@ $color-card-bg: whitesmoke;
23
25
  $color-card-fg: #444;
24
26
 
25
27
  $card-font-size: 16px;
28
+ $samp-font-size: inherit;
26
29
 
27
30
  $content-width: 600px;
28
31
 
data/_sass/_post.scss CHANGED
@@ -42,7 +42,7 @@ article {
42
42
  font-size: 0.8em;
43
43
  }
44
44
  }
45
- h2 { font-size: 1.9em; }
45
+ h2 { font-size: 2.0em; }
46
46
  h3 { font-size: 1.7em; }
47
47
  h4 { font-size: 1.4em; }
48
48
  h5 { font-size: 1.2em; }
@@ -55,12 +55,14 @@ article {
55
55
  margin: 0;
56
56
  width: 100%;
57
57
  overflow-x: auto;
58
+ white-space: pre-wrap;
58
59
  code {
59
60
  border: 0;
60
61
  background-color: inherit;
61
62
  border-radius: 0;
62
63
  padding: 0;
63
64
  margin: 0;
65
+ white-space: pre;
64
66
  }
65
67
  }
66
68
  p:has(> sub) {
@@ -93,8 +95,8 @@ article {
93
95
  }
94
96
  &.section {
95
97
  text-align: center;
96
- line-height: 1px;
97
- height: 3px;
98
+ line-height: 0;
99
+ height: 5px;
98
100
  font-size: 54px;
99
101
  overflow: visible;
100
102
  &:after {
@@ -138,7 +140,7 @@ article {
138
140
  }
139
141
 
140
142
  blockquote {
141
- border-left: 2px solid var(--color-dark);
143
+ border-left: 2px solid var(--color-bullet);
142
144
  padding-left: 10px;
143
145
  margin: 0 10px 0 20px;
144
146
  font-weight: 300;
@@ -146,7 +148,7 @@ blockquote {
146
148
  margin: 0;
147
149
  }
148
150
  & + blockquote {
149
- margin-bottom: 2em;
151
+ margin-top: 10px;
150
152
  }
151
153
  }
152
154
 
@@ -168,8 +170,8 @@ dl {
168
170
 
169
171
  samp {
170
172
  filter: blur(4px);
171
- font-family: var(--font-special);
172
- font-size: 18px;
173
+ font-family: var(--font-samp);
174
+ font-size: var(--samp-font-size);
173
175
  cursor: pointer;
174
176
  &.on {
175
177
  filter: none;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: askclass-course-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.2
4
+ version: 0.13.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - AskClass
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-21 00:00:00.000000000 Z
11
+ date: 2023-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll