jekyll-theme-paikblog 0.1.2 → 0.1.3

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: a3abfc71354f12beb899ecdb600b0bea1aca649b03bb59c617c799e9a4bfbbaa
4
- data.tar.gz: b2ee432ae02b0b77e07faf62d459488362f48c4855706d53ea9f09beaece7ec4
3
+ metadata.gz: 1bd9858c9e364040be1e2fafe7e2f0383110ff8b5c2be64b58ee88813d15f0c3
4
+ data.tar.gz: f3c986937f837d3100def55b69a4ffae330e5e647e9fc5396ba43e1c8537148f
5
5
  SHA512:
6
- metadata.gz: 520c062a97c95d99279d616f570294048e9fbf0fe603fe00914a000c013c6368ed2d9d801d469bf8f7098584538717c8bf5345f58a7d0a6b246d8febe71892f9
7
- data.tar.gz: 07a2ab52feca045793f1a21ac5fef3ac49d557cb88daa9ecd16d5f2d4cb210216e1ece9298e18e036164ebd4cbe2fdf45ab54bae776643c36d9e11b21fd7b237
6
+ metadata.gz: eaf52510bf2744a0b0ea95b475043936b5140ef2b444153866eac9b74ad4614d30d905953fefabbf2a1e2074b0ef38bb862dfba6ced86fb1d56d1d83300e907d
7
+ data.tar.gz: d8f86893a01c50fa6e7c821e4014b74d56e31a932e5daec08c64b063fbf2fdf7fb37050c834eee3d6538ffcc59bd61571c22dafca8b472d94efce692a0eb56c2
@@ -1,6 +1,7 @@
1
1
  $linkColor: royalblue;
2
2
  $linkColorVisited: darkorchid;
3
3
  $metaColor: dimgray;
4
+ $metaColorLight: lightgray;
4
5
 
5
6
  /* CSS Reset */
6
7
  * { margin: 0; padding: 0; box-sizing: border-box; }
@@ -20,23 +21,51 @@ body {
20
21
  h1 {
21
22
  margin-bottom: 1rem;
22
23
  font-size: 1.1rem;
23
- letter-spacing: -0.01rem;
24
24
  }
25
-
26
- h2 {
27
- margin-top: 1.25rem;
28
- margin-bottom: 0.25rem;
25
+ h2, h3, h4, h5, h6 {
29
26
  font-size: 1rem;
30
- letter-spacing: -0.01rem;
31
27
  }
32
-
28
+ h2 {
29
+ margin-top: 2.5em;
30
+ margin-bottom: 1em;
31
+ }
33
32
  h3, h4, h5, h6 {
34
- margin-top: 1rem;
35
- margin-bottom: 0.25rem;
36
- font-size: 1rem;
37
- font-weight: normal;
38
- letter-spacing: -0.01rem;
39
- text-decoration: underline;
33
+ margin-top: 2em;
34
+ margin-bottom: 1em;
35
+ }
36
+ h2:before,
37
+ h3:before,
38
+ h4:before,
39
+ h5:before,
40
+ h6:before {
41
+ font-size: 0.8em;
42
+ font-style: italic;
43
+ color: $metaColorLight;
44
+ margin-left: -1.4rem;
45
+ margin-right: 0.4rem;
46
+ }
47
+ h2:before {
48
+ content: "H2";
49
+ }
50
+
51
+ h3:before {
52
+ content: "H3";
53
+ margin-right: 0.8rem;
54
+ }
55
+
56
+ h4:before {
57
+ content: "H4";
58
+ margin-right: 0.8rem;
59
+ }
60
+
61
+ h5:before {
62
+ content: "H5";
63
+ margin-right: 1.2rem;
64
+ }
65
+
66
+ h6:before {
67
+ content: "H6";
68
+ margin-right: 1.2rem;
40
69
  }
41
70
 
42
71
  ul,
@@ -84,7 +113,6 @@ pre {
84
113
  margin-top: 1.25rem;
85
114
  margin-bottom: 1.25rem;
86
115
  padding: 1rem;
87
- line-height: 1.6;
88
116
  background-color: ghostwhite;
89
117
  white-space: pre-wrap;
90
118
  }
@@ -93,3 +121,8 @@ hr {
93
121
  margin-top: 2rem;
94
122
  margin-bottom: 1.5rem;
95
123
  }
124
+
125
+ code {
126
+ word-break: break-all;
127
+ overflow: auto;
128
+ }
@@ -20,7 +20,7 @@
20
20
  color: $metaColor;
21
21
  }
22
22
 
23
- /* - Aladin TTB */
23
+ /* Aladin TTB */
24
24
  .ttb-review {
25
25
  margin-bottom: 2rem;
26
26
  text-align: center;
@@ -35,3 +35,11 @@
35
35
  }
36
36
  }
37
37
  }
38
+
39
+ /* MathJax */
40
+ .MathJax {
41
+ overflow-x: auto;
42
+ break-after: avoid;
43
+ position: relative;
44
+ padding: 0.4em 0;
45
+ }
@@ -16,5 +16,7 @@ p, pre, a, li, blockquote {
16
16
  }
17
17
 
18
18
  tt, code, kbd, samp {
19
- font-family: "Source Code Pro", "Consolas", "Hack", monospace;
19
+ font-family: Menlo,Monaco,"Courier New",monospace;
20
+ font-size: 10pt;
21
+ line-height: 1;
20
22
  }
@@ -40,16 +40,6 @@
40
40
  }
41
41
  /* post */
42
42
  .post-content {
43
-
44
- /* each post */
45
- h2 {
46
- margin-top: 2.5em;
47
- margin-bottom: 1em;
48
- }
49
- h3 {
50
- margin-top: 2em;
51
- margin-bottom: 1em;
52
- }
53
43
  img {
54
44
  display: block;
55
45
  margin-top: 2em;
@@ -8,8 +8,12 @@ code.highlighter-rouge {
8
8
  .highlighter-rouge {
9
9
  pre.highlight {
10
10
  padding: 2rem;
11
- word-break: break-all;
12
- overflow: auto;
11
+ overflow-x: auto;
12
+ code {
13
+ word-break: keep-all;
14
+ overflow: auto;
15
+ white-space: pre;
16
+ }
13
17
  }
14
18
  @media all and (max-width: 720px){
15
19
  pre.highlight {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-paikblog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - paikwiki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-13 00:00:00.000000000 Z
11
+ date: 2020-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll