just-the-docs 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +48 -0
  4. data/Rakefile +1 -0
  5. data/_includes/head.html +11 -0
  6. data/_includes/nav.html +24 -0
  7. data/_layouts/default.html +68 -0
  8. data/_layouts/post.html +5 -0
  9. data/_sass/base.scss +104 -0
  10. data/_sass/buttons.scss +114 -0
  11. data/_sass/code.scss +121 -0
  12. data/_sass/content.scss +64 -0
  13. data/_sass/custom/custom.scss +112 -0
  14. data/_sass/labels.scss +35 -0
  15. data/_sass/layout.scss +121 -0
  16. data/_sass/navigation.scss +134 -0
  17. data/_sass/normalize.scss/README.md +78 -0
  18. data/_sass/normalize.scss/normalize.scss +427 -0
  19. data/_sass/normalize.scss/package.json +70 -0
  20. data/_sass/search.scss +88 -0
  21. data/_sass/support/_functions.scss +10 -0
  22. data/_sass/support/_variables.scss +122 -0
  23. data/_sass/support/mixins/_buttons.scss +25 -0
  24. data/_sass/support/mixins/_layout.scss +34 -0
  25. data/_sass/support/mixins/_typography.scss +81 -0
  26. data/_sass/support/mixins/mixins.scss +3 -0
  27. data/_sass/support/support.scss +3 -0
  28. data/_sass/tables.scss +77 -0
  29. data/_sass/typography.scss +54 -0
  30. data/_sass/utilities/_colors.scss +231 -0
  31. data/_sass/utilities/_layout.scss +38 -0
  32. data/_sass/utilities/_lists.scss +11 -0
  33. data/_sass/utilities/_spacing.scss +121 -0
  34. data/_sass/utilities/_typography.scss +91 -0
  35. data/_sass/utilities/utilities.scss +5 -0
  36. data/assets/css/just-the-docs.scss +33 -0
  37. data/assets/images/just-the-docs.png +0 -0
  38. data/assets/images/search.svg +1 -0
  39. data/assets/js/just-the-docs.js +150 -0
  40. data/assets/js/vendor/lunr.min.js +6 -0
  41. data/bin/just-the-docs +16 -0
  42. data/lib/tasks/search.rake +22 -0
  43. metadata +129 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7fc20c9068d28991177f8ccd3ec04747fdd54c74
