askclass-course-theme 0.3.0 → 0.4.0

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: 0274dfb992414500ae8a22b28ce5ca887b597d2774ed4a7cea10f3c5003e6056
4
- data.tar.gz: a2e24d85b4f5b7cd839aa1714e00b81a1f3e266acaff37a2c09de0d255f9cc1d
3
+ metadata.gz: b9e7b81c7615d7a7080463b94806c55b7525236f9cb54dffcb92bae2350528b0
4
+ data.tar.gz: 1745fd369d3de94b043a049707ceeacb7e18210e7f475817c37e19454df637a4
5
5
  SHA512:
6
- metadata.gz: 47995253aa9c6bc965419788dfe2130041a90d671ad22bfb641dfda2cbdb7fc23515a4cde4fed4c75605edefc44700118965629a16ea0befabe90d9ffc06696a
7
- data.tar.gz: 8c4dd7487cbb755ddda87bc70d6a509a6eb9ff287fbc792ddcd6d07e59006557ce709f44eff79ef7918278253c70e56adb853a39ca6417f43786306b239fa41b
6
+ metadata.gz: eae0d66205afb6e7451af62d29b04b1e2232996f3dbe1b841cfa5a0974d8f278282d9e604d26ca12227dc010db8aec15971c541b375e1029ff13f55bf6af93b8
7
+ data.tar.gz: 5e94ea3c1cbf1a02f64a0d184087cdd330311063eacba7a22b347f0644e0e1bc96cc6d392d7cf9527263fdcf9c317c6018b85fd575e7ab466fafbbf9be0e39dc
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # AskClass News Theme
1
+ # AskClass Course Theme
2
2
  [![Deploy Jekyll]][Deploy Jekyll Link] [![Build]][Build Link] [![CodeQL]][CodeQL Link]
3
3
 
4
4
  Simple responsive Jekyll theme for a course syllabus.
@@ -2,11 +2,8 @@
2
2
  {%- include head/meta.html -%}
3
3
  {%- include head/common.html -%}
4
4
  {%- if page.collection == 'session' -%}
5
- <link rel="preload" as="style" href="{{ 'assets/css/md.css' | relative_url }}"
6
- onload='this.onload=null;this.rel="stylesheet"' />
5
+ <link rel="stylesheet" href="{{ 'assets/css/session.css' | relative_url }}" />
7
6
  {%- else -%}
8
- <link rel="stylesheet" href="{{ 'assets/css/grid.css' | relative_url }}" />
9
- <link rel="stylesheet" href="{{ 'assets/css/tab.css' | relative_url }}" />
7
+ <link rel="stylesheet" href="{{ 'assets/css/index.css' | relative_url }}" />
10
8
  {%- endif -%}
11
- <link rel="stylesheet" href="{{ 'assets/css/style.css' | relative_url }}" />
12
9
  </head>
data/_sass/_default.scss CHANGED
@@ -1,33 +1,3 @@
1
- $font-main: 'Open Sans', sans-serif;
2
- $font-secondary: 'Teko', sans-serif;
3
- $font-special: 'Josefin Sans', sans-serif;
4
- $font-mono: 'Share Tech Mono', monospace;
5
- $color-primary: aliceblue;
6
- $color-secondary: skyblue;
7
- $color-tertiary: #2cdd88;
8
- $color-bg: #222;
9
- $color-fg: ivory;
10
- $color-dark: gray;
11
- $color-link: deeppink;
12
- $color-theme: #ffc100;
13
- $content-width: 600px;
14
-
15
- html {
16
- --specialFont: #{$font-special};
17
- --mainFont: #{$font-main};
18
- --secondaryFont: #{$font-secondary};
19
- --monoFont: #{$font-mono};
20
- --primaryColor: #{$color-primary};
21
- --secondaryColor: #{$color-secondary};
22
- --linkColor: #{$color-link};
23
- --bgColor: #{$color-bg};
24
- --fgColor: #{$color-fg};
25
- --darkColor: #{$color-dark};
26
- --contentWidth: #{$content-width};
27
- --themeColor: #{$color-theme};
28
- --tertiaryColor: #{$color-tertiary};
29
- }
30
-
31
1
  body {
32
2
  font-family: $font-main;
33
3
  font-size: 17px;
@@ -221,4 +191,3 @@ article.tiles {
221
191
  }
222
192
  }
223
193
  }
