askclass-course-theme 0.13.0 → 0.13.2

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: 6becfc825217bb8c2480a0fbe501222ff7ad9ae93419507c04507954a1f01ef0
4
- data.tar.gz: 3d7e1b5b3bdc14f4ad6cbadf4a71a1656c22fb0db75fab3c8a5c47c850081e26
3
+ metadata.gz: d1b0a0f9795845f8255a7ee1a85827b03e4397023fb58bdccc04d9cc1159a42e
4
+ data.tar.gz: 87cf066ce6b8074390d6346d0af7cb1364d0da61d14d49b439bd9176b5de5678
5
5
  SHA512:
6
- metadata.gz: 470f4b4adfa96a3698db1a9f5952fc3a263862dc726501553632a7dac484b2616fedd6533d5e8803964fbf5507349f1c95cfd5afd5077f900ddce9b2222737dd
7
- data.tar.gz: f2efcad9f2f27d72727a8cc71f2c7e6566d30f107201ef72e38ca1c5efdbc6ef6151eda431a1bba382d5164cc8fdf0e01bd5e725eab078a1212caf9710423073
6
+ metadata.gz: 5e9a9a43680cff02513dde129387665f0623163050f42b7cc85e1ae62af6c2caecfc262ba4f86836a189efa515d41eb504ed99ce6310292198d20ae2ecd7729c
7
+ data.tar.gz: 16c7601bb1b7f4cfaac4aa708c5ca0ebc8dccea728734fc02f2f775110475b9247af5c40db17a77feb614134ccf75e6936360557b34790a62bdec6e6165c57d9
data/_config.yml CHANGED
@@ -4,6 +4,8 @@ description: >
4
4
  Organize your analog or digital course using this template
5
5
  to make the syllabus and content easy to read and mobile.
6
6
 
7
+ ignore_theme_config: false
8
+
7
9
  acc:
8
10
  date_format: "%b %d, %y"
9
11
  short_name: "AC Course"
@@ -52,10 +54,9 @@ acc:
52
54
  - icon: "toys"
53
55
  href: "https://app.askclass.com"
54
56
  text: "Icebreakers"
55
- # Donot change the below (will figure something out later)
56
57
  font_families:
57
58
  - Teko
58
- - Open+Sans:ital,wght@0,300;0,400;0,500;0,700;1,400;1,700
59
+ - Open+Sans:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,700
59
60
  - Josefin+Sans
60
61
  - Share+Tech+Mono
61
62
  - Lexend
@@ -84,6 +85,7 @@ defaults:
84
85
 
85
86
  sass:
86
87
  style: compact
88
+ sourcemap: never
87
89
 
88
90
  include:
89
91
  - index.html
