manoverboard-alpha 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a896a4d61dd8f977db628e8610b88dfeb95e5172b72be303d56520f387b5beb0
4
- data.tar.gz: 4b03267da01b7848a98ef0db60a6981c396ecdab34d14e5bb2acbc5eb5c549ef
3
+ metadata.gz: 70e825a5f24460b0d99df908ad1d0ffa3609efd55adda3a574d680ca177e7c13
4
+ data.tar.gz: 61b6389b740c95754c9f77012a7009b2dbce9ae56f30f2d6deb42ee19deb13a2
5
5
  SHA512:
6
- metadata.gz: 808222682bb1646360d5545fd85b2e53e5188f9d935bb1c3d917d01b20d7f68f0a5dc0e85405c219e8805f79eb7ea5aee335cdebf0ea08ff4e07f92c35e682c9
7
- data.tar.gz: af97a2e271534eeee47c0ed5b06a898917d59291c4c2d7451439e41242aa3344f7b3991d522a19fb11a57e3e0cd0838a99e964efbb315b24bc10de1582acfccf
6
+ metadata.gz: 559149cd9182e16e344803d01698bfda70d04bf5fbddba4081fcc91557d19a0a39472719731f4298d9d47e0fd143703af805cde44fad87cf017ada3a7f374799
7
+ data.tar.gz: 66bb293731c97b3a6ca925e10855817eb861d4c0a8766cfa9175e83e6e157d6efed8e4b10620d7b6af1988353465ae40be94e477fae4998636ad5b739177aeb0
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 nikki
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
13
+ all 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
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,136 @@
1
+ # MOB Theme : Jekyll Edition
2
+ https://rubygems.org/gems/manoverboard-alpha
3
+
4
+ If you are unsure how to use this theme, contact nikki@manoverboard.com.
5
+
6
+ When pushing updates to this theme, please be specific with your push descriptions, and please update the below documentation.
7
+
8
+ Please add your own features and modify as you like, but keep in mind that if you keep the file structure and naming conventions the same, we will all be able to work together as a team more efficiently.
9
+
10
+ ## Installation
11
+
12
+ Add this line to your Jekyll site's `Gemfile`:
13
+
14
+ ```ruby
15
+ gem "manoverboard-alpha"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: manoverboard-alpha
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install manoverboard-alpha
31
+
32
+ ## Usage
33
+
34
+ ### Quick Links
35
+ - BEM: Please use the [BEM class model.](http://getbem.com/naming/)
36
+
37
+ ### Modified Files from old theme(s)
38
+
39
+ #### base.scss | deadname: style.css.
40
+
41
+ #### init.scss
42
+ Slight update, now is used as a sass include.
43
+
44
+ ### New Files
45
+
46
+ #### /js/global.js | deadname: theme_scripts.js
47
+ Things should only go in here if they apply to the entire website, or multiple pages. Please remember to wrap them in if/if else statements to reduce errors and run time.
48
+
49
+ **Removed** simple expand and resize to parent. You can find these in the previous theme if you need to use them, but both are considered outdated or over-engineered.
50
+
51
+ Added function to add class to html if is keyboard user. This is handy to style your focused elements.
52
+
53
+ #### /scss/layout.scss
54
+ New grid system including the good ol' .wo and .inner styles. Imports into the main.scss. Read more about it under **MOB CSS Grid System**
55
+
56
+ ### SASS: [Learn here](https://www.youtube.com/watch?v=Zz6eOVaaelI&feature=emb_logo)
57
+
58
+ #### What's New?
59
+ Main stylesheet has been converted to SASS with SCSS syntax instead of SASS syntax to keep plain CSS still valid. The print stylesheet has been left as css since it does not get modified often, it can be found in the already compiled css folder.
60
+
61
+ ##### New sass stylesheet
62
+ Includes partials that can be added or removed easily by commenting or un-commenting their import line. This includes our initialization stylesheet partial: init.scss.
63
+
64
+ ##### Mix-ins and variables
65
+ To speed up the web development process. Add your own :)
66
+
67
+ ##### CSS Grid - New layout system
68
+
69
+ ### Classes & Properties
70
+
71
+ #### .hidden renamed to .sr-only
72
+ Same functionality, just a more intuitive name now. Class to visually hide elements, but keep for screen readers.
73
+
74
+ #### z-index
75
+ Please use numbers in order to indicate depth. This makes it easy to scan and fix z-index issues.
76
+
77
+ Highest could be 9 - 123456789
78
+ Lowest could be 1 - 1
79
+
80
+ ### MOB CSS Grid System
81
+ Will make responsive work much easier and coding sites to spec much faster! If the design does not line up with the column grid in the design file, please see the designer to see what they want to do about it.
82
+
83
+ #### Syntax
84
+
85
+ Uses syntax like: "col-**#start#**-to-**#end#**". **Start** being the left gutter and **end** being the right gutter. You don't have to use it everywhere if it doesn't make sense for the design, obviously! Just to help you out. Must be wrapped with the "wo" class. The old .inner class is folded into the column declaration.
86
+
87
+ Variables can be changed, number of columns, width, etc. in base.scss.
88
+
89
+ ##### - - stacked Modifier
90
+ Use this (.wo--stacked) instead of .wo when you don't need to use the grid system because items are stacked on top of one another rather than beside.
91
+
92
+ ##### - - full Modifier
93
+ Use this (.wo--full) instead of .wo when the layer should be 100% width with no outer margins like for heros, and full width images.
94
+
95
+ ##### .left | .justify | .right | .center
96
+ You can use these classes on the column declaration to set the text as centre aligned or right aligned.
97
+
98
+ ## JAMstack Plugins
99
+ Good resource: https://github.com/planetjekyll/awesome-jekyll-plugins
100
+
101
+ ### Basics
102
+ - **Instead of antispambot** https://github.com/vwochnik/jekyll-email-protect
103
+ - **SASS converter** is already installed if you're using Jekyll
104
+
105
+ ### Image Compression
106
+ - this but it hasn't been updated in a while https://github.com/valerijaspasojevic/jekyll-compress-images
107
+
108
+ ### SEO
109
+ - **Redirects** https://github.com/jekyll/jekyll-redirect-from
110
+ - **Sitemap generator** https://github.com/jekyll/jekyll-sitemap
111
+ - **SEO tags generator** https://github.com/jekyll/jekyll-seo-tag
112
+
113
+ ### Performance
114
+ - **Lazy loading images (won't work in safari tho)** https://github.com/gildesmarais/jekyll-loading-lazy
115
+
116
+ ### Social Feeds
117
+ - **Twitter** https://github.com/rob-murray/jekyll-twitter-plugin
118
+ - **Instagram and Facebook** are likely gonna be sucky to embed, should wait to see if existing plugins break after the 24th: "Facebook now requires each developer to register an app, and use a client token when getting data from their Graph API for oEmbed content beginning on the 24th of October, 2020"
119
+
120
+ ## Contributing
121
+
122
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
123
+
124
+ ## Development
125
+
126
+ To set up your environment to develop this theme, run `bundle install`.
127
+
128
+ 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.
129
+
130
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
131
+ To add a custom directory to your theme-gem, please edit the regexp in `manoverboard-alpha.gemspec` accordingly.
132
+
133
+ ## License
134
+
135
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
136
+
data/_config.yml ADDED
@@ -0,0 +1,96 @@
1
+ # Welcome to Jekyll!
2
+ #
3
+ # This config file is meant for settings that affect your whole blog, values
4
+ # which you are expected to set up once and rarely edit after that. If you find
5
+ # yourself editing this file very often, consider using Jekyll's data files
6
+ # feature for the data you need to update frequently.
7
+ #
8
+ # For technical reasons, this file is *NOT* reloaded automatically when you use
9
+ # 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10
+ #
11
+ # If you need help with YAML syntax, here are some quick references for you:
12
+ # https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
13
+ # https://learnxinyminutes.com/docs/yaml/
14
+ #
15
+ # Site settings
16
+ # These are used to personalize your new site. If you look in the HTML files,
17
+ # you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
18
+ # You can create any custom variable you would like, and they will be accessible
19
+ # in the templates via {{ site.myvariable }}.
20
+
21
+ title: Manoverboard Boilerplate
22
+ description: >- # this means to ignore newlines until "baseurl:"
23
+ Write an awesome description for your new site here. You can edit this
24
+ line in _config.yml. It will appear in your document head meta (for
25
+ Google search results) and in your feed.xml site description.
26
+ baseurl: "" # the subpath of your site, e.g. /blog
27
+ url: "" # the base hostname & protocol for your site, e.g. http://example.com
28
+
29
+ # Build settings
30
+ markdown: kramdown
31
+ theme: manoverboard-alpha
32
+ plugins:
33
+ - jekyll-feed
34
+ sass:
35
+ sass_dir: _sass #compressed
36
+ style: expanded
37
+ collections_dir: collections
38
+ include:
39
+ - assets
40
+ - _includes
41
+ - _layouts
42
+ - _sass
43
+ - _config.yml
44
+ - index.html
45
+
46
+ # CloudCannon Options
47
+ _options:
48
+ image: # Front matter field
49
+ uploads_dir: "uploads/:title"
50
+ content: # Content Editor and block Editable Regions
51
+ uploads_dir: "uploads/:title"
52
+
53
+ #cloudcannon:
54
+ #data: true
55
+
56
+ # CloudCannon Field Descriptions
57
+ _comments:
58
+ name: This can get converted to the file name
59
+ title: This can get converted to the file name
60
+
61
+ # Collections (Custom Post Types)
62
+ collections:
63
+ general_pages:
64
+ output: true
65
+ _hide_content: true
66
+ permalink: /:name
67
+ # sort_by:
68
+
69
+ defaults:
70
+ - scope:
71
+ path: ""
72
+ type: "posts"
73
+ values:
74
+ layout: "post"
75
+ - scope:
76
+ path: ""
77
+ type: "general_pages"
78
+ values:
79
+ layout: "default"
80
+
81
+ # Exclude from processing.
82
+ # The following items will not be processed, by default.
83
+ # Any item listed under the `exclude:` key here will be automatically added to
84
+ # the internal "default list".
85
+ #
86
+ # exclude:
87
+ # - .sass-cache/
88
+ # - .jekyll-cache/
89
+ # - gemfiles/
90
+ # - Gemfile
91
+ # - Gemfile.lock
92
+ # - node_modules/
93
+ # - vendor/bundle/
94
+ # - vendor/cache/
95
+ # - vendor/gems/
96
+ # - vendor/ruby/
@@ -0,0 +1,3 @@
1
+ <footer id="mainFooter" class="main-footer wo">
2
+
3
+ </footer>
@@ -0,0 +1,57 @@
1
+ <!DOCTYPE HTML>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta http-equiv="Content-Type" charset="UTF-8" />
6
+ <meta name="viewport" content="initial-scale=1.0, width=device-width" />
7
+
8
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
9
+ <title>{{ page.title }} | {{ site.title }}</title>
10
+ <meta name="description" content="">
11
+ <meta name="web-author" content="Manoverboard Inc. http://www.manoverboard.com">
12
+ <meta name="author" content="">
13
+ <meta name="theme-color" content="#FFFFFF">
14
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
15
+
16
+ <!--[if lt IE 9]><script src="/js/html5shiv.js"></script><![endif]-->
17
+
18
+ <!-- favicons -->
19
+
20
+ <!-- barba -->
21
+ <!--<script src="https://unpkg.com/@barba/core@2.9.7/dist/barba.umd.js"></script>
22
+ <script crossorigin="anonymous" src="https://polyfill.io/v3/polyfill.min.js?features=default%2CArray.prototype.find%2CIntersectionObserver"></script> -->
23
+
24
+ <!-- gsap -->
25
+ <!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.5.1/gsap.min.js"></script> -->
26
+
27
+ <!-- scripts -->
28
+ <script
29
+ src="https://code.jquery.com/jquery-3.5.1.min.js"
30
+ integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
31
+ crossorigin="anonymous">
32
+ </script>
33
+ <script src="/assets/js/global.js"></script>
34
+
35
+ <!-- css -->
36
+ <link rel="stylesheet" href="/assets/css/main.css">
37
+
38
+
39
+ <!-- font preload -->
40
+ <!-- <link rel="preload" href="__HARD_URL_HERE__" as="font" type="font/woff" crossorigin>-->
41
+
42
+ <!-- end wp head -->
43
+ </head>
44
+
45
+ <body id="bodyID" data-barba="wrapper">
46
+ <a id="skipLink" href="#skipNavigation">Skip Navigation</a>
47
+ <header id="mainHeader" class="main-header wo">
48
+ <div class="main-header__logo-area">
49
+ <a href="/">
50
+ <img src="/images/image.jpg" alt="Logo" />
51
+ </a>
52
+ </div>
53
+ <nav id="mainNav" class="main-header__nav">
54
+ <a class="{% if page.url == "/" %}active{% endif %} main-header__nav__link" href="/">Page</a>
55
+ </nav>
56
+ </header>
57
+ <div id="skipNavigation"></div>
@@ -0,0 +1,22 @@
1
+ {% include head.html %}
2
+
3
+ <main data-barba="container" data-barba-namespace="archive">
4
+ <div class="wo page-heading">
5
+ <h1 class="col-1-to-12">
6
+ <span>Archives for : </span>
7
+ <span class="page-heading__dot">{{ page.title }}</span>
8
+ </h1>
9
+ </div>
10
+
11
+ <div class="archive">
12
+ {% for post in page.posts limit: 10 %}
13
+ <a href="{{ post.url }}" class="archive__post wo-full">
14
+ <p class="archive__post__date col-1-to-3">{{ post.date | date: "%B %d, %Y" }}</p>
15
+ <h2 class="col-3-to-10">{{ post.title }}</h2>
16
+ <p aria-hidden="true" class="link right col-10-to-13">Read</p>
17
+ </a>
18
+ {% endfor %}
19
+ </div>
20
+ </main>
21
+
22
+ {% include footer.html %}
@@ -0,0 +1,7 @@
1
+ {% include head.html %}
2
+
3
+ <main data-barba="container" data-barba-namespace="ideas">
4
+
5
+ </main>
6
+
7
+ {% include footer.html %}
@@ -0,0 +1,7 @@
1
+ {% include head.html %}
2
+
3
+ <main data-barba="container" data-barba-namespace="default">
4
+
5
+ </main>
6
+
7
+ {% include footer.html %}
@@ -0,0 +1,7 @@
1
+ {% include head.html %}
2
+
3
+ <main data-barba="container" data-barba-namespace="home">
4
+
5
+ </main>
6
+
7
+ {% include footer.html %}
@@ -0,0 +1,7 @@
1
+ {% include head.html %}
2
+
3
+ <main data-barba="container" data-barba-namespace="page">
4
+ {{ content }}
5
+ </main>
6
+
7
+ {% include footer.html %}
@@ -0,0 +1,7 @@
1
+ {% include head.html %}
2
+
3
+ <article data-barba="container" data-barba-namespace="post">
4
+
5
+ </article>
6
+
7
+ {% include footer.html %}
@@ -0,0 +1,20 @@
1
+ {% include head.html %}
2
+
3
+ <main id="search">
4
+ <input type="text" id="searchInput" placeholder="search...">
5
+ <section id="searchResults"></section>
6
+ </main>
7
+
8
+ <script src="https://unpkg.com/simple-jekyll-search@latest/dest/simple-jekyll-search.min.js"></script>
9
+
10
+ <!-- Configuration -->
11
+ <script>
12
+ SimpleJekyllSearch({
13
+ searchInput: document.getElementById('searchInput'),
14
+ resultsContainer: document.getElementById('searchResults'),
15
+ json: '/assets/search/search.json',
16
+ searchResultTemplate: '<h2><a href="{{ site.url }}/">Title</a></h2>'
17
+ })
18
+ </script>
19
+
20
+ {% include footer.html %}
data/_sass/init.scss ADDED
@@ -0,0 +1,515 @@
1
+ /*——————————————————————————————————————
2
+ Theme: MOB
3
+ Style Initilizer & Reset
4
+ Circa 2019
5
+ Incorporates parts of
6
+ —MOB Styles,
7
+ —Meyer Reset,
8
+ —and sanitize.css
9
+ ——————————————————————————————————————*/
10
+
11
+
12
+ /*—————————————————————————————————————— meyer reset */
13
+ html, body, div, span, applet, object, iframe,
14
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
15
+ a, abbr, acronym, address, big, cite, code,
16
+ del, dfn, em, img, ins, kbd, q, s, samp,
17
+ small, strike, strong, sub, sup, tt, var,
18
+ b, u, i, center,
19
+ dl, dt, dd, ol, ul, li,
20
+ fieldset, form, label, legend,
21
+ table, caption, tbody, tfoot, thead, tr, th, td,
22
+ article, aside, canvas, details, embed,
23
+ figure, figcaption, footer, header, hgroup,
24
+ menu, nav, output, ruby, section, summary,
25
+ time, mark, audio, video {
26
+ border: 0;
27
+ font: inherit;
28
+ vertical-align: baseline;
29
+ }
30
+ /* HTML5 display-role reset for older browsers */
31
+ article, aside, details, figcaption, figure,
32
+ footer, header, hgroup, menu, nav, section {
33
+ display: block;
34
+ }
35
+ body {
36
+ line-height: 1;
37
+ margin: 0;
38
+ padding: 0;
39
+ }
40
+ ol, ul {
41
+ list-style: none;
42
+ }
43
+ blockquote, q {
44
+ quotes: none;
45
+ }
46
+ blockquote:before, blockquote:after,
47
+ q:before, q:after {
48
+ content: '';
49
+ content: none;
50
+ }
51
+ table {
52
+ border-collapse: collapse;
53
+ border-spacing: 0;
54
+ }
55
+
56
+ /*—————————————————————————————————————— overflow settings to prevent double-scrollbar */
57
+
58
+ html,
59
+ body,
60
+ #wrapper {
61
+ overflow-x: hidden;
62
+ position: relative;
63
+ }
64
+ body {
65
+ -webkit-text-size-adjust: 100%;
66
+ }
67
+ #wrapper {
68
+ min-height: 100%;
69
+ overflow-y: hidden;
70
+ }
71
+
72
+ /*—————————————————————————————————————— fix the box model */
73
+
74
+ html {
75
+ box-sizing: border-box;
76
+ }
77
+ *, *:before, *:after {
78
+ box-sizing: inherit;
79
+ }
80
+
81
+
82
+ /*—————————————————————————————————————— other resets */
83
+
84
+ html {
85
+ -webkit-tap-highlight-color: transparent;
86
+ -ms-text-size-adjust: 100%;
87
+ -webkit-text-size-adjust: 100%;
88
+ word-break: break-word;
89
+ }
90
+ img {
91
+ vertical-align: middle;
92
+ max-width: 100%;
93
+ height: auto;
94
+ border-style: none;
95
+ }
96
+ abbr {
97
+ cursor: help;
98
+ }
99
+
100
+
101
+ /*—————————————————————————————————————— embedded content */
102
+
103
+ iframe {
104
+ border-style: none;
105
+ }
106
+ audio,
107
+ canvas,
108
+ iframe,
109
+ img,
110
+ svg,
111
+ video {
112
+ vertical-align: middle;
113
+ }
114
+ audio,
115
+ video {
116
+ display: inline-block;
117
+ }
118
+ audio:not([controls]) {
119
+ display: none;
120
+ height: 0;
121
+ }
122
+ svg:not(:root) {
123
+ overflow: hidden;
124
+ }
125
+ svg {
126
+ position: relative;
127
+ }
128
+
129
+
130
+ /*—————————————————————————————————————— typography */
131
+
132
+ body {
133
+ -webkit-font-smoothing: antialiased;
134
+ -moz-osx-font-smoothing: grayscale;
135
+ }
136
+ body {
137
+ font-size: 62.5%;
138
+ }
139
+ li li {
140
+ font-size: 100%;
141
+ }
142
+ sup,
143
+ sub {
144
+ font-size: 66%;
145
+ }
146
+ sup {
147
+ vertical-align: super;
148
+ }
149
+ sub {
150
+ vertical-align: sub;
151
+ }
152
+ section h1:first-child,
153
+ section h2:first-child,
154
+ section h3:first-child,
155
+ section h4:first-child,
156
+ section h5:first-child,
157
+ section h6:first-child {
158
+ margin-top: 0;
159
+ padding-top: 0;
160
+ }
161
+ h1 b, h2 b, h3 b, h4 b, h5 b, h6 b,
162
+ h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong {
163
+ font-weight: inherit !important;
164
+ }
165
+ nav a, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
166
+ text-decoration: none;
167
+ }
168
+ em,
169
+ i {
170
+ font-style: italic;
171
+ }
172
+ a {
173
+ background-color: transparent;
174
+ }
175
+ abbr[title] {
176
+ text-decoration: underline;
177
+ text-decoration: underline dotted;
178
+ }
179
+ code,
180
+ kbd,
181
+ samp {
182
+ font-family: monospace, monospace;
183
+ font-size: 1em;
184
+ }
185
+ small {
186
+ font-size: 80%;
187
+ }
188
+ dl dl,
189
+ dl ol,
190
+ dl ul,
191
+ ol dl,
192
+ ul dl {
193
+ margin: 0;
194
+ }
195
+ ol ol,
196
+ ol ul,
197
+ ul ol,
198
+ ul ul {
199
+ margin: 0;
200
+ }
201
+ main {
202
+ display: block;
203
+ }
204
+ nav ol,
205
+ nav ul {
206
+ list-style: none;
207
+ padding: 0;
208
+ }
209
+ pre {
210
+ font-family: monospace, monospace; /* 1 */
211
+ font-size: 1em; /* 2 */
212
+ }
213
+
214
+
215
+ /*—————————————————————————————————————— accessibility */
216
+
217
+ [aria-busy="true"] {
218
+ cursor: progress;
219
+ }
220
+ [aria-controls] {
221
+ cursor: pointer;
222
+ }
223
+ [aria-disabled="true"],
224
+ [disabled] {
225
+ cursor: not-allowed;
226
+ }
227
+ [aria-hidden="false"][hidden] {
228
+ display: initial;
229
+ }
230
+ [aria-hidden="false"][hidden]:not(:focus) {
231
+ clip: rect(0, 0, 0, 0);
232
+ position: absolute;
233
+ }
234
+
235
+
236
+ /*—————————————————————————————————————— interaction */
237
+
238
+ a,
239
+ area,
240
+ button,
241
+ input,
242
+ label,
243
+ select,
244
+ summary,
245
+ textarea,
246
+ [tabindex] {
247
+ -ms-touch-action: manipulation;
248
+ touch-action: manipulation;
249
+ }
250
+ [hidden] {
251
+ display: none;
252
+ }
253
+ details {
254
+ display: block;
255
+ }
256
+ dialog {
257
+ background-color: white;
258
+ border: solid;
259
+ color: black;
260
+ display: block;
261
+ height: -moz-fit-content;
262
+ height: -webkit-fit-content;
263
+ height: fit-content;
264
+ left: 0;
265
+ margin: auto;
266
+ padding: 1em;
267
+ position: absolute;
268
+ right: 0;
269
+ width: -moz-fit-content;
270
+ width: -webkit-fit-content;
271
+ width: fit-content;
272
+ }
273
+ dialog:not([open]) {
274
+ display: none;
275
+ }
276
+ summary {
277
+ display: list-item;
278
+ }
279
+
280
+
281
+ /*—————————————————————————————————————— scripting */
282
+
283
+ canvas {
284
+ display: inline-block;
285
+ }
286
+ template {
287
+ display: none;
288
+ }
289
+
290
+
291
+ /*—————————————————————————————————————— WordPress */
292
+
293
+ #wpadminbar {
294
+ z-index: 100000000 !important;
295
+ }
296
+ .alignleft {
297
+ float: left;
298
+ margin-right: 15px;
299
+ margin-bottom: 10px;
300
+ max-width: 40%;
301
+ }
302
+ .alignright {
303
+ float: right;
304
+ margin-left: 15px;
305
+ margin-bottom: 10px;
306
+ max-width: 40%;
307
+ }
308
+ .aligncenter {
309
+ float: none;
310
+ margin-right: auto;
311
+ margin-left: auto;
312
+ }
313
+ .alignnone {
314
+ float: none;
315
+ margin: 20px 0;
316
+ }
317
+ .wp-caption {
318
+ max-width: 100%;
319
+ }
320
+
321
+
322
+ /*—————————————————————————————————————— handy classes */
323
+ /* visually hides element — will read out on all screenreaders */
324
+ .sr-only,
325
+ .hidden {
326
+ position: absolute;
327
+ left: -10000px;
328
+ top: auto;
329
+ width: 1px;
330
+ height: 1px;
331
+ overflow: hidden;
332
+ }
333
+ /* clearfix */
334
+ .cf:after {
335
+ visibility: hidden;
336
+ display: block;
337
+ font-size: 0;
338
+ content: " ";
339
+ clear: both;
340
+ height: 0;
341
+ }
342
+ * html .cf {
343
+ zoom: 1;
344
+ }
345
+ *:first-child + html .cf {
346
+ zoom: 1;
347
+ }
348
+
349
+
350
+ /*—————————————————————————————————————— form field standardization */
351
+
352
+ button {
353
+ cursor: pointer;
354
+ }
355
+ ::-moz-selection {
356
+ background: #9ddeee;
357
+ text-shadow: none;
358
+ }
359
+ ::selection {
360
+ background: #9ddeee;
361
+ text-shadow: none;
362
+ }
363
+ fieldset {
364
+ border: 0;
365
+ margin: 0;
366
+ padding: 0;
367
+ }
368
+ .chromeframe {
369
+ margin: 0.2em 0;
370
+ background: #ccc;
371
+ color: #000;
372
+ padding: 0.2em 0;
373
+ }
374
+ input {
375
+ -webkit-border-radius: 0;
376
+ border-radius: 0;
377
+ }
378
+ input, textarea, submit, select {
379
+ max-width: 100%;
380
+ }
381
+ /**
382
+ * Remove the margin on controls in Safari.
383
+ */
384
+ button,
385
+ input,
386
+ select {
387
+ margin: 0;
388
+ }
389
+ /**
390
+ * 1. Show the overflow in IE.
391
+ * 2. Remove the inheritance of text transform in Edge 18-, Firefox, and IE.
392
+ */
393
+ button {
394
+ overflow: visible; /* 1 */
395
+ text-transform: none; /* 2 */
396
+ }
397
+ /**
398
+ * Correct the inability to style buttons in iOS and Safari.
399
+ */
400
+ button,
401
+ [type="button"],
402
+ [type="reset"],
403
+ [type="submit"] {
404
+ -webkit-appearance: button;
405
+ }
406
+ /**
407
+ * 1. Change the inconsistent appearance in all browsers (opinionated).
408
+ * 2. Correct the padding in Firefox.
409
+ */
410
+ fieldset {
411
+ border: 1px solid #a0a0a0; /* 1 */
412
+ padding: 0.35em 0.75em 0.625em; /* 2 */
413
+ }
414
+ /**
415
+ * Show the overflow in Edge 18- and IE.
416
+ */
417
+ input {
418
+ overflow: visible;
419
+ }
420
+ /**
421
+ * 1. Correct the text wrapping in Edge 18- and IE.
422
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
423
+ */
424
+ legend {
425
+ color: inherit; /* 2 */
426
+ display: table; /* 1 */
427
+ max-width: 100%; /* 1 */
428
+ white-space: normal; /* 1 */
429
+ }
430
+ /**
431
+ * 1. Add the correct display in Edge 18- and IE.
432
+ * 2. Add the correct vertical alignment in Chrome, Edge, and Firefox.
433
+ */
434
+ progress {
435
+ display: inline-block; /* 1 */
436
+ vertical-align: baseline; /* 2 */
437
+ }
438
+ /**
439
+ * Remove the inheritance of text transform in Firefox.
440
+ */
441
+ select {
442
+ text-transform: none;
443
+ }
444
+ /**
445
+ * 1. Remove the margin in Firefox and Safari.
446
+ * 2. Remove the default vertical scrollbar in IE.
447
+ * 3. Change the resize direction in all browsers (opinionated).
448
+ */
449
+ textarea {
450
+ margin: 0; /* 1 */
451
+ overflow: auto; /* 2 */
452
+ resize: vertical; /* 3 */
453
+ }
454
+ /**
455
+ * Remove the padding in IE 10-.
456
+ */
457
+ [type="checkbox"],
458
+ [type="radio"] {
459
+ padding: 0;
460
+ }
461
+ /**
462
+ * 1. Correct the odd appearance in Chrome, Edge, and Safari.
463
+ * 2. Correct the outline style in Safari.
464
+ */
465
+ [type="search"] {
466
+ -webkit-appearance: textfield; /* 1 */
467
+ outline-offset: -2px; /* 2 */
468
+ }
469
+ /**
470
+ * Correct the cursor style of increment and decrement buttons in Safari.
471
+ */
472
+ ::-webkit-inner-spin-button,
473
+ ::-webkit-outer-spin-button {
474
+ height: auto;
475
+ }
476
+ /**
477
+ * Correct the text style of placeholders in Chrome, Edge, and Safari.
478
+ */
479
+ ::-webkit-input-placeholder {
480
+ color: inherit;
481
+ opacity: 0.54;
482
+ }
483
+ /**
484
+ * Remove the inner padding in Chrome, Edge, and Safari on macOS.
485
+ */
486
+ ::-webkit-search-decoration {
487
+ -webkit-appearance: none;
488
+ }
489
+ /**
490
+ * 1. Correct the inability to style upload buttons in iOS and Safari.
491
+ * 2. Change font properties to `inherit` in Safari.
492
+ */
493
+ ::-webkit-file-upload-button {
494
+ -webkit-appearance: button; /* 1 */
495
+ font: inherit; /* 2 */
496
+ }
497
+ /**
498
+ * Remove the inner border and padding of focus outlines in Firefox.
499
+ */
500
+ ::-moz-focus-inner {
501
+ border-style: none;
502
+ padding: 0;
503
+ }
504
+ /**
505
+ * Restore the focus outline styles unset by the previous rule in Firefox.
506
+ */
507
+ :-moz-focusring {
508
+ outline: 1px dotted ButtonText;
509
+ }
510
+ /**
511
+ * Remove the additional :invalid styles in Firefox.
512
+ */
513
+ :-moz-ui-invalid {
514
+ box-shadow: none;
515
+ }