224
-
@@ -0,0 +1,16 @@
1
+ // Fonts are specified in _config.yml
2
+ // $font-main: 'Open Sans', sans-serif;
3
+ // $font-secondary: 'Teko', sans-serif;
4
+ // $font-special: 'Josefin Sans', sans-serif;
5
+ // $font-mono: 'Share Tech Mono', monospace;
6
+
7
+ // Change colors
8
+ // $color-primary: aliceblue;
9
+ // $color-secondary: skyblue;
10
+ // $color-tertiary: #2cdd88;
11
+ // $color-bg: green;
12
+ // $color-fg: ivory;
13
+ // $color-dark: gray;
14
+ // $color-link: deeppink;
15
+ // $color-theme: #ffc100;
16
+ // $content-width: 600px;
data/_sass/init.scss ADDED
@@ -0,0 +1,37 @@
1
+ $font-main: 'Open Sans', sans-serif;
2
+ $font-secondary: 'Teko', sans-serif;
3
+ $font-special: 'Josefin Sans', sans-serif;
4
+ $font-mono: 'Share Tech Mono', monospace;
5
+
6
+ $color-primary: aliceblue;
7
+ $color-secondary: skyblue;
8
+ $color-tertiary: #2cdd88;
9
+ $color-bg: #222;
10
+ $color-fg: ivory;
11
+ $color-dark: gray;
12
+ $color-link: deeppink;
13
+ $color-theme: #ffc100;
14
+
15
+ $content-width: 600px;
16
+
17
+ :root {
18
+ --specialFont: #{$font-special};
19
+ --mainFont: #{$font-main};
20
+ --secondaryFont: #{$font-secondary};
21
+ --monoFont: #{$font-mono};
22
+
23
+ --bgColor: #{$color-bg};
24
+ --fgColor: #{$color-fg};
25
+ --primaryColor: #{$color-primary};
26
+ --secondaryColor: #{$color-secondary};
27
+ --tertiaryColor: #{$color-tertiary};
28
+ --linkColor: #{$color-link};
29
+ --darkColor: #{$color-dark};
30
+ --themeColor: #{$color-theme};
31
+
32
+ --contentWidth: #{$content-width};
33
+ }
34
+
35
+ @import
36
+ "custom-variables",
37
+ "default";
@@ -0,0 +1,8 @@
1
+ ---
2
+ ---
3
+
4
+ @import
5
+ "grid",
6
+ "tab",
7
+ "tab-colors",
8
+ "init";
@@ -0,0 +1,11 @@
1
+ ---
2
+ ---
3
+
4
+ @import
5
+ "post",
6
+ "bullets",
7
+ "table",
8
+ "tab-colors",
9
+ "video",
10
+ "lesson",
11
+ "init";
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.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - AskClass
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-05 00:00:00.000000000 Z
11
+ date: 2022-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -60,16 +60,15 @@ files:
60
60
  - _sass/_default.scss
61
61
  - _sass/_grid.scss
62
62
  - _sass/_lesson.scss
63
- - _sass/_paginator.scss
64
63
  - _sass/_post.scss
65
64
  - _sass/_tab-colors.scss
66
65
  - _sass/_tab.scss
67
66
  - _sass/_table.scss
68
67
  - _sass/_video.scss
69
- - assets/css/grid.scss
70
- - assets/css/md.scss
71
- - assets/css/style.scss
72
- - assets/css/tab.scss
68
+ - _sass/custom-variables.scss
69
+ - _sass/init.scss
70
+ - assets/css/index.scss
71
+ - assets/css/session.scss
73
72
  - assets/favicon.ico
74
73
  - assets/loading.svg
75
74
  - assets/logo-144.png
@@ -1,34 +0,0 @@
1
- $size-width: 150px;
2
-
3
- .paginator-container {
4
- max-width: var(--contentWidth);
5
- width: 100%;
6
- display: flex;
7
- justify-content: space-between;
8
- }
9
-
10
- .paginator {
11
- width: $size-width;
12
- a {
13
- text-align: center;
14
- display: block;
15
- font-size: 14px;
16
- line-height: 1.3;
17
- }
18
- img {
19
- object-fit: cover;
20
- width: 100%;
21
- height: 100px;
22
- }
23
- }
24
-
25
- .pull-left, .pull-right {
26
- color: var(--darkColor);
27
- display: flex;
28
- align-items: end;
29
- justify-content: flex-end;
30
- }
31
-
32
- .pull-left {
33
- flex-direction: row-reverse;
34
- }
data/assets/css/grid.scss DELETED
@@ -1,5 +0,0 @@
1
- ---
2
- ---
3
-
4
- @import "grid";
5
-
data/assets/css/md.scss DELETED
@@ -1,10 +0,0 @@
1
- ---
2
- ---
3
-
4
- @import "post";
5
- @import "paginator";
6
- @import "bullets";
7
- @import "table";
8
- @import "tab-colors";
9
- @import "video";
10
- @import "lesson";
@@ -1,4 +0,0 @@
1
- ---
2
- ---
3
-
4
- @import "default";
data/assets/css/tab.scss DELETED
@@ -1,5 +0,0 @@
1
- ---
2
- ---
3
-
4
- @import "tab";
5
- @import "tab-colors";