minima-bootstrap 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +121 -0
- data/_includes/bio_card.html +18 -0
- data/_includes/disqus_comments.html +20 -0
- data/_includes/google-analytics.html +9 -0
- data/_includes/head.html +12 -0
- data/_includes/header.html +2 -0
- data/_includes/nav.html +28 -0
- data/_includes/social.html +19 -0
- data/_layouts/default.html +21 -0
- data/_layouts/home.html +52 -0
- data/_layouts/page.html +14 -0
- data/_layouts/post.html +27 -0
- data/_sass/minima.scss +58 -0
- data/_sass/minima/_base.scss +258 -0
- data/_sass/minima/_feeds.scss +60 -0
- data/_sass/minima/_layout.scss +234 -0
- data/_sass/minima/_posts.scss +90 -0
- data/_sass/minima/_syntax-highlighting.scss +71 -0
- data/assets/css/style.scss +14 -0
- data/assets/default-cover.jpg +0 -0
- data/assets/minima-social-icons.svg +39 -0
- metadata +122 -0
@@ -0,0 +1,258 @@
|
|
1
|
+
/**
|
2
|
+
* Reset some basic elements
|
3
|
+
*/
|
4
|
+
body, h1, h2, h3, h4, h5, h6,
|
5
|
+
p, blockquote, pre, hr,
|
6
|
+
dl, dd, ol, ul, figure {
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
|
10
|
+
}
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
/**
|
15
|
+
* Basic styling
|
16
|
+
*/
|
17
|
+
body {
|
18
|
+
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
|
19
|
+
color: $text-color;
|
20
|
+
background-color: $background-color;
|
21
|
+
-webkit-text-size-adjust: 100%;
|
22
|
+
-webkit-font-feature-settings: "kern" 1;
|
23
|
+
-moz-font-feature-settings: "kern" 1;
|
24
|
+
-o-font-feature-settings: "kern" 1;
|
25
|
+
font-feature-settings: "kern" 1;
|
26
|
+
font-kerning: normal;
|
27
|
+
display: flex;
|
28
|
+
min-height: 100vh;
|
29
|
+
flex-direction: column;
|
30
|
+
}
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
/**
|
35
|
+
* Set `margin-bottom` to maintain vertical rhythm
|
36
|
+
*/
|
37
|
+
h1, h2, h3, h4, h5, h6,
|
38
|
+
p, blockquote, pre,
|
39
|
+
ul, ol, dl, figure,
|
40
|
+
%vertical-rhythm {
|
41
|
+
margin-bottom: $spacing-unit / 2;
|
42
|
+
}
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
/**
|
47
|
+
* `main` element
|
48
|
+
*/
|
49
|
+
main {
|
50
|
+
display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
|
51
|
+
}
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
/**
|
56
|
+
* Images
|
57
|
+
*/
|
58
|
+
img {
|
59
|
+
max-width: 100%;
|
60
|
+
vertical-align: middle;
|
61
|
+
}
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
/**
|
66
|
+
* Figures
|
67
|
+
*/
|
68
|
+
figure > img {
|
69
|
+
display: block;
|
70
|
+
}
|
71
|
+
|
72
|
+
figcaption {
|
73
|
+
font-size: $small-font-size;
|
74
|
+
}
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
/**
|
79
|
+
* Lists
|
80
|
+
*/
|
81
|
+
ul, ol {
|
82
|
+
margin-left: $spacing-unit;
|
83
|
+
}
|
84
|
+
|
85
|
+
li {
|
86
|
+
> ul,
|
87
|
+
> ol {
|
88
|
+
margin-bottom: 0;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
/**
|
95
|
+
* Headings
|
96
|
+
*/
|
97
|
+
h1, h2, h3, h4, h5, h6 {
|
98
|
+
font-weight: $base-font-weight;
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
/**
|
104
|
+
* Links
|
105
|
+
*/
|
106
|
+
a {
|
107
|
+
color: $brand-color;
|
108
|
+
text-decoration: none;
|
109
|
+
|
110
|
+
&:visited {
|
111
|
+
color: darken($brand-color, 15%);
|
112
|
+
}
|
113
|
+
|
114
|
+
&:hover {
|
115
|
+
color: $text-color;
|
116
|
+
text-decoration: underline;
|
117
|
+
}
|
118
|
+
|
119
|
+
.social-media-list &:hover {
|
120
|
+
text-decoration: none;
|
121
|
+
|
122
|
+
.username {
|
123
|
+
text-decoration: underline;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
|
129
|
+
/**
|
130
|
+
* Blockquotes
|
131
|
+
*/
|
132
|
+
blockquote {
|
133
|
+
color: $grey-color;
|
134
|
+
border-left: 4px solid $grey-color-light;
|
135
|
+
padding-left: $spacing-unit / 2;
|
136
|
+
@include relative-font-size(1.125);
|
137
|
+
letter-spacing: -1px;
|
138
|
+
font-style: italic;
|
139
|
+
|
140
|
+
> :last-child {
|
141
|
+
margin-bottom: 0;
|
142
|
+
}
|
143
|
+
}
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
/**
|
148
|
+
* Code formatting
|
149
|
+
*/
|
150
|
+
pre,
|
151
|
+
code {
|
152
|
+
@include relative-font-size(0.9375);
|
153
|
+
border: 1px solid $grey-color-light;
|
154
|
+
border-radius: 3px;
|
155
|
+
background-color: #eef;
|
156
|
+
}
|
157
|
+
|
158
|
+
code {
|
159
|
+
padding: 1px 5px;
|
160
|
+
}
|
161
|
+
|
162
|
+
pre {
|
163
|
+
padding: 8px 12px;
|
164
|
+
overflow-x: auto;
|
165
|
+
|
166
|
+
> code {
|
167
|
+
border: 0;
|
168
|
+
padding-right: 0;
|
169
|
+
padding-left: 0;
|
170
|
+
}
|
171
|
+
}
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
/**
|
176
|
+
* Wrapper
|
177
|
+
*/
|
178
|
+
.wrap-nav {
|
179
|
+
border-bottom: #e8e8e8 solid 1px;
|
180
|
+
margin-bottom: 12px;
|
181
|
+
// max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
|
182
|
+
// max-width: calc(#{$content-width} - (#{$spacing-unit}));
|
183
|
+
// margin-right: auto;
|
184
|
+
// margin-left: auto;
|
185
|
+
// padding-right: $spacing-unit / 2;
|
186
|
+
// padding-left: $spacing-unit / 2;
|
187
|
+
@extend %clearfix;
|
188
|
+
|
189
|
+
@media screen and (min-width: $on-large) {
|
190
|
+
// max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
|
191
|
+
// max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
|
192
|
+
// padding-right: $spacing-unit;
|
193
|
+
// padding-left: $spacing-unit;
|
194
|
+
}
|
195
|
+
}
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
/**
|
200
|
+
* Clearfix
|
201
|
+
*/
|
202
|
+
%clearfix:after {
|
203
|
+
content: "";
|
204
|
+
display: table;
|
205
|
+
clear: both;
|
206
|
+
}
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
/**
|
211
|
+
* Icons
|
212
|
+
*/
|
213
|
+
|
214
|
+
.orange {
|
215
|
+
color: $orange-color;
|
216
|
+
}
|
217
|
+
|
218
|
+
.grey {
|
219
|
+
color: $grey-color;
|
220
|
+
}
|
221
|
+
|
222
|
+
.svg-icon {
|
223
|
+
width: 16px;
|
224
|
+
height: 16px;
|
225
|
+
display: inline-block;
|
226
|
+
fill: currentColor;
|
227
|
+
// padding: 5px 3px 2px 5px;
|
228
|
+
vertical-align: text-bottom;
|
229
|
+
}
|
230
|
+
|
231
|
+
|
232
|
+
/**
|
233
|
+
* Tables
|
234
|
+
*/
|
235
|
+
table {
|
236
|
+
margin-bottom: $spacing-unit;
|
237
|
+
width: 100%;
|
238
|
+
text-align: $table-text-align;
|
239
|
+
color: lighten($text-color, 18%);
|
240
|
+
border-collapse: collapse;
|
241
|
+
border: 1px solid $grey-color-light;
|
242
|
+
tr {
|
243
|
+
&:nth-child(even) {
|
244
|
+
background-color: lighten($grey-color-light, 6%);
|
245
|
+
}
|
246
|
+
}
|
247
|
+
th, td {
|
248
|
+
padding: ($spacing-unit / 3) ($spacing-unit / 2);
|
249
|
+
}
|
250
|
+
th {
|
251
|
+
background-color: lighten($grey-color-light, 3%);
|
252
|
+
border: 1px solid darken($grey-color-light, 4%);
|
253
|
+
border-bottom-color: darken($grey-color-light, 12%);
|
254
|
+
}
|
255
|
+
td {
|
256
|
+
border: 1px solid $grey-color-light;
|
257
|
+
}
|
258
|
+
}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
.twitter-timeline-show-more-button {
|
2
|
+
-moz-box-sizing: border-box;
|
3
|
+
box-sizing: border-box;
|
4
|
+
display: inline-block;
|
5
|
+
padding: 10px 0;
|
6
|
+
margin: 0 0 20px 0;
|
7
|
+
width: 155px;
|
8
|
+
font-size: 14px;
|
9
|
+
color: #2b7bb9;
|
10
|
+
text-align: center;
|
11
|
+
background-color: #fff;
|
12
|
+
border: 1px solid #55acee;
|
13
|
+
border-radius: 100px;
|
14
|
+
outline: 0;
|
15
|
+
cursor: pointer;
|
16
|
+
}
|
17
|
+
|
18
|
+
.twitter-timeline-load-more-prompt {
|
19
|
+
border-top: 1px solid #55acee;
|
20
|
+
}
|
21
|
+
|
22
|
+
.twitter-timeline-show-more-button:focus, .twitter-timeline-show-more-button:hover {
|
23
|
+
background-color: #55acee;
|
24
|
+
color: #fff;
|
25
|
+
text-decoration: none;
|
26
|
+
}
|
27
|
+
|
28
|
+
ul.timeline {
|
29
|
+
list-style-type: none;
|
30
|
+
position: relative;
|
31
|
+
}
|
32
|
+
|
33
|
+
ul.timeline:before {
|
34
|
+
content: ' ';
|
35
|
+
background: #d4d9df;
|
36
|
+
display: inline-block;
|
37
|
+
position: absolute;
|
38
|
+
left: 29px;
|
39
|
+
width: 2px;
|
40
|
+
height: 100%;
|
41
|
+
z-index: 400;
|
42
|
+
}
|
43
|
+
|
44
|
+
ul.timeline > li {
|
45
|
+
margin: 20px 0;
|
46
|
+
padding-left: 20px;
|
47
|
+
}
|
48
|
+
|
49
|
+
ul.timeline > li:before {
|
50
|
+
content: ' ';
|
51
|
+
background: white;
|
52
|
+
display: inline-block;
|
53
|
+
position: absolute;
|
54
|
+
border-radius: 50%;
|
55
|
+
border: 3px solid #22c0e8;
|
56
|
+
left: 20px;
|
57
|
+
width: 20px;
|
58
|
+
height: 20px;
|
59
|
+
z-index: 400;
|
60
|
+
}
|
@@ -0,0 +1,234 @@
|
|
1
|
+
/**
|
2
|
+
* Site header
|
3
|
+
*/
|
4
|
+
.site-header {
|
5
|
+
border-top: 5px solid $grey-color-dark;
|
6
|
+
border-bottom: 1px solid $grey-color-light;
|
7
|
+
min-height: $spacing-unit * 1.865;
|
8
|
+
line-height: $base-line-height * $base-font-size * 2.25;
|
9
|
+
|
10
|
+
// Positioning context for the mobile navigation icon
|
11
|
+
position: relative;
|
12
|
+
}
|
13
|
+
|
14
|
+
.site-title {
|
15
|
+
@include relative-font-size(1.625);
|
16
|
+
font-weight: 300;
|
17
|
+
letter-spacing: -1px;
|
18
|
+
margin-bottom: 0;
|
19
|
+
float: left;
|
20
|
+
&:hover {
|
21
|
+
text-decoration: none;
|
22
|
+
}
|
23
|
+
|
24
|
+
@include media-query($on-palm) {
|
25
|
+
padding-right: 45px;
|
26
|
+
}
|
27
|
+
|
28
|
+
&,
|
29
|
+
&:visited {
|
30
|
+
color: $grey-color-dark;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
.site-nav {
|
35
|
+
position: absolute;
|
36
|
+
top: -4px;
|
37
|
+
right: 25px;
|
38
|
+
background-color: $background-color;
|
39
|
+
border: 1px solid $grey-color-light;
|
40
|
+
border-radius: 5px;
|
41
|
+
text-align: right;
|
42
|
+
|
43
|
+
.nav-trigger {
|
44
|
+
display: none;
|
45
|
+
}
|
46
|
+
|
47
|
+
.menu-icon {
|
48
|
+
float: right;
|
49
|
+
width: 36px;
|
50
|
+
height: 26px;
|
51
|
+
line-height: 0;
|
52
|
+
padding-top: 10px;
|
53
|
+
text-align: center;
|
54
|
+
|
55
|
+
> svg path {
|
56
|
+
fill: $grey-color-dark;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
label[for="nav-trigger"] {
|
61
|
+
display: block;
|
62
|
+
float: right;
|
63
|
+
width: 36px;
|
64
|
+
height: 30px;
|
65
|
+
z-index: 2;
|
66
|
+
cursor: pointer;
|
67
|
+
}
|
68
|
+
|
69
|
+
input ~ .trigger {
|
70
|
+
clear: both;
|
71
|
+
display: none;
|
72
|
+
}
|
73
|
+
|
74
|
+
input:checked ~ .trigger {
|
75
|
+
display: block;
|
76
|
+
padding-bottom: 5px;
|
77
|
+
}
|
78
|
+
|
79
|
+
.page-link {
|
80
|
+
color: $text-color;
|
81
|
+
line-height: $base-line-height;
|
82
|
+
display: block;
|
83
|
+
padding: 5px 10px;
|
84
|
+
|
85
|
+
// Gaps between nav items, but not on the last one
|
86
|
+
&:not(:last-child) {
|
87
|
+
margin-right: 0;
|
88
|
+
}
|
89
|
+
margin-left: 20px;
|
90
|
+
}
|
91
|
+
|
92
|
+
@media screen and (min-width: $on-medium) {
|
93
|
+
position: static;
|
94
|
+
float: right;
|
95
|
+
border: none;
|
96
|
+
background-color: inherit;
|
97
|
+
|
98
|
+
label[for="nav-trigger"] {
|
99
|
+
display: none;
|
100
|
+
}
|
101
|
+
|
102
|
+
.menu-icon {
|
103
|
+
display: none;
|
104
|
+
}
|
105
|
+
|
106
|
+
input ~ .trigger {
|
107
|
+
display: block;
|
108
|
+
}
|
109
|
+
|
110
|
+
.page-link {
|
111
|
+
display: inline;
|
112
|
+
padding: 0;
|
113
|
+
&:hover {
|
114
|
+
text-decoration: none;
|
115
|
+
}
|
116
|
+
|
117
|
+
&:not(:last-child) {
|
118
|
+
margin-right: 20px;
|
119
|
+
}
|
120
|
+
margin-left: auto;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}
|
124
|
+
|
125
|
+
|
126
|
+
.social-media-list {
|
127
|
+
list-style: none;
|
128
|
+
}
|
129
|
+
|
130
|
+
html,body {
|
131
|
+
font-family: 'Montserrat', sans-serif;
|
132
|
+
}
|
133
|
+
|
134
|
+
.container {
|
135
|
+
// max-width: 1250px;
|
136
|
+
// margin: 30px auto 30px;
|
137
|
+
padding: 0 !important;
|
138
|
+
width: 90%;
|
139
|
+
background-color: #fff;
|
140
|
+
box-shadow: 0 3px 6px rgba(0,0,0,0.10), 0 3px 6px rgba(0,0,0,0.10);
|
141
|
+
}
|
142
|
+
|
143
|
+
.site-header i {
|
144
|
+
position: relative;
|
145
|
+
cursor: pointer;
|
146
|
+
right: -96%;
|
147
|
+
top: 25px;
|
148
|
+
font-size: 18px !important;
|
149
|
+
color: #fff;
|
150
|
+
}
|
151
|
+
|
152
|
+
@media (max-width:800px) {
|
153
|
+
.site-header {
|
154
|
+
height: 150px;
|
155
|
+
}
|
156
|
+
.site-header i {
|
157
|
+
right: -90%;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
main {
|
162
|
+
padding: 20px 20px 0px 20px;
|
163
|
+
}
|
164
|
+
|
165
|
+
.left {
|
166
|
+
display: flex;
|
167
|
+
align-items: center;
|
168
|
+
justify-content: center;
|
169
|
+
flex-direction: column;
|
170
|
+
}
|
171
|
+
|
172
|
+
.photo {
|
173
|
+
width: 200px;
|
174
|
+
height: 200px;
|
175
|
+
margin-top: -120px;
|
176
|
+
border-radius: 100px;
|
177
|
+
border: 4px solid #fff;
|
178
|
+
}
|
179
|
+
|
180
|
+
.name {
|
181
|
+
margin-top: 20px;
|
182
|
+
font-family: "Open Sans";
|
183
|
+
font-weight: 600;
|
184
|
+
font-size: 18pt;
|
185
|
+
color: #777;
|
186
|
+
}
|
187
|
+
|
188
|
+
.info {
|
189
|
+
margin-top: -5px;
|
190
|
+
margin-bottom: 5px;
|
191
|
+
font-family: 'Montserrat', sans-serif;
|
192
|
+
font-size: 11pt;
|
193
|
+
color: #aaa;
|
194
|
+
}
|
195
|
+
|
196
|
+
.desc {
|
197
|
+
text-align: center;
|
198
|
+
margin-top: 25px;
|
199
|
+
margin: 25px 40px;
|
200
|
+
color: #999;
|
201
|
+
font-size: 11pt;
|
202
|
+
font-family: "Open Sans";
|
203
|
+
padding-bottom: 25px;
|
204
|
+
border-bottom: 1px solid #ededed;
|
205
|
+
}
|
206
|
+
|
207
|
+
.social {
|
208
|
+
margin: 5px 0 12px 0;
|
209
|
+
text-align: center;
|
210
|
+
display: inline-block;
|
211
|
+
font-size: 20pt;
|
212
|
+
ul {
|
213
|
+
float: left;
|
214
|
+
width: 100%;
|
215
|
+
li {
|
216
|
+
float: left;
|
217
|
+
margin-right: 10px;
|
218
|
+
a {
|
219
|
+
font-size: 16px;
|
220
|
+
}
|
221
|
+
}
|
222
|
+
}
|
223
|
+
}
|
224
|
+
|
225
|
+
.right {
|
226
|
+
padding: 0 25px 0 25px !important;
|
227
|
+
border-left: #e8e8e8 solid 1px;
|
228
|
+
}
|
229
|
+
|
230
|
+
@media screen and (max-width: 1366px) {
|
231
|
+
.right {
|
232
|
+
border-left: 0px;
|
233
|
+
}
|
234
|
+
}
|