jekyll-theme-crisp-wiki 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/assets/css/style.css +34 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 11b591e6adaffa2c79fc3e21e5352ac8e633b7b48337cb2f6daa1b1ed48a6953
4
- data.tar.gz: 4044a00ef86328e9cf9a793184d715b50a327c2b479910aafdeb40f8d3141214
3
+ metadata.gz: 52fe086577ff8eaaa9799b49453c40c5541314ebf06f87038d6822a5c22232ab
4
+ data.tar.gz: f3bf08eee26ec46c66262299e66bc6a32bcb7be44b398aa18bf4d2ec4e53acc5
5
5
  SHA512:
6
- metadata.gz: 31decb25a1349417172945b8b1e9b50edd3ad7ece5cff2dbfbf93576dfe878d37bcfbdbe1d4058b754f79ed4097e69bc1c20fed2a7ddfcb09a0b1d74b68e05c1
7
- data.tar.gz: d456edbe68be714edc6f2c0aead3fae5a406661ac01b747959a6cd0ce26378268c5a08dc8207662a0fe53919bd6dca67be2d8447a528ffbb855bc7c2b38bdfc6
6
+ metadata.gz: 57d475ff344dd6c37c4f2c9b2f4081a50a460353ce25622b4dc278800eaf63704c7476fdd7094f7bfcd40767b648370292d5137d3db57e456b20e03faf0c7862
7
+ data.tar.gz: e2ca3b51eb4f657954f5857149ff1a3d3a7a00509b2d4a6a9070164cc20e41c6b19b740a4094715ff60ee74308a1d5dafc0a189356c136ec0fa438ab31cd52fb
data/assets/css/style.css CHANGED
@@ -1,19 +1,22 @@
1
1
  /*
2
2
  * Theme of Crisp Wiki
3
- * Copyright(c) David Zhang, 2016
3
+ * Copyright(c) David Zhang, 2019
4
4
  */
5
5
  * {
6
6
  box-sizing: border-box;
7
7
  }
8
+
8
9
  html {
9
10
  width: 100%;
10
11
  font-size: 16px;
11
12
  }
13
+
12
14
  @media (max-width: 42rem) {
13
15
  html {
14
16
  font-size: 12px;
15
17
  }
16
18
  }
19
+
17
20
  body {
18
21
  margin: 0;
19
22
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
@@ -25,6 +28,7 @@ body {
25
28
  text-align: center;
26
29
  height: 100%;
27
30
  }
31
+
28
32
  footer {
29
33
  text-align: center;
30
34
  font-size: 1rem;
@@ -32,13 +36,16 @@ footer {
32
36
  margin-top: 2rem;
33
37
  margin-bottom: 1.2rem;
34
38
  }
39
+
35
40
  a {
36
41
  text-decoration: none;
37
42
  color: #06c;
38
43
  }
44
+
39
45
  a:hover {
40
46
  text-decoration: underline;
41
47
  }
48
+
42
49
  .container {
43
50
  max-width: 42rem;
44
51
  margin-left: auto;
@@ -46,23 +53,28 @@ a:hover {
46
53
  text-align: left;
47
54
  margin-bottom: 3rem;
48
55
  }
56
+
49
57
  @media (max-width: 42rem) {
50
58
  .container {
51
59
  padding-left: .4rem;
52
60
  padding-right: .4rem;
53
61
  }
54
62
  }
63
+
55
64
  .menu {
56
65
  font-size: 1rem;
57
66
  font-weight: bold;
58
67
  }
68
+
59
69
  .menu a {
60
70
  margin-right: 1rem;
61
71
  }
72
+
62
73
  .section {
63
74
  text-align: left;
64
75
  margin-top: 2rem;
65
76
  }
77
+
66
78
  .section-wrap {
67
79
  margin-top: .6rem;
68
80
  background-color: #ffffff;
@@ -70,24 +82,30 @@ a:hover {
70
82
  border-radius: 4px;
71
83
  padding: 1rem;
72
84
  }
85
+
73
86
  .section-wrap:hover {
74
87
  box-shadow: 0 .1rem .4rem .1rem #ddd;
75
88
  }
89
+
76
90
  .section-item {
77
91
  display: flex;
78
92
  line-height: 1.25;
79
93
  overflow: hidden;
80
94
  width: 100%;
81
95
  }
96
+
82
97
  .section-item:first-of-type {
83
98
  margin-bottom: 1rem;
84
99
  }
100
+
85
101
  .section-title {
86
102
  }
103
+
87
104
  .section-content {
88
105
  padding-right: .5rem;
89
106
  width: 37.6rem;
90
107
  }
108
+
91
109
  .title-q:before {
92
110
  content: "Q";
93
111
  display: inline-block;
@@ -96,6 +114,7 @@ a:hover {
96
114
  margin-right: .5rem;
97
115
  border-right: .1rem solid #aaa;
98
116
  }
117
+
99
118
  .title-a:before {
100
119
  content: "A";
101
120
  display: inline-block;
@@ -104,3 +123,17 @@ a:hover {
104
123
  margin-right: .5rem;
105
124
  border-right: .1rem solid #aaa;
106
125
  }
126
+
127
+ /* codes */
128
+ pre {
129
+ font-size: .85rem;
130
+ }
131
+ code {
132
+ font-family: Menlo, Monaco, "Source Code Pro", Consolas, Courier;
133
+ padding-left: .5rem;
134
+ padding-right: .5rem;
135
+ border: .05rem solid #aaaaaa;
136
+ border-radius: .2rem;
137
+ max-width: 100%;
138
+ overflow: hidden;
139
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-crisp-wiki
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Zhang