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 +4 -4
- data/_includes/course.html +20 -5
- data/_includes/segment/index.html +3 -3
- data/_sass/_bubbles.scss +1 -6
- data/_sass/_default.scss +1 -1
- data/_sass/_tab-colors.scss +1 -1
- data/_sass/init.scss +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a5262bf15456d1f62aa9ebb8871b692bc695f392f19607a131201ad2311a2a88
|
|
4
|
+
data.tar.gz: 37c8f807b9fbb5f99eaf5ef1ec1358e4ec4a120b2c57cde6de5e14da4e7d17b7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 14989658b5666ed3ab5f736ca464ef67c2d3d85ddb405455e9ee5661408e59178af6fd7e40d39191870c0fec60f6bbaafac9cb156a571bac78af1e16f73b1078
|
|
7
|
+
data.tar.gz: 4cb1df76542bfc121e6bc5f4afc4dcf25f1721d496ac25c4112462c37e5d81ff5d9b6df90106c3f619f4f364c15fc41a22fc5ed23c0347d9fc73bc38bec180c6
|
data/_includes/course.html
CHANGED
|
@@ -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>{{
|
|
41
|
+
<h3 class="card-color">{{ header }}</h3>
|
|
34
42
|
</a>
|
|
35
43
|
{%- else -%}
|
|
36
|
-
<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
|
-
{
|
|
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: -
|
|
162
|
+
left: -31px;
|
|
168
163
|
justify-content: flex-end;
|
|
169
164
|
}
|
|
170
165
|
|
data/_sass/_default.scss
CHANGED
data/_sass/_tab-colors.scss
CHANGED
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 (
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
//
|
|
9
|
-
//
|
|
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.
|
|
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-
|
|
11
|
+
date: 2026-02-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|