plainwhite 0.5.1 → 0.6
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/README.md +6 -0
- data/_includes/head.html +2 -2
- data/_sass/plain.scss +19 -7
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 415ae0d29ed33469ef13a934cc3170368c1c0a03
|
4
|
+
data.tar.gz: 264415d30a381f3dcd59e0bcf3f4623518282bf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fd2ad253990e76fb3e6161e0121b1c5df0faf8052810f5c9e63ff6ab28a6338316133568c7ca207edbe5f7eb1bdc450acb88d4eb6fa259ec08ec56935c4c67c
|
7
|
+
data.tar.gz: 99158ae7ed4cddf35413e73ac96639f0461df0d7d976146177e57f42c595529aaeb736501d493f7782983b0853a4aa8533a75956dd3acb4e685c2532db04b68b
|
data/README.md
CHANGED
@@ -5,6 +5,12 @@ Simplistic jekyll portfolio-style theme for writers.
|
|
5
5
|

|
6
6
|
|
7
7
|
|
8
|
+
## Installation on Github Pages
|
9
|
+
|
10
|
+
Add this line to your site's `_config.yml`:
|
11
|
+
```yaml
|
12
|
+
remote_theme: thelehhman/plainwhite-jekyll
|
13
|
+
```
|
8
14
|
## Installation
|
9
15
|
|
10
16
|
Add this line to your Jekyll site's `Gemfile`:
|
data/_includes/head.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<meta charset="UTF-8">
|
2
2
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
3
|
-
<meta name="description" content="{{ site.description }}">
|
4
3
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
5
4
|
<link href="https://fonts.googleapis.com/css?family=Merriweather:300|Raleway:400,700" rel="stylesheet">
|
6
5
|
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
|
7
|
-
<title>{{ page.title | default: site.title }}</title>
|
6
|
+
<title>{{ page.title | default: site.title }}</title>
|
7
|
+
{% seo %}
|
data/_sass/plain.scss
CHANGED
@@ -6,6 +6,7 @@ $linkColor: #0A59B0;
|
|
6
6
|
$mobileW: 768px;
|
7
7
|
$smallMobileW: 480px;
|
8
8
|
$bigScreenW: 1600px;
|
9
|
+
$leftWidth: 220px;
|
9
10
|
|
10
11
|
*,*:before,*:after {
|
11
12
|
box-sizing: border-box;
|
@@ -28,7 +29,7 @@ a {
|
|
28
29
|
color: #000;
|
29
30
|
transition: color 0.3s;
|
30
31
|
&:hover {
|
31
|
-
color:
|
32
|
+
color: $linkColor;
|
32
33
|
}
|
33
34
|
}
|
34
35
|
|
@@ -37,6 +38,9 @@ h2 {
|
|
37
38
|
}
|
38
39
|
main {
|
39
40
|
margin: 0 90px;
|
41
|
+
display: flex;
|
42
|
+
height: 100%;
|
43
|
+
|
40
44
|
@media screen and (min-width: $bigScreenW) {
|
41
45
|
margin: 0 auto;
|
42
46
|
max-width: 1440px;
|
@@ -55,11 +59,11 @@ main {
|
|
55
59
|
@media screen and (max-width: $smallMobileW) {
|
56
60
|
margin: 0;
|
57
61
|
}
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
margin-left:
|
62
|
+
|
63
|
+
.content {
|
64
|
+
@media screen and (min-width: $mobileW + 1){
|
65
|
+
max-width: calc(100% - $leftWidth);
|
66
|
+
margin-left: $leftWidth;
|
63
67
|
}
|
64
68
|
}
|
65
69
|
.about {
|
@@ -73,7 +77,7 @@ main {
|
|
73
77
|
@media screen and (min-width: $mobileW + 1) {
|
74
78
|
position: fixed;
|
75
79
|
}
|
76
|
-
min-width:
|
80
|
+
min-width: $leftWidth;
|
77
81
|
justify-content: center;
|
78
82
|
flex-direction: column;
|
79
83
|
align-items: center;
|
@@ -159,6 +163,14 @@ main {
|
|
159
163
|
font-weight: 300;
|
160
164
|
color: #222;
|
161
165
|
line-height: 1.9em;
|
166
|
+
a {
|
167
|
+
color: $linkColor;
|
168
|
+
text-decoration: none;
|
169
|
+
transition: border-bottom 0.4s;
|
170
|
+
&:hover {
|
171
|
+
border-bottom: 0.5px solid $linkColor;
|
172
|
+
}
|
173
|
+
}
|
162
174
|
}
|
163
175
|
|
164
176
|
#posts-label {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plainwhite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: '0.6'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samarjeet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 3.7.3
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-seo-tag
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.1.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.1.0
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|