oscailte 3.0.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.
Files changed (76) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +175 -0
  4. data/_includes/comments.html +21 -0
  5. data/_includes/footer.html +10 -0
  6. data/_includes/google-analytics.html +11 -0
  7. data/_includes/head.html +12 -0
  8. data/_includes/header.html +17 -0
  9. data/_includes/hero.html +17 -0
  10. data/_includes/icon.html +2 -0
  11. data/_includes/navigation.html +18 -0
  12. data/_includes/social.html +17 -0
  13. data/_includes/strings.html +9 -0
  14. data/_layouts/core.html +28 -0
  15. data/_layouts/default.html +7 -0
  16. data/_layouts/home.html +44 -0
  17. data/_layouts/page.html +5 -0
  18. data/_layouts/post.html +38 -0
  19. data/_sass/_oscailte.scss +147 -0
  20. data/_sass/oscailte/components/_button.scss +11 -0
  21. data/_sass/oscailte/components/_card.scss +19 -0
  22. data/_sass/oscailte/components/_footer.scss +22 -0
  23. data/_sass/oscailte/components/_header.scss +51 -0
  24. data/_sass/oscailte/components/_hero.scss +85 -0
  25. data/_sass/oscailte/components/_icon.scss +7 -0
  26. data/_sass/oscailte/components/_navigation.scss +32 -0
  27. data/_sass/oscailte/components/_recentposts.scss +59 -0
  28. data/_sass/oscailte/components/_skipnav.scss +11 -0
  29. data/_sass/oscailte/components/_social.scss +55 -0
  30. data/_sass/oscailte/components/_syntax.scss +72 -0
  31. data/_sass/oscailte/elements/_blockquote.scss +6 -0
  32. data/_sass/oscailte/elements/_body.scss +6 -0
  33. data/_sass/oscailte/elements/_code.scss +19 -0
  34. data/_sass/oscailte/elements/_headings.scss +15 -0
  35. data/_sass/oscailte/elements/_hr.scss +4 -0
  36. data/_sass/oscailte/elements/_html.scss +9 -0
  37. data/_sass/oscailte/elements/_img.scss +3 -0
  38. data/_sass/oscailte/elements/_links.scss +3 -0
  39. data/_sass/oscailte/generic/_font-face.scss +63 -0
  40. data/_sass/oscailte/generic/_lobotomised-owl.scss +3 -0
  41. data/_sass/oscailte/generic/_modern-normalize.scss +273 -0
  42. data/_sass/oscailte/layout/_container.scss +5 -0
  43. data/_sass/oscailte/layout/_home.scss +0 -0
  44. data/_sass/oscailte/layout/_post.scss +14 -0
  45. data/_sass/oscailte/layout/_stickyfooter.scss +11 -0
  46. data/_sass/oscailte/objects/_circuited.scss +6 -0
  47. data/_sass/oscailte/objects/_lists.scss +11 -0
  48. data/_sass/oscailte/objects/_muted.scss +3 -0
  49. data/_sass/oscailte/objects/_no-owl.scss +3 -0
  50. data/_sass/oscailte/tools/_functions.scss +27 -0
  51. data/_sass/oscailte/tools/_mixins.scss +29 -0
  52. data/assets/css/main.scss +5 -0
  53. data/assets/oscailte/fonts/lato-v16-latin-regular.eot +0 -0
  54. data/assets/oscailte/fonts/lato-v16-latin-regular.svg +435 -0
  55. data/assets/oscailte/fonts/lato-v16-latin-regular.ttf +0 -0
  56. data/assets/oscailte/fonts/lato-v16-latin-regular.woff +0 -0
  57. data/assets/oscailte/fonts/lato-v16-latin-regular.woff2 +0 -0
  58. data/assets/oscailte/fonts/merriweather-v21-latin-700.eot +0 -0
  59. data/assets/oscailte/fonts/merriweather-v21-latin-700.svg +375 -0
  60. data/assets/oscailte/fonts/merriweather-v21-latin-700.ttf +0 -0
  61. data/assets/oscailte/fonts/merriweather-v21-latin-700.woff +0 -0
  62. data/assets/oscailte/fonts/merriweather-v21-latin-700.woff2 +0 -0
  63. data/assets/oscailte/fonts/merriweather-v21-latin-italic.eot +0 -0
  64. data/assets/oscailte/fonts/merriweather-v21-latin-italic.svg +390 -0
  65. data/assets/oscailte/fonts/merriweather-v21-latin-italic.ttf +0 -0
  66. data/assets/oscailte/fonts/merriweather-v21-latin-italic.woff +0 -0
  67. data/assets/oscailte/fonts/merriweather-v21-latin-italic.woff2 +0 -0
  68. data/assets/oscailte/fonts/merriweather-v21-latin-regular.eot +0 -0
  69. data/assets/oscailte/fonts/merriweather-v21-latin-regular.svg +374 -0
  70. data/assets/oscailte/fonts/merriweather-v21-latin-regular.ttf +0 -0
  71. data/assets/oscailte/fonts/merriweather-v21-latin-regular.woff +0 -0
  72. data/assets/oscailte/fonts/merriweather-v21-latin-regular.woff2 +0 -0
  73. data/assets/oscailte/img/avatar.png +0 -0
  74. data/assets/oscailte/img/hero_matrix.png +0 -0
  75. data/assets/oscailte/img/icons.svg +62 -0
  76. metadata +202 -0
