askclass-news-theme 0.2.9 → 0.2.12

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: fa810195c6d88cabcdab1f762396eea0c2a8620d39d8bae626168c3f6056b534
4
- data.tar.gz: 4f98f4a2b5b51d58d88193a4a8b8a520dbb05173f0422be882c1717f5c7f7d7e
3
+ metadata.gz: 302096abbe006f941231d52dbd31bd7360ffe8126bbd69c3f39ba65d0cb8d1d5
4
+ data.tar.gz: 181aaa564d2c8f7e74cc91eba2b270e51980645637b39dae9aeea6640a9f6559
5
5
  SHA512:
6
- metadata.gz: a1deabe9f8058a0621db3e0b1b50a88b8e637e12f62d66d25c710ad6ca65dd42b1b469db02e8d788a05984b0d33ac0179330fe30d16374ef412d64ad342e31ec
7
- data.tar.gz: 23550cb56c4ad467199eb3341ed85954e05f5fd2519a997c022f60aa2791cbb9e7aaae0b58115d9f0e75e0fda539e0e45cebe1c47531fe54af98065066da27e7
6
+ metadata.gz: fcf9fdddcca27f5eec4a896bbc51a186b36356d3b92849ebbc34e74bd20fb29f626389bd93459d94a5b14652ca41a34375d415fd5ad7530b42456c71cf7f280d
7
+ data.tar.gz: 6f3414065f88e7095012b223f311b14d203b42cbe57b4bba0bde971d834ef1690c2fab04c06a815965fd4022a5917fe5c7b6e65f398ccd09901f811809a38915
@@ -2,13 +2,11 @@
2
2
  {% include head/meta.html %}
3
3
  {% include head/common.html %}
4
4
  {% include head/pwaupdate.html %}
5
-
6
- <link href="{{ 'assets/css/style.css' | relative_url }}" rel="stylesheet" />
7
-
8
5
  {% if page.collection == 'posts' %}
9
6
  <link href="{{ 'assets/css/md.css' | relative_url }}" rel="stylesheet" />
10
7
  {% else %}
11
8
  <link href="{{ 'assets/css/grid.css' | relative_url }}" rel="stylesheet" />
12
9
  <link href="{{ 'assets/css/tab.css' | relative_url }}" rel="stylesheet" />
13
10
  {% endif %}
11
+ <link href="{{ 'assets/css/style.css' | relative_url }}" rel="stylesheet" />
14
12
  </head>
data/_sass/_bullets.scss CHANGED
@@ -1,9 +1,15 @@
1
- ol > li > ul > li {
2
- list-style-type: disclosure-closed;
3
- }
4
- ol > li > ol > li {
5
- list-style: lower-alpha;
1
+ ol > li {
2
+ ul > li {
3
+ list-style-type: disclosure-closed;
4
+ }
5
+ ol > li {
6
+ list-style: lower-alpha;
7
+ }
6
8
  }
9
+
7
10
  ul > li > ul > li {
8
11
  list-style-type: square;
12
+ ul > li {
13
+ list-style-type: circle;
14
+ }
9
15
  }
data/_sass/_grid.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  $width: 180px;
2
- $height: 450px;
2
+ $height: 180px;
3
3
 
4
4
  ul.grid {
5
5
  list-style-type: none;
@@ -19,6 +19,6 @@ ul.grid {
19
19
  img {
20
20
  object-fit: cover;
21
21
  width: 100%;
22
- max-height: $height;
22
+ height: $height;
23
23
  }
24
24
  }
@@ -15,6 +15,11 @@ $width: 150px;
15
15
  font-size: 14px;
16
16
  line-height: 1.3;
17
17
  }
18
+ img {
19
+ object-fit: cover;
20
+ width: 100%;
21
+ height: 100px;
22
+ }
18
23
  }
19
24
 
