berminal 0.1.0 → 0.1.1
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/_sass/_base.scss +235 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 032a3b9e8292024e3a6fcba88ced635aa33bda8d
|
|
4
|
+
data.tar.gz: ba2d70285c86b7ab7c518187638cfd1b829eee61
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 28585462fff8afcd3fb4511fc79b57a0a9ba6285a798d3278aa896815312706214cc7c52e9ba83e5b477fae9d4181138ee8b4941f7391eaa5e098ee5251f3776
|
|
7
|
+
data.tar.gz: 2e6ba57c4c0ad512a28b9e904d8c2d1b6cdf7679db5d4823a8380aa7f2ac9f6079c6062ac241f285d3e08e7c05929c9e6e54ae08a977caaf7106aaef6bf9e340
|
data/_sass/_base.scss
ADDED
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
// Define defaults for each variable.
|
|
2
|
+
|
|
3
|
+
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
|
4
|
+
$base-font-size: 16px !default;
|
|
5
|
+
$base-font-weight: 400 !default;
|
|
6
|
+
$small-font-size: $base-font-size * 0.875 !default;
|
|
7
|
+
$base-line-height: 1.5 !default;
|
|
8
|
+
|
|
9
|
+
$spacing-unit: 30px !default;
|
|
10
|
+
|
|
11
|
+
$text-color: #111 !default;
|
|
12
|
+
$background-color: #fdfdfd !default;
|
|
13
|
+
$brand-color: #2a7ae2 !default;
|
|
14
|
+
|
|
15
|
+
$grey-color: #828282 !default;
|
|
16
|
+
$grey-color-light: lighten($grey-color, 40%) !default;
|
|
17
|
+
$grey-color-dark: darken($grey-color, 25%) !default;
|
|
18
|
+
|
|
19
|
+
// Width of the content area
|
|
20
|
+
$content-width: 800px !default;
|
|
21
|
+
|
|
22
|
+
$on-palm: 600px !default;
|
|
23
|
+
$on-laptop: 800px !default;
|
|
24
|
+
|
|
25
|
+
// Use media queries like this:
|
|
26
|
+
// @include media-query($on-palm) {
|
|
27
|
+
// .wrapper {
|
|
28
|
+
// padding-right: $spacing-unit / 2;
|
|
29
|
+
// padding-left: $spacing-unit / 2;
|
|
30
|
+
// }
|
|
31
|
+
// }
|
|
32
|
+
@mixin media-query($device) {
|
|
33
|
+
@media screen and (max-width: $device) {
|
|
34
|
+
@content;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Reset some basic elements
|
|
40
|
+
*/
|
|
41
|
+
body, h1, h2, h3, h4, h5, h6,
|
|
42
|
+
p, blockquote, pre, hr,
|
|
43
|
+
dl, dd, ol, ul, figure {
|
|
44
|
+
margin: 0;
|
|
45
|
+
padding: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Basic styling
|
|
52
|
+
*/
|
|
53
|
+
body {
|
|
54
|
+
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
|
|
55
|
+
color: $text-color;
|
|
56
|
+
background-color: $background-color;
|
|
57
|
+
-webkit-text-size-adjust: 100%;
|
|
58
|
+
-webkit-font-feature-settings: "kern" 1;
|
|
59
|
+
-moz-font-feature-settings: "kern" 1;
|
|
60
|
+
-o-font-feature-settings: "kern" 1;
|
|
61
|
+
font-feature-settings: "kern" 1;
|
|
62
|
+
font-kerning: normal;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Set `margin-bottom` to maintain vertical rhythm
|
|
69
|
+
*/
|
|
70
|
+
h1, h2, h3, h4, h5, h6,
|
|
71
|
+
p, blockquote, pre,
|
|
72
|
+
ul, ol, dl, figure,
|
|
73
|
+
%vertical-rhythm {
|
|
74
|
+
margin-bottom: $spacing-unit / 2;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Images
|
|
81
|
+
*/
|
|
82
|
+
img {
|
|
83
|
+
max-width: 100%;
|
|
84
|
+
vertical-align: middle;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Figures
|
|
91
|
+
*/
|
|
92
|
+
figure > img {
|
|
93
|
+
display: block;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
figcaption {
|
|
97
|
+
font-size: $small-font-size;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Lists
|
|
104
|
+
*/
|
|
105
|
+
ul, ol {
|
|
106
|
+
margin-left: $spacing-unit;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
li {
|
|
110
|
+
> ul,
|
|
111
|
+
> ol {
|
|
112
|
+
margin-bottom: 0;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Headings
|
|
120
|
+
*/
|
|
121
|
+
h1, h2, h3, h4, h5, h6 {
|
|
122
|
+
font-weight: $base-font-weight;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Links
|
|
129
|
+
*/
|
|
130
|
+
a {
|
|
131
|
+
color: $brand-color;
|
|
132
|
+
text-decoration: none;
|
|
133
|
+
|
|
134
|
+
&:visited {
|
|
135
|
+
color: darken($brand-color, 15%);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&:hover {
|
|
139
|
+
color: $text-color;
|
|
140
|
+
text-decoration: underline;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Blockquotes
|
|
148
|
+
*/
|
|
149
|
+
blockquote {
|
|
150
|
+
color: $grey-color;
|
|
151
|
+
border-left: 4px solid $grey-color-light;
|
|
152
|
+
padding-left: $spacing-unit / 2;
|
|
153
|
+
font-size: 18px;
|
|
154
|
+
letter-spacing: -1px;
|
|
155
|
+
font-style: italic;
|
|
156
|
+
|
|
157
|
+
> :last-child {
|
|
158
|
+
margin-bottom: 0;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Code formatting
|
|
166
|
+
*/
|
|
167
|
+
pre,
|
|
168
|
+
code {
|
|
169
|
+
font-size: 15px;
|
|
170
|
+
border: 1px solid $grey-color-light;
|
|
171
|
+
border-radius: 3px;
|
|
172
|
+
background-color: #eef;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
code {
|
|
176
|
+
padding: 1px 5px;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
pre {
|
|
180
|
+
padding: 8px 12px;
|
|
181
|
+
overflow-x: auto;
|
|
182
|
+
|
|
183
|
+
> code {
|
|
184
|
+
border: 0;
|
|
185
|
+
padding-right: 0;
|
|
186
|
+
padding-left: 0;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Wrapper
|
|
194
|
+
*/
|
|
195
|
+
.wrapper {
|
|
196
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
|
|
197
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
|
|
198
|
+
margin-right: auto;
|
|
199
|
+
margin-left: auto;
|
|
200
|
+
padding-right: $spacing-unit;
|
|
201
|
+
padding-left: $spacing-unit;
|
|
202
|
+
@extend %clearfix;
|
|
203
|
+
|
|
204
|
+
@include media-query($on-laptop) {
|
|
205
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
|
|
206
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit}));
|
|
207
|
+
padding-right: $spacing-unit / 2;
|
|
208
|
+
padding-left: $spacing-unit / 2;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Clearfix
|
|
216
|
+
*/
|
|
217
|
+
%clearfix:after {
|
|
218
|
+
content: "";
|
|
219
|
+
display: table;
|
|
220
|
+
clear: both;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Icons
|
|
227
|
+
*/
|
|
228
|
+
.icon > svg {
|
|
229
|
+
display: inline-block;
|
|
230
|
+
vertical-align: middle;
|
|
231
|
+
|
|
232
|
+
path {
|
|
233
|
+
fill: $grey-color;
|
|
234
|
+
}
|
|
235
|
+
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: berminal
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ben Palmer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-01-
|
|
11
|
+
date: 2017-01-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -64,6 +64,7 @@ files:
|
|
|
64
64
|
- _layouts/default.html
|
|
65
65
|
- _layouts/page.html
|
|
66
66
|
- _layouts/post.html
|
|
67
|
+
- _sass/_base.scss
|
|
67
68
|
homepage: https://github.com/bengovernment/berminal
|
|
68
69
|
licenses:
|
|
69
70
|
- MIT
|