analytics-link 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,41 @@
1
+ // Clearfix
2
+ @mixin clearfix() {
3
+ &::after,
4
+ ::before {
5
+ content: "";
6
+ display: table;
7
+ clear: both;
8
+ }
9
+ }
10
+
11
+ // Reset lists
12
+ @mixin list-reset() {
13
+ list-style-type: none;
14
+ margin: 0;
15
+ padding: 0;
16
+ }
17
+
18
+ // Screen reader text
19
+ @mixin screen-reader() {
20
+ clip: rect(1px, 1px, 1px, 1px);
21
+ height: 1px;
22
+ overflow: hidden;
23
+ position: absolute !important;
24
+ width: 1px;
25
+ word-wrap: normal !important;
26
+ }
27
+
28
+ // Usage:
29
+ // @include skew(25,10);
30
+ // @include transform-origin(top left);
31
+ @mixin transform($transforms) {
32
+ -moz-transform: $transforms;
33
+ -o-transform: $transforms;
34
+ -ms-transform: $transforms;
35
+ -webkit-transform: $transforms;
36
+ transform: $transforms;
37
+ }
38
+
39
+ @mixin scale($scale) {
40
+ @include transform(scale($scale));
41
+ }
@@ -0,0 +1,341 @@
1
+ /*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
2
+
3
+ /* Document
4
+ ========================================================================== */
5
+
6
+ /**
7
+ * 1. Correct the line height in all browsers.
8
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
9
+ */
10
+
11
+ html {
12
+ line-height: 1.15; /* 1 */
13
+ -webkit-text-size-adjust: 100%; /* 2 */
14
+ }
15
+
16
+ /* Sections
17
+ ========================================================================== */
18
+
19
+ /**
20
+ * Remove the margin in all browsers.
21
+ */
22
+
23
+ body {
24
+ margin: 0;
25
+ }
26
+
27
+ /**
28
+ * Correct the font size and margin on `h1` elements within `section` and
29
+ * `article` contexts in Chrome, Firefox, and Safari.
30
+ */
31
+
32
+ h1 {
33
+ font-size: 2em;
34
+ margin: 0.67em 0;
35
+ }
36
+
37
+ /* Grouping content
38
+ ========================================================================== */
39
+
40
+ /**
41
+ * 1. Add the correct box sizing in Firefox.
42
+ * 2. Show the overflow in Edge and IE.
43
+ */
44
+
45
+ hr {
46
+ box-sizing: content-box; /* 1 */
47
+ height: 0; /* 1 */
48
+ overflow: visible; /* 2 */
49
+ }
50
+
51
+ /**
52
+ * 1. Correct the inheritance and scaling of font size in all browsers.
53
+ * 2. Correct the odd `em` font sizing in all browsers.
54
+ */
55
+
56
+ pre {
57
+ font-family: monospace, monospace; /* 1 */
58
+ font-size: 1em; /* 2 */
59
+ }
60
+
61
+ /* Text-level semantics
62
+ ========================================================================== */
63
+
64
+ /**
65
+ * Remove the gray background on active links in IE 10.
66
+ */
67
+
68
+ a {
69
+ background-color: transparent;
70
+ }
71
+
72
+ /**
73
+ * 1. Remove the bottom border in Chrome 57-
74
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
75
+ */
76
+
77
+ abbr[title] {
78
+ border-bottom: none; /* 1 */
79
+ text-decoration: underline; /* 2 */
80
+ text-decoration: underline dotted; /* 2 */
81
+ }
82
+
83
+ /**
84
+ * Add the correct font weight in Chrome, Edge, and Safari.
85
+ */
86
+
87
+ b,
88
+ strong {
89
+ font-weight: bolder;
90
+ }
91
+
92
+ /**
93
+ * 1. Correct the inheritance and scaling of font size in all browsers.
94
+ * 2. Correct the odd `em` font sizing in all browsers.
95
+ */
96
+
97
+ code,
98
+ kbd,
99
+ samp {
100
+ font-family: monospace, monospace; /* 1 */
101
+ font-size: 1em; /* 2 */
102
+ }
103
+
104
+ /**
105
+ * Add the correct font size in all browsers.
106
+ */
107
+
108
+ small {
109
+ font-size: 80%;
110
+ }
111
+
112
+ /**
113
+ * Prevent `sub` and `sup` elements from affecting the line height in
114
+ * all browsers.
115
+ */
116
+
117
+ sub,
118
+ sup {
119
+ font-size: 75%;
120
+ line-height: 0;
121
+ position: relative;
122
+ vertical-align: baseline;
123
+ }
124
+
125
+ sub {
126
+ bottom: -0.25em;
127
+ }
128
+
129
+ sup {
130
+ top: -0.5em;
131
+ }
132
+
133
+ /* Embedded content
134
+ ========================================================================== */
135
+
136
+ /**
137
+ * Remove the border on images inside links in IE 10.
138
+ */
139
+
140
+ img {
141
+ border-style: none;
142
+ }
143
+
144
+ /* Forms
145
+ ========================================================================== */
146
+
147
+ /**
148
+ * 1. Change the font styles in all browsers.
149
+ * 2. Remove the margin in Firefox and Safari.
150
+ */
151
+
152
+ button,
153
+ input,
154
+ optgroup,
155
+ select,
156
+ textarea {
157
+ font-family: inherit; /* 1 */
158
+ font-size: 100%; /* 1 */
159
+ line-height: 1.15; /* 1 */
160
+ margin: 0; /* 2 */
161
+ }
162
+
163
+ /**
164
+ * Show the overflow in IE.
165
+ * 1. Show the overflow in Edge.
166
+ */
167
+
168
+ button,
169
+ input { /* 1 */
170
+ overflow: visible;
171
+ }
172
+
173
+ /**
174
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
175
+ * 1. Remove the inheritance of text transform in Firefox.
176
+ */
177
+
178
+ button,
179
+ select { /* 1 */
180
+ text-transform: none;
181
+ }
182
+
183
+ /**
184
+ * Correct the inability to style clickable types in iOS and Safari.
185
+ */
186
+
187
+ button,
188
+ [type="button"],
189
+ [type="reset"],
190
+ [type="submit"] {
191
+ -webkit-appearance: button;
192
+ }
193
+
194
+ /**
195
+ * Remove the inner border and padding in Firefox.
196
+ */
197
+
198
+ button::-moz-focus-inner,
199
+ [type="button"]::-moz-focus-inner,
200
+ [type="reset"]::-moz-focus-inner,
201
+ [type="submit"]::-moz-focus-inner {
202
+ border-style: none;
203
+ padding: 0;
204
+ }
205
+
206
+ /**
207
+ * Restore the focus styles unset by the previous rule.
208
+ */
209
+
210
+ button:-moz-focusring,
211
+ [type="button"]:-moz-focusring,
212
+ [type="reset"]:-moz-focusring,
213
+ [type="submit"]:-moz-focusring {
214
+ outline: 1px dotted ButtonText;
215
+ }
216
+
217
+ /**
218
+ * Correct the padding in Firefox.
219
+ */
220
+
221
+ fieldset {
222
+ padding: 0.35em 0.75em 0.625em;
223
+ }
224
+
225
+ /**
226
+ * 1. Correct the text wrapping in Edge and IE.
227
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
228
+ * 3. Remove the padding so developers are not caught out when they zero out
229
+ * `fieldset` elements in all browsers.
230
+ */
231
+
232
+ legend {
233
+ box-sizing: border-box; /* 1 */
234
+ color: inherit; /* 2 */
235
+ display: table; /* 1 */
236
+ max-width: 100%; /* 1 */
237
+ padding: 0; /* 3 */
238
+ white-space: normal; /* 1 */
239
+ }
240
+
241
+ /**
242
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
243
+ */
244
+
245
+ progress {
246
+ vertical-align: baseline;
247
+ }
248
+
249
+ /**
250
+ * Remove the default vertical scrollbar in IE 10+.
251
+ */
252
+
253
+ textarea {
254
+ overflow: auto;
255
+ }
256
+
257
+ /**
258
+ * 1. Add the correct box sizing in IE 10.
259
+ * 2. Remove the padding in IE 10.
260
+ */
261
+
262
+ [type="checkbox"],
263
+ [type="radio"] {
264
+ box-sizing: border-box; /* 1 */
265
+ padding: 0; /* 2 */
266
+ }
267
+
268
+ /**
269
+ * Correct the cursor style of increment and decrement buttons in Chrome.
270
+ */
271
+
272
+ [type="number"]::-webkit-inner-spin-button,
273
+ [type="number"]::-webkit-outer-spin-button {
274
+ height: auto;
275
+ }
276
+
277
+ /**
278
+ * 1. Correct the odd appearance in Chrome and Safari.
279
+ * 2. Correct the outline style in Safari.
280
+ */
281
+
282
+ [type="search"] {
283
+ -webkit-appearance: textfield; /* 1 */
284
+ outline-offset: -2px; /* 2 */
285
+ }
286
+
287
+ /**
288
+ * Remove the inner padding in Chrome and Safari on macOS.
289
+ */
290
+
291
+ [type="search"]::-webkit-search-decoration {
292
+ -webkit-appearance: none;
293
+ }
294
+
295
+ /**
296
+ * 1. Correct the inability to style clickable types in iOS and Safari.
297
+ * 2. Change font properties to `inherit` in Safari.
298
+ */
299
+
300
+ ::-webkit-file-upload-button {
301
+ -webkit-appearance: button; /* 1 */
302
+ font: inherit; /* 2 */
303
+ }
304
+
305
+ /* Interactive
306
+ ========================================================================== */
307
+
308
+ /*
309
+ * Add the correct display in Edge, IE 10+, and Firefox.
310
+ */
311
+
312
+ details {
313
+ display: block;
314
+ }
315
+
316
+ /*
317
+ * Add the correct display in all browsers.
318
+ */
319
+
320
+ summary {
321
+ display: list-item;
322
+ }
323
+
324
+ /* Misc
325
+ ========================================================================== */
326
+
327
+ /**
328
+ * Add the correct display in IE 10+.
329
+ */
330
+
331
+ template {
332
+ display: none;
333
+ }
334
+
335
+ /**
336
+ * Add the correct display in IE 10.
337
+ */
338
+
339
+ [hidden] {
340
+ display: none;
341
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * A very simple reset that sits on top of Normalize.css.
3
+ */
4
+
5
+ body,
6
+ h1, h2, h3, h4, h5, h6,
7
+ p, blockquote, pre,
8
+ dl, dd, ol, ul,
9
+ fieldset, legend,
10
+ figure,
11
+ hr {
12
+ margin: 0;
13
+ padding: 0;
14
+ }
15
+
16
+
17
+ /**
18
+ * Remove trailing margins from nested lists.
19
+ */
20
+
21
+ li > {
22
+
23
+ ul,
24
+ ol {
25
+ margin-bottom: 0;
26
+ }
27
+
28
+ }
29
+
30
+
31
+ /**
32
+ * Remove default table spacing.
33
+ */
34
+
35
+ table {
36
+ border-collapse: collapse;
37
+ border-spacing: 0;
38
+ }
@@ -0,0 +1,15 @@
1
+ h1, h2, h3, h4, h5, h6,
2
+ ul, ol, dl,
3
+ blockquote, p, address,
4
+ hr,
5
+ table,
6
+ fieldset, figure,
7
+ pre {
8
+ margin-bottom: $base-spacing-unit;
9
+ }
10
+
11
+
12
+ ul, ol,
13
+ dd {
14
+ margin-left: $base-spacing-unit;
15
+ }
@@ -0,0 +1,324 @@
1
+ /*
2
+ Syntax Highlighting
3
+ */
4
+
5
+ div.highlighter-rouge,
6
+ figure.highlight {
7
+ position: relative;
8
+ margin-bottom: 1em;
9
+ background: $base00;
10
+ color: $base05;
11
+ font-family: $monospace;
12
+ font-size: $type-size;
13
+ line-height: 1.8;
14
+ border-radius: $border-radius;
15
+
16
+ > pre,
17
+ pre.highlight {
18
+ margin: 0;
19
+ padding: 1em;
20
+ }
21
+ }
22
+
23
+ .highlight table {
24
+ margin-bottom: 0;
25
+ font-size: 1em;
26
+ border: 0;
27
+
28
+ td {
29
+ padding: 0;
30
+ width: calc(100% - 1em);
31
+ border: 0;
32
+
33
+ /* line numbers*/
34
+ &.gutter,
35
+ &.rouge-gutter {
36
+ padding-right: 1em;
37
+ width: 1em;
38
+ color: $base04;
39
+ border-right: 1px solid $base04;
40
+ text-align: right;
41
+ }
42
+
43
+ /* code */
44
+ &.code,
45
+ &.rouge-code {
46
+ padding-left: 1em;
47
+ }
48
+ }
49
+
50
+ pre {
51
+ margin: 0;
52
+ }
53
+ }
54
+
55
+ .highlight pre {
56
+ width: 100%;
57
+ }
58
+
59
+ .highlight .hll {
60
+ background-color: $base06;
61
+ }
62
+ .highlight {
63
+ .c {
64
+ /* Comment */
65
+ color: $base04;
66
+ }
67
+ .err {
68
+ /* Error */
69
+ color: $base08;
70
+ }
71
+ .k {
72
+ /* Keyword */
73
+ color: $base0e;
74
+ }
75
+ .l {
76
+ /* Literal */
77
+ color: $base09;
78
+ }
79
+ .n {
80
+ /* Name */
81
+ color: $base05;
82
+ }
83
+ .o {
84
+ /* Operator */
85
+ color: $base0c;
86
+ }
87
+ .p {
88
+ /* Punctuation */
89
+ color: $base05;
90
+ }
91
+ .cm {
92
+ /* Comment.Multiline */
93
+ color: $base04;
94
+ }
95
+ .cp {
96
+ /* Comment.Preproc */
97
+ color: $base04;
98
+ }
99
+ .c1 {
100
+ /* Comment.Single */
101
+ color: $base04;
102
+ }
103
+ .cs {
104
+ /* Comment.Special */
105
+ color: $base04;
106
+ }
107
+ .gd {
108
+ /* Generic.Deleted */
109
+ color: $base08;
110
+ }
111
+ .ge {
112
+ /* Generic.Emph */
113
+ font-style: italic;
114
+ }
115
+ .gh {
116
+ /* Generic.Heading */
117
+ color: $base05;
118
+ font-weight: bold;
119
+ }
120
+ .gi {
121
+ /* Generic.Inserted */
122
+ color: $base0b;
123
+ }
124
+ .gp {
125
+ /* Generic.Prompt */
126
+ color: $base04;
127
+ font-weight: bold;
128
+ }
129
+ .gs {
130
+ /* Generic.Strong */
131
+ font-weight: bold;
132
+ }
133
+ .gu {
134
+ /* Generic.Subheading */
135
+ color: $base0c;
136
+ font-weight: bold;
137
+ }
138
+ .kc {
139
+ /* Keyword.Constant */
140
+ color: $base0e;
141
+ }
142
+ .kd {
143
+ /* Keyword.Declaration */
144
+ color: $base0e;
145
+ }
146
+ .kn {
147
+ /* Keyword.Namespace */
148
+ color: $base0c;
149
+ }
150
+ .kp {
151
+ /* Keyword.Pseudo */
152
+ color: $base0e;
153
+ }
154
+ .kr {
155
+ /* Keyword.Reserved */
156
+ color: $base0e;
157
+ }
158
+ .kt {
159
+ /* Keyword.Type */
160
+ color: $base0a;
161
+ }
162
+ .ld {
163
+ /* Literal.Date */
164
+ color: $base0b;
165
+ }
166
+ .m {
167
+ /* Literal.Number */
168
+ color: $base09;
169
+ }
170
+ .s {
171
+ /* Literal.String */
172
+ color: $base0b;
173
+ }
174
+ .na {
175
+ /* Name.Attribute */
176
+ color: $base0d;
177
+ }
178
+ .nb {
179
+ /* Name.Builtin */
180
+ color: $base05;
181
+ }
182
+ .nc {
183
+ /* Name.Class */
184
+ color: $base0a;
185
+ }
186
+ .no {
187
+ /* Name.Constant */
188
+ color: $base08;
189
+ }
190
+ .nd {
191
+ /* Name.Decorator */
192
+ color: $base0c;
193
+ }
194
+ .ni {
195
+ /* Name.Entity */
196
+ color: $base05;
197
+ }
198
+ .ne {
199
+ /* Name.Exception */
200
+ color: $base08;
201
+ }
202
+ .nf {
203
+ /* Name.Function */
204
+ color: $base0d;
205
+ }
206
+ .nl {
207
+ /* Name.Label */
208
+ color: $base05;
209
+ }
210
+ .nn {
211
+ /* Name.Namespace */
212
+ color: $base0a;
213
+ }
214
+ .nx {
215
+ /* Name.Other */
216
+ color: $base0d;
217
+ }
218
+ .py {
219
+ /* Name.Property */
220
+ color: $base05;
221
+ }
222
+ .nt {
223
+ /* Name.Tag */
224
+ color: $base0c;
225
+ }
226
+ .nv {
227
+ /* Name.Variable */
228
+ color: $base08;
229
+ }
230
+ .ow {
231
+ /* Operator.Word */
232
+ color: $base0c;
233
+ }
234
+ .w {
235
+ /* Text.Whitespace */
236
+ color: $base05;
237
+ }
238
+ .mf {
239
+ /* Literal.Number.Float */
240
+ color: $base09;
241
+ }
242
+ .mh {
243
+ /* Literal.Number.Hex */
244
+ color: $base09;
245
+ }
246
+ .mi {
247
+ /* Literal.Number.Integer */
248
+ color: $base09;
249
+ }
250
+ .mo {
251
+ /* Literal.Number.Oct */
252
+ color: $base09;
253
+ }
254
+ .sb {
255
+ /* Literal.String.Backtick */
256
+ color: $base0b;
257
+ }
258
+ .sc {
259
+ /* Literal.String.Char */
260
+ color: $base05;
261
+ }
262
+ .sd {
263
+ /* Literal.String.Doc */
264
+ color: $base04;
265
+ }
266
+ .s2 {
267
+ /* Literal.String.Double */
268
+ color: $base0b;
269
+ }
270
+ .se {
271
+ /* Literal.String.Escape */
272
+ color: $base09;
273
+ }
274
+ .sh {
275
+ /* Literal.String.Heredoc */
276
+ color: $base0b;
277
+ }
278
+ .si {
279
+ /* Literal.String.Interpol */
280
+ color: $base09;
281
+ }
282
+ .sx {
283
+ /* Literal.String.Other */
284
+ color: $base0b;
285
+ }
286
+ .sr {
287
+ /* Literal.String.Regex */
288
+ color: $base0b;
289
+ }
290
+ .s1 {
291
+ /* Literal.String.Single */
292
+ color: $base0b;
293
+ }
294
+ .ss {
295
+ /* Literal.String.Symbol */
296
+ color: $base0b;
297
+ }
298
+ .bp {
299
+ /* Name.Builtin.Pseudo */
300
+ color: $base05;
301
+ }
302
+ .vc {
303
+ /* Name.Variable.Class */
304
+ color: $base08;
305
+ }
306
+ .vg {
307
+ /* Name.Variable.Global */
308
+ color: $base08;
309
+ }
310
+ .vi {
311
+ /* Name.Variable.Instance */
312
+ color: $base08;
313
+ }
314
+ .il {
315
+ /* Literal.Number.Integer.Long */
316
+ color: $base09;
317
+ }
318
+ }
319
+
320
+ .gist {
321
+ th, td {
322
+ border-bottom: 0;
323
+ }
324
+ }