jekyll-theme-strata 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.txt +21 -0
- data/README.md +163 -0
- data/_includes/disqus.html +17 -0
- data/_includes/footer.html +23 -0
- data/_includes/google-analytics.html +11 -0
- data/_includes/head.html +10 -0
- data/_includes/header.html +10 -0
- data/_includes/scripts.html +6 -0
- data/_layouts/default.html +26 -0
- data/_layouts/home.html +33 -0
- data/_layouts/page.html +10 -0
- data/_layouts/post.html +24 -0
- data/_sass/strata.scss +1614 -0
- data/_sass/strata/_breakpoints.scss +223 -0
- data/_sass/strata/_functions.scss +90 -0
- data/_sass/strata/_html-grid.scss +149 -0
- data/_sass/strata/_mixins.scss +63 -0
- data/_sass/strata/_syntax.scss +71 -0
- data/_sass/strata/_vars.scss +61 -0
- data/_sass/strata/_vendor.scss +376 -0
- data/assets/css/font-awesome.min.css +4 -0
- data/assets/css/images/overlay.png +0 -0
- data/assets/css/main.scss +6 -0
- data/assets/fonts/FontAwesome.otf +0 -0
- data/assets/fonts/fontawesome-webfont.eot +0 -0
- data/assets/fonts/fontawesome-webfont.svg +2671 -0
- data/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/assets/fonts/fontawesome-webfont.woff +0 -0
- data/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/assets/images/bg.jpg +0 -0
- data/assets/js/breakpoints.min.js +2 -0
- data/assets/js/browser.min.js +2 -0
- data/assets/js/jquery.min.js +2 -0
- data/assets/js/jquery.poptrox.min.js +2 -0
- data/assets/js/main.js +117 -0
- data/assets/js/util.js +587 -0
- metadata +150 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8fd700c90292e8a0139d4fb1b2b026e200caf487
|
4
|
+
data.tar.gz: 52402bb4c5026a436f4ae03a9c2269ed0f476252
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 47deb699787c78bf78a72e60575c7ad264a03745350d61cbaf8c8ebd4c2811ba07cbeb38f2a9ff89e9fbcc0cfca30b9c96c8416e0d6433321fe8dbec5dbbcf6d
|
7
|
+
data.tar.gz: 2f359fbf472f0a9b24b9bffeb556f3ebf5059bbdd3af4e42ef99b363e304740aea1e8b02e7379f32a91c9e6a5d81c9127e1f5ff2b6781ae3b5fc95622e04894f
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Matthew Loberg
|
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,163 @@
|
|
1
|
+
# jekyll-theme-strata
|
2
|
+
|
3
|
+
jekyll-theme-strata is a Jekyll theme based on the [Strata HTML5 UP](https://html5up.net/).
|
4
|
+
|
5
|
+
See [example site](https://mloberg.github.io/strata-jekyll-theme/).
|
6
|
+
|
7
|
+
![minima theme preview](/screenshot.png)
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add this line to your Jekyll site's `Gemfile`:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem "jekyll-theme-strata"
|
15
|
+
```
|
16
|
+
|
17
|
+
And add this line to your Jekyll site's `_config.yml`:
|
18
|
+
|
19
|
+
```yaml
|
20
|
+
theme: jekyll-theme-strata
|
21
|
+
```
|
22
|
+
|
23
|
+
And then execute:
|
24
|
+
|
25
|
+
$ bundle
|
26
|
+
|
27
|
+
## Usage
|
28
|
+
|
29
|
+
Strata comes with the [jekyll-seo-tag](https://github.com/jekyll/jekyll-seo-tag)
|
30
|
+
plugin preinstalled. It uses the `logo` attribute as the site's avatar. Otherwise
|
31
|
+
see [usage](https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md)
|
32
|
+
for more details on the SEO plugin.
|
33
|
+
|
34
|
+
### Changing Background
|
35
|
+
|
36
|
+
Changing the background can be done by adding the image you would like at the
|
37
|
+
`assets/images/bg.jpg` path. This image should be 1274px x 1274px.
|
38
|
+
|
39
|
+
### Social Icons
|
40
|
+
|
41
|
+
You can add links to your social accounts by adding one or more of the
|
42
|
+
following options to your config.
|
43
|
+
|
44
|
+
```yaml
|
45
|
+
twitter_username: ~
|
46
|
+
github_username: ~
|
47
|
+
dribbble_username: ~
|
48
|
+
facebook_username: ~
|
49
|
+
flickr_username: ~
|
50
|
+
instagram_username: ~
|
51
|
+
linkedin_username: ~
|
52
|
+
pinterest_username: ~
|
53
|
+
youtube_username: ~
|
54
|
+
googleplus_username: ~
|
55
|
+
rss: true # false to hide rss icon
|
56
|
+
```
|
57
|
+
|
58
|
+
### Enabling comments (via Disqus)
|
59
|
+
|
60
|
+
If you use Disqus for comments on your Jekyll blog, you can enable this with
|
61
|
+
the following configuration:
|
62
|
+
|
63
|
+
```yaml
|
64
|
+
disqus:
|
65
|
+
shortname: my_disqus_shortname
|
66
|
+
```
|
67
|
+
|
68
|
+
Comments are only enabled in production builds (`JEKYLL_ENV=production`).
|
69
|
+
|
70
|
+
You can disable comments on a specific post by adding `comments: false` to the
|
71
|
+
post's front matter.
|
72
|
+
|
73
|
+
### Enabling Google Analytics
|
74
|
+
|
75
|
+
To enable Google Analytics, add this configuration:
|
76
|
+
|
77
|
+
```yaml
|
78
|
+
google_analytics: UA-NNNNNNNN-N
|
79
|
+
```
|
80
|
+
|
81
|
+
Google Analytics are only enabled in production builds (`JEKYLL_ENV=production`).
|
82
|
+
|
83
|
+
### Enabling Excerpts on the Home Page
|
84
|
+
|
85
|
+
To display post excerpts on the home page, add the following configration:
|
86
|
+
|
87
|
+
```yaml
|
88
|
+
show_excerpts: true
|
89
|
+
```
|
90
|
+
|
91
|
+
### Change Post Date Format
|
92
|
+
|
93
|
+
You can specify the date format of posts with the following configuration:
|
94
|
+
|
95
|
+
```yaml
|
96
|
+
date_format: "%b %-d, %Y"
|
97
|
+
```
|
98
|
+
|
99
|
+
The format documentation can be [found online](http://shopify.github.io/liquid/filters/date/).
|
100
|
+
|
101
|
+
## Contributing
|
102
|
+
|
103
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/mloberg/strata-jekyll-theme.
|
104
|
+
This project is intended to be a safe, welcoming space for collaboration, and
|
105
|
+
contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org)
|
106
|
+
code of conduct.
|
107
|
+
|
108
|
+
## Development
|
109
|
+
|
110
|
+
To set up your environment to develop this theme, run `bundle install`.
|
111
|
+
|
112
|
+
This theme is setup just like a normal Jekyll site! To test this theme, run
|
113
|
+
`bundle exec jekyll serve` and open your browser at `http://localhost:4000`.
|
114
|
+
This starts a Jekyll server using this theme and contents. As you make
|
115
|
+
modifications, your site will regenerate and you should see the changes in the
|
116
|
+
browser after a refresh.
|
117
|
+
|
118
|
+
## License
|
119
|
+
|
120
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
121
|
+
|
122
|
+
## Credits
|
123
|
+
|
124
|
+
This Jekyll theme is taken from [Strata by HTML5 UP](https://html5up.net/).
|
125
|
+
Additionally, a lot inspiration was taken from [Minima](https://github.com/jekyll/minima).
|
126
|
+
|
127
|
+
Original README from HTML5 UP:
|
128
|
+
|
129
|
+
```
|
130
|
+
Strata by HTML5 UP
|
131
|
+
html5up.net | @ajlkn
|
132
|
+
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
133
|
+
|
134
|
+
|
135
|
+
A simple, minimalist template that actually began life as an unused redesign of my
|
136
|
+
personal site. Includes a (configurable) parallax background effect, Poptrox-powered
|
137
|
+
lightbox gallery, a bunch of pre-styled elements, and Sass sources for the Sass-inclined.
|
138
|
+
|
139
|
+
Demo images* courtesy of Unsplash, a radtastic collection of CC0 (public domain) images
|
140
|
+
you can use for pretty much whatever.
|
141
|
+
|
142
|
+
(* = Not included)
|
143
|
+
|
144
|
+
Feedback, bug reports, and comments are not only welcome, but strongly encouraged :)
|
145
|
+
|
146
|
+
AJ
|
147
|
+
aj@lkn.io | @ajlkn
|
148
|
+
|
149
|
+
PS: Not sure how to get that contact form working? Give formspree.io a try (it's awesome).
|
150
|
+
|
151
|
+
|
152
|
+
Credits:
|
153
|
+
|
154
|
+
Demo Images:
|
155
|
+
Unsplash (unsplash.com)
|
156
|
+
|
157
|
+
Icons:
|
158
|
+
Font Awesome (fontawesome.io)
|
159
|
+
|
160
|
+
Other:
|
161
|
+
jQuery (jquery.com)
|
162
|
+
Responsive Tools (github.com/ajlkn/responsive-tools)
|
163
|
+
```
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{%- if page.comments != false and jekyll.environment == "production" -%}
|
2
|
+
|
3
|
+
<div id="disqus_thread"></div>
|
4
|
+
<script>
|
5
|
+
var disqus_config = function () {
|
6
|
+
this.page.url = '{{ page.url | absolute_url }}';
|
7
|
+
this.page.identifier = '{{ page.url | absolute_url }}';
|
8
|
+
};
|
9
|
+
(function() {
|
10
|
+
var d = document, s = d.createElement('script');
|
11
|
+
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
|
12
|
+
s.setAttribute('data-timestamp', +new Date());
|
13
|
+
(d.head || d.body).appendChild(s);
|
14
|
+
})();
|
15
|
+
</script>
|
16
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
17
|
+
{%- endif -%}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<!-- Footer -->
|
2
|
+
<footer id="footer">
|
3
|
+
<div class="inner">
|
4
|
+
<ul class="icons">
|
5
|
+
{%- if site.twitter_username -%}<li><a href="https://twitter.com/{{ site.twitter_username| cgi_escape | escape }}" class="icon fa-twitter"><span class="label">Twitter</span></a></li>{%- endif -%}
|
6
|
+
{%- if site.github_username -%}<li><a href="https://github.com/{{ site.github_username| cgi_escape | escape }}" class="icon fa-github"><span class="label">GitHub</span></a></li>{%- endif -%}
|
7
|
+
{%- if site.dribbble_username -%}<li><a href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}" class="icon fa-dribbble"><span class="label">Dribbble</span></a></li>{%- endif -%}
|
8
|
+
{%- if site.facebook_username -%}<li><a href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}" class="icon fa-facebook"></i><span class="label">Facebook</span></a></li>{%- endif -%}
|
9
|
+
{%- if site.flickr_username -%}<li><a href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}" class="icon fa-flickr"><span class="label">Flickr</span></a></li>{%- endif -%}
|
10
|
+
{%- if site.instagram_username -%}<li><a href="https://www.instagram.com/{{ site.instagram_username| cgi_escape | escape }}" class="icon fa-instagram"></i><span class="label">Instagram</span></a></li>{%- endif -%}
|
11
|
+
{%- if site.linkedin_username -%}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}" class="icon fa-linkedin"></i><span class="label">LinkedIn</span></a></li>{%- endif -%}
|
12
|
+
{%- if site.pinterest_username -%}<li><a href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}" class="icon fa-pinterest"></i><span class="label">Pinterest</span></a></li>{%- endif -%}
|
13
|
+
{%- if site.youtube_username -%}<li><a href="https://www.youtube.com/{{ site.youtube_username| cgi_escape | escape }}" class="icon fa-youtube"><span class="label">YouTube</span></a></li>{%- endif -%}
|
14
|
+
{%- if site.googleplus_username -%}<li><a href="https://plus.google.com/{{ site.googleplus_username| escape }}" class="icon fa-google-plus"><span class="label">Google+</span></a></li>{%- endif -%}
|
15
|
+
{%- if site.rss -%}<li><a href="{{ 'feed.xml' | relative_url }}" class="icon fa-rss"><span class="label">RSS</span></a></li>{%- endif -%}
|
16
|
+
</ul>
|
17
|
+
<ul class="copyright">
|
18
|
+
<li>© {{ site.time | date: '%Y' }} {{ site.title | escape }}</li>
|
19
|
+
<li>Design: <a href="http://html5up.net" rel="nofollow">HTML5 UP</a></li>
|
20
|
+
<li>Powered by: <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a></li>
|
21
|
+
</ul>
|
22
|
+
</div>
|
23
|
+
</footer>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<script>
|
2
|
+
if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
|
3
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
4
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
5
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
6
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
7
|
+
|
8
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
9
|
+
ga('send', 'pageview');
|
10
|
+
}
|
11
|
+
</script>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8" />
|
3
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
4
|
+
{%- seo -%}
|
5
|
+
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" />
|
6
|
+
{%- feed_meta -%}
|
7
|
+
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
8
|
+
{%- include google-analytics.html -%}
|
9
|
+
{%- endif -%}
|
10
|
+
</head>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<!-- Header -->
|
2
|
+
<header id="header">
|
3
|
+
<div class="inner">
|
4
|
+
<a href="{{ "/" | relative_url }}" class="image avatar"><img src="{{ site.logo | relative_url }}" alt="{{ site.title | escape }}" /></a>
|
5
|
+
<h1>
|
6
|
+
<strong>{{ site.title | escape }}</strong><br />
|
7
|
+
{{ site.description | escape }}
|
8
|
+
</h1>
|
9
|
+
</div>
|
10
|
+
</header>
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<script src="{{ "/assets/js/jquery.min.js" | relative_url }}"></script>
|
2
|
+
<script src="{{ "/assets/js/jquery.poptrox.min.js" | relative_url}}"></script>
|
3
|
+
<script src="{{ "/assets/js/browser.min.js" | relative_url }}"></script>
|
4
|
+
<script src="{{ "/assets/js/breakpoints.min.js" | relative_url }}"></script>
|
5
|
+
<script src="{{ "/assets/js/util.js" | relative_url }}"></script>
|
6
|
+
<script src="{{ "/assets/js/main.js" | relative_url }}"></script>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
<!doctype html>
|
4
|
+
<!--
|
5
|
+
Strata by HTML5 UP
|
6
|
+
html5up.net | @ajlkn
|
7
|
+
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
8
|
+
-->
|
9
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
10
|
+
|
11
|
+
{%- include head.html -%}
|
12
|
+
|
13
|
+
<body class="is-preload">
|
14
|
+
|
15
|
+
{%- include header.html -%}
|
16
|
+
|
17
|
+
<main id="main" class="page-content" aria-label="Content">
|
18
|
+
{{ content }}
|
19
|
+
</div>
|
20
|
+
|
21
|
+
{%- include footer.html -%}
|
22
|
+
|
23
|
+
{%- include scripts.html -%}
|
24
|
+
|
25
|
+
</body>
|
26
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<div class="home">
|
5
|
+
{%- if page.title -%}
|
6
|
+
<h1 class="page-heading">{{ page.title }}</h1>
|
7
|
+
{%- endif -%}
|
8
|
+
|
9
|
+
{{ content }}
|
10
|
+
|
11
|
+
{%- if site.posts.size > 0 -%}
|
12
|
+
{%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
|
13
|
+
<section class="post-list">
|
14
|
+
<h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
|
15
|
+
{%- for post in site.posts -%}
|
16
|
+
<hr>
|
17
|
+
<section>
|
18
|
+
<header>
|
19
|
+
<h3><a class="post-link" href="{{ post.url | relative_url }}">{{ post.title }}</a></h3>
|
20
|
+
<p class="post-meta">{{ post.date | date: date_format }}</p>
|
21
|
+
</header>
|
22
|
+
{%- if site.show_excerpts -%}
|
23
|
+
{{ post.excerpt }}
|
24
|
+
<ul class="actions">
|
25
|
+
<li><a href="{{ post.url | relative_url }}" class="button">Continue Reading</a></li>
|
26
|
+
</ul>
|
27
|
+
{%- endif -%}
|
28
|
+
</section>
|
29
|
+
{%- endfor -%}
|
30
|
+
</section>
|
31
|
+
{%- endif -%}
|
32
|
+
|
33
|
+
</div>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
|
5
|
+
<header class="major post-header">
|
6
|
+
<h2 class="post-title" itemprop="name headline">{{ page.title | escape }}</h2>
|
7
|
+
<p>
|
8
|
+
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
9
|
+
{%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
|
10
|
+
{{- page.date | date: date_format -}}
|
11
|
+
</time>
|
12
|
+
</p>
|
13
|
+
</header>
|
14
|
+
|
15
|
+
<div class="post-content" itemprop="articleBody">
|
16
|
+
{{ content }}
|
17
|
+
</div>
|
18
|
+
|
19
|
+
{%- if site.disqus.shortname -%}
|
20
|
+
{%- include disqus.html -%}
|
21
|
+
{%- endif -%}
|
22
|
+
|
23
|
+
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
|
24
|
+
</article>
|
data/_sass/strata.scss
ADDED
@@ -0,0 +1,1614 @@
|
|
1
|
+
@import 'strata/vars';
|
2
|
+
@import 'strata/functions';
|
3
|
+
@import 'strata/mixins';
|
4
|
+
@import 'strata/vendor';
|
5
|
+
@import 'strata/breakpoints';
|
6
|
+
@import 'strata/html-grid';
|
7
|
+
@import 'strata/syntax';
|
8
|
+
|
9
|
+
/*
|
10
|
+
Strata by HTML5 UP
|
11
|
+
html5up.net | @ajlkn
|
12
|
+
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
13
|
+
*/
|
14
|
+
|
15
|
+
$size-header-width: 35%;
|
16
|
+
$size-header-pad: 4em;
|
17
|
+
|
18
|
+
// Breakpoints.
|
19
|
+
|
20
|
+
@include breakpoints((
|
21
|
+
xlarge: ( 1281px, 1800px ),
|
22
|
+
large: ( 981px, 1280px ),
|
23
|
+
medium: ( 737px, 980px ),
|
24
|
+
small: ( 481px, 736px ),
|
25
|
+
xsmall: ( null, 480px ),
|
26
|
+
));
|
27
|
+
|
28
|
+
// Reset.
|
29
|
+
// Based on meyerweb.com/eric/tools/css/reset (v2.0 | 20110126 | License: public domain)
|
30
|
+
|
31
|
+
html, body, div, span, applet, object,
|
32
|
+
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
|
33
|
+
pre, a, abbr, acronym, address, big, cite,
|
34
|
+
code, del, dfn, em, img, ins, kbd, q, s, samp,
|
35
|
+
small, strike, strong, sub, sup, tt, var, b,
|
36
|
+
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
|
37
|
+
form, label, legend, table, caption, tbody,
|
38
|
+
tfoot, thead, tr, th, td, article, aside,
|
39
|
+
canvas, details, embed, figure, figcaption,
|
40
|
+
footer, header, hgroup, menu, nav, output, ruby,
|
41
|
+
section, summary, time, mark, audio, video {
|
42
|
+
margin: 0;
|
43
|
+
padding: 0;
|
44
|
+
border: 0;
|
45
|
+
font-size: 100%;
|
46
|
+
font: inherit;
|
47
|
+
vertical-align: baseline;
|
48
|
+
}
|
49
|
+
|
50
|
+
article, aside, details, figcaption, figure,
|
51
|
+
footer, header, hgroup, menu, nav, section {
|
52
|
+
display: block;
|
53
|
+
}
|
54
|
+
|
55
|
+
body {
|
56
|
+
line-height: 1;
|
57
|
+
}
|
58
|
+
|
59
|
+
ol, ul {
|
60
|
+
list-style:none;
|
61
|
+
}
|
62
|
+
|
63
|
+
blockquote, q {
|
64
|
+
quotes: none;
|
65
|
+
|
66
|
+
&:before,
|
67
|
+
&:after {
|
68
|
+
content: '';
|
69
|
+
content: none;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
table {
|
74
|
+
border-collapse: collapse;
|
75
|
+
border-spacing: 0;
|
76
|
+
}
|
77
|
+
|
78
|
+
body {
|
79
|
+
-webkit-text-size-adjust: none;
|
80
|
+
}
|
81
|
+
|
82
|
+
mark {
|
83
|
+
background-color: transparent;
|
84
|
+
color: inherit;
|
85
|
+
}
|
86
|
+
|
87
|
+
input::-moz-focus-inner {
|
88
|
+
border: 0;
|
89
|
+
padding: 0;
|
90
|
+
}
|
91
|
+
|
92
|
+
input, select, textarea {
|
93
|
+
-moz-appearance: none;
|
94
|
+
-webkit-appearance: none;
|
95
|
+
-ms-appearance: none;
|
96
|
+
appearance: none;
|
97
|
+
}
|
98
|
+
|
99
|
+
/* Basic */
|
100
|
+
|
101
|
+
// Set box model to border-box.
|
102
|
+
// Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice
|
103
|
+
html {
|
104
|
+
box-sizing: border-box;
|
105
|
+
}
|
106
|
+
|
107
|
+
*, *:before, *:after {
|
108
|
+
box-sizing: inherit;
|
109
|
+
}
|
110
|
+
|
111
|
+
body {
|
112
|
+
background: _palette(bg);
|
113
|
+
|
114
|
+
// Stops initial animations until page loads.
|
115
|
+
&.is-preload {
|
116
|
+
*, *:before, *:after {
|
117
|
+
@include vendor('animation', 'none !important');
|
118
|
+
@include vendor('transition', 'none !important');
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
}
|
123
|
+
|
124
|
+
body, input, select, textarea {
|
125
|
+
color: _palette(fg);
|
126
|
+
font-family: _font(family);
|
127
|
+
font-size: 16pt;
|
128
|
+
font-weight: _font(weight);
|
129
|
+
line-height: 1.75em;
|
130
|
+
}
|
131
|
+
|
132
|
+
a {
|
133
|
+
@include vendor('transition', ('color #{_duration(transition)} ease-in-out', 'border-color #{_duration(transition)} ease-in-out'));
|
134
|
+
border-bottom: dotted 1px;
|
135
|
+
color: _palette(accent1, bg);
|
136
|
+
text-decoration: none;
|
137
|
+
|
138
|
+
&:hover {
|
139
|
+
border-bottom-color: transparent;
|
140
|
+
color: _palette(accent1, bg) !important;
|
141
|
+
text-decoration: none;
|
142
|
+
}
|
143
|
+
}
|
144
|
+
|
145
|
+
strong, b {
|
146
|
+
color: _palette(fg-bold);
|
147
|
+
font-weight: _font(weight-bold);
|
148
|
+
}
|
149
|
+
|
150
|
+
em, i {
|
151
|
+
font-style: italic;
|
152
|
+
}
|
153
|
+
|
154
|
+
p {
|
155
|
+
margin: 0 0 _size(element-margin) 0;
|
156
|
+
}
|
157
|
+
|
158
|
+
h1, h2, h3, h4, h5, h6 {
|
159
|
+
color: _palette(fg-bold);
|
160
|
+
font-weight: _font(weight-bold);
|
161
|
+
line-height: 1em;
|
162
|
+
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
163
|
+
|
164
|
+
a {
|
165
|
+
color: inherit;
|
166
|
+
text-decoration: none;
|
167
|
+
}
|
168
|
+
}
|
169
|
+
|
170
|
+
h1 {
|
171
|
+
font-size: 2em;
|
172
|
+
line-height: 1.5em;
|
173
|
+
}
|
174
|
+
|
175
|
+
h2 {
|
176
|
+
font-size: 1.5em;
|
177
|
+
line-height: 1.5em;
|
178
|
+
}
|
179
|
+
|
180
|
+
h3 {
|
181
|
+
font-size: 1.25em;
|
182
|
+
line-height: 1.5em;
|
183
|
+
}
|
184
|
+
|
185
|
+
h4 {
|
186
|
+
font-size: 1.1em;
|
187
|
+
line-height: 1.5em;
|
188
|
+
}
|
189
|
+
|
190
|
+
h5 {
|
191
|
+
font-size: 0.9em;
|
192
|
+
line-height: 1.5em;
|
193
|
+
}
|
194
|
+
|
195
|
+
h6 {
|
196
|
+
font-size: 0.7em;
|
197
|
+
line-height: 1.5em;
|
198
|
+
}
|
199
|
+
|
200
|
+
sub {
|
201
|
+
font-size: 0.8em;
|
202
|
+
position: relative;
|
203
|
+
top: 0.5em;
|
204
|
+
}
|
205
|
+
|
206
|
+
sup {
|
207
|
+
font-size: 0.8em;
|
208
|
+
position: relative;
|
209
|
+
top: -0.5em;
|
210
|
+
}
|
211
|
+
|
212
|
+
hr {
|
213
|
+
border: 0;
|
214
|
+
border-bottom: solid 2px _palette(border);
|
215
|
+
|
216
|
+
// This is the *only* instance where we need to rely on margin collapse.
|
217
|
+
margin: _size(element-margin) 0;
|
218
|
+
|
219
|
+
&.major {
|
220
|
+
margin: (_size(element-margin) * 1.5) 0;
|
221
|
+
}
|
222
|
+
}
|
223
|
+
|
224
|
+
blockquote {
|
225
|
+
border-left: solid 6px _palette(border);
|
226
|
+
font-style: italic;
|
227
|
+
margin: 0 0 _size(element-margin) 0;
|
228
|
+
padding: 0.5em 0 0.5em 1.5em;
|
229
|
+
}
|
230
|
+
|
231
|
+
code {
|
232
|
+
background: _palette(border-bg);
|
233
|
+
border-radius: _size(border-radius);
|
234
|
+
border: solid 2px _palette(border);
|
235
|
+
font-family: _font(family-fixed);
|
236
|
+
font-size: 0.9em;
|
237
|
+
margin: 0 0.25em;
|
238
|
+
padding: 0.25em 0.65em;
|
239
|
+
}
|
240
|
+
|
241
|
+
pre {
|
242
|
+
-webkit-overflow-scrolling: touch;
|
243
|
+
font-family: _font(family-fixed);
|
244
|
+
font-size: 0.9em;
|
245
|
+
margin: 0 0 _size(element-margin) 0;
|
246
|
+
|
247
|
+
code {
|
248
|
+
display: block;
|
249
|
+
line-height: 1.75em;
|
250
|
+
padding: 1em 1.5em;
|
251
|
+
overflow-x: auto;
|
252
|
+
}
|
253
|
+
}
|
254
|
+
|
255
|
+
.align-left {
|
256
|
+
text-align: left;
|
257
|
+
}
|
258
|
+
|
259
|
+
.align-center {
|
260
|
+
text-align: center;
|
261
|
+
}
|
262
|
+
|
263
|
+
.align-right {
|
264
|
+
text-align: right;
|
265
|
+
}
|
266
|
+
|
267
|
+
/* Container */
|
268
|
+
|
269
|
+
.container {
|
270
|
+
margin: 0 auto;
|
271
|
+
max-width: calc(100% - #{_size(element-margin) * 2});
|
272
|
+
width: _size(container-width);
|
273
|
+
|
274
|
+
&.xsmall {
|
275
|
+
width: (_size(container-width) * 0.25);
|
276
|
+
}
|
277
|
+
|
278
|
+
&.small {
|
279
|
+
width: (_size(container-width) * 0.5);
|
280
|
+
}
|
281
|
+
|
282
|
+
&.medium {
|
283
|
+
width: (_size(container-width) * 0.75);
|
284
|
+
}
|
285
|
+
|
286
|
+
&.large {
|
287
|
+
width: (_size(container-width) * 1.25);
|
288
|
+
}
|
289
|
+
|
290
|
+
&.xlarge {
|
291
|
+
width: (_size(container-width) * 1.5);
|
292
|
+
}
|
293
|
+
|
294
|
+
&.max {
|
295
|
+
width: 100%;
|
296
|
+
}
|
297
|
+
|
298
|
+
@include breakpoint('<=medium') {
|
299
|
+
width: 100% !important;
|
300
|
+
max-width: 100% !important;
|
301
|
+
}
|
302
|
+
|
303
|
+
@include breakpoint('<=xsmall') {
|
304
|
+
max-width: calc(100% - #{_size(element-margin) * 1.5});
|
305
|
+
}
|
306
|
+
}
|
307
|
+
|
308
|
+
/* Row */
|
309
|
+
|
310
|
+
.row {
|
311
|
+
@include html-grid(2.5em);
|
312
|
+
|
313
|
+
@include breakpoint('<=xlarge') {
|
314
|
+
@include html-grid(2.5em, 'xlarge');
|
315
|
+
}
|
316
|
+
|
317
|
+
@include breakpoint('<=large') {
|
318
|
+
@include html-grid(2em, 'large');
|
319
|
+
}
|
320
|
+
|
321
|
+
@include breakpoint('<=medium') {
|
322
|
+
@include html-grid(2em, 'medium');
|
323
|
+
}
|
324
|
+
|
325
|
+
@include breakpoint('<=small') {
|
326
|
+
@include html-grid(1.5em, 'small');
|
327
|
+
}
|
328
|
+
|
329
|
+
@include breakpoint('<=xsmall') {
|
330
|
+
@include html-grid(1.5em, 'xsmall');
|
331
|
+
}
|
332
|
+
}
|
333
|
+
|
334
|
+
/* Section/Article */
|
335
|
+
|
336
|
+
section, article {
|
337
|
+
&.special {
|
338
|
+
text-align: center;
|
339
|
+
}
|
340
|
+
}
|
341
|
+
|
342
|
+
header {
|
343
|
+
p {
|
344
|
+
color: _palette(fg-light);
|
345
|
+
position: relative;
|
346
|
+
margin: 0 0 (_size(element-margin) * 0.75) 0;
|
347
|
+
}
|
348
|
+
|
349
|
+
h2 + p {
|
350
|
+
font-size: 1.25em;
|
351
|
+
margin-top: (_size(element-margin) * -0.5);
|
352
|
+
line-height: 1.5em;
|
353
|
+
}
|
354
|
+
|
355
|
+
h3 + p {
|
356
|
+
font-size: 1.1em;
|
357
|
+
margin-top: (_size(element-margin) * -0.4);
|
358
|
+
line-height: 1.5em;
|
359
|
+
}
|
360
|
+
|
361
|
+
h4 + p,
|
362
|
+
h5 + p,
|
363
|
+
h6 + p {
|
364
|
+
font-size: 0.9em;
|
365
|
+
margin-top: (_size(element-margin) * -0.3);
|
366
|
+
line-height: 1.5em;
|
367
|
+
}
|
368
|
+
|
369
|
+
&.major {
|
370
|
+
h2 {
|
371
|
+
font-size: 2em;
|
372
|
+
}
|
373
|
+
}
|
374
|
+
}
|
375
|
+
|
376
|
+
/* Form */
|
377
|
+
|
378
|
+
form {
|
379
|
+
margin: 0 0 _size(element-margin) 0;
|
380
|
+
}
|
381
|
+
|
382
|
+
label {
|
383
|
+
color: _palette(fg-bold);
|
384
|
+
display: block;
|
385
|
+
font-size: 0.9em;
|
386
|
+
font-weight: _font(weight-bold);
|
387
|
+
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
388
|
+
}
|
389
|
+
|
390
|
+
input[type="text"],
|
391
|
+
input[type="password"],
|
392
|
+
input[type="email"],
|
393
|
+
select,
|
394
|
+
textarea {
|
395
|
+
@include vendor('appearance', 'none');
|
396
|
+
background: _palette(border-bg);
|
397
|
+
border-radius: _size(border-radius);
|
398
|
+
border: solid 2px transparent;
|
399
|
+
color: inherit;
|
400
|
+
display: block;
|
401
|
+
outline: 0;
|
402
|
+
padding: 0 0.75em;
|
403
|
+
text-decoration: none;
|
404
|
+
width: 100%;
|
405
|
+
|
406
|
+
&:invalid {
|
407
|
+
box-shadow: none;
|
408
|
+
}
|
409
|
+
|
410
|
+
&:focus {
|
411
|
+
border-color: _palette(accent1, bg);
|
412
|
+
}
|
413
|
+
}
|
414
|
+
|
415
|
+
select {
|
416
|
+
background-image: svg-url("<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'><path d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='#{_palette(border2)}' /></svg>");
|
417
|
+
background-size: 1.25rem;
|
418
|
+
background-repeat: no-repeat;
|
419
|
+
background-position: calc(100% - 1rem) center;
|
420
|
+
height: _size(element-height);
|
421
|
+
padding-right: _size(element-height);
|
422
|
+
text-overflow: ellipsis;
|
423
|
+
|
424
|
+
option {
|
425
|
+
color: _palette(fg-bold);
|
426
|
+
background: _palette(bg);
|
427
|
+
}
|
428
|
+
|
429
|
+
&:focus {
|
430
|
+
&::-ms-value {
|
431
|
+
background-color: transparent;
|
432
|
+
}
|
433
|
+
}
|
434
|
+
|
435
|
+
&::-ms-expand {
|
436
|
+
display: none;
|
437
|
+
}
|
438
|
+
}
|
439
|
+
|
440
|
+
input[type="text"],
|
441
|
+
input[type="password"],
|
442
|
+
input[type="email"],
|
443
|
+
select {
|
444
|
+
height: _size(element-height);
|
445
|
+
}
|
446
|
+
|
447
|
+
textarea {
|
448
|
+
padding: 0.75em;
|
449
|
+
}
|
450
|
+
|
451
|
+
input[type="checkbox"],
|
452
|
+
input[type="radio"] {
|
453
|
+
@include vendor('appearance', 'none');
|
454
|
+
display: block;
|
455
|
+
float: left;
|
456
|
+
margin-right: -2em;
|
457
|
+
opacity: 0;
|
458
|
+
width: 1em;
|
459
|
+
z-index: -1;
|
460
|
+
|
461
|
+
& + label {
|
462
|
+
@include icon;
|
463
|
+
color: _palette(fg);
|
464
|
+
cursor: pointer;
|
465
|
+
display: inline-block;
|
466
|
+
font-size: 1em;
|
467
|
+
font-weight: _font(weight);
|
468
|
+
padding-left: (_size(element-height) * 0.6) + 0.75em;
|
469
|
+
padding-right: 0.75em;
|
470
|
+
position: relative;
|
471
|
+
|
472
|
+
&:before {
|
473
|
+
background: _palette(border-bg);
|
474
|
+
border-radius: _size(border-radius);
|
475
|
+
border: solid 2px transparent;
|
476
|
+
content: '';
|
477
|
+
display: inline-block;
|
478
|
+
height: (_size(element-height) * 0.6);
|
479
|
+
left: 0;
|
480
|
+
line-height: (_size(element-height) * 0.575);
|
481
|
+
position: absolute;
|
482
|
+
text-align: center;
|
483
|
+
top: 0;
|
484
|
+
width: (_size(element-height) * 0.6);
|
485
|
+
}
|
486
|
+
}
|
487
|
+
|
488
|
+
&:checked + label {
|
489
|
+
&:before {
|
490
|
+
background: _palette(fg-bold);
|
491
|
+
border-color: _palette(fg-bold);
|
492
|
+
color: _palette(bg);
|
493
|
+
content: '\f00c';
|
494
|
+
}
|
495
|
+
}
|
496
|
+
|
497
|
+
&:focus + label {
|
498
|
+
&:before {
|
499
|
+
border-color: _palette(accent1, bg);
|
500
|
+
}
|
501
|
+
}
|
502
|
+
}
|
503
|
+
|
504
|
+
input[type="checkbox"] {
|
505
|
+
& + label {
|
506
|
+
&:before {
|
507
|
+
border-radius: _size(border-radius);
|
508
|
+
}
|
509
|
+
}
|
510
|
+
}
|
511
|
+
|
512
|
+
input[type="radio"] {
|
513
|
+
& + label {
|
514
|
+
&:before {
|
515
|
+
border-radius: 100%;
|
516
|
+
}
|
517
|
+
}
|
518
|
+
}
|
519
|
+
|
520
|
+
::-webkit-input-placeholder {
|
521
|
+
color: _palette(fg-light) !important;
|
522
|
+
opacity: 1.0;
|
523
|
+
}
|
524
|
+
|
525
|
+
:-moz-placeholder {
|
526
|
+
color: _palette(fg-light) !important;
|
527
|
+
opacity: 1.0;
|
528
|
+
}
|
529
|
+
|
530
|
+
::-moz-placeholder {
|
531
|
+
color: _palette(fg-light) !important;
|
532
|
+
opacity: 1.0;
|
533
|
+
}
|
534
|
+
|
535
|
+
:-ms-input-placeholder {
|
536
|
+
color: _palette(fg-light) !important;
|
537
|
+
opacity: 1.0;
|
538
|
+
}
|
539
|
+
|
540
|
+
/* Box */
|
541
|
+
|
542
|
+
.box {
|
543
|
+
border-radius: _size(border-radius);
|
544
|
+
border: solid 2px _palette(border);
|
545
|
+
margin-bottom: _size(element-margin);
|
546
|
+
padding: 1.5em;
|
547
|
+
|
548
|
+
> :last-child,
|
549
|
+
> :last-child > :last-child,
|
550
|
+
> :last-child > :last-child > :last-child {
|
551
|
+
margin-bottom: 0;
|
552
|
+
}
|
553
|
+
|
554
|
+
&.alt {
|
555
|
+
border: 0;
|
556
|
+
border-radius: 0;
|
557
|
+
padding: 0;
|
558
|
+
}
|
559
|
+
}
|
560
|
+
|
561
|
+
/* Icon */
|
562
|
+
|
563
|
+
.icon {
|
564
|
+
@include icon;
|
565
|
+
border-bottom: none;
|
566
|
+
position: relative;
|
567
|
+
|
568
|
+
> .label {
|
569
|
+
display: none;
|
570
|
+
}
|
571
|
+
}
|
572
|
+
|
573
|
+
/* Image */
|
574
|
+
|
575
|
+
.image {
|
576
|
+
border-radius: _size(border-radius);
|
577
|
+
border: 0;
|
578
|
+
display: inline-block;
|
579
|
+
position: relative;
|
580
|
+
|
581
|
+
&:before {
|
582
|
+
@include vendor('transition', 'opacity #{_duration(transition)} ease-in-out');
|
583
|
+
background: url('images/overlay.png');
|
584
|
+
border-radius: _size(border-radius);
|
585
|
+
content: '';
|
586
|
+
display: block;
|
587
|
+
height: 100%;
|
588
|
+
left: 0;
|
589
|
+
opacity: 0.5;
|
590
|
+
position: absolute;
|
591
|
+
top: 0;
|
592
|
+
width: 100%;
|
593
|
+
}
|
594
|
+
|
595
|
+
&.thumb {
|
596
|
+
text-align: center;
|
597
|
+
|
598
|
+
&:after {
|
599
|
+
@include vendor('transition', 'opacity #{_duration(transition)} ease-in-out');
|
600
|
+
border-radius: _size(border-radius);
|
601
|
+
border: solid 3px rgba(255,255,255,0.5);
|
602
|
+
color: #fff;
|
603
|
+
content: 'View';
|
604
|
+
display: inline-block;
|
605
|
+
font-size: 0.8em;
|
606
|
+
font-weight: _font(weight-bold);
|
607
|
+
left: 50%;
|
608
|
+
line-height: 2.25em;
|
609
|
+
margin: -1.25em 0 0 -3em;
|
610
|
+
opacity: 0;
|
611
|
+
padding: 0 1.5em;
|
612
|
+
position: absolute;
|
613
|
+
text-align: center;
|
614
|
+
text-decoration: none;
|
615
|
+
top: 50%;
|
616
|
+
white-space: nowrap;
|
617
|
+
}
|
618
|
+
|
619
|
+
&:hover {
|
620
|
+
&:after {
|
621
|
+
opacity: 1.0;
|
622
|
+
}
|
623
|
+
|
624
|
+
&:before {
|
625
|
+
background: url('images/overlay.png'), url('images/overlay.png');
|
626
|
+
opacity: 1.0;
|
627
|
+
}
|
628
|
+
}
|
629
|
+
}
|
630
|
+
|
631
|
+
img {
|
632
|
+
border-radius: _size(border-radius);
|
633
|
+
display: block;
|
634
|
+
}
|
635
|
+
|
636
|
+
&.left {
|
637
|
+
float: left;
|
638
|
+
margin: 0 1.5em 1em 0;
|
639
|
+
top: 0.25em;
|
640
|
+
}
|
641
|
+
|
642
|
+
&.right {
|
643
|
+
float: right;
|
644
|
+
margin: 0 0 1em 1.5em;
|
645
|
+
top: 0.25em;
|
646
|
+
}
|
647
|
+
|
648
|
+
&.left,
|
649
|
+
&.right {
|
650
|
+
max-width: 40%;
|
651
|
+
|
652
|
+
img {
|
653
|
+
width: 100%;
|
654
|
+
}
|
655
|
+
}
|
656
|
+
|
657
|
+
&.fit {
|
658
|
+
display: block;
|
659
|
+
margin: 0 0 _size(element-margin) 0;
|
660
|
+
width: 100%;
|
661
|
+
|
662
|
+
img {
|
663
|
+
width: 100%;
|
664
|
+
}
|
665
|
+
}
|
666
|
+
|
667
|
+
&.avatar {
|
668
|
+
border-radius: 100%;
|
669
|
+
|
670
|
+
&:before {
|
671
|
+
display: none;
|
672
|
+
}
|
673
|
+
|
674
|
+
img {
|
675
|
+
border-radius: 100%;
|
676
|
+
width: 100%;
|
677
|
+
}
|
678
|
+
}
|
679
|
+
}
|
680
|
+
|
681
|
+
/* List */
|
682
|
+
|
683
|
+
ol {
|
684
|
+
list-style: decimal;
|
685
|
+
margin: 0 0 _size(element-margin) 0;
|
686
|
+
padding-left: 1.25em;
|
687
|
+
|
688
|
+
li {
|
689
|
+
padding-left: 0.25em;
|
690
|
+
}
|
691
|
+
}
|
692
|
+
|
693
|
+
ul {
|
694
|
+
list-style: disc;
|
695
|
+
margin: 0 0 _size(element-margin) 0;
|
696
|
+
padding-left: 1em;
|
697
|
+
|
698
|
+
li {
|
699
|
+
padding-left: 0.5em;
|
700
|
+
}
|
701
|
+
|
702
|
+
&.alt {
|
703
|
+
list-style: none;
|
704
|
+
padding-left: 0;
|
705
|
+
|
706
|
+
li {
|
707
|
+
border-top: solid 2px _palette(border);
|
708
|
+
padding: 0.5em 0;
|
709
|
+
|
710
|
+
&:first-child {
|
711
|
+
border-top: 0;
|
712
|
+
padding-top: 0;
|
713
|
+
}
|
714
|
+
}
|
715
|
+
}
|
716
|
+
}
|
717
|
+
|
718
|
+
dl {
|
719
|
+
margin: 0 0 _size(element-margin) 0;
|
720
|
+
}
|
721
|
+
|
722
|
+
/* Icons */
|
723
|
+
|
724
|
+
ul.icons {
|
725
|
+
cursor: default;
|
726
|
+
list-style: none;
|
727
|
+
padding-left: 0;
|
728
|
+
|
729
|
+
li {
|
730
|
+
display: inline-block;
|
731
|
+
padding: 0 1em 0 0;
|
732
|
+
|
733
|
+
&:last-child {
|
734
|
+
padding-right: 0;
|
735
|
+
}
|
736
|
+
|
737
|
+
.icon {
|
738
|
+
&:before {
|
739
|
+
font-size: 1.5em;
|
740
|
+
}
|
741
|
+
}
|
742
|
+
}
|
743
|
+
}
|
744
|
+
|
745
|
+
/* Labeled Icons */
|
746
|
+
|
747
|
+
ul.labeled-icons {
|
748
|
+
list-style: none;
|
749
|
+
padding: 0;
|
750
|
+
|
751
|
+
li {
|
752
|
+
line-height: 1.75em;
|
753
|
+
margin: 1.5em 0 0 0;
|
754
|
+
padding-left: 2.25em;
|
755
|
+
position: relative;
|
756
|
+
|
757
|
+
&:first-child {
|
758
|
+
margin-top: 0;
|
759
|
+
}
|
760
|
+
|
761
|
+
a {
|
762
|
+
color: inherit;
|
763
|
+
}
|
764
|
+
|
765
|
+
h3 {
|
766
|
+
color: _palette(fg-light);
|
767
|
+
left: 0;
|
768
|
+
position: absolute;
|
769
|
+
text-align: center;
|
770
|
+
top: 0;
|
771
|
+
width: 1em;
|
772
|
+
}
|
773
|
+
}
|
774
|
+
}
|
775
|
+
|
776
|
+
/* Actions */
|
777
|
+
|
778
|
+
ul.actions {
|
779
|
+
@include vendor('display', 'flex');
|
780
|
+
cursor: default;
|
781
|
+
list-style: none;
|
782
|
+
margin-left: (_size(element-margin) * -0.5);
|
783
|
+
padding-left: 0;
|
784
|
+
|
785
|
+
li {
|
786
|
+
padding: 0 0 0 (_size(element-margin) * 0.5);
|
787
|
+
vertical-align: middle;
|
788
|
+
}
|
789
|
+
|
790
|
+
&.special {
|
791
|
+
@include vendor('justify-content', 'center');
|
792
|
+
width: 100%;
|
793
|
+
margin-left: 0;
|
794
|
+
|
795
|
+
li {
|
796
|
+
&:first-child {
|
797
|
+
padding-left: 0;
|
798
|
+
}
|
799
|
+
}
|
800
|
+
}
|
801
|
+
|
802
|
+
&.stacked {
|
803
|
+
@include vendor('flex-direction', 'column');
|
804
|
+
margin-left: 0;
|
805
|
+
|
806
|
+
li {
|
807
|
+
padding: (_size(element-margin) * 0.65) 0 0 0;
|
808
|
+
|
809
|
+
&:first-child {
|
810
|
+
padding-top: 0;
|
811
|
+
}
|
812
|
+
}
|
813
|
+
}
|
814
|
+
|
815
|
+
&.fit {
|
816
|
+
width: calc(100% + #{_size(element-margin) * 0.5});
|
817
|
+
|
818
|
+
li {
|
819
|
+
@include vendor('flex-grow', '1');
|
820
|
+
@include vendor('flex-shrink', '1');
|
821
|
+
width: 100%;
|
822
|
+
|
823
|
+
> * {
|
824
|
+
width: 100%;
|
825
|
+
}
|
826
|
+
}
|
827
|
+
|
828
|
+
&.stacked {
|
829
|
+
width: 100%;
|
830
|
+
}
|
831
|
+
}
|
832
|
+
|
833
|
+
@include breakpoint('<=xsmall') {
|
834
|
+
&:not(.fixed) {
|
835
|
+
@include vendor('flex-direction', 'column');
|
836
|
+
margin-left: 0;
|
837
|
+
width: 100% !important;
|
838
|
+
|
839
|
+
li {
|
840
|
+
@include vendor('flex-grow', '1');
|
841
|
+
@include vendor('flex-shrink', '1');
|
842
|
+
padding: (_size(element-margin) * 0.5) 0 0 0;
|
843
|
+
text-align: center;
|
844
|
+
width: 100%;
|
845
|
+
|
846
|
+
> * {
|
847
|
+
width: 100%;
|
848
|
+
}
|
849
|
+
|
850
|
+
&:first-child {
|
851
|
+
padding-top: 0;
|
852
|
+
}
|
853
|
+
|
854
|
+
input[type="submit"],
|
855
|
+
input[type="reset"],
|
856
|
+
input[type="button"],
|
857
|
+
button,
|
858
|
+
.button {
|
859
|
+
width: 100%;
|
860
|
+
|
861
|
+
&.icon {
|
862
|
+
&:before {
|
863
|
+
margin-left: -0.5em;
|
864
|
+
}
|
865
|
+
}
|
866
|
+
}
|
867
|
+
}
|
868
|
+
}
|
869
|
+
}
|
870
|
+
}
|
871
|
+
|
872
|
+
/* Table */
|
873
|
+
|
874
|
+
.table-wrapper {
|
875
|
+
-webkit-overflow-scrolling: touch;
|
876
|
+
overflow-x: auto;
|
877
|
+
}
|
878
|
+
|
879
|
+
table {
|
880
|
+
margin: 0 0 _size(element-margin) 0;
|
881
|
+
width: 100%;
|
882
|
+
|
883
|
+
tbody {
|
884
|
+
tr {
|
885
|
+
border: solid 1px _palette(border);
|
886
|
+
border-left: 0;
|
887
|
+
border-right: 0;
|
888
|
+
|
889
|
+
&:nth-child(2n + 1) {
|
890
|
+
background-color: _palette(border-bg);
|
891
|
+
}
|
892
|
+
}
|
893
|
+
}
|
894
|
+
|
895
|
+
td {
|
896
|
+
padding: 0.75em 0.75em;
|
897
|
+
}
|
898
|
+
|
899
|
+
th {
|
900
|
+
color: _palette(fg-bold);
|
901
|
+
font-size: 0.9em;
|
902
|
+
font-weight: _font(weight-bold);
|
903
|
+
padding: 0 0.75em 0.75em 0.75em;
|
904
|
+
text-align: left;
|
905
|
+
}
|
906
|
+
|
907
|
+
thead {
|
908
|
+
border-bottom: solid 2px _palette(border);
|
909
|
+
}
|
910
|
+
|
911
|
+
tfoot {
|
912
|
+
border-top: solid 2px _palette(border);
|
913
|
+
}
|
914
|
+
|
915
|
+
&.alt {
|
916
|
+
border-collapse: separate;
|
917
|
+
|
918
|
+
tbody {
|
919
|
+
tr {
|
920
|
+
td {
|
921
|
+
border: solid 2px _palette(border);
|
922
|
+
border-left-width: 0;
|
923
|
+
border-top-width: 0;
|
924
|
+
|
925
|
+
&:first-child {
|
926
|
+
border-left-width: 2px;
|
927
|
+
}
|
928
|
+
}
|
929
|
+
|
930
|
+
&:first-child {
|
931
|
+
td {
|
932
|
+
border-top-width: 2px;
|
933
|
+
}
|
934
|
+
}
|
935
|
+
}
|
936
|
+
}
|
937
|
+
|
938
|
+
thead {
|
939
|
+
border-bottom: 0;
|
940
|
+
}
|
941
|
+
|
942
|
+
tfoot {
|
943
|
+
border-top: 0;
|
944
|
+
}
|
945
|
+
}
|
946
|
+
}
|
947
|
+
|
948
|
+
/* Button */
|
949
|
+
|
950
|
+
input[type="submit"],
|
951
|
+
input[type="reset"],
|
952
|
+
input[type="button"],
|
953
|
+
.button {
|
954
|
+
@include vendor('appearance', 'none');
|
955
|
+
@include vendor('transition', ('background-color #{_duration(transition)} ease-in-out', 'color #{_duration(transition)} ease-in-out', 'border-color #{_duration(transition)} ease-in-out'));
|
956
|
+
background-color: transparent;
|
957
|
+
border-radius: _size(border-radius);
|
958
|
+
border: solid 3px _palette(border);
|
959
|
+
color: _palette(fg-bold) !important;
|
960
|
+
cursor: pointer;
|
961
|
+
display: inline-block;
|
962
|
+
font-weight: _font(weight-bold);
|
963
|
+
height: 3.15em;
|
964
|
+
height: calc(2.75em + 6px);
|
965
|
+
line-height: 2.75em;
|
966
|
+
min-width: 10em;
|
967
|
+
padding: 0 1.5em;
|
968
|
+
text-align: center;
|
969
|
+
text-decoration: none;
|
970
|
+
white-space: nowrap;
|
971
|
+
|
972
|
+
&:hover {
|
973
|
+
border-color: _palette(accent1, bg);
|
974
|
+
color: _palette(accent1, bg) !important;
|
975
|
+
}
|
976
|
+
|
977
|
+
&:active {
|
978
|
+
background-color: transparentize(_palette(accent1, bg), 0.9);
|
979
|
+
border-color: _palette(accent1, bg);
|
980
|
+
color: _palette(accent1, bg) !important;
|
981
|
+
}
|
982
|
+
|
983
|
+
&.icon {
|
984
|
+
padding-left: 1.35em;
|
985
|
+
|
986
|
+
&:before {
|
987
|
+
margin-right: 0.5em;
|
988
|
+
}
|
989
|
+
}
|
990
|
+
|
991
|
+
&.fit {
|
992
|
+
min-width: 0;
|
993
|
+
width: 100%;
|
994
|
+
}
|
995
|
+
|
996
|
+
&.small {
|
997
|
+
font-size: 0.8em;
|
998
|
+
}
|
999
|
+
|
1000
|
+
&.large {
|
1001
|
+
font-size: 1.35em;
|
1002
|
+
}
|
1003
|
+
|
1004
|
+
&.primary {
|
1005
|
+
background-color: _palette(accent1, bg);
|
1006
|
+
border-color: _palette(accent1, bg);
|
1007
|
+
color: _palette(accent1, fg-bold) !important;
|
1008
|
+
|
1009
|
+
&:hover {
|
1010
|
+
background-color: lighten(_palette(accent1, bg), 5);
|
1011
|
+
border-color: lighten(_palette(accent1, bg), 5);
|
1012
|
+
}
|
1013
|
+
|
1014
|
+
&:active {
|
1015
|
+
background-color: darken(_palette(accent1, bg), 5);
|
1016
|
+
border-color: darken(_palette(accent1, bg), 5);
|
1017
|
+
}
|
1018
|
+
}
|
1019
|
+
|
1020
|
+
&.disabled,
|
1021
|
+
&:disabled {
|
1022
|
+
background-color: _palette(border2-bg) !important;
|
1023
|
+
border-color: _palette(border2-bg) !important;
|
1024
|
+
color: _palette(fg-light) !important;
|
1025
|
+
cursor: default;
|
1026
|
+
}
|
1027
|
+
}
|
1028
|
+
|
1029
|
+
/* Work Item */
|
1030
|
+
|
1031
|
+
.work-item {
|
1032
|
+
margin: 0 0 _size(element-margin) 0;
|
1033
|
+
|
1034
|
+
.image {
|
1035
|
+
margin: 0 0 (_size(element-margin) * 0.75) 0;
|
1036
|
+
}
|
1037
|
+
|
1038
|
+
h3 {
|
1039
|
+
font-size: 1em;
|
1040
|
+
margin: 0 0 (_size(element-margin) * 0.25) 0;
|
1041
|
+
}
|
1042
|
+
|
1043
|
+
p {
|
1044
|
+
font-size: 0.8em;
|
1045
|
+
line-height: 1.5em;
|
1046
|
+
margin: 0;
|
1047
|
+
}
|
1048
|
+
}
|
1049
|
+
|
1050
|
+
/* Header */
|
1051
|
+
|
1052
|
+
#header {
|
1053
|
+
@include vendor('display', 'flex');
|
1054
|
+
@include vendor('flex-direction', 'column');
|
1055
|
+
@include vendor('align-items', 'flex-end');
|
1056
|
+
@include vendor('justify-content', 'space-between');
|
1057
|
+
background-color: _palette(accent2, bg);
|
1058
|
+
background-attachment: scroll, scroll;
|
1059
|
+
background-image: url('images/overlay.png'), url('../../assets/images/bg.jpg');
|
1060
|
+
background-position: top left, top left;
|
1061
|
+
background-repeat: repeat, no-repeat;
|
1062
|
+
color: _palette(accent2, fg);
|
1063
|
+
height: 100%;
|
1064
|
+
left: 0;
|
1065
|
+
padding: ($size-header-pad * 2) $size-header-pad;
|
1066
|
+
position: fixed;
|
1067
|
+
text-align: right;
|
1068
|
+
top: 0;
|
1069
|
+
width: $size-header-width;
|
1070
|
+
|
1071
|
+
> * {
|
1072
|
+
@include vendor('flex-shrink', '0');
|
1073
|
+
width: 100%;
|
1074
|
+
}
|
1075
|
+
|
1076
|
+
> .inner {
|
1077
|
+
@include vendor('flex-grow', '1');
|
1078
|
+
margin: 0 0 ($size-header-pad * 0.5) 0;
|
1079
|
+
}
|
1080
|
+
|
1081
|
+
strong, b {
|
1082
|
+
color: _palette(accent2, fg-bold);
|
1083
|
+
}
|
1084
|
+
|
1085
|
+
h2, h3, h4, h5, h6 {
|
1086
|
+
color: _palette(accent2, fg-bold);
|
1087
|
+
}
|
1088
|
+
|
1089
|
+
h1 {
|
1090
|
+
color: _palette(accent2, fg);
|
1091
|
+
font-size: 1.35em;
|
1092
|
+
line-height: 1.75em;
|
1093
|
+
margin: 0;
|
1094
|
+
}
|
1095
|
+
|
1096
|
+
.image.avatar {
|
1097
|
+
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
1098
|
+
width: 6.25em;
|
1099
|
+
}
|
1100
|
+
}
|
1101
|
+
|
1102
|
+
/* Footer */
|
1103
|
+
|
1104
|
+
#footer {
|
1105
|
+
.icons {
|
1106
|
+
margin: (_size(element-margin) * 0.5) 0 0 0;
|
1107
|
+
|
1108
|
+
a {
|
1109
|
+
color: _palette(accent2, fg-light);
|
1110
|
+
}
|
1111
|
+
}
|
1112
|
+
|
1113
|
+
.copyright {
|
1114
|
+
color: _palette(accent2, fg-light);
|
1115
|
+
font-size: 0.8em;
|
1116
|
+
list-style: none;
|
1117
|
+
margin: (_size(element-margin) * 0.5) 0 0 0;
|
1118
|
+
padding: 0;
|
1119
|
+
|
1120
|
+
li {
|
1121
|
+
border-left: solid 1px _palette(accent2, border);
|
1122
|
+
display: inline-block;
|
1123
|
+
line-height: 1em;
|
1124
|
+
margin-left: 0.75em;
|
1125
|
+
padding-left: 0.75em;
|
1126
|
+
|
1127
|
+
&:first-child {
|
1128
|
+
border-left: 0;
|
1129
|
+
margin-left: 0;
|
1130
|
+
padding-left: 0;
|
1131
|
+
}
|
1132
|
+
|
1133
|
+
a {
|
1134
|
+
color: inherit;
|
1135
|
+
}
|
1136
|
+
}
|
1137
|
+
}
|
1138
|
+
}
|
1139
|
+
|
1140
|
+
/* Main */
|
1141
|
+
|
1142
|
+
#main {
|
1143
|
+
margin-left: $size-header-width;
|
1144
|
+
max-width: 50em + $size-header-pad;
|
1145
|
+
padding: ($size-header-pad * 2) $size-header-pad $size-header-pad $size-header-pad;
|
1146
|
+
width: calc(100% - #{$size-header-width});
|
1147
|
+
|
1148
|
+
> section {
|
1149
|
+
border-top: solid 2px _palette(border);
|
1150
|
+
margin: $size-header-pad 0 0 0;
|
1151
|
+
padding: $size-header-pad 0 0 0;
|
1152
|
+
|
1153
|
+
&:first-child {
|
1154
|
+
border-top: 0;
|
1155
|
+
margin-top: 0;
|
1156
|
+
padding-top: 0;
|
1157
|
+
}
|
1158
|
+
}
|
1159
|
+
}
|
1160
|
+
|
1161
|
+
/* Poptrox */
|
1162
|
+
|
1163
|
+
@include keyframes('spin') {
|
1164
|
+
0% { @include vendor('transform', 'rotate(0deg)'); }
|
1165
|
+
100% { @include vendor('transform', 'rotate(360deg)'); }
|
1166
|
+
};
|
1167
|
+
|
1168
|
+
.poptrox-popup {
|
1169
|
+
@include vendor('box-sizing', 'content-box');
|
1170
|
+
-webkit-tap-highlight-color: rgba(255,255,255,0);
|
1171
|
+
background: #fff;
|
1172
|
+
border-radius: _size(border-radius);
|
1173
|
+
box-shadow: 0 0.1em 0.15em 0 rgba(0,0,0,0.15);
|
1174
|
+
overflow: hidden;
|
1175
|
+
padding-bottom: 3em;
|
1176
|
+
|
1177
|
+
.loader {
|
1178
|
+
@include icon;
|
1179
|
+
@include vendor('animation', 'spin 1s linear infinite');
|
1180
|
+
font-size: 1.5em;
|
1181
|
+
height: 1em;
|
1182
|
+
left: 50%;
|
1183
|
+
line-height: 1em;
|
1184
|
+
margin: -0.5em 0 0 -0.5em;
|
1185
|
+
position: absolute;
|
1186
|
+
top: 50%;
|
1187
|
+
width: 1em;
|
1188
|
+
|
1189
|
+
&:before {
|
1190
|
+
content: '\f1ce';
|
1191
|
+
}
|
1192
|
+
}
|
1193
|
+
|
1194
|
+
.caption {
|
1195
|
+
background: #fff;
|
1196
|
+
bottom: 0;
|
1197
|
+
cursor: default;
|
1198
|
+
font-size: 0.9em;
|
1199
|
+
height: 3em;
|
1200
|
+
left: 0;
|
1201
|
+
line-height: 2.8em;
|
1202
|
+
position: absolute;
|
1203
|
+
text-align: center;
|
1204
|
+
width: 100%;
|
1205
|
+
z-index: 1;
|
1206
|
+
}
|
1207
|
+
|
1208
|
+
.nav-next,
|
1209
|
+
.nav-previous {
|
1210
|
+
@include icon;
|
1211
|
+
@include vendor('transition', 'opacity #{_duration(transition)} ease-in-out');
|
1212
|
+
-webkit-tap-highlight-color: rgba(255,255,255,0);
|
1213
|
+
background: rgba(0,0,0,0.01);
|
1214
|
+
cursor: pointer;
|
1215
|
+
height: 100%;
|
1216
|
+
opacity: 0;
|
1217
|
+
position: absolute;
|
1218
|
+
top: 0;
|
1219
|
+
width: 50%;
|
1220
|
+
|
1221
|
+
&:before {
|
1222
|
+
color: #fff;
|
1223
|
+
font-size: 2.5em;
|
1224
|
+
height: 1em;
|
1225
|
+
line-height: 1em;
|
1226
|
+
margin-top: -0.75em;
|
1227
|
+
position: absolute;
|
1228
|
+
text-align: center;
|
1229
|
+
top: 50%;
|
1230
|
+
width: 1.5em;
|
1231
|
+
}
|
1232
|
+
}
|
1233
|
+
|
1234
|
+
.nav-next {
|
1235
|
+
right: 0;
|
1236
|
+
|
1237
|
+
&:before {
|
1238
|
+
content: '\f105';
|
1239
|
+
right: 0;
|
1240
|
+
}
|
1241
|
+
}
|
1242
|
+
|
1243
|
+
.nav-previous {
|
1244
|
+
left: 0;
|
1245
|
+
|
1246
|
+
&:before {
|
1247
|
+
content: '\f104';
|
1248
|
+
left: 0;
|
1249
|
+
}
|
1250
|
+
}
|
1251
|
+
|
1252
|
+
.closer {
|
1253
|
+
@include icon;
|
1254
|
+
@include vendor('transition', 'opacity #{_duration(transition)} ease-in-out');
|
1255
|
+
-webkit-tap-highlight-color: rgba(255,255,255,0);
|
1256
|
+
color: #fff;
|
1257
|
+
height: 4em;
|
1258
|
+
line-height: 4em;
|
1259
|
+
opacity: 0;
|
1260
|
+
position: absolute;
|
1261
|
+
right: 0;
|
1262
|
+
text-align: center;
|
1263
|
+
top: 0;
|
1264
|
+
width: 4em;
|
1265
|
+
z-index: 2;
|
1266
|
+
|
1267
|
+
&:before {
|
1268
|
+
@include vendor('box-sizing', 'content-box');
|
1269
|
+
border-radius: 100%;
|
1270
|
+
border: solid 3px rgba(255,255,255,0.5);
|
1271
|
+
content: '\f00d';
|
1272
|
+
display: block;
|
1273
|
+
font-size: 1em;
|
1274
|
+
height: 1.75em;
|
1275
|
+
left: 50%;
|
1276
|
+
line-height: 1.75em;
|
1277
|
+
margin: -0.875em 0 0 -0.875em;
|
1278
|
+
position: absolute;
|
1279
|
+
top: 50%;
|
1280
|
+
width: 1.75em;
|
1281
|
+
}
|
1282
|
+
}
|
1283
|
+
|
1284
|
+
&:hover {
|
1285
|
+
.nav-next,
|
1286
|
+
.nav-previous {
|
1287
|
+
opacity: 0.5;
|
1288
|
+
|
1289
|
+
&:hover {
|
1290
|
+
opacity: 1.0;
|
1291
|
+
}
|
1292
|
+
}
|
1293
|
+
|
1294
|
+
.closer {
|
1295
|
+
opacity: 0.5;
|
1296
|
+
|
1297
|
+
&:hover {
|
1298
|
+
opacity: 1.0;
|
1299
|
+
}
|
1300
|
+
}
|
1301
|
+
}
|
1302
|
+
}
|
1303
|
+
|
1304
|
+
/* Touch */
|
1305
|
+
|
1306
|
+
body.is-touch {
|
1307
|
+
|
1308
|
+
.image {
|
1309
|
+
&.thumb {
|
1310
|
+
&:before {
|
1311
|
+
opacity: 0.5 !important;
|
1312
|
+
}
|
1313
|
+
|
1314
|
+
&:after {
|
1315
|
+
display: none !important;
|
1316
|
+
}
|
1317
|
+
}
|
1318
|
+
}
|
1319
|
+
|
1320
|
+
#header {
|
1321
|
+
background-attachment: scroll;
|
1322
|
+
background-size: auto, cover;
|
1323
|
+
}
|
1324
|
+
|
1325
|
+
.poptrox-popup {
|
1326
|
+
.nav-next,
|
1327
|
+
.nav-previous,
|
1328
|
+
.closer {
|
1329
|
+
opacity: 1.0 !important;
|
1330
|
+
}
|
1331
|
+
}
|
1332
|
+
|
1333
|
+
}
|
1334
|
+
|
1335
|
+
/* XLarge */
|
1336
|
+
|
1337
|
+
@include breakpoint('<=xlarge') {
|
1338
|
+
|
1339
|
+
/* Basic */
|
1340
|
+
|
1341
|
+
body, input, select, textarea {
|
1342
|
+
font-size: 12pt;
|
1343
|
+
}
|
1344
|
+
|
1345
|
+
}
|
1346
|
+
|
1347
|
+
/* Large */
|
1348
|
+
|
1349
|
+
@include breakpoint('<=large') {
|
1350
|
+
|
1351
|
+
$size-header-width: 30%;
|
1352
|
+
$size-header-pad: 3em;
|
1353
|
+
|
1354
|
+
/* Header */
|
1355
|
+
|
1356
|
+
#header {
|
1357
|
+
padding: ($size-header-pad * 2) $size-header-pad $size-header-pad $size-header-pad;
|
1358
|
+
width: $size-header-width;
|
1359
|
+
|
1360
|
+
h1 {
|
1361
|
+
font-size: 1.25em;
|
1362
|
+
|
1363
|
+
br {
|
1364
|
+
display: none;
|
1365
|
+
}
|
1366
|
+
}
|
1367
|
+
|
1368
|
+
> .inner {
|
1369
|
+
margin-bottom: 0;
|
1370
|
+
}
|
1371
|
+
}
|
1372
|
+
|
1373
|
+
/* Footer */
|
1374
|
+
|
1375
|
+
#footer {
|
1376
|
+
.copyright {
|
1377
|
+
li {
|
1378
|
+
border-left-width: 0;
|
1379
|
+
display: block;
|
1380
|
+
line-height: 2.25em;
|
1381
|
+
margin-left: 0;
|
1382
|
+
padding-left: 0;
|
1383
|
+
}
|
1384
|
+
}
|
1385
|
+
}
|
1386
|
+
|
1387
|
+
/* Main */
|
1388
|
+
|
1389
|
+
#main {
|
1390
|
+
margin-left: $size-header-width;
|
1391
|
+
max-width: none;
|
1392
|
+
padding: ($size-header-pad * 2) $size-header-pad $size-header-pad $size-header-pad;
|
1393
|
+
width: calc(100% - #{$size-header-width});
|
1394
|
+
}
|
1395
|
+
|
1396
|
+
}
|
1397
|
+
|
1398
|
+
/* Medium */
|
1399
|
+
|
1400
|
+
@include breakpoint('<=medium') {
|
1401
|
+
|
1402
|
+
$size-header-pad: 4em;
|
1403
|
+
|
1404
|
+
/* Basic */
|
1405
|
+
|
1406
|
+
h1, h2, h3, h4, h5, h6 {
|
1407
|
+
br {
|
1408
|
+
display: none;
|
1409
|
+
}
|
1410
|
+
}
|
1411
|
+
|
1412
|
+
/* List */
|
1413
|
+
|
1414
|
+
ul {
|
1415
|
+
&.icons {
|
1416
|
+
li {
|
1417
|
+
.icon {
|
1418
|
+
font-size: 1.25em;
|
1419
|
+
}
|
1420
|
+
}
|
1421
|
+
}
|
1422
|
+
}
|
1423
|
+
|
1424
|
+
/* Header */
|
1425
|
+
|
1426
|
+
#header {
|
1427
|
+
background-attachment: scroll;
|
1428
|
+
background-position: top left, center center;
|
1429
|
+
background-size: auto, cover;
|
1430
|
+
left: auto;
|
1431
|
+
padding: ($size-header-pad * 1.5) $size-header-pad;
|
1432
|
+
position: relative;
|
1433
|
+
text-align: center;
|
1434
|
+
top: auto;
|
1435
|
+
width: 100%;
|
1436
|
+
display: block;
|
1437
|
+
|
1438
|
+
h1 {
|
1439
|
+
font-size: 1.75em;
|
1440
|
+
|
1441
|
+
br {
|
1442
|
+
display: inline;
|
1443
|
+
}
|
1444
|
+
}
|
1445
|
+
}
|
1446
|
+
|
1447
|
+
/* Footer */
|
1448
|
+
|
1449
|
+
#footer {
|
1450
|
+
background-attachment: scroll;
|
1451
|
+
background-color: _palette(accent2, bg);
|
1452
|
+
background-image: url('images/overlay.png'), url('../../assets/images/bg.jpg');
|
1453
|
+
background-position: top left, bottom center;
|
1454
|
+
background-repeat: repeat, no-repeat;
|
1455
|
+
background-size: auto, cover;
|
1456
|
+
bottom: auto;
|
1457
|
+
left: auto;
|
1458
|
+
padding: $size-header-pad $size-header-pad ($size-header-pad * 1.5) $size-header-pad;
|
1459
|
+
position: relative;
|
1460
|
+
text-align: center;
|
1461
|
+
width: 100%;
|
1462
|
+
|
1463
|
+
.icons {
|
1464
|
+
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
1465
|
+
}
|
1466
|
+
|
1467
|
+
.copyright {
|
1468
|
+
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
1469
|
+
|
1470
|
+
li {
|
1471
|
+
border-left-width: 1px;
|
1472
|
+
display: inline-block;
|
1473
|
+
line-height: 1em;
|
1474
|
+
margin-left: 0.75em;
|
1475
|
+
padding-left: 0.75em;
|
1476
|
+
}
|
1477
|
+
}
|
1478
|
+
}
|
1479
|
+
|
1480
|
+
/* Main */
|
1481
|
+
|
1482
|
+
#main {
|
1483
|
+
margin: 0;
|
1484
|
+
padding: ($size-header-pad * 1.5) $size-header-pad;
|
1485
|
+
width: 100%;
|
1486
|
+
}
|
1487
|
+
|
1488
|
+
}
|
1489
|
+
|
1490
|
+
/* Small */
|
1491
|
+
|
1492
|
+
@include breakpoint('<=small') {
|
1493
|
+
|
1494
|
+
$size-header-pad: 1.5em;
|
1495
|
+
|
1496
|
+
/* Basic */
|
1497
|
+
|
1498
|
+
h1 {
|
1499
|
+
font-size: 1.5em;
|
1500
|
+
}
|
1501
|
+
|
1502
|
+
h2 {
|
1503
|
+
font-size: 1.2em;
|
1504
|
+
}
|
1505
|
+
|
1506
|
+
h3 {
|
1507
|
+
font-size: 1em;
|
1508
|
+
}
|
1509
|
+
|
1510
|
+
/* Section/Article */
|
1511
|
+
|
1512
|
+
section, article {
|
1513
|
+
&.special {
|
1514
|
+
text-align: center;
|
1515
|
+
}
|
1516
|
+
}
|
1517
|
+
|
1518
|
+
header {
|
1519
|
+
&.major {
|
1520
|
+
h2 {
|
1521
|
+
font-size: 1.35em;
|
1522
|
+
}
|
1523
|
+
}
|
1524
|
+
}
|
1525
|
+
|
1526
|
+
/* List */
|
1527
|
+
|
1528
|
+
ul {
|
1529
|
+
&.labeled-icons {
|
1530
|
+
li {
|
1531
|
+
padding-left: 2em;
|
1532
|
+
|
1533
|
+
h3 {
|
1534
|
+
line-height: 1.75em;
|
1535
|
+
}
|
1536
|
+
}
|
1537
|
+
}
|
1538
|
+
}
|
1539
|
+
|
1540
|
+
/* Header */
|
1541
|
+
|
1542
|
+
#header {
|
1543
|
+
padding: ($size-header-pad * 1.5) $size-header-pad;
|
1544
|
+
|
1545
|
+
h1 {
|
1546
|
+
font-size: 1.35em;
|
1547
|
+
}
|
1548
|
+
}
|
1549
|
+
|
1550
|
+
/* Footer */
|
1551
|
+
|
1552
|
+
#footer {
|
1553
|
+
padding: ($size-header-pad * 1.5) $size-header-pad;
|
1554
|
+
}
|
1555
|
+
|
1556
|
+
/* Main */
|
1557
|
+
|
1558
|
+
#main {
|
1559
|
+
padding: ($size-header-pad * 1.5) $size-header-pad (($size-header-pad * 1.5) - _size(element-margin)) $size-header-pad;
|
1560
|
+
|
1561
|
+
> section {
|
1562
|
+
margin: ($size-header-pad * 1.5) 0 0 0;
|
1563
|
+
padding: ($size-header-pad * 1.5) 0 0 0;
|
1564
|
+
}
|
1565
|
+
}
|
1566
|
+
|
1567
|
+
/* Poptrox */
|
1568
|
+
|
1569
|
+
.poptrox-popup {
|
1570
|
+
border-radius: 0;
|
1571
|
+
|
1572
|
+
.nav-next,
|
1573
|
+
.nav-previous {
|
1574
|
+
&:before {
|
1575
|
+
margin-top: -1em;
|
1576
|
+
}
|
1577
|
+
}
|
1578
|
+
}
|
1579
|
+
|
1580
|
+
}
|
1581
|
+
|
1582
|
+
/* XSmall */
|
1583
|
+
|
1584
|
+
@include breakpoint('<=xsmall') {
|
1585
|
+
|
1586
|
+
$size-header-pad: 1.5em;
|
1587
|
+
|
1588
|
+
/* Header */
|
1589
|
+
|
1590
|
+
#header {
|
1591
|
+
padding: ($size-header-pad * 3) $size-header-pad;
|
1592
|
+
|
1593
|
+
h1 {
|
1594
|
+
br {
|
1595
|
+
display: none;
|
1596
|
+
}
|
1597
|
+
}
|
1598
|
+
}
|
1599
|
+
|
1600
|
+
/* Footer */
|
1601
|
+
|
1602
|
+
#footer {
|
1603
|
+
.copyright {
|
1604
|
+
li {
|
1605
|
+
border-left-width: 0;
|
1606
|
+
display: block;
|
1607
|
+
line-height: 2.25em;
|
1608
|
+
margin-left: 0;
|
1609
|
+
padding-left: 0;
|
1610
|
+
}
|
1611
|
+
}
|
1612
|
+
}
|
1613
|
+
|
1614
|
+
}
|