4
+ data.tar.gz: 5be60769fac00a2d25de8eea1c770af1571efa89
5
+ SHA512:
6
+ metadata.gz: e5d92dd04257dc95977d62e4c104a7c62594e8c71422a159f76108582e21886baebf40f1f1beb8b804e2eb7ee7d6b9b852a77e81421ecbfd898b5d9e1689c82e
7
+ data.tar.gz: d62198fada4fd7988680e754c0ff1546e3be82d9dbd448aec9538255305fe7e0a1bf713950350ccacd85240a969957b8c4085f6fabe881a242dc1b2555e4efcd
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Patrick Marsceill
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,48 @@
1
+ # Just the Docs
2
+
3
+ A nice looking, high customizable, responsive Jekyll theme for documention with built-in search. Easily hosted on GitHub pages.
4
+
5
+ ![screenshot 2018-10-22 11 36 56](https://user-images.githubusercontent.com/896475/47302203-e4a8ca80-d5ee-11e8-916a-9bd30e95a40d.png)
6
+
7
+ ## Installation
8
+
9
+ Add this line to your Jekyll site's Gemfile:
10
+
11
+ ```ruby
12
+ gem "just-the-docs"
13
+ ```
14
+
15
+ And add this line to your Jekyll site's `_config.yml`:
16
+
17
+ ```yaml
18
+ theme: just-the-docs
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install just-the-docs
28
+
29
+ ## Usage
30
+
31
+ View the documentation for more information.
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/pmarsceill/just-the-docs. 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.
36
+
37
+ ## Development
38
+
39
+ To set up your environment to develop this theme, run `bundle install`.
40
+
41
+ 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.
42
+
43
+ When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
44
+
45
+ ## License
46
+
47
+ The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
48
+
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ Dir.glob('lib/tasks/*.rake').each {|r| import r}
@@ -0,0 +1,11 @@
1
+ <head>
2
+ <meta charset="UTF-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=Edge">
4
+
5
+ <title>{{ page.title }} - {{ site.title }}</title>
6
+ <link rel="stylesheet" href="/assets/css/just-the-docs.css">
7
+ <script type="text/javascript" src="/assets/js/vendor/lunr.min.js"></script>
8
+ <script type="text/javascript" src="/assets/js/just-the-docs.js"></script>
9
+
10
+ <meta name="viewport" content="width=device-width, initial-scale=1">
11
+ </head>
@@ -0,0 +1,24 @@
1
+ <nav>
2
+ <ul class="navigation-list">
3
+ {% assign pages_list = site.html_pages | sort:"nav_order" %}
4
+ {% for node in pages_list %}
5
+ <li class="navigation-list-item{% if page.url == node.url %} active{% endif %} js-side-nav-item">
6
+ {% if node.parent == nil or node.has_children == true %}
7
+ <a href="{{ node.url | absolute_url }}" class="navigation-list-link{% if page.url == node.url or (page.parent != nil and page.parent == node.parent) %} active{% endif %}">{{ node.title }}</a>
8
+ {% if (node.has_children == true and node.parent == page.parent) %}
9
+ {% assign children_list = site.html_pages | sort:"nav_order" %}
10
+ <ul class="navigation-list-child-list">
11
+ {% for child in children_list %}
12
+ {% if child.parent == node.parent and child.title != node.title %}
13
+ <li class="navigation-list-item {% if page.url == child.url %} active{% endif %}">
14
+ <a href="{{ child.url | absolute_url }}" class="navigation-list-link{% if page.url == child.url %} active{% endif %}">{{ child.title }}</a>
15
+ </li>
16
+ {% endif %}
17
+ {% endfor %}
18
+ </ul>
19
+ {% endif %}
20
+ {% endif %}
21
+ </li>
22
+ {% endfor %}
23
+ </ul>
24
+ </nav>
@@ -0,0 +1,68 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html lang="en-us">
4
+ {% include head.html %}
5
+
6
+ <div class="page-wrap">
7
+ <div class="side-bar">
8
+ <a href="{{ site.url }}" class="site-title fs-6 text-grey-dk-300 lh-tight">{{ site.title }}</a>
9
+ <span class="fs-3"><button class="js-main-nav-trigger navigation-list-toggle btn btn-outline" type="button" data-text-toggle="Hide">Menu</button></span>
10
+ <div class="navigation main-nav js-main-nav">
11
+ {% include nav.html %}
12
+ <footer role="contentinfo" class="site-footer">
13
+ <p class="text-small text-grey-dk-000 mb-0">This site uses <a href="https://github.com/pmarsceill/just-the-docs">Just the Docs</a>, a documentation theme for Jekyll.</p>
14
+ </footer>
15
+ </div>
16
+ </div>
17
+ <div class="main-content-wrap">
18
+ <div class="page-header">
19
+ <div class="main-content pb-0">
20
+ <div class="search">
21
+ <div class="search-input-wrap">
22
+ <input type="text" class="js-search-input search-input fs-2" placeholder="Search {{ site.title }}" aria-label="Search {{ site.title }}" autocomplete="off">
23
+ <svg width="14" height="14" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" class="search-icon"><title>Search</title><g fill-rule="nonzero"><path d="M17.332 20.735c-5.537 0-10-4.6-10-10.247 0-5.646 4.463-10.247 10-10.247 5.536 0 10 4.601 10 10.247s-4.464 10.247-10 10.247zm0-4c3.3 0 6-2.783 6-6.247 0-3.463-2.7-6.247-6-6.247s-6 2.784-6 6.247c0 3.464 2.7 6.247 6 6.247z"/><path d="M11.672 13.791L.192 25.271 3.02 28.1 14.5 16.62z"/></g></svg>
24
+ </div>
25
+ <div class="js-search-results search-results-wrap"></div>
26
+ </div>
27
+ {% if site.aux_links != nil %}
28
+ <ul class="list-style-none text-small mt-md-2 pb-4 pb-md-0 js-aux-nav aux-nav">
29
+ {% for link in site.aux_links %}
30
+ <li class="d-inline-block my-0{% unless forloop.last %} mr-2{% endunless %}"><a href="{{ link.last }}">{{ link.first }}</a></li>
31
+ {% endfor %}
32
+ </ul>
33
+ {% endif %}
34
+ </div>
35
+ </div>
36
+ <div class="main-content">
37
+ {% unless page.url == "/" %}
38
+ {% if page.parent != nil and page.parent != page.title %}
39
+ <nav class="breadcrumb-nav">
40
+ <ol class="breadcrumb-nav-list">
41
+ <li class="breadcrumb-nav-list-item"><a href="{{ site.url }}/{{ page.parent | slugify }}">{{ page.parent }}</a></li>
42
+ <li class="breadcrumb-nav-list-item"><span>{{ page.title }}</span></li>
43
+ </ol>
44
+ </nav>
45
+ {% endif %}
46
+ {% endunless %}
47
+ <div class="page-content">
48
+ {{ content }}
49
+
50
+ {% if page.has_children == true %}
51
+ <hr>
52
+ <h2 class="text-delta">Table of contents</h2>
53
+ {% assign children_list = site.pages | sort:"nav_order" %}
54
+ <ul>
55
+ {% for child in children_list %}
56
+ {% if child.parent == page.title and child.title != page.title %}
57
+ <li>
58
+ <a href="{{ child.url | absolute_url }}">{{ child.title }}</a>
59
+ </li>
60
+ {% endif %}
61
+ {% endfor %}
62
+ </ul>
63
+ {% endif %}
64
+ </div>
65
+ </div>
66
+ </div>
67
+ </div>
68
+ </html>
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
data/_sass/base.scss ADDED
@@ -0,0 +1,104 @@
1
+ //
2
+ // Base element style overrides
3
+ //
4
+ // stylelint-disable selector-no-type
5
+
6
+ * {
7
+ box-sizing: border-box;
8
+ }
9
+
10
+ html {
11
+ @include fs-4;
12
+ }
13
+
14
+ body {
15
+ font-family: $body-font-family;
16
+ font-size: inherit;
17
+ line-height: $body-line-height;
18
+ color: $body-text-color;
19
+ }
20
+
21
+ p,
22
+ h1,
23
+ h2,
24
+ h3,
25
+ h4,
26
+ h5,
27
+ h6,
28
+ ol,
29
+ ul,
30
+ pre,
31
+ address,
32
+ blockquote,
33
+ dl,
34
+ div,
35
+ fieldset,
36
+ form,
37
+ hr,
38
+ noscript,
39
+ table {
40
+ margin-top: 0;
41
+ }
42
+
43
+ h1,
44
+ h2,
45
+ h3,
46
+ h4,
47
+ h5,
48
+ h6 {
49
+ margin-top: 1.2em;
50
+ margin-bottom: 0.8em;
51
+ font-weight: 500;
52
+ line-height: $body-heading-line-height;
53
+ color: $body-heading-color;
54
+ }
55
+
56
+ p {
57
+ margin-bottom: 1em;
58
+ }
59
+
60
+ a {
61
+ color: $link-color;
62
+ text-decoration: none;
63
+ }
64
+
65
+ a:not([class]) {
66
+ text-decoration: none;
67
+ background-image: linear-gradient($grey-lt-100 0%, $grey-lt-100 100%);
68
+ background-repeat: repeat-x;
69
+ background-position: 0 100%;
70
+ background-size: 1px 1px;
71
+
72
+ &:hover {
73
+ background-image: linear-gradient(rgba($link-color, 0.45) 0%, rgba($link-color, 0.45) 100%);
74
+ background-size: 1px 1px;
75
+
76
+ }
77
+ }
78
+
79
+ code {
80
+ font-family: $mono-font-family;
81
+ font-size: 12px;
82
+ line-height: $body-line-height;
83
+ }
84
+
85
+ figure {
86
+ margin: 0;
87
+ }
88
+
89
+ li {
90
+ margin: 0.25em 0;
91
+ }
92
+
93
+ img {
94
+ max-width: 100%;
95
+ height: auto;
96
+ }
97
+
98
+ hr {
99
+ height: 1px;
100
+ padding: 0;
101
+ margin: $sp-6 0;
102
+ background-color: $grey-lt-100;
103
+ border: 0;
104
+ }
@@ -0,0 +1,114 @@
1
+ //
2
+ // Buttons and things that look like buttons
3
+ //
4
+ // stylelint-disable color-named
5
+
6
+ .btn {
7
+ display: inline-block;
8
+ box-sizing: border-box;
9
+ padding-top: 0.3em;
10
+ padding-right: 1em;
11
+ padding-bottom: 0.3em;
12
+ padding-left: 1em;
13
+ margin: 0;
14
+ font-family: inherit;
15
+ font-size: inherit;
16
+ font-weight: 500;
17
+ line-height: 1.5;
18
+ color: $purple-200;
19
+ text-decoration: none;
20
+ vertical-align: baseline;
21
+ cursor: pointer;
22
+ background-color: #f7f7f7;
23
+ border-width: 0;
24
+ border-radius: 3px;
25
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
26
+ appearance: none;
27
+
28
+ &:focus {
29
+ text-decoration: none;
30
+ outline: none;
31
+ box-shadow: 0 0 0 3px rgba(blue, 0.25);
32
+ }
33
+
34
+ &:focus:hover,
35
+ &.selected:focus {
36
+ box-shadow: 0 0 0 3px rgba(blue, 0.25);
37
+ }
38
+
39
+ &:hover,
40
+ &.zeroclipboard-is-hover {
41
+ color: $purple-300;
42
+ }
43
+
44
+ &:hover,
45
+ &:active,
46
+ &.zeroclipboard-is-hover,
47
+ &.zeroclipboard-is-active {
48
+ text-decoration: none;
49
+ background-color: #f4f4f4;
50
+ }
51
+
52
+ &:active,
53
+ &.selected,
54
+ &.zeroclipboard-is-active {
55
+ background-color: #ededed;
56
+ background-image: none;
57
+ box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
58
+ }
59
+
60
+ &.selected:hover {
61
+ background-color: darken(#dcdcdc, 5%);
62
+ }
63
+
64
+ &:disabled,
65
+ &.disabled {
66
+ &,
67
+ &:hover {
68
+ color: rgba(102, 102, 102, 0.5);
69
+ cursor: default;
70
+ background-color: rgba(229, 229, 229, 0.5);
71
+ background-image: none;
72
+ box-shadow: none;
73
+ }
74
+ }
75
+ }
76
+
77
+ .btn-outline {
78
+ color: $blue-100;
79
+ background: transparent;
80
+ box-shadow: inset 0 0 0 2px $grey-lt-300;
81
+
82
+ &:hover,
83
+ &:active,
84
+ &.zeroclipboard-is-hover,
85
+ &.zeroclipboard-is-active {
86
+ color: $grey-dk-100;
87
+ text-decoration: none;
88
+ background-color: transparent;
89
+ box-shadow: inset 0 0 0 3px $grey-lt-300;
90
+ }
91
+
92
+ &:focus {
93
+ text-decoration: none;
94
+ outline: none;
95
+ box-shadow: inset 0 0 0 2px $grey-dk-100, 0 0 0 3px rgba(blue, 0.25);
96
+ }
97
+
98
+ &:focus:hover,
99
+ &.selected:focus {
100
+ box-shadow: inset 0 0 0 2px $grey-dk-100;
101
+ }
102
+ }
103
+
104
+ .btn-purple {
105
+ @include btn-color($white, $purple-100);
106
+ }
107
+
108
+ .btn-blue {
109
+ @include btn-color($white, $blue-000);
110
+ }
111
+
112
+ .btn-green {
113
+ @include btn-color($white, $green-100);
114
+ }
data/_sass/code.scss ADDED
@@ -0,0 +1,121 @@
1
+ //
2
+ // Code and syntax highlighting
3
+ //
4
+ // stylelint-disable selector-no-qualifying-type, declaration-block-semicolon-newline-after,declaration-block-single-line-max-declarations, selector-no-type
5
+
6
+ code {
7
+ padding: 0.2em 0.15em;
8
+ font-weight: 400;
9
+ background-color: $grey-lt-000;
10
+ border: $border $border-color;
11
+ border-radius: $border-radius;
12
+ }
13
+
14
+ .highlight {
15
+ padding: $sp-3;
16
+ margin-bottom: 0;
17
+ background-color: $grey-lt-000;
18
+
19
+ code {
20
+ padding: 0;
21
+ border: 0;
22
+ }
23
+ }
24
+
25
+ .highlighter-rouge {
26
+ margin-bottom: $sp-3;
27
+ overflow: hidden;
28
+ border-radius: $border-radius;
29
+ }
30
+
31
+ .highlight .c { color: #586e75; } // comment //
32
+ .highlight .err { color: #93a1a1; } // error //
33
+ .highlight .g { color: #93a1a1; } // generic //
34
+ .highlight .k { color: #859900; } // keyword //
35
+ .highlight .l { color: #93a1a1; } // literal //
36
+ .highlight .n { color: #93a1a1; } // name //
37
+ .highlight .o { color: #859900; } // operator //
38
+ .highlight .x { color: #cb4b16; } // other //
39
+ .highlight .p { color: #93a1a1; } // punctuation //
40
+ .highlight .cm { color: #586e75; } // comment.multiline //
41
+ .highlight .cp { color: #859900; } // comment.preproc //
42
+ .highlight .c1 { color: #586e75; } // comment.single //
43
+ .highlight .cs { color: #859900; } // comment.special //
44
+ .highlight .gd { color: #2aa198; } // generic.deleted //
45
+ .highlight .ge { font-style: italic; color: #93a1a1; } // generic.emph //
46
+ .highlight .gr { color: #dc322f; } // generic.error //
47
+ .highlight .gh { color: #cb4b16; } // generic.heading //
48
+ .highlight .gi { color: #859900; } // generic.inserted //
49
+ .highlight .go { color: #93a1a1; } // generic.output //
50
+ .highlight .gp { color: #93a1a1; } // generic.prompt //
51
+ .highlight .gs { font-weight: bold; color: #93a1a1; } // generic.strong //
52
+ .highlight .gu { color: #cb4b16; } // generic.subheading //
53
+ .highlight .gt { color: #93a1a1; } // generic.traceback //
54
+ .highlight .kc { color: #cb4b16; } // keyword.constant //
55
+ .highlight .kd { color: #268bd2; } // keyword.declaration //
56
+ .highlight .kn { color: #859900; } // keyword.namespace //
57
+ .highlight .kp { color: #859900; } // keyword.pseudo //
58
+ .highlight .kr { color: #268bd2; } // keyword.reserved //
59
+ .highlight .kt { color: #dc322f; } // keyword.type //
60
+ .highlight .ld { color: #93a1a1; } // literal.date //
61
+ .highlight .m { color: #2aa198; } // literal.number //
62
+ .highlight .s { color: #2aa198; } // literal.string //
63
+ .highlight .na { color: #93a1a1; } // name.attribute //
64
+ .highlight .nb { color: #b58900; } // name.builtin //
65
+ .highlight .nc { color: #268bd2; } // name.class //
66
+ .highlight .no { color: #cb4b16; } // name.constant //
67
+ .highlight .nd { color: #268bd2; } // name.decorator //
68
+ .highlight .ni { color: #cb4b16; } // name.entity //
69
+ .highlight .ne { color: #cb4b16; } // name.exception //
70
+ .highlight .nf { color: #268bd2; } // name.function //
71
+ .highlight .nl { color: #93a1a1; } // name.label //
72
+ .highlight .nn { color: #93a1a1; } // name.namespace //
73
+ .highlight .nx { color: #555; } // name.other //
74
+ .highlight .py { color: #93a1a1; } // name.property //
75
+ .highlight .nt { color: #268bd2; } // name.tag //
76
+ .highlight .nv { color: #268bd2; } // name.variable //
77
+ .highlight .ow { color: #859900; } // operator.word //
78
+ .highlight .w { color: #93a1a1; } // text.whitespace //
79
+ .highlight .mf { color: #2aa198; } // literal.number.float //
80
+ .highlight .mh { color: #2aa198; } // literal.number.hex //
81
+ .highlight .mi { color: #2aa198; } // literal.number.integer //
82
+ .highlight .mo { color: #2aa198; } // literal.number.oct //
83
+ .highlight .sb { color: #586e75; } // literal.string.backtick //
84
+ .highlight .sc { color: #2aa198; } // literal.string.char //
85
+ .highlight .sd { color: #93a1a1; } // literal.string.doc //
86
+ .highlight .s2 { color: #2aa198; } // literal.string.double //
87
+ .highlight .se { color: #cb4b16; } // literal.string.escape //
88
+ .highlight .sh { color: #93a1a1; } // literal.string.heredoc //
89
+ .highlight .si { color: #2aa198; } // literal.string.interpol //
90
+ .highlight .sx { color: #2aa198; } // literal.string.other //
91
+ .highlight .sr { color: #dc322f; } // literal.string.regex //
92
+ .highlight .s1 { color: #2aa198; } // literal.string.single //
93
+ .highlight .ss { color: #2aa198; } // literal.string.symbol //
94
+ .highlight .bp { color: #268bd2; } // name.builtin.pseudo //
95
+ .highlight .vc { color: #268bd2; } // name.variable.class //
96
+ .highlight .vg { color: #268bd2; } // name.variable.global //
97
+ .highlight .vi { color: #268bd2; } // name.variable.instance //
98
+ .highlight .il { color: #2aa198; } // literal.number.integer.long //
99
+
100
+ //
101
+ // Code examples (rendered)
102
+ //
103
+
104
+ .code-example {
105
+ padding: $sp-3;
106
+ margin-bottom: $sp-3;
107
+ overflow: scroll;
108
+ border: 1px solid $border-color;
109
+ border-radius: $border-radius;
110
+
111
+ + .highlighter-rouge,
112
+ + figure.highlight {
113
+ position: relative;
114
+ margin-top: -$sp-4;
115
+ border-right: 1px solid $border-color;
116
+ border-bottom: 1px solid $border-color;
117
+ border-left: 1px solid $border-color;
118
+ border-top-left-radius: 0;
119
+ border-top-right-radius: 0;
120
+ }
121
+ }