@@ -0,0 +1,11 @@
1
+ .SkipNav {
2
+ margin: 0;
3
+ padding: 0;
4
+ position: absolute;
5
+ top: 0;
6
+ transform: translateY(-100vh);
7
+
8
+ &:focus {
9
+ transform: translateY(0);
10
+ }
11
+ }
@@ -0,0 +1,55 @@
1
+ .Social {
2
+ &__list {
3
+ display: flex;
4
+ flex-wrap: wrap;
5
+ gap: calc(var(--site-owl-spacing) / 2);
6
+ justify-content: center;
7
+ }
8
+
9
+ &__item {
10
+ font-size: 2em;
11
+
12
+ @each $site, $color in $social-map {
13
+ &--#{$site} {
14
+ background-color: $color;
15
+ color: auto-contrast($color);
16
+ }
17
+ }
18
+ }
19
+
20
+ &__link {
21
+ color: inherit;
22
+ display: block;
23
+ line-height: 1;
24
+ overflow: hidden;
25
+ padding: 0.2em;
26
+ text-decoration: none;
27
+ z-index: 1;
28
+
29
+ &:hover {
30
+ .Icon {
31
+ transform: scale(1.15) rotate(10deg);
32
+ }
33
+ }
34
+ }
35
+
36
+ .Icon {
37
+ transition: all 120ms ease-out;
38
+ vertical-align: top;
39
+ }
40
+ }
41
+
42
+ @include breakpoint("medium") {
43
+ .Social {
44
+ margin-top: 0;
45
+ }
46
+
47
+ .Social__list {
48
+ display: grid;
49
+ grid-template: auto / repeat(5, auto);
50
+ }
51
+
52
+ .Icon {
53
+ font-size: 1em;
54
+ }
55
+ }
@@ -0,0 +1,72 @@
1
+ figure.highlight {
2
+ margin-left: 0;
3
+ margin-right: 0;
4
+ }
5
+ /* Adjusted to give override background and text colour */
6
+ .highlight pre, pre, .highlight .hll {
7
+ background-color: #222;
8
+ border: 1px solid #ccc;
9
+ border-radius: 3px;
10
+ color: #fff;
11
+ overflow: auto;
12
+ padding: var(--site-owl-spacing);
13
+ }
14
+ /* Highlights taken from https://gist.github.com/asaaki/1007420 for Monokai theme */
15
+ .highlight .c { color: #75715e } /* Comment */
16
+ .highlight .err { color: #960050; background-color: #1e0010 } /* Error */
17
+ .highlight .k { color: #66d9ef } /* Keyword */
18
+ .highlight .l { color: #ae81ff } /* Literal */
19
+ .highlight .n { color: #f8f8f2 } /* Name */
20
+ .highlight .o { color: #f92672 } /* Operator */
21
+ .highlight .p { color: #f8f8f2 } /* Punctuation */
22
+ .highlight .cm { color: #75715e } /* Comment.Multiline */
23
+ .highlight .cp { color: #75715e } /* Comment.Preproc */
24
+ .highlight .c1 { color: #75715e } /* Comment.Single */
25
+ .highlight .cs { color: #75715e } /* Comment.Special */
26
+ .highlight .ge { font-style: italic } /* Generic.Emph */
27
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
28
+ .highlight .kc { color: #66d9ef } /* Keyword.Constant */
29
+ .highlight .kd { color: #66d9ef } /* Keyword.Declaration */
30
+ .highlight .kn { color: #f92672 } /* Keyword.Namespace */
31
+ .highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
32
+ .highlight .kr { color: #66d9ef } /* Keyword.Reserved */
33
+ .highlight .kt { color: #66d9ef } /* Keyword.Type */
34
+ .highlight .ld { color: #e6db74 } /* Literal.Date */
35
+ .highlight .m { color: #ae81ff } /* Literal.Number */
36
+ .highlight .s { color: #e6db74 } /* Literal.String */
37
+ .highlight .na { color: #a6e22e } /* Name.Attribute */
38
+ .highlight .nb { color: #f8f8f2 } /* Name.Builtin */
39
+ .highlight .nc { color: #a6e22e } /* Name.Class */
40
+ .highlight .no { color: #66d9ef } /* Name.Constant */
41
+ .highlight .nd { color: #a6e22e } /* Name.Decorator */
42
+ .highlight .ni { color: #f8f8f2 } /* Name.Entity */
43
+ .highlight .ne { color: #a6e22e } /* Name.Exception */
44
+ .highlight .nf { color: #a6e22e } /* Name.Function */
45
+ .highlight .nl { color: #f8f8f2 } /* Name.Label */
46
+ .highlight .nn { color: #f8f8f2 } /* Name.Namespace */
47
+ .highlight .nx { color: #a6e22e } /* Name.Other */
48
+ .highlight .py { color: #f8f8f2 } /* Name.Property */
49
+ .highlight .nt { color: #f92672 } /* Name.Tag */
50
+ .highlight .nv { color: #f8f8f2 } /* Name.Variable */
51
+ .highlight .ow { color: #f92672 } /* Operator.Word */
52
+ .highlight .w { color: #f8f8f2 } /* Text.Whitespace */
53
+ .highlight .mf { color: #ae81ff } /* Literal.Number.Float */
54
+ .highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
55
+ .highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
56
+ .highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
57
+ .highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
58
+ .highlight .sc { color: #e6db74 } /* Literal.String.Char */
59
+ .highlight .sd { color: #e6db74 } /* Literal.String.Doc */
60
+ .highlight .s2 { color: #e6db74 } /* Literal.String.Double */
61
+ .highlight .se { color: #ae81ff } /* Literal.String.Escape */
62
+ .highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
63
+ .highlight .si { color: #e6db74 } /* Literal.String.Interpol */
64
+ .highlight .sx { color: #e6db74 } /* Literal.String.Other */
65
+ .highlight .sr { color: #e6db74 } /* Literal.String.Regex */
66
+ .highlight .s1 { color: #e6db74 } /* Literal.String.Single */
67
+ .highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
68
+ .highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
69
+ .highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
70
+ .highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
71
+ .highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
72
+ .highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
@@ -0,0 +1,6 @@
1
+ blockquote {
2
+ border-left: 3px solid var(--color-primary);
3
+ font-style: italic;
4
+ margin-left: 0;
5
+ padding-left: 40px;
6
+ }
@@ -0,0 +1,6 @@
1
+ body {
2
+ background: var(--theme-background);
3
+ color: var(--theme-color);
4
+ font-family: var(--typography-body-family);
5
+ font-size: var(--typography-base-fz);
6
+ }
@@ -0,0 +1,19 @@
1
+ :root {
2
+ --highlighter-background: #fff;
3
+ --highlighter-color: #666;
4
+ }
5
+
6
+ @media (prefers-color-scheme: dark) {
7
+ :root {
8
+ --highlighter-background: #333;
9
+ --highlighter-color: #fff;
10
+ }
11
+ }
12
+
13
+ code.highlighter-rouge {
14
+ background-color: var(--highlighter-background);
15
+ border: 1px solid;
16
+ border-radius: 3px;
17
+ color: var(--highlighter-color);
18
+ padding: 0 .15em;
19
+ }
@@ -0,0 +1,15 @@
1
+ h1,
2
+ h2,
3
+ h3,
4
+ h4,
5
+ h5,
6
+ h6 {
7
+ font-family: var(--typography-heading-family);
8
+ }
9
+
10
+ @for $level from 1 through 6 {
11
+ h#{$level}, .h#{$level} {
12
+ font-size: var(--typography-h#{$level}-fz);
13
+ line-height: var(--typography-h#{$level}-lh);
14
+ }
15
+ }
@@ -0,0 +1,4 @@
1
+ hr {
2
+ border: none;
3
+ border-top: 1px solid rgba(#000, .15);
4
+ }
@@ -0,0 +1,9 @@
1
+ html {
2
+ font-size: 100%;
3
+ -moz-osx-font-smoothing: grayscale;
4
+ -webkit-font-smoothing: antialiased;
5
+ line-height: var(--typography-base-lh);
6
+ overflow-y: scroll;
7
+ -ms-text-size-adjust: 100%;
8
+ -webkit-text-size-adjust: 100%;
9
+ }
@@ -0,0 +1,3 @@
1
+ img {
2
+ max-width: 100%;
3
+ }
@@ -0,0 +1,3 @@
1
+ a {
2
+ color: var(--link-color, var(--color-primary));
3
+ }
@@ -0,0 +1,63 @@
1
+ @font-face {
2
+ font-display: swap;
3
+ font-family: 'Lato';
4
+ font-style: normal;
5
+ font-weight: 400;
6
+ src: url('/assets/oscailte/fonts/lato-v16-latin-regular.eot');
7
+ src:
8
+ local('Lato Regular'),
9
+ local('Lato-Regular'),
10
+ url('/assets/oscailte/fonts/lato-v16-latin-regular.eot?#iefix') format('embedded-opentype'),
11
+ url('/assets/oscailte/fonts/lato-v16-latin-regular.woff2') format('woff2'),
12
+ url('/assets/oscailte/fonts/lato-v16-latin-regular.woff') format('woff'),
13
+ url('/assets/oscailte/fonts/lato-v16-latin-regular.ttf') format('truetype'),
14
+ url('/assets/oscailte/fonts/lato-v16-latin-regular.svg#Lato') format('svg');
15
+ }
16
+
17
+ @font-face {
18
+ font-display: swap;
19
+ font-family: 'Merriweather';
20
+ font-style: normal;
21
+ font-weight: 400;
22
+ src: url('/assets/oscailte/fonts/merriweather-v21-latin-regular.eot');
23
+ src:
24
+ local('Merriweather Regular'),
25
+ local('Merriweather-Regular'),
26
+ url('/assets/oscailte/fonts/merriweather-v21-latin-regular.eot?#iefix') format('embedded-opentype'),
27
+ url('/assets/oscailte/fonts/merriweather-v21-latin-regular.woff2') format('woff2'),
28
+ url('/assets/oscailte/fonts/merriweather-v21-latin-regular.woff') format('woff'),
29
+ url('/assets/oscailte/fonts/merriweather-v21-latin-regular.ttf') format('truetype'),
30
+ url('/assets/oscailte/fonts/merriweather-v21-latin-regular.svg#Merriweather') format('svg');
31
+ }
32
+
33
+ @font-face {
34
+ font-display: swap;
35
+ font-family: 'Merriweather';
36
+ font-style: italic;
37
+ font-weight: 400;
38
+ src: url('/assets/oscailte/fonts/merriweather-v21-latin-italic.eot');
39
+ src:
40
+ local('Merriweather Italic'),
41
+ local('Merriweather-Italic'),
42
+ url('/assets/oscailte/fonts/merriweather-v21-latin-italic.eot?#iefix') format('embedded-opentype'),
43
+ url('/assets/oscailte/fonts/merriweather-v21-latin-italic.woff2') format('woff2'),
44
+ url('/assets/oscailte/fonts/merriweather-v21-latin-italic.woff') format('woff'),
45
+ url('/assets/oscailte/fonts/merriweather-v21-latin-italic.ttf') format('truetype'),
46
+ url('/assets/oscailte/fonts/merriweather-v21-latin-italic.svg#Merriweather') format('svg');
47
+ }
48
+
49
+ @font-face {
50
+ font-display: swap;
51
+ font-family: 'Merriweather';
52
+ font-style: normal;
53
+ font-weight: 700;
54
+ src: url('/assets/oscailte/fonts/merriweather-v21-latin-700.eot');
55
+ src:
56
+ local('Merriweather Bold'),
57
+ local('Merriweather-Bold'),
58
+ url('/assets/oscailte/fonts/merriweather-v21-latin-700.eot?#iefix') format('embedded-opentype'),
59
+ url('/assets/oscailte/fonts/merriweather-v21-latin-700.woff2') format('woff2'),
60
+ url('/assets/oscailte/fonts/merriweather-v21-latin-700.woff') format('woff'),
61
+ url('/assets/oscailte/fonts/merriweather-v21-latin-700.ttf') format('truetype'),
62
+ url('/assets/oscailte/fonts/merriweather-v21-latin-700.svg#Merriweather') format('svg');
63
+ }
@@ -0,0 +1,3 @@
1
+ * + * {
2
+ margin-top: var(--site-owl-spacing);
3
+ }
@@ -0,0 +1,273 @@
1
+ /*! modern-normalize v0.5.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
2
+
3
+ /* Document
4
+ ========================================================================== */
5
+
6
+ /**
7
+ * Use a better box model (opinionated).
8
+ */
9
+
10
+ html {
11
+ box-sizing: border-box;
12
+ }
13
+
14
+ *,
15
+ *::before,
16
+ *::after {
17
+ box-sizing: inherit;
18
+ }
19
+
20
+ /**
21
+ * Use a more readable tab size (opinionated).
22
+ */
23
+
24
+ :root {
25
+ -moz-tab-size: 4;
26
+ tab-size: 4;
27
+ }
28
+
29
+ /**
30
+ * 1. Correct the line height in all browsers.
31
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
32
+ */
33
+
34
+ html {
35
+ line-height: 1.15; /* 1 */
36
+ -webkit-text-size-adjust: 100%; /* 2 */
37
+ }
38
+
39
+ /* Sections
40
+ ========================================================================== */
41
+
42
+ /**
43
+ * Remove the margin in all browsers.
44
+ */
45
+
46
+ body {
47
+ margin: 0;
48
+ }
49
+
50
+ /**
51
+ * Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
52
+ */
53
+
54
+ body {
55
+ font-family:
56
+ -apple-system,
57
+ BlinkMacSystemFont,
58
+ 'Segoe UI',
59
+ Roboto,
60
+ Helvetica,
61
+ Arial,
62
+ sans-serif,
63
+ 'Apple Color Emoji',
64
+ 'Segoe UI Emoji',
65
+ 'Segoe UI Symbol';
66
+ }
67
+
68
+ /* Grouping content
69
+ ========================================================================== */
70
+
71
+ /**
72
+ * Add the correct height in Firefox.
73
+ */
74
+
75
+ hr {
76
+ height: 0;
77
+ }
78
+
79
+ /* Text-level semantics
80
+ ========================================================================== */
81
+
82
+ /**
83
+ * Add the correct text decoration in Chrome, Edge, and Safari.
84
+ */
85
+
86
+ abbr[title] {
87
+ text-decoration: underline dotted;
88
+ }
89
+
90
+ /**
91
+ * Add the correct font weight in Chrome, Edge, and Safari.
92
+ */
93
+
94
+ b,
95
+ strong {
96
+ font-weight: bolder;
97
+ }
98
+
99
+ /**
100
+ * 1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
101
+ * 2. Correct the odd 'em' font sizing in all browsers.
102
+ */
103
+
104
+ code,
105
+ kbd,
106
+ samp,
107
+ pre {
108
+ font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; /* 1 */
109
+ font-size: 1em; /* 2 */
110
+ }
111
+
112
+ /**
113
+ * Add the correct font size in all browsers.
114
+ */
115
+
116
+ small {
117
+ font-size: 80%;
118
+ }
119
+
120
+ /**
121
+ * Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
122
+ */
123
+
124
+ sub,
125
+ sup {
126
+ font-size: 75%;
127
+ line-height: 0;
128
+ position: relative;
129
+ vertical-align: baseline;
130
+ }
131
+
132
+ sub {
133
+ bottom: -0.25em;
134
+ }
135
+
136
+ sup {
137
+ top: -0.5em;
138
+ }
139
+
140
+ /* Forms
141
+ ========================================================================== */
142
+
143
+ /**
144
+ * 1. Change the font styles in all browsers.
145
+ * 2. Remove the margin in Firefox and Safari.
146
+ */
147
+
148
+ button,
149
+ input,
150
+ optgroup,
151
+ select,
152
+ textarea {
153
+ font-family: inherit; /* 1 */
154
+ font-size: 100%; /* 1 */
155
+ line-height: 1.15; /* 1 */
156
+ margin: 0; /* 2 */
157
+ }
158
+
159
+ /**
160
+ * Remove the inheritance of text transform in Edge and Firefox.
161
+ * 1. Remove the inheritance of text transform in Firefox.
162
+ */
163
+
164
+ button,
165
+ select { /* 1 */
166
+ text-transform: none;
167
+ }
168
+
169
+ /**
170
+ * Correct the inability to style clickable types in iOS and Safari.
171
+ */
172
+
173
+ button,
174
+ [type='button'],
175
+ [type='reset'],
176
+ [type='submit'] {
177
+ -webkit-appearance: button;
178
+ }
179
+
180
+ /**
181
+ * Remove the inner border and padding in Firefox.
182
+ */
183
+
184
+ button::-moz-focus-inner,
185
+ [type='button']::-moz-focus-inner,
186
+ [type='reset']::-moz-focus-inner,
187
+ [type='submit']::-moz-focus-inner {
188
+ border-style: none;
189
+ padding: 0;
190
+ }
191
+
192
+ /**
193
+ * Restore the focus styles unset by the previous rule.
194
+ */
195
+
196
+ button:-moz-focusring,
197
+ [type='button']:-moz-focusring,
198
+ [type='reset']:-moz-focusring,
199
+ [type='submit']:-moz-focusring {
200
+ outline: 1px dotted ButtonText;
201
+ }
202
+
203
+ /**
204
+ * Correct the padding in Firefox.
205
+ */
206
+
207
+ fieldset {
208
+ padding: 0.35em 0.75em 0.625em;
209
+ }
210
+
211
+ /**
212
+ * Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
213
+ */
214
+
215
+ legend {
216
+ padding: 0;
217
+ }
218
+
219
+ /**
220
+ * Add the correct vertical alignment in Chrome and Firefox.
221
+ */
222
+
223
+ progress {
224
+ vertical-align: baseline;
225
+ }
226
+
227
+ /**
228
+ * Correct the cursor style of increment and decrement buttons in Safari.
229
+ */
230
+
231
+ [type='number']::-webkit-inner-spin-button,
232
+ [type='number']::-webkit-outer-spin-button {
233
+ height: auto;
234
+ }
235
+
236
+ /**
237
+ * 1. Correct the odd appearance in Chrome and Safari.
238
+ * 2. Correct the outline style in Safari.
239
+ */
240
+
241
+ [type='search'] {
242
+ -webkit-appearance: textfield; /* 1 */
243
+ outline-offset: -2px; /* 2 */
244
+ }
245
+
246
+ /**
247
+ * Remove the inner padding in Chrome and Safari on macOS.
248
+ */
249
+
250
+ [type='search']::-webkit-search-decoration {
251
+ -webkit-appearance: none;
252
+ }
253
+
254
+ /**
255
+ * 1. Correct the inability to style clickable types in iOS and Safari.
256
+ * 2. Change font properties to 'inherit' in Safari.
257
+ */
258
+
259
+ ::-webkit-file-upload-button {
260
+ -webkit-appearance: button; /* 1 */
261
+ font: inherit; /* 2 */
262
+ }
263
+
264
+ /* Interactive
265
+ ========================================================================== */
266
+
267
+ /*
268
+ * Add the correct display in Chrome and Safari.
269
+ */
270
+
271
+ summary {
272
+ display: list-item;
273
+ }