data/_sass/_base.scss CHANGED
@@ -1,4 +1,6 @@
1
1
  :root {
2
+ --icon-logo: #{$icon-logo};
3
+
2
4
  --font-special: #{$font-special};
3
5
  --font-mono: #{$font-mono};
4
6
  --font-main: #{$font-main};
@@ -96,6 +98,7 @@ code {
96
98
  pre {
97
99
  background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5));
98
100
  padding: 10px;
101
+ box-sizing: border-box;
99
102
  code {
100
103
  color: inherit;
101
104
  }
data/_sass/_bullets.scss CHANGED
@@ -1,13 +1,16 @@
1
1
  ul, ol {
2
+ padding-inline-start: 2em;
2
3
  margin-block-start: 0.5em;
3
4
  margin-block-end: 0.5em;
4
- padding-inline-start: 1em;
5
+ ul, ol {
6
+ padding-inline-start: 1.2em;
7
+ }
5
8
  blockquote {
6
9
  padding-left: 0.5em;
7
10
  margin: 0 0.5em;
8
11
  }
9
12
  }
10
- ul ::marker {
13
+ ol ::marker, ul ::marker {
11
14
  color: var(--color-dark);
12
15
  }
13
16
  ol > li {
@@ -16,6 +19,9 @@ ol > li {
16
19
  }
17
20
  ol > li {
18
21
  list-style: lower-alpha;
22
+ ol > li {
23
+ list-style: lower-greek;
24
+ }
19
25
  }
20
26
  }
21
27
 
@@ -0,0 +1,30 @@
1
+ $icon-logo: url('/assets/logo-icon.svg');
2
+
3
+ $font-main: 'Open Sans', sans-serif;
4
+ $font-mono: 'Share Tech Mono', monospace;
5
+ $font-special: 'Josefin Sans', sans-serif;
6
+ $font-secondary: 'Teko', sans-serif;
7
+ $font-tertiary: 'Lexend', sans-serif;
8
+
9
+ $color-primary: white;
10
+ $color-secondary: floralwhite;
11
+ $color-tertiary: #2cdd88;
12
+ $color-bg: #3a3a3a;
13
+ $color-fg: ivory;
14
+ $color-dark: gray;
15
+ $color-link: deeppink;
16
+ $color-theme: #ffc100;
17
+
18
+ $color-row-odd: #2a2a2a;
19
+ $color-row-even: #2f2f2f;
20
+
21
+ $color-code-bg: #222;
22
+ $color-card-bg: whitesmoke;
23
+ $color-card-fg: #444;
24
+
25
+ $card-font-size: 16px;
26
+
27
+ $content-width: 600px;
28
+
29
+ $grid-width: 180px;
30
+ $grid-image-height: 180px;
data/_sass/_post.scss CHANGED
@@ -46,7 +46,7 @@ article {
46
46
  h3 { font-size: 1.7em; }
47
47
  h4 { font-size: 1.4em; }
48
48
  h5 { font-size: 1.2em; }
49
- h6 { font-size: 1.1em; }
49
+ h6 { font-size: 1.1em; color: var(--color-dark); }
50
50
 
51
51
  code {
52
52
  @include boxed();
@@ -74,6 +74,9 @@ article {
74
74
  margin-top: 0;
75
75
  }
76
76
  }
77
+ em {
78
+ font-weight: 300;
79
+ }
77
80
  address {
78
81
  font-style: normal;
79
82
  font-family: var(--font-secondary);
@@ -83,6 +86,38 @@ article {
83
86
  color: var(--color-tertiary);
84
87
  }
85
88
  }
89
+ hr {
90
+ &.section, &.logo {
91
+ border: none;
92
+ border-bottom: 1px solid var(--color-code-bg);
93
+ }
94
+ &.section {
95
+ text-align: center;
96
+ line-height: 1px;
97
+ height: 3px;
98
+ font-size: 54px;
99
+ overflow: visible;
100
+ &:after {
101
+ content: '\2055';
102
+ display: inline;
103
+ padding: 0 10px;
104
+ color: var(--color-code-bg);
105
+ background-color: var(--color-bg);
106
+ }
107
+ }
108
+ &.logo {
109
+ font-size: 0;
110
+ &:after {
111
+ content: var(--icon-logo);
112
+ width: 20px;
113
+ left: 50%;
114
+ position: absolute;
115
+ transform: translateX(-50%) translateY(-50%);
116
+ padding: 0 10px;
117
+ background-color: var(--color-bg);
118
+ }
119
+ }
120
+ }
86
121
  .text > p:first-child {
87
122
  font-size: 25px;
88
123
  line-height: 1.3;
data/_sass/init.scss CHANGED
@@ -1,30 +1,6 @@
1
- $font-main: 'Open Sans', sans-serif;
2
- $font-mono: 'Share Tech Mono', monospace;
3
- $font-special: 'Josefin Sans', sans-serif;
4
- $font-secondary: 'Teko', sans-serif;
5
- $font-tertiary: 'Lexend', sans-serif;
1
+ // Overriding custom variables. See:
2
+ // https://github.com/beAuthentic/askclass-course-theme/blob/main/_sass/default.scss
6
3
 
7
- $color-primary: white;
8
- $color-secondary: floralwhite;
9
- $color-tertiary: #2cdd88;
10
- $color-bg: #3a3a3a;
11
- $color-fg: ivory;
12
- $color-dark: gray;
13
- $color-link: deeppink;
14
- $color-theme: #ffc100;
15
-
16
- $color-row-odd: #2a2a2a;
17
- $color-row-even: #2f2f2f;
18
-
19
- $color-code-bg: #222;
20
- $color-card-bg: whitesmoke;
21
- $color-card-fg: #444;
22
-
23
- $card-font-size: 16px;
24
-
25
- $content-width: 600px;
26
-
27
- $grid-width: 180px;
28
- $grid-image-height: 180px;
29
-
30
- @import "base";
4
+ // Example, to overwrite default bg/fg colors specified in the file above:
5
+ // $color-bg: black;
6
+ // $color-fg: white;
@@ -1,8 +1,3 @@
1
1
  ---
2
2
  ---
3
-
4
- @import
5
- "post",
6
- "bubbles",
7
- "init";
8
-
3
+ @import "post", "bubbles", "default", "init", "base";
@@ -1,6 +1,3 @@
1
1
  ---
2
2
  ---
3
-
4
- @import
5
- "grid",
6
- "init";
3
+ @import "grid", "default", "init", "base";
@@ -1,6 +1,3 @@
1
1
  ---
2
2
  ---
3
-
4
- @import
5
- "post",
6
- "init";
3
+ @import "post", "default", "init", "base";
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.0
4
+ version: 0.13.2
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-20 00:00:00.000000000 Z
11
+ date: 2023-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -66,6 +66,7 @@ files:
66
66
  - _sass/_base.scss
67
67
  - _sass/_bubbles.scss
68
68
  - _sass/_bullets.scss
69
+ - _sass/_default.scss
69
70
  - _sass/_grid.scss
70
71
  - _sass/_paginator.scss
71
72
  - _sass/_post.scss