askclass-course-theme 0.13.0 → 0.13.1

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: ca131df680fc8901032da971128f6cff0ffcd95fddf62557450e70c4138f3fee
4
+ data.tar.gz: 8e74cc5df19ff760df82172d3c8e59e5203dd8c86f5933e067b554114ceeaa86
5
5
  SHA512:
6
- metadata.gz: 470f4b4adfa96a3698db1a9f5952fc3a263862dc726501553632a7dac484b2616fedd6533d5e8803964fbf5507349f1c95cfd5afd5077f900ddce9b2222737dd
7
- data.tar.gz: f2efcad9f2f27d72727a8cc71f2c7e6566d30f107201ef72e38ca1c5efdbc6ef6151eda431a1bba382d5164cc8fdf0e01bd5e725eab078a1212caf9710423073
6
+ metadata.gz: a792727db693974fcd0d7cf3a84cb3f90b040a1320a94d32462eb2b980355a3658954d3f17bc46f0e52d8df2884cc9780d01bb81a5731464f3bc9ab3009a2b17
7
+ data.tar.gz: 3c9c4410b2210f2b4d4ee09aca9835082f11efbdd95d4aeff045aaef049778c6b17841f3a53483c5578458dbb7e0882cd64c29ff5f1e8564d2abe72693d03e80
data/_config.yml CHANGED
@@ -55,7 +55,7 @@ acc:
55
55
  # Donot change the below (will figure something out later)
56
56
  font_families:
57
57
  - Teko
58
- - Open+Sans:ital,wght@0,300;0,400;0,500;0,700;1,400;1,700
58
+ - Open+Sans:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,700
59
59
  - Josefin+Sans
60
60
  - Share+Tech+Mono
61
61
  - Lexend
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
 
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;
@@ -0,0 +1,34 @@
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;
31
+
32
+ @import
33
+ "init",
34
+ "base";
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;
@@ -4,5 +4,5 @@
4
4
  @import
5
5
  "post",
6
6
  "bubbles",
7
- "init";
7
+ "default";
8
8
 
@@ -3,4 +3,4 @@
3
3
 
4
4
  @import
5
5
  "grid",
6
- "init";
6
+ "default";
@@ -3,4 +3,4 @@
3
3
 
4
4
  @import
5
5
  "post",
6
- "init";
6
+ "default";
metadata CHANGED
@@ -1,7 +1,7 @@
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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - AskClass
@@ -73,6 +73,7 @@ files:
73
73
  - _sass/_tab.scss
74
74
  - _sass/_table.scss
75
75
  - _sass/_video.scss
76
+ - _sass/default.scss
76
77
  - _sass/init.scss
77
78
  - assets/css/dialog.scss
78
79
  - assets/css/segment.scss