askclass-course-theme 0.19.0 → 0.19.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e69a9029ea42ae9c2fa1bea7999deb33731bf822a9475cca30cbe12a0d3155a
4
- data.tar.gz: 502d5deeaffce70ddc978fb7f8a591ca2cf0fbc76349d3a6829046317a2eb802
3
+ metadata.gz: a5262bf15456d1f62aa9ebb8871b692bc695f392f19607a131201ad2311a2a88
4
+ data.tar.gz: 37c8f807b9fbb5f99eaf5ef1ec1358e4ec4a120b2c57cde6de5e14da4e7d17b7
5
5
  SHA512:
6
- metadata.gz: ddd83fdd9462303e9ecf8431ad73f76e5480e045997d651e7c0c7ac4bc7cbb1a707d8912806cacc5746007308682148da075a632c65edf33cfe86369177577df
7
- data.tar.gz: a214137c17296e78f2d4f767e18455934be67f9cf19b9833695675ea31b284a275a9f1d452e2faa9cfda8bf16540891fe97e9ec9f4a4de40e06e84e97e937110
6
+ metadata.gz: 14989658b5666ed3ab5f736ca464ef67c2d3d85ddb405455e9ee5661408e59178af6fd7e40d39191870c0fec60f6bbaafac9cb156a571bac78af1e16f73b1078
7
+ data.tar.gz: 4cb1df76542bfc121e6bc5f4afc4dcf25f1721d496ac25c4112462c37e5d81ff5d9b6df90106c3f619f4f364c15fc41a22fc5ed23c0347d9fc73bc38bec180c6
@@ -25,17 +25,26 @@
25
25
  {%- endif -%}
26
26
  {%- for item in info.items -%}
27
27
  {%- assign session = site.data.sessions[item] -%}
28
+ {%- if session.header %}
29
+ {%- assign header = session.header %}
30
+ {%- elsif session.sequence %}
31
+ {%- assign header = course.session_tag | append: " " | append: session.sequence %}
32
+ {%- else %}
33
+ {%- assign header = nul %}
34
+ {%- endif %}
28
35
  <div class="item">
36
+ {%- if header %}
29
37
  <div class="middle-align">
30
- <span class="{{ symbols }}">{{ session.icon }}</span>
38
+ <span class="card-color {{ symbols }}">{{ session.icon }}</span>
31
39
  {%- if session.url -%}
32
40
  <a href="/session/{{ session.url }}" title="{{ session.title }}">
33
- <h3>{{ session.header }}</h3>
41
+ <h3 class="card-color">{{ header }}</h3>
34
42
  </a>
35
43
  {%- else -%}
36
- <h3>{{ session.header }}</h3>
44
+ <h3 class="card-color">{{ header }}</h3>
37
45
  {%- endif -%}
38
46
  </div>
47
+ {%- endif %}
39
48
  {%- if session.due -%}
40
49
  <small class="due"
41
50
  data-date="{{ session.due }}"
@@ -45,10 +54,16 @@
45
54
  </small>
46
55
  {%- endif -%}
47
56
 
48
- {{ session.title }}
57
+ {%- if header == nul && session.url %}
58
+ <a class="card-color" href="/session/{{ session.url }}" title="{{ session.title }}">
59
+ {{ session.title }}
60
+ </a>
61
+ {%- else %}
62
+ {{ session.title }}
63
+ {%- endif %}
49
64
 
50
65
  {%- if session.part -%}
51
- <small>({{ session.part }})</small>
66
+ <small class="card-color">({{ session.part }})</small>
52
67
  {%- endif -%}
53
68
  </div>
54
69
  {%- endfor -%}
@@ -29,13 +29,13 @@
29
29
 
30
30
  <div class="body">
31
31
  {%- if session.url -%}
32
- <h3><a href="/session/{{ session.url }}">{{ session.title }}</a></h3>
32
+ <h3><a class="card-color" href="/session/{{ session.url }}">{{ session.title }}</a></h3>
33
33
  {%- else -%}
34
- <h3>{{ session.title }}</h3>
34
+ <h3 class="card-color">{{ session.title }}</h3>
35
35
  {%- endif -%}
36
36
 
37
37
  {%- if session.part -%}
38
- <div class="item">
38
+ <div class="card-color item">
39
39
  {{ session.part }}
40
40
  </div>
41
41
  {%- endif -%}
data/_sass/_bubbles.scss CHANGED
@@ -147,10 +147,6 @@ $color-fade: rgba(0,0,0,0.6); // border shadow
147
147
  text-align: left;
148
148
  font-family: var(--font-tertiary);
149
149
 
150
- // Responsive font sizing with clamp (modern replacement for calc)
151
- font-size: clamp(20px, 1.25rem + 0.5vw, 30px);
152
- line-height: clamp(30px, 1.8rem + 0.8vw, 42px);
153
-
154
150
  .index {
155
151
  position: absolute;
156
152
  top: -14px;
@@ -159,12 +155,11 @@ $color-fade: rgba(0,0,0,0.6); // border shadow
159
155
  font-size: 20px;
160
156
  line-height: 29px;
161
157
  white-space: nowrap;
162
- background-color: transparent;
163
158
  }
164
159
 
165
160
  .left & .index {
166
161
  color: $color1;
167
- left: -37px;
162
+ left: -31px;
168
163
  justify-content: flex-end;
169
164
  }
170
165
 
data/_sass/_default.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  $icon-logo: url('/assets/logo-icon.svg') !default;
2
- $icon-logo-size: 50px;
2
+ $icon-logo-size: 50px !default;
3
3
  $icon-name: 'Material Symbols Outlined' !default;
4
4
 
5
5
  $font-main: 'Open Sans', sans-serif !default;
@@ -54,7 +54,7 @@ html {
54
54
  }
55
55
  }
56
56
  .body {
57
- h3, h3 a, .item small:not(.due) {
57
+ .card-color {
58
58
  color: $color;
59
59
  }
60
60
  code, .due {
data/_sass/init.scss CHANGED
@@ -2,8 +2,8 @@
2
2
  // https://github.com/beAuthentic/askclass-course-theme/blob/main/_sass/default.scss
3
3
 
4
4
  // Example, to overwrite default bg/fg colors specified in the file above:
5
- // @forward 'default' with ( $color-bg: black );
6
- // @forward 'default' with ( $color-fg: white );
7
-
8
- // Make grid boxes the same height (scrollable)
9
- // @forward 'default' with ( $grid-body-height: 260px );
5
+ // @forward 'default' with (
6
+ // $color-bg: black,
7
+ // $color-fg: white,
8
+ // $grid-body-height: 260px
9
+ // );
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.19.0
4
+ version: 0.19.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - AskClass
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-02 00:00:00.000000000 Z
11
+ date: 2026-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll