jekyll-theme-eventually 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +54 -0
- data/_includes/footer.html +21 -0
- data/_includes/head.html +6 -0
- data/_includes/header.html +4 -0
- data/_includes/signup-form.html +5 -0
- data/_layouts/default.html +15 -0
- data/_sass/base/_bg.scss +67 -0
- data/_sass/base/_page.scss +78 -0
- data/_sass/base/_reset.scss +76 -0
- data/_sass/base/_typography.scss +160 -0
- data/_sass/components/_button.scss +50 -0
- data/_sass/components/_form.scss +226 -0
- data/_sass/components/_icon.scss +17 -0
- data/_sass/components/_icons.scss +32 -0
- data/_sass/components/_list.scss +27 -0
- data/_sass/components/_section.scss +59 -0
- data/_sass/eventually.scss +49 -0
- data/_sass/layout/_footer.scss +74 -0
- data/_sass/layout/_header.scss +37 -0
- data/_sass/layout/_signup-form.scss +50 -0
- data/_sass/libs/_breakpoints.scss +223 -0
- data/_sass/libs/_functions.scss +90 -0
- data/_sass/libs/_mixins.scss +63 -0
- data/_sass/libs/_vars.scss +59 -0
- data/_sass/libs/_vendor.scss +376 -0
- data/assets/font-awesome.min.css +4 -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/bg01.jpg +0 -0
- data/assets/images/bg02.jpg +0 -0
- data/assets/images/bg03.jpg +0 -0
- data/assets/main.js +137 -0
- data/assets/main.scss +4 -0
- metadata +124 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 43258be7046bc657102162aef6dd32bfe0eb5c8a43d8994b578c4cc76d75a3c3
|
4
|
+
data.tar.gz: 17d7c7d9b52d62896aed7873e9b597e8ca71f4888ece4ae291010084d53da5dc
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a84f6ee04a0c50630431fb44fcef90494ba068f53eacfbef228ea962e64bb5fdbcf8fbef60398391152ed752b0c19715c98b96aa56725b00d84ef0e5dcc1b898
|
7
|
+
data.tar.gz: 28c6b63e6a803d769280604bd70dfcf7fca40310685e82988376003bf4783cab60351c25fbea807341d13330fe6eaab1e867d6e4da714de207967a8fe1ccbceb
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Terence Ponce
|
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,54 @@
|
|
1
|
+
# jekyll-theme-eventually
|
2
|
+
|
3
|
+
Jekyll integration of [Eventually theme](https://html5up.net/eventually) by [HTML5 UP](https://html5up.net/).
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your Jekyll site's `Gemfile`:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem "jekyll-theme-eventually"
|
11
|
+
```
|
12
|
+
|
13
|
+
And add this line to your Jekyll site's `_config.yml`:
|
14
|
+
|
15
|
+
```yaml
|
16
|
+
theme: jekyll-theme-eventually
|
17
|
+
```
|
18
|
+
|
19
|
+
And then execute:
|
20
|
+
|
21
|
+
$ bundle
|
22
|
+
|
23
|
+
Or install it yourself as:
|
24
|
+
|
25
|
+
$ gem install jekyll-theme-eventually
|
26
|
+
|
27
|
+
## Usage
|
28
|
+
|
29
|
+
This Jekyll theme supports [MailChimp](https://mailchimp.com).
|
30
|
+
|
31
|
+
In order to use this, you must provide your User ID and List ID from MailChimp inside `_config.yml`:
|
32
|
+
|
33
|
+
```
|
34
|
+
mailchimp_userid: abcd123
|
35
|
+
mailchimp_listid: abcd123
|
36
|
+
```
|
37
|
+
|
38
|
+
## Contributing
|
39
|
+
|
40
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/terenceponce/jekyll-theme-eventually. 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.
|
41
|
+
|
42
|
+
## Development
|
43
|
+
|
44
|
+
To set up your environment to develop this theme, run `bundle install`.
|
45
|
+
|
46
|
+
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.
|
47
|
+
|
48
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
49
|
+
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-eventually.gemspec` accordingly.
|
50
|
+
|
51
|
+
## License
|
52
|
+
|
53
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
54
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<footer id="footer">
|
2
|
+
<ul class="icons">
|
3
|
+
{%- if site.twitter_username -%}
|
4
|
+
<li><a href="https://twitter.com/{{ site.twitter_username }}" class="icon fa-twitter"><span class="label">Twitter</span></a></li>
|
5
|
+
{%- endif -%}
|
6
|
+
{%- if site.instagram_username -%}
|
7
|
+
<li><a href="https://instagram.com/{{ site.instagram_username }}" class="icon fa-instagram"><span class="label">Instagram</span></a></li>
|
8
|
+
{%- endif -%}
|
9
|
+
{%- if site.github_username -%}
|
10
|
+
<li><a href="https://github.com/{{ site.github_username }}" class="icon fa-github"><span class="label">GitHub</span></a></li>
|
11
|
+
{%- endif -%}
|
12
|
+
{%- if site.email -%}
|
13
|
+
<li><a href="mailto:{{ site.email }}" class="icon fa-envelope-o"><span class="label">Email</span></a></li>
|
14
|
+
{%- endif -%}
|
15
|
+
</ul>
|
16
|
+
<ul class="copyright">
|
17
|
+
<li>© {{ site.title }}</li>
|
18
|
+
<li>Credits: <a href="http://html5up.net">HTML5 UP</a></li>
|
19
|
+
<li>Jekyll Integration: <a href="https://github.com/terenceponce/jekyll-theme-eventually">Terence Ponce</a></li>
|
20
|
+
</ul>
|
21
|
+
</footer>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,5 @@
|
|
1
|
+
<form id="signup-form" method="post" action="https://xyz.us19.list-manage.com/subscribe/post?u={{ site.mailchimp_userid }}&id={{ site.mailchimp_listid }}" novalidate>
|
2
|
+
<input type="email" name="EMAIL" id="mce-EMAIL" placeholder="Email Address" required />
|
3
|
+
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_217e046736397576c90f9357c_4f1044d02e" tabindex="-1" value=""></div>
|
4
|
+
<input type="submit" value="Subscribe" id="mc-embedded-subscribe" />
|
5
|
+
</form>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!DOCTYPE HTML>
|
2
|
+
<!--
|
3
|
+
Eventually by HTML5 UP
|
4
|
+
html5up.net | @ajlkn
|
5
|
+
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
6
|
+
-->
|
7
|
+
<html>
|
8
|
+
{%- include head.html -%}
|
9
|
+
<body class="is-preload">
|
10
|
+
{%- include header.html -%}
|
11
|
+
{%- include signup-form.html -%}
|
12
|
+
{%- include footer.html -%}
|
13
|
+
<script src="assets/main.js"></script>
|
14
|
+
</body>
|
15
|
+
</html>
|
data/_sass/base/_bg.scss
ADDED
@@ -0,0 +1,67 @@
|
|
1
|
+
///
|
2
|
+
/// Eventually by HTML5 UP
|
3
|
+
/// html5up.net | @ajlkn
|
4
|
+
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
5
|
+
///
|
6
|
+
|
7
|
+
/* BG */
|
8
|
+
|
9
|
+
#bg {
|
10
|
+
@include vendor('transition', 'opacity #{_duration(bg-fadein)} ease-in-out');
|
11
|
+
height: 100%;
|
12
|
+
left: 0;
|
13
|
+
opacity: 0.25;
|
14
|
+
position: fixed;
|
15
|
+
top: 0;
|
16
|
+
width: 100%;
|
17
|
+
z-index: 1;
|
18
|
+
|
19
|
+
div {
|
20
|
+
@include vendor('transition', ('opacity #{_duration(bg-transition)} ease', 'visibility #{_duration(bg-transition)}'));
|
21
|
+
background-size: cover;
|
22
|
+
height: 100%;
|
23
|
+
left: 0;
|
24
|
+
opacity: 0;
|
25
|
+
position: absolute;
|
26
|
+
top: 0;
|
27
|
+
visibility: hidden;
|
28
|
+
width: 150%;
|
29
|
+
|
30
|
+
&.visible {
|
31
|
+
@include vendor('animation', 'bg #{_duration(bg-slide)} linear infinite');
|
32
|
+
opacity: 1;
|
33
|
+
visibility: visible;
|
34
|
+
z-index: 1;
|
35
|
+
|
36
|
+
&.top {
|
37
|
+
z-index: 2;
|
38
|
+
}
|
39
|
+
|
40
|
+
@include breakpoint('<=large') {
|
41
|
+
@include vendor('animation', 'bg #{_duration(bg-slide) * 0.65} linear infinite');
|
42
|
+
}
|
43
|
+
|
44
|
+
@include breakpoint('<=small') {
|
45
|
+
@include vendor('animation', 'bg #{_duration(bg-slide) * 0.4} linear infinite');
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
&:only-child {
|
50
|
+
@include vendor('animation-direction', 'alternate !important');
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
body.is-preload & {
|
55
|
+
opacity: 0;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
@include keyframes(bg) {
|
60
|
+
0% {
|
61
|
+
@include vendor('transform', 'translateX(0)');
|
62
|
+
}
|
63
|
+
|
64
|
+
100% {
|
65
|
+
@include vendor('transform', 'translateX(-25%)');
|
66
|
+
}
|
67
|
+
}
|
@@ -0,0 +1,78 @@
|
|
1
|
+
///
|
2
|
+
/// Eventually by HTML5 UP
|
3
|
+
/// html5up.net | @ajlkn
|
4
|
+
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
5
|
+
///
|
6
|
+
|
7
|
+
/* Basic */
|
8
|
+
|
9
|
+
// MSIE: Required for IEMobile.
|
10
|
+
@-ms-viewport {
|
11
|
+
width: device-width;
|
12
|
+
}
|
13
|
+
|
14
|
+
// MSIE: Prevents scrollbar from overlapping content.
|
15
|
+
body {
|
16
|
+
-ms-overflow-style: scrollbar;
|
17
|
+
}
|
18
|
+
|
19
|
+
// Ensures page width is always >=320px.
|
20
|
+
@include breakpoint('<=xsmall') {
|
21
|
+
html, body {
|
22
|
+
min-width: 320px;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
// Set box model to border-box.
|
27
|
+
// Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice
|
28
|
+
html {
|
29
|
+
box-sizing: border-box;
|
30
|
+
}
|
31
|
+
|
32
|
+
*, *:before, *:after {
|
33
|
+
box-sizing: inherit;
|
34
|
+
}
|
35
|
+
|
36
|
+
html, body {
|
37
|
+
height: 100%;
|
38
|
+
overflow-x: hidden;
|
39
|
+
width: 100%;
|
40
|
+
|
41
|
+
@include breakpoint('short') {
|
42
|
+
height: auto;
|
43
|
+
min-height: 100%;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
body {
|
48
|
+
@include vendor('display', 'flex');
|
49
|
+
@include vendor('flex-direction', 'column');
|
50
|
+
@include vendor('justify-content', 'center');
|
51
|
+
background-color: _palette(bg);
|
52
|
+
padding: 6em 4em 4em 4em;
|
53
|
+
|
54
|
+
// Stops initial animations until page loads.
|
55
|
+
&.is-preload {
|
56
|
+
*, *:before, *:after {
|
57
|
+
@include vendor('animation', 'none !important');
|
58
|
+
@include vendor('transition', 'none !important');
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
> * {
|
63
|
+
position: relative;
|
64
|
+
z-index: 2;
|
65
|
+
}
|
66
|
+
|
67
|
+
@include breakpoint('<=xlarge') {
|
68
|
+
padding: 6em 3.5em 3.5em 3.5em;
|
69
|
+
}
|
70
|
+
|
71
|
+
@include breakpoint('<=small') {
|
72
|
+
padding: 5em 2em 2em 2em;
|
73
|
+
}
|
74
|
+
|
75
|
+
@include breakpoint('<=xxsmall') {
|
76
|
+
padding: 5em 1.25em 1.25em 1.25em;
|
77
|
+
}
|
78
|
+
}
|
@@ -0,0 +1,76 @@
|
|
1
|
+
///
|
2
|
+
/// Eventually by HTML5 UP
|
3
|
+
/// html5up.net | @ajlkn
|
4
|
+
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
5
|
+
///
|
6
|
+
|
7
|
+
// Reset.
|
8
|
+
// Based on meyerweb.com/eric/tools/css/reset (v2.0 | 20110126 | License: public domain)
|
9
|
+
|
10
|
+
html, body, div, span, applet, object,
|
11
|
+
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
|
12
|
+
pre, a, abbr, acronym, address, big, cite,
|
13
|
+
code, del, dfn, em, img, ins, kbd, q, s, samp,
|
14
|
+
small, strike, strong, sub, sup, tt, var, b,
|
15
|
+
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
|
16
|
+
form, label, legend, table, caption, tbody,
|
17
|
+
tfoot, thead, tr, th, td, article, aside,
|
18
|
+
canvas, details, embed, figure, figcaption,
|
19
|
+
footer, header, hgroup, menu, nav, output, ruby,
|
20
|
+
section, summary, time, mark, audio, video {
|
21
|
+
margin: 0;
|
22
|
+
padding: 0;
|
23
|
+
border: 0;
|
24
|
+
font-size: 100%;
|
25
|
+
font: inherit;
|
26
|
+
vertical-align: baseline;
|
27
|
+
}
|
28
|
+
|
29
|
+
article, aside, details, figcaption, figure,
|
30
|
+
footer, header, hgroup, menu, nav, section {
|
31
|
+
display: block;
|
32
|
+
}
|
33
|
+
|
34
|
+
body {
|
35
|
+
line-height: 1;
|
36
|
+
}
|
37
|
+
|
38
|
+
ol, ul {
|
39
|
+
list-style:none;
|
40
|
+
}
|
41
|
+
|
42
|
+
blockquote, q {
|
43
|
+
quotes: none;
|
44
|
+
|
45
|
+
&:before,
|
46
|
+
&:after {
|
47
|
+
content: '';
|
48
|
+
content: none;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
table {
|
53
|
+
border-collapse: collapse;
|
54
|
+
border-spacing: 0;
|
55
|
+
}
|
56
|
+
|
57
|
+
body {
|
58
|
+
-webkit-text-size-adjust: none;
|
59
|
+
}
|
60
|
+
|
61
|
+
mark {
|
62
|
+
background-color: transparent;
|
63
|
+
color: inherit;
|
64
|
+
}
|
65
|
+
|
66
|
+
input::-moz-focus-inner {
|
67
|
+
border: 0;
|
68
|
+
padding: 0;
|
69
|
+
}
|
70
|
+
|
71
|
+
input, select, textarea {
|
72
|
+
-moz-appearance: none;
|
73
|
+
-webkit-appearance: none;
|
74
|
+
-ms-appearance: none;
|
75
|
+
appearance: none;
|
76
|
+
}
|
@@ -0,0 +1,160 @@
|
|
1
|
+
///
|
2
|
+
/// Eventually by HTML5 UP
|
3
|
+
/// html5up.net | @ajlkn
|
4
|
+
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
5
|
+
///
|
6
|
+
|
7
|
+
/* Type */
|
8
|
+
|
9
|
+
body, input, select, textarea {
|
10
|
+
color: _palette(fg);
|
11
|
+
font-family: _font(family);
|
12
|
+
font-size: 16pt;
|
13
|
+
font-weight: _font(weight);
|
14
|
+
letter-spacing: _font(letter-spacing);
|
15
|
+
line-height: 1.65em;
|
16
|
+
|
17
|
+
@include breakpoint('<=xlarge') {
|
18
|
+
font-size: 12pt;
|
19
|
+
}
|
20
|
+
|
21
|
+
@include breakpoint('<=large') {
|
22
|
+
font-size: 11pt;
|
23
|
+
}
|
24
|
+
|
25
|
+
@include breakpoint('<=medium') {
|
26
|
+
font-size: 12pt;
|
27
|
+
}
|
28
|
+
|
29
|
+
@include breakpoint('<=small') {
|
30
|
+
font-size: 12pt;
|
31
|
+
}
|
32
|
+
|
33
|
+
@include breakpoint('<=xsmall') {
|
34
|
+
font-size: 12pt;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
a {
|
39
|
+
@include vendor('transition', (
|
40
|
+
'border-bottom-color #{_duration(transition)} ease',
|
41
|
+
'color #{_duration(transition)} ease'
|
42
|
+
));
|
43
|
+
border-bottom: dotted 1px _palette(border2);
|
44
|
+
color: _palette(accent, bg);
|
45
|
+
text-decoration: none;
|
46
|
+
|
47
|
+
&:hover {
|
48
|
+
border-bottom-color: transparent;
|
49
|
+
color: _palette(accent, bg) !important;
|
50
|
+
text-decoration: none;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
strong, b {
|
55
|
+
color: _palette(fg-bold);
|
56
|
+
font-weight: _font(weight-bold);
|
57
|
+
}
|
58
|
+
|
59
|
+
em, i {
|
60
|
+
font-style: italic;
|
61
|
+
}
|
62
|
+
|
63
|
+
p {
|
64
|
+
margin: 0 0 _size(element-margin) 0;
|
65
|
+
}
|
66
|
+
|
67
|
+
h1, h2, h3, h4, h5, h6 {
|
68
|
+
color: _palette(fg-bold);
|
69
|
+
font-weight: _font(weight-bold);
|
70
|
+
line-height: 1em;
|
71
|
+
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
72
|
+
|
73
|
+
a {
|
74
|
+
color: inherit;
|
75
|
+
text-decoration: none;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
h1 {
|
80
|
+
font-size: 2.5em;
|
81
|
+
line-height: 1.25em;
|
82
|
+
}
|
83
|
+
|
84
|
+
h2 {
|
85
|
+
font-size: 1.75em;
|
86
|
+
line-height: 1.5em;
|
87
|
+
}
|
88
|
+
|
89
|
+
h3 {
|
90
|
+
font-size: 1.35em;
|
91
|
+
line-height: 1.5em;
|
92
|
+
}
|
93
|
+
|
94
|
+
h4 {
|
95
|
+
font-size: 1.1em;
|
96
|
+
line-height: 1.5em;
|
97
|
+
}
|
98
|
+
|
99
|
+
h5 {
|
100
|
+
font-size: 0.9em;
|
101
|
+
line-height: 1.5em;
|
102
|
+
}
|
103
|
+
|
104
|
+
h6 {
|
105
|
+
font-size: 0.7em;
|
106
|
+
line-height: 1.5em;
|
107
|
+
}
|
108
|
+
|
109
|
+
sub {
|
110
|
+
font-size: 0.8em;
|
111
|
+
position: relative;
|
112
|
+
top: 0.5em;
|
113
|
+
}
|
114
|
+
|
115
|
+
sup {
|
116
|
+
font-size: 0.8em;
|
117
|
+
position: relative;
|
118
|
+
top: -0.5em;
|
119
|
+
}
|
120
|
+
|
121
|
+
blockquote {
|
122
|
+
border-left: solid (_size(border-width) * 4) _palette(border);
|
123
|
+
font-style: italic;
|
124
|
+
margin: 0 0 _size(element-margin) 0;
|
125
|
+
padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4) _size(element-margin);
|
126
|
+
}
|
127
|
+
|
128
|
+
code {
|
129
|
+
background: _palette(border-bg);
|
130
|
+
border-radius: _size(border-radius);
|
131
|
+
border: solid _size(border-width) _palette(border);
|
132
|
+
font-family: _font(family-fixed);
|
133
|
+
font-size: 0.9em;
|
134
|
+
margin: 0 0.25em;
|
135
|
+
padding: 0.25em 0.65em;
|
136
|
+
}
|
137
|
+
|
138
|
+
pre {
|
139
|
+
-webkit-overflow-scrolling: touch;
|
140
|
+
font-family: _font(family-fixed);
|
141
|
+
font-size: 0.9em;
|
142
|
+
margin: 0 0 _size(element-margin) 0;
|
143
|
+
|
144
|
+
code {
|
145
|
+
display: block;
|
146
|
+
line-height: 1.75em;
|
147
|
+
padding: 1em 1.5em;
|
148
|
+
overflow-x: auto;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
hr {
|
153
|
+
border: 0;
|
154
|
+
border-bottom: solid _size(border-width) _palette(border);
|
155
|
+
margin: _size(element-margin) 0;
|
156
|
+
|
157
|
+
&.major {
|
158
|
+
margin: (_size(element-margin) * 1.5) 0;
|
159
|
+
}
|
160
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
///
|
2
|
+
/// Eventually by HTML5 UP
|
3
|
+
/// html5up.net | @ajlkn
|
4
|
+
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
5
|
+
///
|
6
|
+
|
7
|
+
/* Button */
|
8
|
+
|
9
|
+
input[type="submit"],
|
10
|
+
input[type="reset"],
|
11
|
+
input[type="button"],
|
12
|
+
button,
|
13
|
+
.button {
|
14
|
+
@include vendor('appearance', 'none');
|
15
|
+
@include vendor('transition', (
|
16
|
+
'background-color #{_duration(transition)} ease-in-out',
|
17
|
+
'color #{_duration(transition)} ease-in-out',
|
18
|
+
'opacity #{_duration(transition)} ease-in-out'
|
19
|
+
));
|
20
|
+
background-color: _palette(accent, bg);
|
21
|
+
border-radius: _size(border-radius);
|
22
|
+
border: 0;
|
23
|
+
color: _palette(accent, fg-bold) !important;
|
24
|
+
cursor: pointer;
|
25
|
+
display: inline-block;
|
26
|
+
font-weight: _font(weight-bold);
|
27
|
+
height: _size(element-height);
|
28
|
+
line-height: _size(element-height);
|
29
|
+
padding: 0 1.125em;
|
30
|
+
text-align: center;
|
31
|
+
text-decoration: none;
|
32
|
+
white-space: nowrap;
|
33
|
+
|
34
|
+
&:hover {
|
35
|
+
background-color: lighten(_palette(accent, bg), 5);
|
36
|
+
}
|
37
|
+
|
38
|
+
&:active {
|
39
|
+
background-color: darken(_palette(accent, bg), 5);
|
40
|
+
}
|
41
|
+
|
42
|
+
&.disabled,
|
43
|
+
&:disabled {
|
44
|
+
opacity: 0.5;
|
45
|
+
}
|
46
|
+
|
47
|
+
@include breakpoint('<=xsmall') {
|
48
|
+
padding: 0;
|
49
|
+
}
|
50
|
+
}
|