jekyll-theme-scrawl 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +42 -0
- data/_includes/content.md +120 -0
- data/_layouts/page.html +68 -0
- data/_layouts/post.html +7 -0
- data/_sass/normalize.LICENSE.txt +21 -0
- data/_sass/normalize.scss +341 -0
- data/_sass/primer-base.scss +166 -0
- data/_sass/primer-markdown.scss +455 -0
- data/_sass/primer.LICENSE.txt +21 -0
- data/_sass/rouge.scss +281 -0
- data/_sass/scrawl.scss +80 -0
- data/assets/css/style.scss +8 -0
- metadata +99 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: fec1bbf242989aae3013a8bfbf5fef43168936b1
|
4
|
+
data.tar.gz: 5e617a238e4b73d717c91bda30d810d1cd57ab16
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 402d35bd600605627b8adf4e5fb0e286f8b037df8c072b11ca9eeafd10aaaada470a099730725d6d2847de30195bb571d3d3c75e145011f91d8b0a184beacf6d
|
7
|
+
data.tar.gz: 75eef3869906f4c3e45bcadc30151931e39d9e9325c1bf472fb9d3d5f88f895b724d66a57eb0a7f027fb0c5b7a244f0612060975b1ee5c9b384f588493ebf0d3
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2018 Matt Light
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# The Scrawl theme
|
2
|
+
|
3
|
+
Scrawl is a Jekyll theme based on [the Primer theme](https://github.com/pages-themes/primer) by GitHub.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your Jekyll site's `Gemfile`:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem "jekyll-theme-scrawl"
|
11
|
+
```
|
12
|
+
|
13
|
+
And add this line to your Jekyll site's `_config.yml`:
|
14
|
+
|
15
|
+
```yaml
|
16
|
+
theme: jekyll-theme-scrawl
|
17
|
+
```
|
18
|
+
|
19
|
+
And then execute:
|
20
|
+
|
21
|
+
$ bundle
|
22
|
+
|
23
|
+
Or install it yourself as:
|
24
|
+
|
25
|
+
$ gem install jekyll-theme-scrawl
|
26
|
+
|
27
|
+
## Usage
|
28
|
+
|
29
|
+
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
30
|
+
|
31
|
+
## Development
|
32
|
+
|
33
|
+
To set up your environment to develop this theme, run `bundle install`.
|
34
|
+
|
35
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
36
|
+
|
37
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
38
|
+
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-scrawl.gemspec` accordingly.
|
39
|
+
|
40
|
+
## License
|
41
|
+
|
42
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
@@ -0,0 +1,120 @@
|
|
1
|
+
Text can be **bold**, _italic_, or ~~strikethrough~~.
|
2
|
+
|
3
|
+
- [A fluid-width version of this page]({{ '/fluid' | absolute_url }})
|
4
|
+
- [A fixed-width version of this page]({{ '/fixed' | absolute_url }})
|
5
|
+
|
6
|
+
There should be whitespace between paragraphs.
|
7
|
+
|
8
|
+
There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project.
|
9
|
+
|
10
|
+
# Header 1
|
11
|
+
|
12
|
+
This is a normal paragraph following a header. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.
|
13
|
+
|
14
|
+
## Header 2
|
15
|
+
|
16
|
+
> This is a blockquote following a header.
|
17
|
+
>
|
18
|
+
> When something is important enough, you do it even if the odds are not in your favor.
|
19
|
+
|
20
|
+
### Header 3
|
21
|
+
|
22
|
+
```js
|
23
|
+
// Javascript code with syntax highlighting.
|
24
|
+
var fun = function lang(l) {
|
25
|
+
dateformat.i18n = require('./lang/' + l)
|
26
|
+
return true;
|
27
|
+
}
|
28
|
+
```
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
# Ruby code with syntax highlighting
|
32
|
+
GitHubPages::Dependencies.gems.each do |gem, version|
|
33
|
+
s.add_dependency(gem, "= #{version}")
|
34
|
+
end
|
35
|
+
```
|
36
|
+
|
37
|
+
#### Header 4
|
38
|
+
|
39
|
+
* This is an unordered list following a header.
|
40
|
+
* This is an unordered list following a header.
|
41
|
+
* This is an unordered list following a header.
|
42
|
+
|
43
|
+
##### Header 5
|
44
|
+
|
45
|
+
1. This is an ordered list following a header.
|
46
|
+
2. This is an ordered list following a header.
|
47
|
+
3. This is an ordered list following a header.
|
48
|
+
|
49
|
+
###### Header 6
|
50
|
+
|
51
|
+
| head1 | head two | three |
|
52
|
+
|:-------------|:------------------|:------|
|
53
|
+
| ok | good swedish fish | nice |
|
54
|
+
| out of stock | good and plenty | nice |
|
55
|
+
| ok | good `oreos` | hmm |
|
56
|
+
| ok | good `zoute` drop | yumm |
|
57
|
+
|
58
|
+
### There's a horizontal rule below this.
|
59
|
+
|
60
|
+
* * *
|
61
|
+
|
62
|
+
### Here is an unordered list:
|
63
|
+
|
64
|
+
* Item foo
|
65
|
+
* Item bar
|
66
|
+
* Item baz
|
67
|
+
* Item zip
|
68
|
+
|
69
|
+
### And an ordered list:
|
70
|
+
|
71
|
+
1. Item one
|
72
|
+
1. Item two
|
73
|
+
1. Item three
|
74
|
+
1. Item four
|
75
|
+
|
76
|
+
### And a nested list:
|
77
|
+
|
78
|
+
- level 1 item
|
79
|
+
- level 2 item
|
80
|
+
- level 2 item
|
81
|
+
- level 3 item
|
82
|
+
- level 3 item
|
83
|
+
- level 1 item
|
84
|
+
- level 2 item
|
85
|
+
- level 2 item
|
86
|
+
- level 2 item
|
87
|
+
- level 1 item
|
88
|
+
- level 2 item
|
89
|
+
- level 2 item
|
90
|
+
- level 1 item
|
91
|
+
|
92
|
+
### Small image
|
93
|
+
|
94
|
+
![Octocat](https://assets-cdn.github.com/images/icons/emoji/octocat.png)
|
95
|
+
|
96
|
+
### Large image
|
97
|
+
|
98
|
+
![Branching](https://guides.github.com/activities/hello-world/branching.png)
|
99
|
+
|
100
|
+
|
101
|
+
### Definition lists can be used with HTML syntax.
|
102
|
+
|
103
|
+
<dl>
|
104
|
+
<dt>Name</dt>
|
105
|
+
<dd>Godzilla</dd>
|
106
|
+
<dt>Born</dt>
|
107
|
+
<dd>1952</dd>
|
108
|
+
<dt>Birthplace</dt>
|
109
|
+
<dd>Japan</dd>
|
110
|
+
<dt>Color</dt>
|
111
|
+
<dd>Green</dd>
|
112
|
+
</dl>
|
113
|
+
|
114
|
+
```
|
115
|
+
Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this.
|
116
|
+
```
|
117
|
+
|
118
|
+
```
|
119
|
+
The final element.
|
120
|
+
```
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ site.lang | default: "en-US" }}">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
|
+
|
8
|
+
{% seo %}
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
|
11
|
+
</head>
|
12
|
+
<body class="{{ page.width | default: site.default_width }}">
|
13
|
+
|
14
|
+
<div class="container">
|
15
|
+
<header>
|
16
|
+
{% if site.title and site.title != page.title %}
|
17
|
+
<h1><a href="{{ "/" | absolute_url }}">{{ site.title }}</a></h1>
|
18
|
+
{% endif %}
|
19
|
+
|
20
|
+
{% if site.description %}
|
21
|
+
<p><small>{{ site.description }}</small></p>
|
22
|
+
{% endif %}
|
23
|
+
|
24
|
+
{% if site.pages %}
|
25
|
+
{% if page.nav_pages %}
|
26
|
+
{% assign docs = page.nav_pages %}
|
27
|
+
{% else %}
|
28
|
+
{% assign docs = site.pages %}
|
29
|
+
{% endif %}
|
30
|
+
{% assign docs = docs | sort: 'order' %}
|
31
|
+
<ul>
|
32
|
+
{% for doc in docs %}
|
33
|
+
{% unless doc.hide_in_nav %}
|
34
|
+
<li><a href="{{ doc.url | absolute_url }}">{{ doc.title }}</a></li>
|
35
|
+
{% endunless %}
|
36
|
+
{% endfor %}
|
37
|
+
</ul>
|
38
|
+
{% endif %}
|
39
|
+
</header>
|
40
|
+
|
41
|
+
<section class="markdown-body">
|
42
|
+
{{ content }}
|
43
|
+
|
44
|
+
<footer>
|
45
|
+
{% if site.github.private != true and site.github.license %}
|
46
|
+
<p>
|
47
|
+
This site is open source. {% github_edit_link "Improve this page" %}.
|
48
|
+
</p>
|
49
|
+
{% endif %}
|
50
|
+
</footer>
|
51
|
+
</section>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
|
55
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js" integrity="sha256-lZaRhKri35AyJSypXXs4o6OPFTbTmUoltBbDCbdzegg=" crossorigin="anonymous"></script>
|
56
|
+
<script>anchors.add();</script>
|
57
|
+
{% if site.google_analytics %}
|
58
|
+
<script>
|
59
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
60
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
61
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
62
|
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
63
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
64
|
+
ga('send', 'pageview');
|
65
|
+
</script>
|
66
|
+
{% endif %}
|
67
|
+
</body>
|
68
|
+
</html>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright © Nicolas Gallagher and Jonathan Neal
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
7
|
+
the Software without restriction, including without limitation the rights to
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
9
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
10
|
+
so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -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
|
+
}
|