jekyll-cessda-docs 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +52 -0
  4. data/_config.yml +59 -0
  5. data/_includes/css/custom.scss.liquid +1 -0
  6. data/_includes/css/just-the-docs.scss.liquid +8 -0
  7. data/_includes/fix_linenos.html +65 -0
  8. data/_includes/head.html +40 -0
  9. data/_includes/head_custom.html +0 -0
  10. data/_includes/js/custom.js +0 -0
  11. data/_includes/nav.html +100 -0
  12. data/_includes/title.html +5 -0
  13. data/_includes/vendor/anchor_headings.html +144 -0
  14. data/_layouts/about.html +5 -0
  15. data/_layouts/default.html +200 -0
  16. data/_layouts/home.html +5 -0
  17. data/_layouts/page.html +5 -0
  18. data/_layouts/post.html +5 -0
  19. data/_layouts/table_wrappers.html +7 -0
  20. data/_layouts/vendor/compress.html +10 -0
  21. data/_sass/base.scss +108 -0
  22. data/_sass/buttons.scss +118 -0
  23. data/_sass/cessda.scss +93 -0
  24. data/_sass/code.scss +334 -0
  25. data/_sass/color_schemes/dark.scss +17 -0
  26. data/_sass/color_schemes/light.scss +0 -0
  27. data/_sass/content.scss +199 -0
  28. data/_sass/custom/custom.scss +0 -0
  29. data/_sass/labels.scss +37 -0
  30. data/_sass/layout.scss +192 -0
  31. data/_sass/modules.scss +21 -0
  32. data/_sass/navigation.scss +219 -0
  33. data/_sass/print.scss +40 -0
  34. data/_sass/search.scss +323 -0
  35. data/_sass/support/_functions.scss +9 -0
  36. data/_sass/support/_variables.scss +152 -0
  37. data/_sass/support/mixins/_buttons.scss +27 -0
  38. data/_sass/support/mixins/_layout.scss +34 -0
  39. data/_sass/support/mixins/_typography.scss +84 -0
  40. data/_sass/support/mixins/mixins.scss +3 -0
  41. data/_sass/support/support.scss +3 -0
  42. data/_sass/tables.scss +58 -0
  43. data/_sass/typography.scss +64 -0
  44. data/_sass/utilities/_colors.scss +239 -0
  45. data/_sass/utilities/_layout.scss +95 -0
  46. data/_sass/utilities/_lists.scss +17 -0
  47. data/_sass/utilities/_spacing.scss +165 -0
  48. data/_sass/utilities/_typography.scss +91 -0
  49. data/_sass/utilities/utilities.scss +5 -0
  50. data/_sass/vendor/normalize.scss/README.md +78 -0
  51. data/_sass/vendor/normalize.scss/normalize.scss +427 -0
  52. data/_sass/vendor/normalize.scss/package.json +70 -0
  53. data/assets/CESSDA.png +0 -0
  54. data/assets/css/just-the-docs-dark.scss +3 -0
  55. data/assets/css/just-the-docs-default.scss +8 -0
  56. data/assets/css/just-the-docs-light.scss +3 -0
  57. data/assets/images/CESSDA.png +0 -0
  58. data/assets/images/search.svg +1 -0
  59. data/assets/js/just-the-docs.js +471 -0
  60. data/assets/js/vendor/lunr.min.js +6 -0
  61. data/assets/js/zzzz-search-data.json +72 -0
  62. metadata +118 -0
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,200 @@
1
+ ---
2
+ layout: table_wrappers
3
+ ---
4
+
5
+ <!DOCTYPE html>
6
+
7
+ <html lang="{{ site.lang | default: 'en-US' }}">
8
+ {% include head.html %}
9
+ <body>
10
+ <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
11
+ <symbol id="svg-link" viewBox="0 0 24 24">
12
+ <title>Link</title>
13
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-link">
14
+ <path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path>
15
+ </svg>
16
+ </symbol>
17
+ <symbol id="svg-search" viewBox="0 0 24 24">
18
+ <title>Search</title>
19
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search">
20
+ <circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line>
21
+ </svg>
22
+ </symbol>
23
+ <symbol id="svg-menu" viewBox="0 0 24 24">
24
+ <title>Menu</title>
25
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu">
26
+ <line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line>
27
+ </svg>
28
+ </symbol>
29
+ <symbol id="svg-arrow-right" viewBox="0 0 24 24">
30
+ <title>Expand</title>
31
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right">
32
+ <polyline points="9 18 15 12 9 6"></polyline>
33
+ </svg>
34
+ </symbol>
35
+ <symbol id="svg-doc" viewBox="0 0 24 24">
36
+ <title>Document</title>
37
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file">
38
+ <path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path><polyline points="13 2 13 9 20 9"></polyline>
39
+ </svg>
40
+ </symbol>
41
+ </svg>
42
+ <div class="bg-grey-dk-200 topcont">
43
+ <div class="topbar">
44
+ <a href="https://www.cessda.eu">Consortium of Social Science Data Archives</a>
45
+ </div>
46
+ </div>
47
+ <div class="maincont">
48
+ <div class="side-bar">
49
+ <div class="site-header">
50
+ <a href="{{ '/' | absolute_url }}" class="site-title lh-tight">{% include title.html %}</a>
51
+ <a href="#" id="menu-button" class="site-button">
52
+ <svg viewBox="0 0 24 24" class="icon"><use xlink:href="#svg-menu"></use></svg>
53
+ </a>
54
+ </div>
55
+ <nav role="navigation" aria-label="Main" id="site-nav" class="site-nav">
56
+ {% if site.just_the_docs.collections %}
57
+ {% assign collections_size = site.just_the_docs.collections | size %}
58
+ {% for collection_entry in site.just_the_docs.collections %}
59
+ {% assign collection_key = collection_entry[0] %}
60
+ {% assign collection_value = collection_entry[1] %}
61
+ {% assign collection = site[collection_key] %}
62
+ {% if collection_value.nav_exclude != true %}
63
+ {% if collections_size > 1 %}
64
+ <div class="nav-category">{{ collection_value.name }}</div>
65
+ {% endif %}
66
+ {% include nav.html pages=collection %}
67
+ {% endif %}
68
+ {% endfor %}
69
+ {% else %}
70
+ {% include nav.html pages=site.html_pages %}
71
+ {% endif %}
72
+ </nav>
73
+
74
+ </div>
75
+ <div class="main" id="top">
76
+ <div id="main-header" class="main-header">
77
+ {% if site.search_enabled != false %}
78
+ <div class="search">
79
+ <div class="search-input-wrap">
80
+ <input type="text" id="search-input" class="search-input" tabindex="0" placeholder="Search {{ site.title }}" aria-label="Search {{ site.title }}" autocomplete="off">
81
+ <label for="search-input" class="search-label"><svg viewBox="0 0 24 24" class="search-icon"><use xlink:href="#svg-search"></use></svg></label>
82
+ </div>
83
+ <div id="search-results" class="search-results"></div>
84
+ </div>
85
+ {% endif %}
86
+ {% if site.aux_links %}
87
+ <nav aria-label="Auxiliary" class="aux-nav">
88
+ <ul class="aux-nav-list">
89
+ {% for link in site.aux_links %}
90
+ <li class="aux-nav-list-item">
91
+ <a href="{{ link.last }}" class="site-button"
92
+ {% if site.aux_links_new_tab %}
93
+ target="_blank" rel="noopener noreferrer"
94
+ {% endif %}
95
+ >
96
+ {{ link.first }}
97
+ </a>
98
+ </li>
99
+ {% endfor %}
100
+ </ul>
101
+ </nav>
102
+ {% endif %}
103
+ </div>
104
+ <div id="main-content-wrap" class="main-content-wrap">
105
+ {% unless page.url == "/" %}
106
+ {% if page.parent %}
107
+ <nav aria-label="Breadcrumb" class="breadcrumb-nav">
108
+ <ol class="breadcrumb-nav-list">
109
+ {% if page.grand_parent %}
110
+ <li class="breadcrumb-nav-list-item"><a href="{{ first_level_url }}">{{ page.grand_parent }}</a></li>
111
+ <li class="breadcrumb-nav-list-item"><a href="{{ second_level_url }}">{{ page.parent }}</a></li>
112
+ {% else %}
113
+ <li class="breadcrumb-nav-list-item"><a href="{{ first_level_url }}">{{ page.parent }}</a></li>
114
+ {% endif %}
115
+ <li class="breadcrumb-nav-list-item"><span>{{ page.title }}</span></li>
116
+ </ol>
117
+ </nav>
118
+ {% endif %}
119
+ {% endunless %}
120
+ <div id="main-content" class="main-content" role="main">
121
+ {% if site.heading_anchors != false %}
122
+ {% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="<svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><use xlink:href=\"#svg-link\"></use></svg>" anchorClass="anchor-heading" anchorAttrs="aria-labelledby=\"%html_id%\"" %}
123
+ {% else %}
124
+ {{ content }}
125
+ {% endif %}
126
+
127
+ {% if page.has_children == true and page.has_toc != false %}
128
+ <hr>
129
+ <h2 class="text-delta">Table of contents</h2>
130
+ <ul>
131
+ {%- assign children_list = pages_list | where: "parent", page.title | where: "grand_parent", page.parent -%}
132
+ {% for child in children_list %}
133
+ <li>
134
+ <a href="{{ child.url | absolute_url }}">{{ child.title }}</a>{% if child.summary %} - {{ child.summary }}{% endif %}
135
+ </li>
136
+ {% endfor %}
137
+ </ul>
138
+ {% endif %}
139
+
140
+ {% if site.footer_content != nil or site.last_edit_timestamp or site.gh_edit_link %}
141
+ <hr>
142
+ <footer>
143
+ {% if site.back_to_top %}
144
+ <p><a href="#top" id="back-to-top">{{ site.back_to_top_text }}</a></p>
145
+ {% endif %}
146
+ {% if site.footer_content != nil %}
147
+ <p class="text-small text-grey-dk-000 mb-0">{{ site.footer_content }}</p>
148
+ {% endif %}
149
+
150
+ {% if site.last_edit_timestamp or site.gh_edit_link %}
151
+ <div class="d-flex mt-2">
152
+ {% if site.last_edit_timestamp and site.last_edit_time_format and page.last_modified_date %}
153
+ <p class="text-small text-grey-dk-000 mb-0 mr-2">
154
+ Page last modified: <span class="d-inline-block">{{ page.last_modified_date | date: site.last_edit_time_format }}</span>.
155
+ </p>
156
+ {% endif %}
157
+ {% if
158
+ site.gh_edit_link and
159
+ site.gh_edit_link_text and
160
+ site.gh_edit_repository and
161
+ site.gh_edit_branch and
162
+ site.gh_edit_view_mode
163
+ %}
164
+ <p class="text-small text-grey-dk-000 mb-0">
165
+ <a href="{{ site.gh_edit_repository }}/{{ site.gh_edit_view_mode }}/{{ site.gh_edit_branch }}{% if site.gh_edit_source %}/{{ site.gh_edit_source }}{% endif %}/{{ page.path }}" id="edit-this-page">{{ site.gh_edit_link_text }}</a>
166
+ </p>
167
+ {% endif %}
168
+ </div>
169
+ {% endif %}
170
+ </footer>
171
+ {% endif %}
172
+
173
+ </div>
174
+ </div>
175
+
176
+ {% if site.search_enabled != false %}
177
+ {% if site.search.button %}
178
+ <a href="#" id="search-button" class="search-button">
179
+ <svg viewBox="0 0 24 24" class="icon"><use xlink:href="#svg-search"></use></svg>
180
+ </a>
181
+ {% endif %}
182
+
183
+ <div class="search-overlay"></div>
184
+ {% endif %}
185
+ </div>
186
+
187
+ </div>
188
+ <footer class="site-footer bg-grey-dk-200"><div class="bottombar">
189
+
190
+ <svg id="footerlogo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 189 56"><style>.ssst0{fill:#fff}</style><path class="ssst0" d="M79.29 41.35h-7.05c-3.99 0-7.24-3.24-7.24-7.23V22.34c0-3.99 3.25-7.23 7.24-7.23l7.05-.03h.01c.74 0 1.34.6 1.35 1.34 0 .74-.6 1.35-1.34 1.35l-7.05.03c-2.51 0-4.55 2.03-4.55 4.53v11.78c0 2.5 2.04 4.54 4.55 4.54h7.05c.74 0 1.35.6 1.35 1.35-.03.74-.63 1.35-1.37 1.35M99.17 41.37H90.8c-3.99 0-7.24-3.25-7.24-7.24V22.34c0-3.99 3.25-7.24 7.24-7.24h3.37c3.99 0 7.24 3.25 7.24 7.24v6.55h-12.6a1.35 1.35 0 0 1 0-2.7h9.9v-3.85c0-2.51-2.04-4.54-4.55-4.54H90.8c-2.51 0-4.54 2.04-4.54 4.54v11.79c0 2.51 2.04 4.54 4.54 4.54h8.37c.74 0 1.35.6 1.35 1.35-.01.75-.61 1.35-1.35 1.35M178.26 41.23h-4.17c-2 0-3.86-.98-5.23-2.76-1.29-1.68-2.01-3.9-2.01-6.26 0-4.78 2.98-8.11 7.24-8.11h5.93a1.35 1.35 0 0 1 0 2.7h-5.93c-2.72 0-4.55 2.18-4.55 5.42 0 3.49 2.04 6.33 4.55 6.33h4.17c2.51 0 4.55-2.04 4.55-4.54V22.2c0-2.5-2.04-4.54-4.55-4.54h-7.77a1.35 1.35 0 0 1 0-2.7h7.77c3.99 0 7.24 3.25 7.24 7.24V34c0 3.99-3.25 7.23-7.24 7.23M155.9 41.37h-4.26c-3.99 0-7.24-3.25-7.24-7.24v-11.8c0-3.99 3.25-7.24 7.24-7.24h6.04a1.35 1.35 0 0 1 0 2.7h-6.04c-2.51 0-4.55 2.04-4.55 4.54v11.8c0 2.51 2.04 4.54 4.55 4.54h4.26c2.51 0 4.55-2.04 4.55-4.54V4.66a1.35 1.35 0 0 1 2.7 0v29.47c-.01 3.99-3.26 7.24-7.25 7.24M114.66 41.37h-7.72a1.35 1.35 0 0 1 0-2.7h7.72c2.41 0 4.38-1.96 4.38-4.37 0-2.07-1.47-3.87-3.5-4.29l-3.77-.78c-.6-.11-1.46-.36-1.72-.46-2.72-1.04-4.55-3.69-4.55-6.6 0-3.9 3.17-7.07 7.07-7.07h5.83a1.35 1.35 0 0 1 0 2.7h-5.83c-2.41 0-4.38 1.96-4.38 4.37 0 1.8 1.13 3.44 2.81 4.09.13.05.81.25 1.25.33l.04.01 3.79.79c3.27.67 5.65 3.58 5.65 6.92 0 3.89-3.17 7.06-7.07 7.06M133.51 41.37h-7.72a1.35 1.35 0 0 1 0-2.7h7.72c2.41 0 4.38-1.96 4.38-4.37 0-2.07-1.47-3.87-3.5-4.29l-3.77-.78c-.6-.11-1.45-.36-1.72-.46-2.72-1.04-4.55-3.69-4.55-6.6 0-3.9 3.17-7.07 7.07-7.07h5.83a1.35 1.35 0 0 1 0 2.7h-5.83c-2.41 0-4.38 1.96-4.38 4.37 0 1.8 1.13 3.44 2.81 4.09.13.05.81.25 1.25.33l.04.01 3.79.79c3.27.67 5.65 3.58 5.65 6.92 0 3.89-3.17 7.06-7.07 7.06M32.49 27.99c0 2.29-1.85 4.14-4.14 4.14-2.29 0-4.14-1.85-4.14-4.14 0-2.29 1.85-4.14 4.14-4.14 2.28 0 4.14 1.85 4.14 4.14"></path><path class="ssst0" d="M35.62 11.38c.91-.9 2.12-1.4 3.41-1.4.61 0 1.2.12 1.75.33L37.26 6.8c-2.02-2.01-4.56-3.28-7.37-3.65-.58-.08-1.16-.11-1.73-.11-3.44 0-6.67 1.34-9.09 3.76L7.14 18.73c-.3.3-.59.62-.86.95-1.89 2.29-2.91 5.15-2.91 8.16 0 3.44 1.34 6.67 3.77 9.1l2.88 2.88.61.61v-.01l3.4 3.4c.45.45.98.77 1.55.99l.04.04c.06.02.13.03.19.05.06.02.11.03.17.05.19.05.39.1.59.13h.05c.18.02.35.05.53.05 1.18 0 2.29-.46 3.12-1.28l.01-.01c.01-.01.02-.01.02-.02.84-.84 1.3-1.95 1.3-3.13s-.46-2.3-1.3-3.13l-3.85-3.85-3.03-3.05a3.995 3.995 0 0 1-1.18-2.84c0-.83.25-1.62.72-2.29.13-.18.27-.36.43-.53l5.88-5.88 6.06-6.07c.75-.75 1.76-1.17 2.83-1.17s2.08.42 2.84 1.17l3.53 3.52c-.22-.56-.34-1.16-.33-1.78-.01-1.28.5-2.49 1.42-3.41"></path><path class="ssst0" d="M49.29 18.87l-6.94-6.99a4.404 4.404 0 0 0-3.11-1.27c-1.18 0-2.29.46-3.12 1.28-.84.83-1.31 1.95-1.31 3.13-.01 1.18.45 2.3 1.29 3.14l6.92 6.97c.76.76 1.18 1.77 1.18 2.84 0 1.07-.41 2.08-1.16 2.83L31.1 42.73c-.75.75-1.76 1.17-2.83 1.17s-2.08-.42-2.84-1.17l-3.49-3.49c.2.54.32 1.12.32 1.71 0 1.29-.5 2.51-1.42 3.43-.91.92-2.13 1.42-3.43 1.42a4.603 4.603 0 0 1-1.82-.36l3.57 3.57c2.02 2.01 4.56 3.28 7.37 3.65.57.08 1.15.11 1.73.11 3.44 0 6.67-1.33 9.09-3.76L49.3 37.06c2.42-2.43 3.76-5.66 3.76-9.1s-1.35-6.67-3.77-9.09"></path></svg>
191
+
192
+ <div>
193
+ <a href="https://www.cessda.eu/Privacy-policy">Privacy Policy</a>
194
+ <a href="https://www.cessda.eu/Acceptable-Use-Policy">Acceptable Use Policy</a>
195
+ <a href="https://www.cessda.eu/Tools-Services">CESSDA Tools &amp; Services</a>
196
+ </div>
197
+ </div>
198
+ </footer>
199
+ </body>
200
+ </html>
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: vendor/compress
3
+ ---
4
+
5
+ {% assign content_ = content | replace: '<table', '<div class="table-wrapper"><table' %}
6
+ {% assign content_ = content_ | replace: '</table>', '</table></div>' %}
7
+ {{ content_ }}
@@ -0,0 +1,10 @@
1
+ ---
2
+ # Jekyll layout that compresses HTML
3
+ # v3.1.0
4
+ # http://jch.penibelst.de/
5
+ # © 2014–2015 Anatol Broder
6
+ # MIT License
7
+ ---
8
+
9
+ {% capture _LINE_FEED %}
10
+ {% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment or site.compress_html.ignore.envs == "all" %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
@@ -0,0 +1,108 @@
1
+ //
2
+ // Base element style overrides
3
+ //
4
+ // stylelint-disable selector-no-type, selector-max-type
5
+
6
+ * {
7
+ box-sizing: border-box;
8
+ }
9
+
10
+ ::selection {
11
+ color: $white;
12
+ background: $link-color;
13
+ }
14
+
15
+ html {
16
+ @include fs-5;
17
+ scroll-behavior: smooth;
18
+ }
19
+
20
+ body {
21
+ font-family: $body-font-family;
22
+ font-size: inherit;
23
+ line-height: $body-line-height;
24
+ color: $body-text-color;
25
+ background-color: $body-background-color;
26
+ }
27
+
28
+ ol,
29
+ ul,
30
+ dl,
31
+ pre,
32
+ address,
33
+ blockquote,
34
+ table,
35
+ div,
36
+ hr,
37
+ form,
38
+ fieldset,
39
+ noscript .table-wrapper {
40
+ margin-top: 0;
41
+ }
42
+
43
+ h1,
44
+ h2,
45
+ h3,
46
+ h4,
47
+ h5,
48
+ h6 {
49
+ margin-top: 0;
50
+ margin-bottom: 1em;
51
+ font-weight: 500;
52
+ line-height: $body-heading-line-height;
53
+ color: $body-heading-color;
54
+ }
55
+
56
+ p {
57
+ margin-top: 1em;
58
+ margin-bottom: 1em;
59
+ }
60
+
61
+ a {
62
+ color: $link-color;
63
+ text-decoration: none;
64
+ }
65
+
66
+ a:not([class]) {
67
+ text-decoration: none;
68
+ background-image: linear-gradient($border-color 0%, $border-color 100%);
69
+ background-repeat: repeat-x;
70
+ background-position: 0 100%;
71
+ background-size: 1px 1px;
72
+
73
+ &:hover {
74
+ background-image: linear-gradient(
75
+ rgba($link-color, 0.45) 0%,
76
+ rgba($link-color, 0.45) 100%
77
+ );
78
+ background-size: 1px 1px;
79
+ }
80
+ }
81
+
82
+ code {
83
+ font-family: $mono-font-family;
84
+ font-size: 0.75em;
85
+ line-height: $body-line-height;
86
+ }
87
+
88
+ figure,
89
+ pre {
90
+ margin: 0;
91
+ }
92
+
93
+ li {
94
+ margin: 0.25em 0;
95
+ }
96
+
97
+ img {
98
+ max-width: 100%;
99
+ height: auto;
100
+ }
101
+
102
+ hr {
103
+ height: 1px;
104
+ padding: 0;
105
+ margin: $sp-6 0;
106
+ background-color: $border-color;
107
+ border: 0;
108
+ }
@@ -0,0 +1,118 @@
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: $link-color;
19
+ text-decoration: none;
20
+ vertical-align: baseline;
21
+ cursor: pointer;
22
+ background-color: $base-button-color;
23
+ border-width: 0;
24
+ border-radius: $border-radius;
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: darken($link-color, 2%);
42
+ }
43
+
44
+ &:hover,
45
+ &:active,
46
+ &.zeroclipboard-is-hover,
47
+ &.zeroclipboard-is-active {
48
+ text-decoration: none;
49
+ background-color: darken($base-button-color, 1%);
50
+ }
51
+
52
+ &:active,
53
+ &.selected,
54
+ &.zeroclipboard-is-active {
55
+ background-color: darken($base-button-color, 3%);
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: $link-color;
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: darken($link-color, 4%);
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-primary {
105
+ @include btn-color($white, $btn-primary-color);
106
+ }
107
+
108
+ .btn-purple {
109
+ @include btn-color($white, $purple-100);
110
+ }
111
+
112
+ .btn-blue {
113
+ @include btn-color($white, $blue-000);
114
+ }
115
+
116
+ .btn-green {
117
+ @include btn-color($white, $green-100);
118
+ }