jekyll-lab-notebook 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.
@@ -0,0 +1,39 @@
1
+ #protocol-list {
2
+ display: none;
3
+ }
4
+
5
+ #misc-list {
6
+ display: none;
7
+ }
8
+
9
+ .postNav {
10
+ padding: 1em 0 1em 0;
11
+ margin: 1em 0 2em 0;
12
+ border-top: 1px solid #e6e6e6;
13
+ border-bottom: 1px solid #e6e6e6;
14
+ }
15
+
16
+ .postNav a{
17
+ text-transform: uppercase;
18
+ // text-align: center;
19
+ // padding: 2em 0 2em 0;
20
+ // margin: 2em;
21
+ }
22
+
23
+ .postNav .prev {
24
+ float: left;
25
+ }
26
+
27
+ .postNav .next {
28
+ float: right;
29
+ }
30
+
31
+ .cf:before,
32
+ .cf:after {
33
+ content: " "; /* 1 */
34
+ display: table; /* 2 */
35
+ }
36
+
37
+ .cf:after {
38
+ clear: both;
39
+ }
@@ -0,0 +1,73 @@
1
+ // http://blog.winddweb.info/implement-github-like-checkbox
2
+ .box,
3
+ .box_done,
4
+ .task-list-item {
5
+ list-style-type: none;
6
+ }
7
+
8
+ .task-list-item input {
9
+ margin: 0 0.2em 0.25em -1.6em;
10
+ vertical-align: middle;
11
+ }
12
+
13
+ .task-list-item+.task-list-item {
14
+ margin-top: 3px;
15
+ }
16
+
17
+ .alert-info {
18
+ color: #0c5460;
19
+ background-color: #d1ecf1;
20
+ border-color: #bee5eb;
21
+ }
22
+
23
+ .alert-info hr {
24
+ border-top-color: #abdde5;
25
+ }
26
+
27
+ .alert-info .alert-link {
28
+ color: #062c33;
29
+ }
30
+
31
+ .alert {
32
+ padding: 0.75rem 1.25rem 0 1.25em;
33
+ margin: 0.5em 0;
34
+ border: 1px solid transparent;
35
+ border-radius: 0.25rem;
36
+ }
37
+
38
+ .alert-heading {
39
+ color: inherit;
40
+ }
41
+
42
+ .alert-note {
43
+ color: #856404;
44
+ background-color: #fff3cd;
45
+ border-color: #ffeeba;
46
+ }
47
+
48
+ .alert-note hr {
49
+ border-top-color: #ffe8a1;
50
+ }
51
+
52
+ .alert-note .alert-link {
53
+ color: #533f03;
54
+ }
55
+
56
+ #calendar {
57
+ padding-bottom: 1.5rem;
58
+ }
59
+
60
+ .pdf-wrapper {
61
+ padding: 2rem 0;
62
+ }
63
+
64
+ .pdf-wrapper embed{
65
+ display: inline-block;
66
+ height: 500px;
67
+ width: 100%;
68
+ }
69
+
70
+ .pdf-wrapper .caption{
71
+ display: table;
72
+ margin: 0 auto;
73
+ }
@@ -0,0 +1,97 @@
1
+ // table code stolen from here: http://johnsardine.com/freebies/dl-html-css/simple-little-tab/
2
+ table a:link {
3
+ color: #666;
4
+ font-weight: bold;
5
+ text-decoration:none;
6
+ }
7
+ table a:visited {
8
+ color: #999999;
9
+ font-weight:bold;
10
+ text-decoration:none;
11
+ }
12
+ table a:active,
13
+ table a:hover {
14
+ color: #bd5a35;
15
+ text-decoration:underline;
16
+ }
17
+ table {
18
+ color:#666;
19
+ @include relative-font-size(0.8);
20
+ text-shadow: 1px 1px 0px #fff;
21
+ background:#eaebec;
22
+ border:#ccc 1px solid;
23
+ margin: 0em auto 2em auto;
24
+
25
+ -moz-border-radius:3px;
26
+ -webkit-border-radius:3px;
27
+ border-radius:3px;
28
+
29
+ -moz-box-shadow: 0 1px 2px #d1d1d1;
30
+ -webkit-box-shadow: 0 1px 2px #d1d1d1;
31
+ box-shadow: 0 1px 2px #d1d1d1;
32
+ }
33
+ table th {
34
+ // padding:10px 12px 10px 12px;
35
+ border-top:1px solid #fafafa;
36
+ border-bottom:1px solid #e0e0e0;
37
+
38
+ background: #ededed;
39
+ background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ebebeb));
40
+ background: -moz-linear-gradient(top, #ededed, #ebebeb);
41
+ }
42
+ table th:first-child {
43
+ text-align: left;
44
+ padding-left:10px;
45
+ }
46
+ table tr:first-child th:first-child {
47
+ -moz-border-radius-topleft:3px;
48
+ -webkit-border-top-left-radius:3px;
49
+ border-top-left-radius:3px;
50
+ }
51
+ table tr:first-child th:last-child {
52
+ -moz-border-radius-topright:3px;
53
+ -webkit-border-top-right-radius:3px;
54
+ border-top-right-radius:3px;
55
+ }
56
+ table tr {
57
+ text-align: center;
58
+ padding-left:10px;
59
+ }
60
+ table td:first-child {
61
+ text-align: left;
62
+ padding-left:10px;
63
+ border-left: 0;
64
+ }
65
+ table td {
66
+ padding:9px;
67
+ border-top: 1px solid #ffffff;
68
+ border-bottom:1px solid #e0e0e0;
69
+ border-left: 1px solid #e0e0e0;
70
+
71
+ background: #fafafa;
72
+ background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));
73
+ background: -moz-linear-gradient(top, #fbfbfb, #fafafa);
74
+ }
75
+ table tr.even td {
76
+ background: #f6f6f6;
77
+ background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f6f6f6));
78
+ background: -moz-linear-gradient(top, #f8f8f8, #f6f6f6);
79
+ }
80
+ table tr:last-child td {
81
+ border-bottom:0;
82
+ }
83
+ table tr:last-child td:first-child {
84
+ -moz-border-radius-bottomleft:3px;
85
+ -webkit-border-bottom-left-radius:3px;
86
+ border-bottom-left-radius:3px;
87
+ }
88
+ table tr:last-child td:last-child {
89
+ -moz-border-radius-bottomright:3px;
90
+ -webkit-border-bottom-right-radius:3px;
91
+ border-bottom-right-radius:3px;
92
+ }
93
+ table tr:hover td {
94
+ background: #f2f2f2;
95
+ background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0));
96
+ background: -moz-linear-gradient(top, #f2f2f2, #f0f0f0);
97
+ }
@@ -0,0 +1,215 @@
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: underline;
104
+ }
105
+
106
+ .social-media-list &:hover {
107
+ text-decoration: none;
108
+
109
+ .username {
110
+ text-decoration: underline;
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
+ }
@@ -0,0 +1,250 @@
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
+
9
+ // Positioning context for the mobile navigation icon
10
+ position: relative;
11
+ }
12
+
13
+ .site-title {
14
+ @include relative-font-size(1.625);
15
+ font-weight: 300;
16
+ line-height: $base-line-height * $base-font-size * 2.25;
17
+ letter-spacing: -1px;
18
+ margin-bottom: 0;
19
+ float: left;
20
+
21
+ &,
22
+ &:visited {
23
+ color: $grey-color-dark;
24
+ }
25
+ }
26
+
27
+ .site-nav {
28
+ float: right;
29
+ line-height: $base-line-height * $base-font-size * 2.25;
30
+
31
+ .nav-trigger {
32
+ display: none;
33
+ }
34
+
35
+ .menu-icon {
36
+ display: none;
37
+ }
38
+
39
+ .page-link {
40
+ color: $text-color;
41
+ line-height: $base-line-height;
42
+
43
+ // Gaps between nav items, but not on the last one
44
+ &:not(:last-child) {
45
+ margin-right: 20px;
46
+ }
47
+ }
48
+
49
+ @include media-query($on-palm) {
50
+ position: absolute;
51
+ top: 9px;
52
+ right: $spacing-unit / 2;
53
+ background-color: $background-color;
54
+ border: 1px solid $grey-color-light;
55
+ border-radius: 5px;
56
+ text-align: right;
57
+
58
+ label[for="nav-trigger"] {
59
+ display: block;
60
+ float: right;
61
+ width: 36px;
62
+ height: 36px;
63
+ z-index: 2;
64
+ cursor: pointer;
65
+ }
66
+
67
+ .menu-icon {
68
+ display: block;
69
+ float: right;
70
+ width: 36px;
71
+ height: 26px;
72
+ line-height: 0;
73
+ padding-top: 10px;
74
+ text-align: center;
75
+
76
+ > svg path {
77
+ fill: $grey-color-dark;
78
+ }
79
+ }
80
+
81
+ input ~ .trigger {
82
+ clear: both;
83
+ display: none;
84
+ }
85
+
86
+ input:checked ~ .trigger {
87
+ display: block;
88
+ padding-bottom: 5px;
89
+ }
90
+
91
+ .page-link {
92
+ display: block;
93
+ padding: 5px 10px;
94
+
95
+ &:not(:last-child) {
96
+ margin-right: 0;
97
+ }
98
+ margin-left: 20px;
99
+ }
100
+ }
101
+ }
102
+
103
+
104
+
105
+ /**
106
+ * Site footer
107
+ */
108
+ .site-footer {
109
+ border-top: 1px solid $grey-color-light;
110
+ padding: $spacing-unit 0;
111
+ }
112
+
113
+ .footer-heading {
114
+ @include relative-font-size(1.125);
115
+ margin-bottom: $spacing-unit / 2;
116
+ }
117
+
118
+ .contact-list,
119
+ .social-media-list {
120
+ list-style: none;
121
+ margin-left: 0;
122
+ }
123
+
124
+ .footer-col-wrapper {
125
+ @include relative-font-size(0.9375);
126
+ color: $grey-color;
127
+ margin-left: -$spacing-unit / 2;
128
+ @extend %clearfix;
129
+ }
130
+
131
+ .footer-col {
132
+ float: left;
133
+ margin-bottom: $spacing-unit / 2;
134
+ padding-left: $spacing-unit / 2;
135
+ }
136
+
137
+ .footer-col-1 {
138
+ width: -webkit-calc(35% - (#{$spacing-unit} / 2));
139
+ width: calc(35% - (#{$spacing-unit} / 2));
140
+ }
141
+
142
+ .footer-col-2 {
143
+ width: -webkit-calc(20% - (#{$spacing-unit} / 2));
144
+ width: calc(20% - (#{$spacing-unit} / 2));
145
+ }
146
+
147
+ .footer-col-3 {
148
+ width: -webkit-calc(45% - (#{$spacing-unit} / 2));
149
+ width: calc(45% - (#{$spacing-unit} / 2));
150
+ }
151
+
152
+ @include media-query($on-laptop) {
153
+ .footer-col-1,
154
+ .footer-col-2 {
155
+ width: -webkit-calc(50% - (#{$spacing-unit} / 2));
156
+ width: calc(50% - (#{$spacing-unit} / 2));
157
+ }
158
+
159
+ .footer-col-3 {
160
+ width: -webkit-calc(100% - (#{$spacing-unit} / 2));
161
+ width: calc(100% - (#{$spacing-unit} / 2));
162
+ }
163
+ }
164
+
165
+ @include media-query($on-palm) {
166
+ .footer-col {
167
+ float: none;
168
+ width: -webkit-calc(100% - (#{$spacing-unit} / 2));
169
+ width: calc(100% - (#{$spacing-unit} / 2));
170
+ }
171
+ }
172
+
173
+
174
+
175
+ /**
176
+ * Page content
177
+ */
178
+ .page-content {
179
+ padding: $spacing-unit 0;
180
+ }
181
+
182
+ .page-heading {
183
+ @include relative-font-size(1.25);
184
+ }
185
+
186
+ .post-list {
187
+ margin-left: 0;
188
+ list-style: none;
189
+
190
+ > li {
191
+ margin-bottom: $spacing-unit;
192
+ }
193
+ }
194
+
195
+ .post-meta {
196
+ font-size: $small-font-size;
197
+ color: $grey-color;
198
+ }
199
+
200
+ .post-link {
201
+ display: block;
202
+ @include relative-font-size(1.5);
203
+ }
204
+
205
+
206
+
207
+ /**
208
+ * Posts
209
+ */
210
+ .post-header {
211
+ margin-bottom: $spacing-unit;
212
+ }
213
+
214
+ .post-title {
215
+ @include relative-font-size(2.625);
216
+ letter-spacing: -1px;
217
+ line-height: 1;
218
+
219
+ @include media-query($on-laptop) {
220
+ @include relative-font-size(2.25);
221
+ }
222
+ }
223
+
224
+ .post-content {
225
+ margin-bottom: $spacing-unit;
226
+
227
+ h2 {
228
+ @include relative-font-size(2);
229
+
230
+ @include media-query($on-laptop) {
231
+ @include relative-font-size(1.75);
232
+ }
233
+ }
234
+
235
+ h3 {
236
+ @include relative-font-size(1.625);
237
+
238
+ @include media-query($on-laptop) {
239
+ @include relative-font-size(1.375);
240
+ }
241
+ }
242
+
243
+ h4 {
244
+ @include relative-font-size(1.25);
245
+
246
+ @include media-query($on-laptop) {
247
+ @include relative-font-size(1.125);
248
+ }
249
+ }
250
+ }