20
25
  .pull-left, .pull-right {
data/_sass/_post.scss CHANGED
@@ -2,6 +2,8 @@ article {
2
2
  max-width: var(--contentWidth);
3
3
  display: flex;
4
4
  flex-direction: column;
5
+ overflow-wrap: break-word;
6
+ word-break: break-word;
5
7
  h1, h2, h3, h4 {
6
8
  color: var(--themeColor);
7
9
  }
@@ -9,10 +9,23 @@ $c8: #598B2C;
9
9
  $c9: #9B2226;
10
10
  $c10: #B18FCF;
11
11
 
12
+ html {
13
+ --c1: #{$c1};
14
+ --c2: #{$c2};
15
+ --c3: #{$c3};
16
+ --c4: #{$c4};
17
+ --c5: #{$c5};
18
+ --c6: #{$c6};
19
+ --c7: #{$c7};
20
+ --c8: #{$c8};
21
+ --c9: #{$c9};
22
+ --c10: #{$c10};
23
+ }
24
+
12
25
  @mixin paint($color) {
13
26
  background-image: linear-gradient(225deg, $color 50%, transparent 50%);
14
27
  border-top-color: $color;
15
- .control {
28
+ .control, .header {
16
29
  .button {
17
30
  background-color: $color;
18
31
  }
data/_sass/_tab.scss CHANGED
@@ -57,7 +57,7 @@ html {
57
57
  }
58
58
 
59
59
  .header {
60
- margin: 0px 50px 0 5px;
60
+ margin: 4px 50px 0 5px;
61
61
  text-align: left;
62
62
  line-height: 1;
63
63
  height: 30px;
@@ -93,6 +93,9 @@ html {
93
93
  color: $fg;
94
94
  }
95
95
  }
96
+ pre, code {
97
+ color: inherit;
98
+ }
96
99
  }
97
100
 
98
101
  .control {
data/_sass/_table.scss CHANGED
@@ -1,18 +1,19 @@
1
- $odd: #3f3f3f;
2
- $header: #2f2f2f;
3
- $border: #333;
1
+ $odd: #2a2a2a;
2
+ $even: #2f2f2f;
4
3
 
5
4
  table {
6
- border-bottom: 1px solid $border;
7
- border-collapse: collapse;
5
+ table-layout: fixed;
8
6
  th {
9
- background-color: $header;
7
+ background-color: $even;
10
8
  }
11
- tr:nth-child(even) {
9
+ tr:nth-child(odd) {
12
10
  background-color: $odd;
13
11
  }
12
+ tr:nth-child(even) {
13
+ background-color: $even;
14
+ }
14
15
  td, th {
15
16
  vertical-align: top;
16
- padding: 5px;
17
+ padding: 7px;
17
18
  }
18
19
  }
data/assets/css/md.scss CHANGED
@@ -5,4 +5,5 @@
5
5
  @import "paginator";
6
6
  @import "bullets";
7
7
  @import "table";
8
+ @import "tab-colors";
8
9
 
@@ -2,9 +2,9 @@
2
2
  layout: post
3
3
  title: "The Academy"
4
4
  category: Plato
5
- color: c1
5
+ color: c8
6
6
  tags: philosopy bio
7
- image: "https://upload.wikimedia.org/wikipedia/commons/thumb/7/75/Anselm_Feuerbach_-_Das_Gastmahl._Nach_Platon_%28zweite_Fassung%29_-_Google_Art_Project.jpg/1280px-Anselm_Feuerbach_-_Das_Gastmahl._Nach_Platon_%28zweite_Fassung%29_-_Google_Art_Project.jpg"
7
+ image: https://i.imgur.com/p3F1hWt.png
8
8
  source: "Columbia University Press"
9
9
  source_url: http://www.columbia.edu/itc/lithum/wong/plato.html
10
10
  ---
@@ -0,0 +1,75 @@
1
+ ---
2
+ layout: post
3
+ title: Card Colors
4
+ category: Theme
5
+ color: c10
6
+ tags: theme colors
7
+ image: https://i.imgur.com/3PXNluf.png
8
+ ---
9
+ This theme has 10 colors. Five set of colors with a darker shade. `c9` and `c10` break the rule.
10
+ <!--more-->
11
+
12
+ <table>
13
+ <tbody>
14
+ <tr>
15
+ <td style="width: 50px; color: var(--c1)">c1</td>
16
+ <td style="width: 50px; background-color: var(--c1)">c1</td>
17
+ <td style="width: 50px; color: var(--c1); background-color: var(--fgColor)">c1</td>
18
+ <td style="width: 50px; background-color: var(--c1); color: var(--bgColor)">c1</td>
19
+ </tr>
20
+ <tr>
21
+ <td style="color: var(--c2)">c2</td>
22
+ <td style="background-color: var(--c2)">c2</td>
23
+ <td style="color: var(--c2); background-color: var(--fgColor)">c2</td>
24
+ <td style="background-color: var(--c2); color: var(--bgColor)">c2</td>
25
+ </tr>
26
+ <tr>
27
+ <td style="color: var(--c3)">c3</td>
28
+ <td style="background-color: var(--c3)">c3</td>
29
+ <td style="color: var(--c3); background-color: var(--fgColor)">c3</td>
30
+ <td style="background-color: var(--c3); color: var(--bgColor)">c3</td>
31
+ </tr>
32
+ <tr>
33
+ <td style="color: var(--c4)">c4</td>
34
+ <td style="background-color: var(--c4)">c4</td>
35
+ <td style="color: var(--c4); background-color: var(--fgColor)">c4</td>
36
+ <td style="background-color: var(--c4); color: var(--bgColor)">c4</td>
37
+ </tr>
38
+ <tr>
39
+ <td style="color: var(--c5)">c5</td>
40
+ <td style="background-color: var(--c5)">c5</td>
41
+ <td style="color: var(--c5); background-color: var(--fgColor)">c5</td>
42
+ <td style="background-color: var(--c5); color: var(--bgColor)">c5</td>
43
+ </tr>
44
+ <tr>
45
+ <td style="color: var(--c6)">c6</td>
46
+ <td style="background-color: var(--c6)">c6</td>
47
+ <td style="color: var(--c6); background-color: var(--fgColor)">c6</td>
48
+ <td style="background-color: var(--c6); color: var(--bgColor)">c6</td>
49
+ </tr>
50
+ <tr>
51
+ <td style="color: var(--c7)">c7</td>
52
+ <td style="background-color: var(--c7)">c7</td>
53
+ <td style="color: var(--c7); background-color: var(--fgColor)">c7</td>
54
+ <td style="background-color: var(--c7); color: var(--bgColor)">c7</td>
55
+ </tr>
56
+ <tr>
57
+ <td style="color: var(--c8)">c8</td>
58
+ <td style="background-color: var(--c8)">c8</td>
59
+ <td style="color: var(--c8); background-color: var(--fgColor)">c8</td>
60
+ <td style="background-color: var(--c8); color: var(--bgColor)">c8</td>
61
+ </tr>
62
+ <tr>
63
+ <td style="color: var(--c9)">c9</td>
64
+ <td style="background-color: var(--c9)">c9</td>
65
+ <td style="color: var(--c9); background-color: var(--fgColor)">c9</td>
66
+ <td style="background-color: var(--c9); color: var(--bgColor)">c9</td>
67
+ </tr>
68
+ <tr>
69
+ <td style="color: var(--c10)">c10</td>
70
+ <td style="background-color: var(--c10)">c10</td>
71
+ <td style="color: var(--c10); background-color: var(--fgColor)">c10</td>
72
+ <td style="background-color: var(--c10); color: var(--bgColor)">c10</td>
73
+ </tr>
74
+ </tbody>
75
+ </table>
@@ -2,7 +2,7 @@
2
2
  layout: writer
3
3
  size: 100
4
4
  style: center
5
- image: "https://upload.wikimedia.org/wikipedia/commons/thumb/8/88/Plato_Silanion_Musei_Capitolini_MC1377.jpg/800px-Plato_Silanion_Musei_Capitolini_MC1377.jpg"
5
+ image: https://i.imgur.com/wzEZQ10.png
6
6
  ---
7
7
 
8
8
  Ancient Greek philosopher Plato was a student of Socrates and a teacher of Aristotle. His writings explored justice, beauty and equality, and also contained discussions in aesthetics, political philosophy, theology, cosmology, epistemology and the philosophy of language. Plato founded the Academy in Athens, one of the first institutions of higher learning in the Western world.
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: writer
3
+ size: 50
4
+ image: /assets/logo-icon.svg
5
+ ---
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: askclass-news-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - AskClass
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-18 00:00:00.000000000 Z
11
+ date: 2022-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -78,7 +78,9 @@ files:
78
78
  - assets/logo.svg
79
79
  - assets/site.webmanifest
80
80
  - content/_posts/2022-06-15-the-academy.md
81
+ - content/_posts/2022-06-18-card-colors.md
81
82
  - content/_writers/plato.md
83
+ - content/_writers/theme.md
82
84
  homepage: https://news.askclass.com
83
85
  licenses:
84
86
  - MPL-2.0