askclass-news-theme 0.2.11 → 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: 87ceac90b702a8384dcd2b7d812bd8fe21ed2833715eda09e2629e8e5c765065
4
- data.tar.gz: f389e1119ee521fcf212db1f4c518ebce4385b51799a3240cb79a4a4a05a2193
3
+ metadata.gz: 302096abbe006f941231d52dbd31bd7360ffe8126bbd69c3f39ba65d0cb8d1d5
4
+ data.tar.gz: 181aaa564d2c8f7e74cc91eba2b270e51980645637b39dae9aeea6640a9f6559
5
5
  SHA512:
6
- metadata.gz: d9ba7bccabd64ae3a888187ac38b00735f953201a92690bec4be1b6361f61fc6c650d2aee4e659cbc44ea86056cdc1aefa6661a4296668221df48a5c988111d7
7
- data.tar.gz: ea67395d78a7420434df1f5f2b2d909c789e4d8ea4dc8f0dc743eba393a04f6705dea828b9854ce3d7f79518d72d9b8145199f95748775a5750f1d4e1ed452c1
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/_grid.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  $width: 180px;
2
- $height: 150px;
2
+ $height: 180px;
3
3
 
4
4
  ul.grid {
5
5
  list-style-type: none;
@@ -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 {
@@ -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,13 +1,10 @@
1
1
  $odd: #2a2a2a;
2
2
  $even: #2f2f2f;
3
- $border: #333;
4
3
 
5
4
  table {
6
- border-bottom: 2px solid $border;
7
- border-collapse: collapse;
8
5
  table-layout: fixed;
9
6
  th {
10
- background-color: $border;
7
+ background-color: $even;
11
8
  }
12
9
  tr:nth-child(odd) {
13
10
  background-color: $odd;
@@ -17,6 +14,6 @@ table {
17
14
  }
18
15
  td, th {
19
16
  vertical-align: top;
20
- padding: 5px;
17
+ padding: 7px;
21
18
  }
22
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.11
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