aurora-theme 1.0.18.130

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c1f685d6c371c4970d69ab4087b96c4962c243ec58307f73e6947dbef84829ae
4
+ data.tar.gz: 24424031c3e083e87e5fe13910606bef4cec32e4cc469ab3459fe65dd5b84d82
5
+ SHA512:
6
+ metadata.gz: eb1e3667ed8f0be1f65238906768851eb7d181a1f0be9e6a286c2aeee3da5c079d56d5197e2ea55a5487ee83d1f70fb3f03d6c0141e35bdf9821f28a483a3fff
7
+ data.tar.gz: e13fcae5e5711874d7756c6a9ab553e4b176da54c009022e5f932beed93f47431c7086c0928637e43d8dd479d09428636e87e4502c92626992852bba4f848717
data/LICENSE ADDED
@@ -0,0 +1,116 @@
1
+ CC0 1.0 Universal
2
+
3
+ Statement of Purpose
4
+
5
+ The laws of most jurisdictions throughout the world automatically confer
6
+ exclusive Copyright and Related Rights (defined below) upon the creator and
7
+ subsequent owner(s) (each and all, an "owner") of an original work of
8
+ authorship and/or a database (each, a "Work").
9
+
10
+ Certain owners wish to permanently relinquish those rights to a Work for the
11
+ purpose of contributing to a commons of creative, cultural and scientific
12
+ works ("Commons") that the public can reliably and without fear of later
13
+ claims of infringement build upon, modify, incorporate in other works, reuse
14
+ and redistribute as freely as possible in any form whatsoever and for any
15
+ purposes, including without limitation commercial purposes. These owners may
16
+ contribute to the Commons to promote the ideal of a free culture and the
17
+ further production of creative, cultural and scientific works, or to gain
18
+ reputation or greater distribution for their Work in part through the use and
19
+ efforts of others.
20
+
21
+ For these and/or other purposes and motivations, and without any expectation
22
+ of additional consideration or compensation, the person associating CC0 with a
23
+ Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
24
+ and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
25
+ and publicly distribute the Work under its terms, with knowledge of his or her
26
+ Copyright and Related Rights in the Work and the meaning and intended legal
27
+ effect of CC0 on those rights.
28
+
29
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
30
+ protected by copyright and related or neighboring rights ("Copyright and
31
+ Related Rights"). Copyright and Related Rights include, but are not limited
32
+ to, the following:
33
+
34
+ i. the right to reproduce, adapt, distribute, perform, display, communicate,
35
+ and translate a Work;
36
+
37
+ ii. moral rights retained by the original author(s) and/or performer(s);
38
+
39
+ iii. publicity and privacy rights pertaining to a person's image or likeness
40
+ depicted in a Work;
41
+
42
+ iv. rights protecting against unfair competition in regards to a Work,
43
+ subject to the limitations in paragraph 4(a), below;
44
+
45
+ v. rights protecting the extraction, dissemination, use and reuse of data in
46
+ a Work;
47
+
48
+ vi. database rights (such as those arising under Directive 96/9/EC of the
49
+ European Parliament and of the Council of 11 March 1996 on the legal
50
+ protection of databases, and under any national implementation thereof,
51
+ including any amended or successor version of such directive); and
52
+
53
+ vii. other similar, equivalent or corresponding rights throughout the world
54
+ based on applicable law or treaty, and any national implementations thereof.
55
+
56
+ 2. Waiver. To the greatest extent permitted by, but not in contravention of,
57
+ applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
58
+ unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
59
+ and Related Rights and associated claims and causes of action, whether now
60
+ known or unknown (including existing as well as future claims and causes of
61
+ action), in the Work (i) in all territories worldwide, (ii) for the maximum
62
+ duration provided by applicable law or treaty (including future time
63
+ extensions), (iii) in any current or future medium and for any number of
64
+ copies, and (iv) for any purpose whatsoever, including without limitation
65
+ commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
66
+ the Waiver for the benefit of each member of the public at large and to the
67
+ detriment of Affirmer's heirs and successors, fully intending that such Waiver
68
+ shall not be subject to revocation, rescission, cancellation, termination, or
69
+ any other legal or equitable action to disrupt the quiet enjoyment of the Work
70
+ by the public as contemplated by Affirmer's express Statement of Purpose.
71
+
72
+ 3. Public License Fallback. Should any part of the Waiver for any reason be
73
+ judged legally invalid or ineffective under applicable law, then the Waiver
74
+ shall be preserved to the maximum extent permitted taking into account
75
+ Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
76
+ is so judged Affirmer hereby grants to each affected person a royalty-free,
77
+ non transferable, non sublicensable, non exclusive, irrevocable and
78
+ unconditional license to exercise Affirmer's Copyright and Related Rights in
79
+ the Work (i) in all territories worldwide, (ii) for the maximum duration
80
+ provided by applicable law or treaty (including future time extensions), (iii)
81
+ in any current or future medium and for any number of copies, and (iv) for any
82
+ purpose whatsoever, including without limitation commercial, advertising or
83
+ promotional purposes (the "License"). The License shall be deemed effective as
84
+ of the date CC0 was applied by Affirmer to the Work. Should any part of the
85
+ License for any reason be judged legally invalid or ineffective under
86
+ applicable law, such partial invalidity or ineffectiveness shall not
87
+ invalidate the remainder of the License, and in such case Affirmer hereby
88
+ affirms that he or she will not (i) exercise any of his or her remaining
89
+ Copyright and Related Rights in the Work or (ii) assert any associated claims
90
+ and causes of action with respect to the Work, in either case contrary to
91
+ Affirmer's express Statement of Purpose.
92
+
93
+ 4. Limitations and Disclaimers.
94
+
95
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
96
+ surrendered, licensed or otherwise affected by this document.
97
+
98
+ b. Affirmer offers the Work as-is and makes no representations or warranties
99
+ of any kind concerning the Work, express, implied, statutory or otherwise,
100
+ including without limitation warranties of title, merchantability, fitness
101
+ for a particular purpose, non infringement, or the absence of latent or
102
+ other defects, accuracy, or the present or absence of errors, whether or not
103
+ discoverable, all to the greatest extent permissible under applicable law.
104
+
105
+ c. Affirmer disclaims responsibility for clearing rights of other persons
106
+ that may apply to the Work or any use thereof, including without limitation
107
+ any person's Copyright and Related Rights in the Work. Further, Affirmer
108
+ disclaims responsibility for obtaining any necessary consents, permissions
109
+ or other rights required for any use of the Work.
110
+
111
+ d. Affirmer understands and acknowledges that Creative Commons is not a
112
+ party to this document and has no duty or obligation with respect to this
113
+ CC0 or use of the Work.
114
+
115
+ For more information, please see
116
+ <http://creativecommons.org/publicdomain/zero/1.0/>
@@ -0,0 +1,130 @@
1
+ # Aurora theme
2
+
3
+ [![Build Status](https://travis-ci.org/iBug/aurora-theme.svg?branch=master)](https://travis-ci.org/iBug/aurora-theme)
4
+
5
+ *Aurora is a Jekyll theme for GitHub Pages. You can [preview the theme to see what it looks like](https://ibug.github.io/aurora-theme), or even [use it today](#usage).*
6
+
7
+ ![Thumbnail of Aurora](thumbnail.jpg)
8
+
9
+ ## Usage
10
+
11
+ To use the Aurora theme:
12
+
13
+ 1. Add the following to your site's `_config.yml`:
14
+
15
+ ```yml
16
+ remote_theme: iBug/aurora-theme
17
+ ```
18
+
19
+ 2. Optionally, if you'd like to preview your site on your computer, add the following to your site's `Gemfile`:
20
+
21
+ ```ruby
22
+ gem "github-pages", group: :jekyll_plugins
23
+ ```
24
+
25
+ ## Customizing
26
+
27
+ ### Configuration variables
28
+
29
+ Aurora will respect the following variables, if set in your site's `_config.yml`:
30
+
31
+ ```yml
32
+ title: [The title of your site]
33
+ description: [A short description of your site's purpose]
34
+ ```
35
+
36
+ Additionally, you may choose to set the following optional variables:
37
+
38
+ ```yml
39
+ show_downloads: ["true" or "false" to indicate whether to provide a download URL]
40
+ google_analytics: [Your Google Analytics tracking ID]
41
+ ```
42
+
43
+ If these variables are set in individual pages' [front matter](https://jekyllrb.com/docs/frontmatter/), Aurora will respect them, too.
44
+
45
+ ```yml
46
+ title: [The title of the page]
47
+ tagline: [The tagline of the page]
48
+ ```
49
+
50
+ ### Stylesheet
51
+
52
+ If you'd like to add your own custom styles:
53
+
54
+ 1. Create a file called `/assets/css/style.scss` in your site
55
+ 2. Add the following content to the top of the file, exactly as shown:
56
+ ```scss
57
+ ---
58
+ ---
59
+
60
+ @import "aurora";
61
+ ```
62
+ 3. Add any custom CSS (or Sass, including imports) you'd like immediately after the `@import` line
63
+
64
+ *Note: If you'd like to change the theme's Sass variables, you must set new values before the `@import` line in your stylesheet.*
65
+
66
+ ### Layouts
67
+
68
+ If you'd like to change the theme's HTML layout:
69
+
70
+ 1. [Copy the original template](https://github.com/iBug/aurora-theme/blob/master/_layouts/default.html) from the theme's repository<br />(*Pro-tip: click "raw" to make copying easier*)
71
+ 2. Create a file called `/_layouts/default.html` in your site
72
+ 3. Paste the default layout content copied in the first step
73
+ 4. Customize the layout as you'd like
74
+
75
+ ### Overriding GitHub-generated URLs
76
+
77
+ Templates often rely on URLs supplied by GitHub such as links to your repository or links to download your project. If you'd like to override one or more default URLs:
78
+
79
+ 1. Look at [the template source](https://github.com/iBug/aurora-theme/blob/master/_layouts/default.html) to determine the name of the variable. It will be in the form of `{{ site.download.zip_url }}`.
80
+
81
+ 2. Specify the URL that you'd like the template to use in your site's `_config.yml`. For example, if the variable was `site.download.zip_url`, you'd add the following:
82
+ ```yml
83
+ download:
84
+ zip_url: http://example.com/download.zip
85
+ another_url: another value
86
+ ```
87
+ 3. When your site is built, Jekyll will use the URL you specified, rather than the default one provided by GitHub.
88
+
89
+ *Note: You must remove the `site.` prefix, and each variable name (after the `download.`) should be indent with two space below `download:`.*
90
+
91
+ For more information, see [the Jekyll variables documentation](https://jekyllrb.com/docs/variables/).
92
+
93
+ ## Optional features
94
+
95
+ Aurora comes with some built-in features that you can choose to enable to make your site look better.
96
+
97
+ To enable an optional feature, simply specify this in your site's `_config.yml`:
98
+
99
+ ```yml
100
+ features:
101
+ some_feature: true
102
+ ```
103
+
104
+ A list of optional features can be found at the [features page](https://ibug.github.io/aurora-theme/features). You can also preview all the features there.
105
+
106
+ ## Roadmap
107
+
108
+ See the [open issues](https://github.com/iBug/aurora-theme/issues) for a list of proposed features (and known issues).
109
+
110
+ ## Project philosophy
111
+
112
+ The Aurora theme is intended to make it quick and easy for GitHub Pages users to create their first (or 100th) website. The theme should meet the vast majority of users' needs out of the box, erring on the side of simplicity rather than flexibility, and provide users the opportunity to opt-in to additional complexity if they have specific needs or wish to further customize their experience (such as adding custom CSS or modifying the default layout). It should also look great, but that goes without saying.
113
+
114
+ ## Contributing
115
+
116
+ Interested in contributing to Aurora? We'd love your help. Aurora is an open source project, built one contribution at a time by users like you. See [the CONTRIBUTING file](docs/CONTRIBUTING.md) for instructions on how to contribute.
117
+
118
+ ### Previewing the theme locally
119
+
120
+ If you'd like to preview the theme locally (for example, in the process of proposing a change):
121
+
122
+ 1. Clone down the theme's repository (`git clone https://github.com/iBug/aurora-theme`)
123
+ 2. `cd` into the theme's directory
124
+ 3. Run `script/bootstrap` to install the necessary dependencies
125
+ 4. Run `bundle exec jekyll serve` to start the preview server
126
+ 5. Visit [`localhost:4000`](http://localhost:4000) in your browser to preview the theme
127
+
128
+ ### Running tests
129
+
130
+ The theme contains a minimal test suite, to ensure a site with the theme would build successfully. To run the tests, simply run `script/cibuild`. You'll need to run `script/bootstrap` one before the test script will work.
@@ -0,0 +1,3 @@
1
+ <svg viewBox="0 0 16 16" style="width: {{ include.size | default: "16" }}; height: {{ include.size | default: "16" }};">
2
+ <path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"></path>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg version="1.1" viewbox="0 0 100 118" style="width: {{ include.size | default: "16" }}; height: {{ include.size | default: "16" }};">
2
+ <polygon fill="#BCBBBB" points="84.072,107.351 84.072,75.8 94.588,75.8 94.588,117.869 0,117.869 0,75.8 10.516,75.8 10.516,107.351" />
3
+ <path fill="#F48024" d="M22.089,72.898l51.458,10.815l2.163-10.292L24.252,62.606L22.089,72.898z M28.897,48.259l47.666,22.199 l4.44-9.533L33.337,38.726L28.897,48.259z M42.088,24.874l40.405,33.65l6.73-8.081l-40.405-33.65L42.088,24.874z M68.171,0 l-8.438,6.276l31.381,42.191l8.438-6.276L68.171,0z M21.044,96.833l52.582,0V86.316l-52.582,0V96.833z" />
4
+ </svg>
@@ -0,0 +1,52 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ site.lang | default: "en-US" }}">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <title>{{ page.title | default: site.title }}</title>
6
+
7
+ <meta name="viewport" content="width=device-width, initial-scale=1">
8
+ <meta name="theme-color" content="#781578">
9
+ <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
10
+ </head>
11
+ <body>
12
+ <section class="page-header">
13
+ <h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
14
+ <h2 class="project-tagline">{{ page.tagline | default: site.description | default: site.github.project_tagline | newline_to_br }}</h2>
15
+ {% if site.github.is_project_page %}
16
+ <span class="line-container"><a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a></span>
17
+ {% endif %}
18
+ {% if site.show_downloads %}
19
+ <span class="line-container">
20
+ <a href="{{ site.download.zip_url | default: site.github.zip_url }}" class="btn">Download .zip</a>
21
+ <a href="{{ site.download.tar_url | default: site.github.tar_url }}" class="btn">Download .tar.gz</a>
22
+ </span>
23
+ {% endif %}
24
+ </section>
25
+
26
+ <section class="main-content">
27
+ {{ content }}
28
+
29
+ <footer class="site-footer">
30
+ {% if site.github.is_project_page %}
31
+ <span class="site-footer-owner"><a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span>
32
+ {% endif %}
33
+ <span class="site-footer-credits">This page is generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
34
+ </footer>
35
+ </section>
36
+
37
+ {% if site.features.love %}
38
+ <script type="text/javascript" src="{{ "/assets/js/love.js" | relative_url }}"></script>
39
+ {% endif %}
40
+ {% if site.google_analytics %}
41
+ <script>
42
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
43
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
44
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
45
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
46
+
47
+ ga('create', '{{ site.google_analytics }}', 'auto');
48
+ ga('send', 'pageview');
49
+ </script>
50
+ {% endif %}
51
+ </body>
52
+ </html>
@@ -0,0 +1,367 @@
1
+ @import "normalize";
2
+ @import "rouge-github";
3
+ @import "variables";
4
+ @import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');
5
+
6
+ @mixin large {
7
+ @media screen and (min-width: #{$large-breakpoint}) {
8
+ @content;
9
+ }
10
+ }
11
+
12
+ @mixin medium {
13
+ @media screen and (min-width: #{$medium-breakpoint}) and (max-width: #{$large-breakpoint}) {
14
+ @content;
15
+ }
16
+ }
17
+
18
+ @mixin small {
19
+ @media screen and (max-width: #{$medium-breakpoint}) {
20
+ @content;
21
+ }
22
+ }
23
+
24
+ * {
25
+ box-sizing: border-box;
26
+ }
27
+
28
+ body {
29
+ padding: 0;
30
+ margin: 0;
31
+ font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
32
+ font-size: 16px;
33
+ line-height: 1.5;
34
+ color: $body-text-color;
35
+ }
36
+
37
+ a {
38
+ color: $body-link-color;
39
+ text-decoration: none;
40
+
41
+ &:hover {
42
+ text-decoration: underline;
43
+ }
44
+ }
45
+
46
+ .btn {
47
+ display: inline-block;
48
+ margin-bottom: 1rem;
49
+ color: rgba(255, 255, 255, 0.7);
50
+ background-color: rgba(255, 255, 255, 0.08);
51
+ border-color: rgba(255, 255, 255, 0.2);
52
+ border-style: solid;
53
+ border-width: 1px;
54
+ border-radius: 0.3rem;
55
+ transition: color 0.2s, background-color 0.2s, border-color 0.2s;
56
+
57
+ &:hover {
58
+ color: rgba(255, 255, 255, 0.8);
59
+ text-decoration: none;
60
+ background-color: rgba(255, 255, 255, 0.2);
61
+ border-color: rgba(255, 255, 255, 0.3);
62
+ }
63
+
64
+ + .btn {
65
+ margin-left: 1rem;
66
+ }
67
+
68
+ @include large {
69
+ padding: 0.75rem 1rem;
70
+ }
71
+
72
+ @include medium {
73
+ padding: 0.6rem 0.9rem;
74
+ font-size: 0.9rem;
75
+ }
76
+
77
+ @include small {
78
+ //display: block;
79
+ //width: 100%;
80
+ padding: 0.75rem;
81
+ font-size: 0.9rem;
82
+
83
+ + .btn {
84
+ //margin-top: 1rem;
85
+ margin-left: 0;
86
+ }
87
+ }
88
+ }
89
+
90
+ .line-container {
91
+ margin-top: 0;
92
+ margin-bottom: 0;
93
+
94
+ + .line-container {
95
+ margin-left: 1rem;
96
+ }
97
+
98
+ @include small {
99
+ display: block;
100
+ width: 100%;
101
+ + .line-container {
102
+ margin-left: 0;
103
+ }
104
+ }
105
+ }
106
+
107
+ .page-header {
108
+ color: $header-heading-color;
109
+ text-align: center;
110
+ background-color: $header-bg-color;
111
+ background-image: url('https://ibug.github.io/image/pp-bg.jpg'), linear-gradient(120deg, $header-bg-color-secondary, $header-bg-color);
112
+ background-size: cover;
113
+ background-position: center;
114
+ background-repeat: no-repeat;
115
+ background-attachment: fixed;
116
+
117
+ @include large {
118
+ padding: 5rem 6rem;
119
+ }
120
+
121
+ @include medium {
122
+ padding: 3rem 4rem;
123
+ }
124
+
125
+ @include small {
126
+ padding: 2rem 1rem;
127
+ }
128
+ }
129
+
130
+ .project-name {
131
+ margin-top: 0;
132
+ margin-bottom: 0.1rem;
133
+
134
+ @include large {
135
+ font-size: 3.25rem;
136
+ }
137
+
138
+ @include medium {
139
+ font-size: 2.25rem;
140
+ }
141
+
142
+ @include small {
143
+ font-size: 1.75rem;
144
+ }
145
+ }
146
+
147
+ .project-tagline {
148
+ margin-bottom: 2rem;
149
+ font-weight: normal;
150
+ opacity: 0.7;
151
+
152
+ @include large {
153
+ font-size: 1.25rem;
154
+ }
155
+
156
+ @include medium {
157
+ font-size: 1.15rem;
158
+ }
159
+
160
+ @include small {
161
+ font-size: 1rem;
162
+ }
163
+ }
164
+
165
+ .main-content {
166
+ word-wrap: break-word;
167
+
168
+ :first-child {
169
+ margin-top: 0;
170
+ }
171
+
172
+ @include large {
173
+ max-width: 64rem;
174
+ padding: 2rem 6rem;
175
+ margin: 0 auto;
176
+ font-size: 1.1rem;
177
+ }
178
+
179
+ @include medium {
180
+ padding: 2rem 4rem;
181
+ font-size: 1.1rem;
182
+ }
183
+
184
+ @include small {
185
+ padding: 2rem 1rem;
186
+ font-size: 1rem;
187
+ }
188
+
189
+ img {
190
+ max-width: 100%;
191
+ }
192
+
193
+ h1,
194
+ h2,
195
+ h3,
196
+ h4,
197
+ h5,
198
+ h6 {
199
+ margin-top: 2rem;
200
+ margin-bottom: 1rem;
201
+ font-weight: normal;
202
+ color: $section-headings-color;
203
+ }
204
+
205
+ p {
206
+ margin-bottom: 1em;
207
+ }
208
+
209
+ code {
210
+ padding: 2px 4px;
211
+ font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
212
+ font-size: 0.9rem;
213
+ color: $code-text-color;
214
+ background-color: $code-bg-color;
215
+ border-radius: 0.3rem;
216
+ }
217
+
218
+ pre {
219
+ padding: 0.8rem;
220
+ margin-top: 0;
221
+ margin-bottom: 1rem;
222
+ font: 1rem Consolas, "Liberation Mono", Menlo, Courier, monospace;
223
+ color: $code-text-color;
224
+ word-wrap: normal;
225
+ background-color: $code-bg-color;
226
+ border: solid 1px $border-color;
227
+ border-radius: 0.3rem;
228
+
229
+ > code {
230
+ padding: 0;
231
+ margin: 0;
232
+ font-size: 0.9rem;
233
+ color: $code-text-color;
234
+ word-break: normal;
235
+ white-space: pre;
236
+ background: transparent;
237
+ border: 0;
238
+ }
239
+ }
240
+
241
+ .highlight {
242
+ margin-bottom: 1rem;
243
+
244
+ pre {
245
+ margin-bottom: 0;
246
+ word-break: normal;
247
+ }
248
+ }
249
+
250
+ .highlight pre,
251
+ pre {
252
+ padding: 0.8rem;
253
+ overflow: auto;
254
+ font-size: 0.9rem;
255
+ line-height: 1.45;
256
+ border-radius: 0.3rem;
257
+ -webkit-overflow-scrolling: touch;
258
+ }
259
+
260
+ pre code,
261
+ pre tt {
262
+ display: inline;
263
+ max-width: initial;
264
+ padding: 0;
265
+ margin: 0;
266
+ overflow: initial;
267
+ line-height: inherit;
268
+ word-wrap: normal;
269
+ background-color: transparent;
270
+ border: 0;
271
+
272
+ &:before,
273
+ &:after {
274
+ content: normal;
275
+ }
276
+ }
277
+
278
+ ul,
279
+ ol {
280
+ margin-top: 0;
281
+ }
282
+
283
+ blockquote {
284
+ padding: 0 1rem;
285
+ margin-left: 0;
286
+ color: $blockquote-text-color;
287
+ border-left: 0.3rem solid $border-color;
288
+
289
+ > :first-child {
290
+ margin-top: 0;
291
+ }
292
+
293
+ > :last-child {
294
+ margin-bottom: 0;
295
+ }
296
+ }
297
+
298
+ table {
299
+ display: block;
300
+ width: 100%;
301
+ overflow: auto;
302
+ word-break: normal;
303
+ word-break: keep-all; // For Firefox to horizontally scroll wider tables.
304
+ -webkit-overflow-scrolling: touch;
305
+
306
+ th {
307
+ font-weight: bold;
308
+ }
309
+
310
+ th,
311
+ td {
312
+ padding: 0.5rem 1rem;
313
+ border: 1px solid $table-border-color;
314
+ }
315
+ }
316
+
317
+ dl {
318
+ padding: 0;
319
+
320
+ dt {
321
+ padding: 0;
322
+ margin-top: 1rem;
323
+ font-size: 1rem;
324
+ font-weight: bold;
325
+ }
326
+
327
+ dd {
328
+ padding: 0;
329
+ margin-bottom: 1rem;
330
+ }
331
+ }
332
+
333
+ hr {
334
+ height: 2px;
335
+ padding: 0;
336
+ margin: 1rem 0;
337
+ background-color: $hr-border-color;
338
+ border: 0;
339
+ }
340
+ }
341
+
342
+ .site-footer {
343
+ padding-top: 2rem;
344
+ margin-top: 2rem;
345
+ border-top: solid 1px $hr-border-color;
346
+
347
+ @include large {
348
+ font-size: 1rem;
349
+ }
350
+
351
+ @include medium {
352
+ font-size: 1rem;
353
+ }
354
+
355
+ @include small {
356
+ font-size: 0.9rem;
357
+ }
358
+ }
359
+
360
+ .site-footer-owner {
361
+ display: block;
362
+ font-weight: bold;
363
+ }
364
+
365
+ .site-footer-credits {
366
+ color: $blockquote-text-color;
367
+ }