doccoli-jekyll 0.1.0
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 +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +152 -0
- data/_includes/disqus_comments.html +20 -0
- data/_includes/footer.html +40 -0
- data/_includes/google-analytics.html +11 -0
- data/_includes/head.html +12 -0
- data/_includes/header.html +35 -0
- data/_includes/icon-facebook.html +1 -0
- data/_includes/icon-facebook.svg +1 -0
- data/_includes/icon-github.html +1 -0
- data/_includes/icon-github.svg +1 -0
- data/_includes/icon-twitter.html +1 -0
- data/_includes/icon-twitter.svg +1 -0
- data/_includes/sidebar.html +13 -0
- data/_layouts/default.html +27 -0
- data/_layouts/home.html +30 -0
- data/_layouts/page.html +17 -0
- data/_layouts/post.html +30 -0
- data/_sass/doccoli-jekyll.scss +6 -0
- data/_sass/scss/_base.scss +245 -0
- data/_sass/scss/_content.scss +3 -0
- data/_sass/scss/_footer.scss +37 -0
- data/_sass/scss/_header.scss +193 -0
- data/_sass/scss/_layout.scss +250 -0
- data/_sass/scss/_reusable.scss +560 -0
- data/_sass/scss/_sidebar.scss +43 -0
- data/_sass/scss/_syntax-highlighting.scss +202 -0
- data/assets/images/favicon.ico +0 -0
- data/assets/images/heart.svg +1 -0
- data/assets/images/logo.png +0 -0
- data/assets/images/logo.svg +1 -0
- data/assets/images/search.svg +4 -0
- data/assets/images/usa.svg +1 -0
- data/assets/main.scss +5 -0
- metadata +135 -0
@@ -0,0 +1,245 @@
|
|
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
|
+
* Basic styling
|
15
|
+
*/
|
16
|
+
body {
|
17
|
+
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
|
18
|
+
color: $text-color;
|
19
|
+
background-color: $background-color;
|
20
|
+
-webkit-text-size-adjust: 100%;
|
21
|
+
-webkit-font-feature-settings: "kern" 1;
|
22
|
+
-moz-font-feature-settings: "kern" 1;
|
23
|
+
-o-font-feature-settings: "kern" 1;
|
24
|
+
font-feature-settings: "kern" 1;
|
25
|
+
font-kerning: normal;
|
26
|
+
}
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
/**
|
31
|
+
* Set `margin-bottom` to maintain vertical rhythm
|
32
|
+
*/
|
33
|
+
h1, h2, h3, h4, h5, h6,
|
34
|
+
p, blockquote, pre,
|
35
|
+
ul, ol, dl, figure,
|
36
|
+
%vertical-rhythm {
|
37
|
+
margin-bottom: $spacing-unit / 2;
|
38
|
+
}
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
/**
|
43
|
+
* Images
|
44
|
+
*/
|
45
|
+
img {
|
46
|
+
max-width: 100%;
|
47
|
+
vertical-align: middle;
|
48
|
+
}
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
/**
|
53
|
+
* Figures
|
54
|
+
*/
|
55
|
+
figure > img {
|
56
|
+
display: block;
|
57
|
+
}
|
58
|
+
|
59
|
+
figcaption {
|
60
|
+
font-size: $small-font-size;
|
61
|
+
}
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
/**
|
66
|
+
* Lists
|
67
|
+
*/
|
68
|
+
ul, ol {
|
69
|
+
margin-left: $spacing-unit;
|
70
|
+
}
|
71
|
+
|
72
|
+
li {
|
73
|
+
> ul,
|
74
|
+
> ol {
|
75
|
+
margin-bottom: 0;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
/**
|
82
|
+
* Headings
|
83
|
+
*/
|
84
|
+
h1, h2, h3, h4, h5, h6 {
|
85
|
+
font-weight: $base-font-weight;
|
86
|
+
}
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
/**
|
91
|
+
* Links
|
92
|
+
*/
|
93
|
+
a {
|
94
|
+
color: $brand-color;
|
95
|
+
text-decoration: none;
|
96
|
+
|
97
|
+
&:visited {
|
98
|
+
color: darken($brand-color, 15%);
|
99
|
+
}
|
100
|
+
|
101
|
+
&:hover {
|
102
|
+
color: $text-color;
|
103
|
+
text-decoration: none;
|
104
|
+
}
|
105
|
+
|
106
|
+
.social-media-list &:hover {
|
107
|
+
text-decoration: none;
|
108
|
+
|
109
|
+
.username {
|
110
|
+
text-decoration: none;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
|
116
|
+
/**
|
117
|
+
* Blockquotes
|
118
|
+
*/
|
119
|
+
blockquote {
|
120
|
+
color: $grey-color;
|
121
|
+
border-left: 4px solid $grey-color-light;
|
122
|
+
padding-left: $spacing-unit / 2;
|
123
|
+
@include relative-font-size(1.125);
|
124
|
+
letter-spacing: -1px;
|
125
|
+
font-style: italic;
|
126
|
+
|
127
|
+
> :last-child {
|
128
|
+
margin-bottom: 0;
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
/**
|
135
|
+
* Code formatting
|
136
|
+
*/
|
137
|
+
pre,
|
138
|
+
code {
|
139
|
+
@include relative-font-size(0.9375);
|
140
|
+
border: 1px solid $grey-color-light;
|
141
|
+
border-radius: 3px;
|
142
|
+
background-color: #eef;
|
143
|
+
}
|
144
|
+
|
145
|
+
code {
|
146
|
+
padding: 1px 5px;
|
147
|
+
}
|
148
|
+
|
149
|
+
pre {
|
150
|
+
padding: 8px 12px;
|
151
|
+
overflow-x: auto;
|
152
|
+
|
153
|
+
> code {
|
154
|
+
border: 0;
|
155
|
+
padding-right: 0;
|
156
|
+
padding-left: 0;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
/**
|
163
|
+
* Wrapper
|
164
|
+
*/
|
165
|
+
.wrapper {
|
166
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
|
167
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
|
168
|
+
margin-right: auto;
|
169
|
+
margin-left: auto;
|
170
|
+
padding-right: $spacing-unit;
|
171
|
+
padding-left: $spacing-unit;
|
172
|
+
@extend %clearfix;
|
173
|
+
|
174
|
+
@include media-query($on-laptop) {
|
175
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
|
176
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit}));
|
177
|
+
padding-right: $spacing-unit / 2;
|
178
|
+
padding-left: $spacing-unit / 2;
|
179
|
+
}
|
180
|
+
}
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
/**
|
185
|
+
* Clearfix
|
186
|
+
*/
|
187
|
+
%clearfix:after {
|
188
|
+
content: "";
|
189
|
+
display: table;
|
190
|
+
clear: both;
|
191
|
+
}
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
/**
|
196
|
+
* Icons
|
197
|
+
*/
|
198
|
+
.icon > svg {
|
199
|
+
display: inline-block;
|
200
|
+
vertical-align: middle;
|
201
|
+
|
202
|
+
path {
|
203
|
+
fill: $grey-color;
|
204
|
+
}
|
205
|
+
}
|
206
|
+
|
207
|
+
.social-media-list {
|
208
|
+
.icon {
|
209
|
+
padding-right: 5px;
|
210
|
+
}
|
211
|
+
|
212
|
+
li + li {
|
213
|
+
padding-top: 5px;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
/**
|
220
|
+
* Tables
|
221
|
+
*/
|
222
|
+
table {
|
223
|
+
margin-bottom: $spacing-unit;
|
224
|
+
width: 100%;
|
225
|
+
text-align: $table-text-align;
|
226
|
+
color: lighten($text-color, 18%);
|
227
|
+
border-collapse: collapse;
|
228
|
+
border: 1px solid $grey-color-light;
|
229
|
+
tr {
|
230
|
+
&:nth-child(even) {
|
231
|
+
background-color: lighten($grey-color-light, 6%);
|
232
|
+
}
|
233
|
+
}
|
234
|
+
th, td {
|
235
|
+
padding: ($spacing-unit / 3) ($spacing-unit / 2);
|
236
|
+
}
|
237
|
+
th {
|
238
|
+
background-color: lighten($grey-color-light, 3%);
|
239
|
+
border: 1px solid darken($grey-color-light, 4%);
|
240
|
+
border-bottom-color: darken($grey-color-light, 12%);
|
241
|
+
}
|
242
|
+
td {
|
243
|
+
border: 1px solid $grey-color-light;
|
244
|
+
}
|
245
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/* Site footer */
|
2
|
+
|
3
|
+
.legend {
|
4
|
+
justify-content: center;
|
5
|
+
align-items: center;
|
6
|
+
background-position: bottom bottom;
|
7
|
+
background-repeat: no-repeat;
|
8
|
+
width: 100%;
|
9
|
+
height: 10vh;
|
10
|
+
font-size: 85%;
|
11
|
+
}
|
12
|
+
|
13
|
+
menu.foot-menu li {
|
14
|
+
margin: 3px;
|
15
|
+
a {
|
16
|
+
font-size: 90%;
|
17
|
+
padding: 0 10px;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.usa {
|
22
|
+
background-image: url('images/usa.svg');
|
23
|
+
background-position: center center;
|
24
|
+
background-repeat: no-repeat;
|
25
|
+
height: 20px;
|
26
|
+
width: 24px;
|
27
|
+
}
|
28
|
+
|
29
|
+
.heart {
|
30
|
+
background-image: url('images/heart.svg');
|
31
|
+
background-position: center center;
|
32
|
+
background-repeat: no-repeat;
|
33
|
+
height: 12px;
|
34
|
+
width: 16px;
|
35
|
+
display: inline-block;
|
36
|
+
background-size: cover;
|
37
|
+
}
|
@@ -0,0 +1,193 @@
|
|
1
|
+
/* Header */
|
2
|
+
|
3
|
+
.mast {
|
4
|
+
text-overflow: ellipsis;
|
5
|
+
width: 100%;
|
6
|
+
z-index: 19999;
|
7
|
+
}
|
8
|
+
|
9
|
+
.bar {
|
10
|
+
clear: both;
|
11
|
+
position: relative;
|
12
|
+
width: 100%;
|
13
|
+
height: 45px;
|
14
|
+
margin: 0 auto;
|
15
|
+
}
|
16
|
+
|
17
|
+
.sprite-up {
|
18
|
+
background-image: url(images/logo.svg);
|
19
|
+
background-position: 44px 44px;
|
20
|
+
}
|
21
|
+
|
22
|
+
.logo {
|
23
|
+
background-repeat: no-repeat;
|
24
|
+
height: 44px;
|
25
|
+
width: 65px;
|
26
|
+
background-position: center;
|
27
|
+
}
|
28
|
+
|
29
|
+
|
30
|
+
/* In-logo Ajax loader */
|
31
|
+
|
32
|
+
.loader {
|
33
|
+
animation: loading 1s linear infinite;
|
34
|
+
box-sizing: content-box;
|
35
|
+
width: 20px;
|
36
|
+
height: 20px;
|
37
|
+
border: 5px solid;
|
38
|
+
border-top-color: #f9ff00;
|
39
|
+
border-left-color: #ef730c;
|
40
|
+
border-bottom-color: #445aff;
|
41
|
+
border-right-color: #0da;
|
42
|
+
border-radius: 50%;
|
43
|
+
margin: 32px -44px;
|
44
|
+
}
|
45
|
+
|
46
|
+
@keyframes loading {
|
47
|
+
0% {
|
48
|
+
transform: translate(-9px, -25px) rotate(0deg);
|
49
|
+
}
|
50
|
+
100% {
|
51
|
+
transform: translate(-9px, -25px) rotate(360deg);
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
.offline {
|
56
|
+
-webkit-filter: grayscale(1);
|
57
|
+
filter: grayscale(1);
|
58
|
+
}
|
59
|
+
|
60
|
+
.offline.logo {
|
61
|
+
animation: loading 2s linear infinite;
|
62
|
+
box-sizing: content-box;
|
63
|
+
width: 20px;
|
64
|
+
height: 20px;
|
65
|
+
border: 5px solid;
|
66
|
+
border-left-color: transparent;
|
67
|
+
border-right-color: transparent;
|
68
|
+
border-radius: 50%;
|
69
|
+
margin: 32px 8px 0 24px;
|
70
|
+
}
|
71
|
+
|
72
|
+
.beta-label {
|
73
|
+
margin: 8px 0 0 -16px;
|
74
|
+
transform: rotate(90deg);
|
75
|
+
color: #777;
|
76
|
+
}
|
77
|
+
|
78
|
+
.page-label {
|
79
|
+
padding: 11px 15px;
|
80
|
+
width: 90px;
|
81
|
+
}
|
82
|
+
|
83
|
+
.navi-menu {
|
84
|
+
li {
|
85
|
+
a:hover,
|
86
|
+
&#active a:hover,
|
87
|
+
&.selected a:hover {
|
88
|
+
color: #1177ff;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
>menu li a {
|
92
|
+
display: block;
|
93
|
+
}
|
94
|
+
white-space: nowrap;
|
95
|
+
menu {
|
96
|
+
white-space: nowrap;
|
97
|
+
height: 45px;
|
98
|
+
}
|
99
|
+
li {
|
100
|
+
&#active {
|
101
|
+
background-position: left center;
|
102
|
+
background-repeat: no-repeat;
|
103
|
+
}
|
104
|
+
a {
|
105
|
+
/* font-weight: 700; */
|
106
|
+
line-height: 44px;
|
107
|
+
padding: 13px 20px;
|
108
|
+
color: #555;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
.bar-line {
|
114
|
+
border-bottom: 1px solid #eaeaea;
|
115
|
+
}
|
116
|
+
|
117
|
+
.element {
|
118
|
+
display: flex;
|
119
|
+
height: 44px;
|
120
|
+
padding: 0 10px;
|
121
|
+
align-items: center;
|
122
|
+
justify-content: center;
|
123
|
+
}
|
124
|
+
|
125
|
+
.divider {
|
126
|
+
border-left: 1px solid #eaeaea;
|
127
|
+
}
|
128
|
+
|
129
|
+
.transparent-white {
|
130
|
+
background-color: rgba(255, 255, 255, 0.85);
|
131
|
+
}
|
132
|
+
|
133
|
+
.super-small {
|
134
|
+
font-size: 70%;
|
135
|
+
}
|
136
|
+
|
137
|
+
.search {
|
138
|
+
width: 130px;
|
139
|
+
margin: 1px auto auto 9px;
|
140
|
+
padding: 0 0 0 26px;
|
141
|
+
height: 44px;
|
142
|
+
outline: 0 !important;
|
143
|
+
border: none;
|
144
|
+
display: block;
|
145
|
+
background: transparent none;
|
146
|
+
background-image: url(/assets/images/search.svg);
|
147
|
+
background-position-x: left;
|
148
|
+
background-position-y: center;
|
149
|
+
background-repeat: no-repeat;
|
150
|
+
background-size: 24px 24px;
|
151
|
+
}
|
152
|
+
|
153
|
+
ul#results-container {
|
154
|
+
position: absolute;
|
155
|
+
top: 45px;
|
156
|
+
left: 0;
|
157
|
+
li {
|
158
|
+
width: inherit;
|
159
|
+
display: flex;
|
160
|
+
margin-bottom: 1px;
|
161
|
+
background: white;
|
162
|
+
a {
|
163
|
+
color: #444;
|
164
|
+
background: #e9e9e9;
|
165
|
+
padding: 7px 10px;
|
166
|
+
width: inherit;
|
167
|
+
&:hover {
|
168
|
+
color: #1177FF;
|
169
|
+
border-color: #1177FF;
|
170
|
+
background-color: rgba(0, 100, 255, 0.1);
|
171
|
+
}
|
172
|
+
}
|
173
|
+
}
|
174
|
+
}
|
175
|
+
|
176
|
+
@media (orientation: portrait) {
|
177
|
+
body {
|
178
|
+
ul#results-container {
|
179
|
+
margin: 0 5vw;
|
180
|
+
width: 90vw;
|
181
|
+
}
|
182
|
+
}
|
183
|
+
}
|
184
|
+
|
185
|
+
@media (orientation: landscape) {
|
186
|
+
body {
|
187
|
+
ul#results-container {
|
188
|
+
margin: 0 85px;
|
189
|
+
width: 500px;
|
190
|
+
}
|
191
|
+
}
|
192
|
+
}
|
193
|
+
|