guff-compass 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.editorconfig +21 -0
- data/.gitignore +6 -0
- data/LICENSE.txt +22 -0
- data/README.md +21 -0
- data/demo/bower_components/jquery/.bower.json +21 -0
- data/demo/bower_components/jquery/.editorconfig +43 -0
- data/demo/bower_components/jquery/.gitattributes +2 -0
- data/demo/bower_components/jquery/.gitignore +14 -0
- data/demo/bower_components/jquery/.gitmodules +6 -0
- data/demo/bower_components/jquery/.jshintrc +17 -0
- data/demo/bower_components/jquery/.mailmap +94 -0
- data/demo/bower_components/jquery/AUTHORS.txt +170 -0
- data/demo/bower_components/jquery/CONTRIBUTING.md +216 -0
- data/demo/bower_components/jquery/Gruntfile.js +594 -0
- data/demo/bower_components/jquery/MIT-LICENSE.txt +21 -0
- data/demo/bower_components/jquery/README.md +398 -0
- data/demo/bower_components/jquery/bower.json +11 -0
- data/demo/bower_components/jquery/build/release-notes.js +59 -0
- data/demo/bower_components/jquery/build/release.js +316 -0
- data/demo/bower_components/jquery/component.json +15 -0
- data/demo/bower_components/jquery/composer.json +35 -0
- data/demo/bower_components/jquery/jquery-migrate.js +511 -0
- data/demo/bower_components/jquery/jquery-migrate.min.js +3 -0
- data/demo/bower_components/jquery/jquery.js +9789 -0
- data/demo/bower_components/jquery/jquery.min.js +6 -0
- data/demo/bower_components/jquery/jquery.min.map +1 -0
- data/demo/bower_components/jquery/package.json +38 -0
- data/demo/bower_components/jquery/speed/benchmark.js +15 -0
- data/demo/bower_components/jquery/speed/benchmarker.css +65 -0
- data/demo/bower_components/jquery/speed/benchmarker.js +181 -0
- data/demo/bower_components/jquery/speed/closest.html +39 -0
- data/demo/bower_components/jquery/speed/css.html +82 -0
- data/demo/bower_components/jquery/speed/event.html +58 -0
- data/demo/bower_components/jquery/speed/filter.html +183 -0
- data/demo/bower_components/jquery/speed/find.html +179 -0
- data/demo/bower_components/jquery/speed/index.html +72 -0
- data/demo/bower_components/jquery/speed/jquery-basis.js +6238 -0
- data/demo/bower_components/jquery/speed/slice.vs.concat.html +47 -0
- data/demo/bower_components/jquery/src/.jshintrc +27 -0
- data/demo/bower_components/jquery/src/ajax.js +855 -0
- data/demo/bower_components/jquery/src/ajax/jsonp.js +80 -0
- data/demo/bower_components/jquery/src/ajax/script.js +86 -0
- data/demo/bower_components/jquery/src/ajax/xhr.js +207 -0
- data/demo/bower_components/jquery/src/attributes.js +659 -0
- data/demo/bower_components/jquery/src/callbacks.js +197 -0
- data/demo/bower_components/jquery/src/core.js +981 -0
- data/demo/bower_components/jquery/src/css.js +661 -0
- data/demo/bower_components/jquery/src/data.js +336 -0
- data/demo/bower_components/jquery/src/deferred.js +141 -0
- data/demo/bower_components/jquery/src/deprecated.js +11 -0
- data/demo/bower_components/jquery/src/dimensions.js +41 -0
- data/demo/bower_components/jquery/src/effects.js +732 -0
- data/demo/bower_components/jquery/src/event-alias.js +32 -0
- data/demo/bower_components/jquery/src/event.js +995 -0
- data/demo/bower_components/jquery/src/exports.js +21 -0
- data/demo/bower_components/jquery/src/intro.js +20 -0
- data/demo/bower_components/jquery/src/manipulation.js +744 -0
- data/demo/bower_components/jquery/src/offset.js +169 -0
- data/demo/bower_components/jquery/src/outro.js +2 -0
- data/demo/bower_components/jquery/src/queue.js +146 -0
- data/demo/bower_components/jquery/src/serialize.js +99 -0
- data/demo/bower_components/jquery/src/sizzle-jquery.js +7 -0
- data/demo/bower_components/jquery/src/support.js +246 -0
- data/demo/bower_components/jquery/src/traversing.js +283 -0
- data/demo/bower_components/jquery/src/wrap.js +66 -0
- data/demo/bower_components/jquery/test/.jshintignore +3 -0
- data/demo/bower_components/jquery/test/.jshintrc +60 -0
- data/demo/bower_components/jquery/test/data/1x1.jpg +0 -0
- data/demo/bower_components/jquery/test/data/ajax/unreleasedXHR.html +25 -0
- data/demo/bower_components/jquery/test/data/atom+xml.php +4 -0
- data/demo/bower_components/jquery/test/data/badcall.js +1 -0
- data/demo/bower_components/jquery/test/data/badjson.js +1 -0
- data/demo/bower_components/jquery/test/data/cleanScript.html +10 -0
- data/demo/bower_components/jquery/test/data/core/cc_on.html +22 -0
- data/demo/bower_components/jquery/test/data/dashboard.xml +11 -0
- data/demo/bower_components/jquery/test/data/dimensions/documentLarge.html +17 -0
- data/demo/bower_components/jquery/test/data/dimensions/documentSmall.html +21 -0
- data/demo/bower_components/jquery/test/data/echoData.php +1 -0
- data/demo/bower_components/jquery/test/data/echoQuery.php +1 -0
- data/demo/bower_components/jquery/test/data/errorWithJSON.php +6 -0
- data/demo/bower_components/jquery/test/data/errorWithText.php +5 -0
- data/demo/bower_components/jquery/test/data/etag.php +21 -0
- data/demo/bower_components/jquery/test/data/evalScript.php +1 -0
- data/demo/bower_components/jquery/test/data/event/focusElem.html +16 -0
- data/demo/bower_components/jquery/test/data/event/longLoadScript.php +4 -0
- data/demo/bower_components/jquery/test/data/event/promiseReady.html +17 -0
- data/demo/bower_components/jquery/test/data/event/syncReady.html +23 -0
- data/demo/bower_components/jquery/test/data/headers.php +18 -0
- data/demo/bower_components/jquery/test/data/if_modified_since.php +20 -0
- data/demo/bower_components/jquery/test/data/iframe.html +8 -0
- data/demo/bower_components/jquery/test/data/jquery-1.9.1.ajax_xhr.min.js +5 -0
- data/demo/bower_components/jquery/test/data/json.php +13 -0
- data/demo/bower_components/jquery/test/data/json_obj.js +1 -0
- data/demo/bower_components/jquery/test/data/jsonp.php +14 -0
- data/demo/bower_components/jquery/test/data/manipulation/iframe-denied.html +36 -0
- data/demo/bower_components/jquery/test/data/name.html +1 -0
- data/demo/bower_components/jquery/test/data/name.php +24 -0
- data/demo/bower_components/jquery/test/data/nocontent.php +5 -0
- data/demo/bower_components/jquery/test/data/offset/absolute.html +41 -0
- data/demo/bower_components/jquery/test/data/offset/body.html +26 -0
- data/demo/bower_components/jquery/test/data/offset/fixed.html +34 -0
- data/demo/bower_components/jquery/test/data/offset/relative.html +31 -0
- data/demo/bower_components/jquery/test/data/offset/scroll.html +39 -0
- data/demo/bower_components/jquery/test/data/offset/static.html +31 -0
- data/demo/bower_components/jquery/test/data/offset/table.html +43 -0
- data/demo/bower_components/jquery/test/data/params_html.php +12 -0
- data/demo/bower_components/jquery/test/data/readywaitasset.js +1 -0
- data/demo/bower_components/jquery/test/data/readywaitloader.js +25 -0
- data/demo/bower_components/jquery/test/data/script.php +11 -0
- data/demo/bower_components/jquery/test/data/selector/html5_selector.html +114 -0
- data/demo/bower_components/jquery/test/data/selector/sizzle_cache.html +21 -0
- data/demo/bower_components/jquery/test/data/statusText.php +5 -0
- data/demo/bower_components/jquery/test/data/support/bodyBackground.html +28 -0
- data/demo/bower_components/jquery/test/data/support/boxSizing.html +19 -0
- data/demo/bower_components/jquery/test/data/support/csp.js +3 -0
- data/demo/bower_components/jquery/test/data/support/csp.php +22 -0
- data/demo/bower_components/jquery/test/data/support/shrinkWrapBlocks.html +23 -0
- data/demo/bower_components/jquery/test/data/support/testElementCrash.html +17 -0
- data/demo/bower_components/jquery/test/data/test.html +7 -0
- data/demo/bower_components/jquery/test/data/test.js +3 -0
- data/demo/bower_components/jquery/test/data/test.php +7 -0
- data/demo/bower_components/jquery/test/data/test2.html +5 -0
- data/demo/bower_components/jquery/test/data/test3.html +3 -0
- data/demo/bower_components/jquery/test/data/testinit.js +264 -0
- data/demo/bower_components/jquery/test/data/testrunner.js +371 -0
- data/demo/bower_components/jquery/test/data/testsuite.css +155 -0
- data/demo/bower_components/jquery/test/data/text.php +12 -0
- data/demo/bower_components/jquery/test/data/ua.txt +272 -0
- data/demo/bower_components/jquery/test/data/with_fries.xml +25 -0
- data/demo/bower_components/jquery/test/data/with_fries_over_jsonp.php +7 -0
- data/demo/bower_components/jquery/test/delegatetest.html +228 -0
- data/demo/bower_components/jquery/test/hovertest.html +158 -0
- data/demo/bower_components/jquery/test/index.html +337 -0
- data/demo/bower_components/jquery/test/jquery.js +5 -0
- data/demo/bower_components/jquery/test/localfile.html +75 -0
- data/demo/bower_components/jquery/test/networkerror.html +84 -0
- data/demo/bower_components/jquery/test/readywait.html +70 -0
- data/demo/bower_components/jquery/test/unit/ajax.js +2016 -0
- data/demo/bower_components/jquery/test/unit/attributes.js +1388 -0
- data/demo/bower_components/jquery/test/unit/callbacks.js +342 -0
- data/demo/bower_components/jquery/test/unit/core.js +1360 -0
- data/demo/bower_components/jquery/test/unit/css.js +1056 -0
- data/demo/bower_components/jquery/test/unit/data.js +645 -0
- data/demo/bower_components/jquery/test/unit/deferred.js +436 -0
- data/demo/bower_components/jquery/test/unit/deprecated.js +8 -0
- data/demo/bower_components/jquery/test/unit/dimensions.js +472 -0
- data/demo/bower_components/jquery/test/unit/effects.js +2242 -0
- data/demo/bower_components/jquery/test/unit/event.js +2755 -0
- data/demo/bower_components/jquery/test/unit/exports.js +7 -0
- data/demo/bower_components/jquery/test/unit/manipulation.js +2120 -0
- data/demo/bower_components/jquery/test/unit/offset.js +559 -0
- data/demo/bower_components/jquery/test/unit/queue.js +314 -0
- data/demo/bower_components/jquery/test/unit/selector.js +172 -0
- data/demo/bower_components/jquery/test/unit/serialize.js +148 -0
- data/demo/bower_components/jquery/test/unit/support.js +370 -0
- data/demo/bower_components/jquery/test/unit/traversing.js +797 -0
- data/demo/bower_components/jquery/test/unit/wrap.js +265 -0
- data/demo/bower_components/jquery/test/xhtml.php +5 -0
- data/demo/index.html +347 -0
- data/demo/styles/main.css +208 -0
- data/demo/styles/main.scss +138 -0
- data/docs/docco.css +506 -0
- data/docs/guff.html +1127 -0
- data/docs/public/fonts/aller-bold.eot +0 -0
- data/docs/public/fonts/aller-bold.ttf +0 -0
- data/docs/public/fonts/aller-bold.woff +0 -0
- data/docs/public/fonts/aller-light.eot +0 -0
- data/docs/public/fonts/aller-light.ttf +0 -0
- data/docs/public/fonts/aller-light.woff +0 -0
- data/docs/public/fonts/novecento-bold.eot +0 -0
- data/docs/public/fonts/novecento-bold.ttf +0 -0
- data/docs/public/fonts/novecento-bold.woff +0 -0
- data/docs/public/stylesheets/normalize.css +375 -0
- data/guff.gemspec +16 -0
- data/guff.scss +514 -0
- data/gulpfile.js +67 -0
- data/lib/guff.rb +4 -0
- data/lib/stylesheets/_guff.scss +514 -0
- data/package.json +19 -0
- data/src/_functions.scss +57 -0
- data/src/_mixins.scss +301 -0
- data/src/_reset.scss +67 -0
- data/src/_settings.scss +22 -0
- data/src/_typography.scss +67 -0
- metadata +259 -0
@@ -0,0 +1,208 @@
|
|
1
|
+
main:after, main section:after, main section header:after, main section .container:after {
|
2
|
+
content: "";
|
3
|
+
display: table;
|
4
|
+
clear: both; }
|
5
|
+
|
6
|
+
|
7
|
+
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
|
8
|
+
margin: 0;
|
9
|
+
padding: 0;
|
10
|
+
border: 0;
|
11
|
+
font-size: 100%;
|
12
|
+
font: inherit;
|
13
|
+
vertical-align: baseline; }
|
14
|
+
|
15
|
+
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
|
16
|
+
display: block; }
|
17
|
+
|
18
|
+
ol, ul {
|
19
|
+
list-style: none; }
|
20
|
+
|
21
|
+
a {
|
22
|
+
text-decoration: none; }
|
23
|
+
|
24
|
+
blockquote, q {
|
25
|
+
quotes: none; }
|
26
|
+
|
27
|
+
blockquote:before, blockquote:after, q:before, q:after {
|
28
|
+
content: '';
|
29
|
+
content: none; }
|
30
|
+
|
31
|
+
table {
|
32
|
+
border-collapse: collapse;
|
33
|
+
border-spacing: 0; }
|
34
|
+
|
35
|
+
* {
|
36
|
+
-webkit-box-sizing: border-box;
|
37
|
+
-moz-box-sizing: border-box;
|
38
|
+
box-sizing: border-box; }
|
39
|
+
|
40
|
+
body {
|
41
|
+
line-height: 1.625; }
|
42
|
+
|
43
|
+
h1 {
|
44
|
+
font-size: 2.1875rem; }
|
45
|
+
|
46
|
+
h2 {
|
47
|
+
font-size: 1.9375rem; }
|
48
|
+
|
49
|
+
h3 {
|
50
|
+
font-size: 1.6875rem; }
|
51
|
+
|
52
|
+
h4 {
|
53
|
+
font-size: 1.5rem; }
|
54
|
+
|
55
|
+
h5 {
|
56
|
+
font-size: 1.3125rem; }
|
57
|
+
|
58
|
+
h6 {
|
59
|
+
font-size: 1.125rem; }
|
60
|
+
|
61
|
+
p {
|
62
|
+
font-size: 16px; }
|
63
|
+
|
64
|
+
body {
|
65
|
+
font-family: "Lucida Grande", Tahoma, Verdana, Arial, sans-serif; }
|
66
|
+
|
67
|
+
code {
|
68
|
+
background: #eee;
|
69
|
+
border: 1px solid #ddd;
|
70
|
+
border-radius: 3px;
|
71
|
+
color: #aaa;
|
72
|
+
display: block;
|
73
|
+
font-family: monospace;
|
74
|
+
margin: 20px 0px;
|
75
|
+
padding: 0px 20px;
|
76
|
+
white-space: pre-wrap;
|
77
|
+
width: 100%; }
|
78
|
+
code span.pun {
|
79
|
+
color: black; }
|
80
|
+
code span.pln {
|
81
|
+
color: #c0f; }
|
82
|
+
code span.lit {
|
83
|
+
color: #f0c; }
|
84
|
+
code span.kwd {
|
85
|
+
color: #c0f; }
|
86
|
+
|
87
|
+
a.download-button {
|
88
|
+
display: block;
|
89
|
+
padding: 10px 20px 10px 20px;
|
90
|
+
color: #555;
|
91
|
+
text-decoration: none;
|
92
|
+
font-size: 1.125rem;
|
93
|
+
font-weight: bold;
|
94
|
+
background: #eee;
|
95
|
+
border: 1px solid #ddd;
|
96
|
+
-webkit-border-radius: 5px;
|
97
|
+
-moz-border-radius: 5px;
|
98
|
+
border-radius: 5px;
|
99
|
+
-webkit-transition: all 50ms linear;
|
100
|
+
-moz-transition: all 50ms linear;
|
101
|
+
-ms-transition: all 50ms linear;
|
102
|
+
transition: all 50ms linear;
|
103
|
+
margin: 0px 0px 20px; }
|
104
|
+
|
105
|
+
a.download-button:hover {
|
106
|
+
background-color: #ddd;
|
107
|
+
border-color: #ccc; }
|
108
|
+
|
109
|
+
a.download-button span {
|
110
|
+
font-size: 14px;
|
111
|
+
display: block;
|
112
|
+
margin-top: 2px; }
|
113
|
+
|
114
|
+
header.primary {
|
115
|
+
width: 100%;
|
116
|
+
border-bottom: 1px solid #eee;
|
117
|
+
margin: 0px auto 20px;
|
118
|
+
text-align: center; }
|
119
|
+
header.primary h1 {
|
120
|
+
font-size: 5.25rem;
|
121
|
+
font-weight: bold;
|
122
|
+
padding: 20px 0px 0px 0px; }
|
123
|
+
header.primary p {
|
124
|
+
font-size: 1rem;
|
125
|
+
padding: 0px 0px 20px 0px; }
|
126
|
+
@media (max-width: 767px) {
|
127
|
+
header.primary {
|
128
|
+
padding-left: 20px;
|
129
|
+
padding-right: 20px;
|
130
|
+
width: 100%;
|
131
|
+
float: left; }
|
132
|
+
header.primary h1 {
|
133
|
+
padding-left: 20px;
|
134
|
+
padding-right: 20px;
|
135
|
+
width: 100%;
|
136
|
+
float: left;
|
137
|
+
margin-left: 0%; } }
|
138
|
+
|
139
|
+
main {
|
140
|
+
width: 100%;
|
141
|
+
max-width: 600px;
|
142
|
+
margin: auto; }
|
143
|
+
main section {
|
144
|
+
padding-left: 20px;
|
145
|
+
padding-right: 20px;
|
146
|
+
width: 100%;
|
147
|
+
float: left; }
|
148
|
+
main section header {
|
149
|
+
margin: 0px 0px 20px 0px;
|
150
|
+
text-align: center; }
|
151
|
+
main section header h2 {
|
152
|
+
background: none;
|
153
|
+
font-size: 1.5rem;
|
154
|
+
font-weight: bold;
|
155
|
+
text-transform: uppercase; }
|
156
|
+
main section.typography {
|
157
|
+
margin: 0px 0px 15px; }
|
158
|
+
main section.typography h1, main section.typography h2, main section.typography h3, main section.typography h4, main section.typography h5, main section.typography h6, main section.typography p {
|
159
|
+
background: #fee;
|
160
|
+
margin: 10px 0px; }
|
161
|
+
main section.typography header h2 {
|
162
|
+
background: none;
|
163
|
+
margin: 0px 0px 5px; }
|
164
|
+
main section .container {
|
165
|
+
width: 100%;
|
166
|
+
max-width: 600px;
|
167
|
+
margin-bottom: 20px; }
|
168
|
+
main section .float-tile {
|
169
|
+
padding-left: 20px;
|
170
|
+
padding-right: 20px;
|
171
|
+
width: 33.33333%;
|
172
|
+
float: left;
|
173
|
+
background: #fee;
|
174
|
+
border: 1px solid #dcc;
|
175
|
+
height: 100px;
|
176
|
+
float: left; }
|
177
|
+
main section .float-tile.offset-tile {
|
178
|
+
margin-left: 33.33333%; }
|
179
|
+
main section .col-container {
|
180
|
+
width: 100%;
|
181
|
+
text-align: justify !important;
|
182
|
+
text-justify: distribute-all-lines;
|
183
|
+
font-size: 0 !important;
|
184
|
+
max-width: 600px;
|
185
|
+
margin-bottom: 20px; }
|
186
|
+
main section .col-container > * {
|
187
|
+
text-align: left;
|
188
|
+
font-sze: 1rem; }
|
189
|
+
main section .col-container:after {
|
190
|
+
content: '';
|
191
|
+
display: inline-block;
|
192
|
+
width: 100%; }
|
193
|
+
main section .col-tile {
|
194
|
+
width: 30.83333%;
|
195
|
+
vertical-align: top;
|
196
|
+
display: inline-block;
|
197
|
+
border: 1px solid #dcc;
|
198
|
+
background: #fee;
|
199
|
+
height: 100px; }
|
200
|
+
|
201
|
+
footer.primary {
|
202
|
+
width: 100%;
|
203
|
+
margin: 0px auto 20px;
|
204
|
+
padding: 10px 0px;
|
205
|
+
text-align: center; }
|
206
|
+
footer.primary p {
|
207
|
+
font-size: 0.75rem;
|
208
|
+
color: #555; }
|
@@ -0,0 +1,138 @@
|
|
1
|
+
@import "../../guff";
|
2
|
+
|
3
|
+
$grid-max-width: 600px;
|
4
|
+
|
5
|
+
@include reset;
|
6
|
+
|
7
|
+
@include type;
|
8
|
+
|
9
|
+
body {
|
10
|
+
font-family: "Lucida Grande", Tahoma, Verdana, Arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
code {
|
14
|
+
background: #eee;
|
15
|
+
border: 1px solid #ddd;
|
16
|
+
border-radius: 3px;
|
17
|
+
color: #aaa;
|
18
|
+
display: block;
|
19
|
+
font-family: monospace;
|
20
|
+
margin: 20px 0px;
|
21
|
+
padding: 0px 20px;
|
22
|
+
white-space: pre-wrap;
|
23
|
+
width: 100%;
|
24
|
+
span.pun { color: black; }
|
25
|
+
span.pln { color: #c0f; }
|
26
|
+
span.lit { color: #f0c; }
|
27
|
+
span.kwd { color: #c0f; }
|
28
|
+
}
|
29
|
+
|
30
|
+
a.download-button {
|
31
|
+
display: block;
|
32
|
+
padding: 10px 20px 10px 20px;
|
33
|
+
color: #555;
|
34
|
+
text-decoration: none;
|
35
|
+
font-size: rem-calc(18);
|
36
|
+
font-weight: bold;
|
37
|
+
background: #eee;
|
38
|
+
border: 1px solid #ddd;
|
39
|
+
@include prefixer(border-radius, 5px, webkit moz);
|
40
|
+
@include transition(all 50ms linear);
|
41
|
+
margin: 0px 0px 20px;
|
42
|
+
}
|
43
|
+
|
44
|
+
a.download-button:hover {
|
45
|
+
background-color: #ddd;
|
46
|
+
border-color: #ccc;
|
47
|
+
}
|
48
|
+
|
49
|
+
a.download-button span {
|
50
|
+
font-size: 14px;
|
51
|
+
display: block;
|
52
|
+
margin-top: 2px;
|
53
|
+
}
|
54
|
+
|
55
|
+
header.primary {
|
56
|
+
width: span(12);
|
57
|
+
border-bottom: 1px solid #eee;
|
58
|
+
margin: 0px auto 20px;
|
59
|
+
text-align: center;
|
60
|
+
h1 {
|
61
|
+
font-size: rem-calc(84);
|
62
|
+
font-weight: bold;
|
63
|
+
padding: 20px 0px 0px 0px;
|
64
|
+
|
65
|
+
}
|
66
|
+
p {
|
67
|
+
font-size: rem-calc(16);
|
68
|
+
padding: 0px 0px 20px 0px;
|
69
|
+
}
|
70
|
+
@include breakpoint($mobile) {
|
71
|
+
@include span(12);
|
72
|
+
h1 {
|
73
|
+
@include span(12);
|
74
|
+
@include offset(0);
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
main {
|
79
|
+
@include container();
|
80
|
+
margin: auto;
|
81
|
+
section {
|
82
|
+
@include span(12);
|
83
|
+
@include clear;
|
84
|
+
header {
|
85
|
+
margin: 0px 0px 20px 0px;
|
86
|
+
text-align: center;
|
87
|
+
@include clear;
|
88
|
+
h2 {
|
89
|
+
background: none;
|
90
|
+
font-size: rem-calc(24);
|
91
|
+
font-weight: bold;
|
92
|
+
text-transform: uppercase;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
&.typography {
|
96
|
+
margin: 0px 0px 15px;
|
97
|
+
h1,h2,h3,h4,h5,h6,p {
|
98
|
+
background: #fee;
|
99
|
+
margin: 10px 0px;
|
100
|
+
}
|
101
|
+
header h2 { background: none; margin: 0px 0px 5px; }
|
102
|
+
}
|
103
|
+
.container {
|
104
|
+
@include container();
|
105
|
+
margin-bottom: 20px;
|
106
|
+
}
|
107
|
+
.float-tile {
|
108
|
+
@include span(4, true);
|
109
|
+
background: #fee;
|
110
|
+
border: 1px solid #dcc;
|
111
|
+
height: 100px;
|
112
|
+
float: left;
|
113
|
+
&.offset-tile {
|
114
|
+
@include offset(4);
|
115
|
+
}
|
116
|
+
}
|
117
|
+
.col-container {
|
118
|
+
@include col-container();
|
119
|
+
margin-bottom: 20px;
|
120
|
+
}
|
121
|
+
.col-tile {
|
122
|
+
@include col(4);
|
123
|
+
border: 1px solid #dcc;
|
124
|
+
background: #fee;
|
125
|
+
height: 100px;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
footer.primary {
|
130
|
+
width: span(12);
|
131
|
+
margin: 0px auto 20px;
|
132
|
+
padding: 10px 0px;
|
133
|
+
text-align: center;
|
134
|
+
p {
|
135
|
+
font-size: rem-calc(12);
|
136
|
+
color: #555;
|
137
|
+
}
|
138
|
+
}
|
data/docs/docco.css
ADDED
@@ -0,0 +1,506 @@
|
|
1
|
+
/*--------------------- Typography ----------------------------*/
|
2
|
+
|
3
|
+
@font-face {
|
4
|
+
font-family: 'aller-light';
|
5
|
+
src: url('public/fonts/aller-light.eot');
|
6
|
+
src: url('public/fonts/aller-light.eot?#iefix') format('embedded-opentype'),
|
7
|
+
url('public/fonts/aller-light.woff') format('woff'),
|
8
|
+
url('public/fonts/aller-light.ttf') format('truetype');
|
9
|
+
font-weight: normal;
|
10
|
+
font-style: normal;
|
11
|
+
}
|
12
|
+
|
13
|
+
@font-face {
|
14
|
+
font-family: 'aller-bold';
|
15
|
+
src: url('public/fonts/aller-bold.eot');
|
16
|
+
src: url('public/fonts/aller-bold.eot?#iefix') format('embedded-opentype'),
|
17
|
+
url('public/fonts/aller-bold.woff') format('woff'),
|
18
|
+
url('public/fonts/aller-bold.ttf') format('truetype');
|
19
|
+
font-weight: normal;
|
20
|
+
font-style: normal;
|
21
|
+
}
|
22
|
+
|
23
|
+
@font-face {
|
24
|
+
font-family: 'novecento-bold';
|
25
|
+
src: url('public/fonts/novecento-bold.eot');
|
26
|
+
src: url('public/fonts/novecento-bold.eot?#iefix') format('embedded-opentype'),
|
27
|
+
url('public/fonts/novecento-bold.woff') format('woff'),
|
28
|
+
url('public/fonts/novecento-bold.ttf') format('truetype');
|
29
|
+
font-weight: normal;
|
30
|
+
font-style: normal;
|
31
|
+
}
|
32
|
+
|
33
|
+
/*--------------------- Layout ----------------------------*/
|
34
|
+
html { height: 100%; }
|
35
|
+
body {
|
36
|
+
font-family: "aller-light";
|
37
|
+
font-size: 14px;
|
38
|
+
line-height: 18px;
|
39
|
+
color: #30404f;
|
40
|
+
margin: 0; padding: 0;
|
41
|
+
height:100%;
|
42
|
+
}
|
43
|
+
#container { min-height: 100%; }
|
44
|
+
|
45
|
+
a {
|
46
|
+
color: #000;
|
47
|
+
}
|
48
|
+
|
49
|
+
b, strong {
|
50
|
+
font-weight: normal;
|
51
|
+
font-family: "aller-bold";
|
52
|
+
}
|
53
|
+
|
54
|
+
p {
|
55
|
+
margin: 15px 0 0px;
|
56
|
+
}
|
57
|
+
.annotation ul, .annotation ol {
|
58
|
+
margin: 25px 0;
|
59
|
+
}
|
60
|
+
.annotation ul li, .annotation ol li {
|
61
|
+
font-size: 14px;
|
62
|
+
line-height: 18px;
|
63
|
+
margin: 10px 0;
|
64
|
+
}
|
65
|
+
|
66
|
+
h1, h2, h3, h4, h5, h6 {
|
67
|
+
color: #112233;
|
68
|
+
line-height: 1em;
|
69
|
+
font-weight: normal;
|
70
|
+
font-family: "novecento-bold";
|
71
|
+
text-transform: uppercase;
|
72
|
+
margin: 30px 0 15px 0;
|
73
|
+
}
|
74
|
+
|
75
|
+
h1 {
|
76
|
+
margin-top: 40px;
|
77
|
+
}
|
78
|
+
|
79
|
+
hr {
|
80
|
+
border: 0;
|
81
|
+
background: 1px #ddd;
|
82
|
+
height: 1px;
|
83
|
+
margin: 20px 0;
|
84
|
+
}
|
85
|
+
|
86
|
+
pre, tt, code {
|
87
|
+
font-size: 12px; line-height: 16px;
|
88
|
+
font-family: Menlo, Monaco, Consolas, "Lucida Console", monospace;
|
89
|
+
margin: 0; padding: 0;
|
90
|
+
}
|
91
|
+
.annotation pre {
|
92
|
+
display: block;
|
93
|
+
margin: 0;
|
94
|
+
padding: 7px 10px;
|
95
|
+
background: #fcfcfc;
|
96
|
+
-moz-box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
|
97
|
+
-webkit-box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
|
98
|
+
box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
|
99
|
+
overflow-x: auto;
|
100
|
+
}
|
101
|
+
.annotation pre code {
|
102
|
+
border: 0;
|
103
|
+
padding: 0;
|
104
|
+
background: transparent;
|
105
|
+
}
|
106
|
+
|
107
|
+
|
108
|
+
blockquote {
|
109
|
+
border-left: 5px solid #ccc;
|
110
|
+
margin: 0;
|
111
|
+
padding: 1px 0 1px 1em;
|
112
|
+
}
|
113
|
+
.sections blockquote p {
|
114
|
+
font-family: Menlo, Consolas, Monaco, monospace;
|
115
|
+
font-size: 12px; line-height: 16px;
|
116
|
+
color: #999;
|
117
|
+
margin: 10px 0 0;
|
118
|
+
white-space: pre-wrap;
|
119
|
+
}
|
120
|
+
|
121
|
+
ul.sections {
|
122
|
+
list-style: none;
|
123
|
+
padding:0 0 5px 0;;
|
124
|
+
margin:0;
|
125
|
+
}
|
126
|
+
|
127
|
+
/*
|
128
|
+
Force border-box so that % widths fit the parent
|
129
|
+
container without overlap because of margin/padding.
|
130
|
+
|
131
|
+
More Info : http://www.quirksmode.org/css/box.html
|
132
|
+
*/
|
133
|
+
ul.sections > li > div {
|
134
|
+
-moz-box-sizing: border-box; /* firefox */
|
135
|
+
-ms-box-sizing: border-box; /* ie */
|
136
|
+
-webkit-box-sizing: border-box; /* webkit */
|
137
|
+
-khtml-box-sizing: border-box; /* konqueror */
|
138
|
+
box-sizing: border-box; /* css3 */
|
139
|
+
}
|
140
|
+
|
141
|
+
|
142
|
+
/*---------------------- Jump Page -----------------------------*/
|
143
|
+
#jump_to, #jump_page {
|
144
|
+
margin: 0;
|
145
|
+
background: white;
|
146
|
+
-webkit-box-shadow: 0 0 25px #777; -moz-box-shadow: 0 0 25px #777;
|
147
|
+
-webkit-border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px;
|
148
|
+
font: 16px Arial;
|
149
|
+
cursor: pointer;
|
150
|
+
text-align: right;
|
151
|
+
list-style: none;
|
152
|
+
}
|
153
|
+
|
154
|
+
#jump_to a {
|
155
|
+
text-decoration: none;
|
156
|
+
}
|
157
|
+
|
158
|
+
#jump_to a.large {
|
159
|
+
display: none;
|
160
|
+
}
|
161
|
+
#jump_to a.small {
|
162
|
+
font-size: 22px;
|
163
|
+
font-weight: bold;
|
164
|
+
color: #676767;
|
165
|
+
}
|
166
|
+
|
167
|
+
#jump_to, #jump_wrapper {
|
168
|
+
position: fixed;
|
169
|
+
right: 0; top: 0;
|
170
|
+
padding: 10px 15px;
|
171
|
+
margin:0;
|
172
|
+
}
|
173
|
+
|
174
|
+
#jump_wrapper {
|
175
|
+
display: none;
|
176
|
+
padding:0;
|
177
|
+
}
|
178
|
+
|
179
|
+
#jump_to:hover #jump_wrapper {
|
180
|
+
display: block;
|
181
|
+
}
|
182
|
+
|
183
|
+
#jump_page {
|
184
|
+
padding: 5px 0 3px;
|
185
|
+
margin: 0 0 25px 25px;
|
186
|
+
}
|
187
|
+
|
188
|
+
#jump_page .source {
|
189
|
+
display: block;
|
190
|
+
padding: 15px;
|
191
|
+
text-decoration: none;
|
192
|
+
border-top: 1px solid #eee;
|
193
|
+
}
|
194
|
+
|
195
|
+
#jump_page .source:hover {
|
196
|
+
background: #f5f5ff;
|
197
|
+
}
|
198
|
+
|
199
|
+
#jump_page .source:first-child {
|
200
|
+
}
|
201
|
+
|
202
|
+
/*---------------------- Low resolutions (> 320px) ---------------------*/
|
203
|
+
@media only screen and (min-width: 320px) {
|
204
|
+
.pilwrap { display: none; }
|
205
|
+
|
206
|
+
ul.sections > li > div {
|
207
|
+
display: block;
|
208
|
+
padding:5px 10px 0 10px;
|
209
|
+
}
|
210
|
+
|
211
|
+
ul.sections > li > div.annotation ul, ul.sections > li > div.annotation ol {
|
212
|
+
padding-left: 30px;
|
213
|
+
}
|
214
|
+
|
215
|
+
ul.sections > li > div.content {
|
216
|
+
overflow-x:auto;
|
217
|
+
-webkit-box-shadow: inset 0 0 5px #e5e5ee;
|
218
|
+
box-shadow: inset 0 0 5px #e5e5ee;
|
219
|
+
border: 1px solid #dedede;
|
220
|
+
margin:5px 10px 5px 10px;
|
221
|
+
padding-bottom: 5px;
|
222
|
+
}
|
223
|
+
|
224
|
+
ul.sections > li > div.annotation pre {
|
225
|
+
margin: 7px 0 7px;
|
226
|
+
padding-left: 15px;
|
227
|
+
}
|
228
|
+
|
229
|
+
ul.sections > li > div.annotation p tt, .annotation code {
|
230
|
+
background: #f8f8ff;
|
231
|
+
border: 1px solid #dedede;
|
232
|
+
font-size: 12px;
|
233
|
+
padding: 0 0.2em;
|
234
|
+
}
|
235
|
+
}
|
236
|
+
|
237
|
+
/*---------------------- (> 481px) ---------------------*/
|
238
|
+
@media only screen and (min-width: 481px) {
|
239
|
+
#container {
|
240
|
+
position: relative;
|
241
|
+
}
|
242
|
+
body {
|
243
|
+
background-color: #F5F5FF;
|
244
|
+
font-size: 15px;
|
245
|
+
line-height: 21px;
|
246
|
+
}
|
247
|
+
pre, tt, code {
|
248
|
+
line-height: 18px;
|
249
|
+
}
|
250
|
+
p, ul, ol {
|
251
|
+
margin: 0 0 15px;
|
252
|
+
}
|
253
|
+
|
254
|
+
|
255
|
+
#jump_to {
|
256
|
+
padding: 5px 10px;
|
257
|
+
}
|
258
|
+
#jump_wrapper {
|
259
|
+
padding: 0;
|
260
|
+
}
|
261
|
+
#jump_to, #jump_page {
|
262
|
+
font: 10px Arial;
|
263
|
+
text-transform: uppercase;
|
264
|
+
}
|
265
|
+
#jump_page .source {
|
266
|
+
padding: 5px 10px;
|
267
|
+
}
|
268
|
+
#jump_to a.large {
|
269
|
+
display: inline-block;
|
270
|
+
}
|
271
|
+
#jump_to a.small {
|
272
|
+
display: none;
|
273
|
+
}
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
#background {
|
278
|
+
position: absolute;
|
279
|
+
top: 0; bottom: 0;
|
280
|
+
width: 350px;
|
281
|
+
background: #fff;
|
282
|
+
border-right: 1px solid #e5e5ee;
|
283
|
+
z-index: -1;
|
284
|
+
}
|
285
|
+
|
286
|
+
ul.sections > li > div.annotation ul, ul.sections > li > div.annotation ol {
|
287
|
+
padding-left: 40px;
|
288
|
+
}
|
289
|
+
|
290
|
+
ul.sections > li {
|
291
|
+
white-space: nowrap;
|
292
|
+
}
|
293
|
+
|
294
|
+
ul.sections > li > div {
|
295
|
+
display: inline-block;
|
296
|
+
}
|
297
|
+
|
298
|
+
ul.sections > li > div.annotation {
|
299
|
+
max-width: 350px;
|
300
|
+
min-width: 350px;
|
301
|
+
min-height: 5px;
|
302
|
+
padding: 13px;
|
303
|
+
overflow-x: hidden;
|
304
|
+
white-space: normal;
|
305
|
+
vertical-align: top;
|
306
|
+
text-align: left;
|
307
|
+
}
|
308
|
+
ul.sections > li > div.annotation pre {
|
309
|
+
margin: 15px 0 15px;
|
310
|
+
padding-left: 15px;
|
311
|
+
}
|
312
|
+
|
313
|
+
ul.sections > li > div.content {
|
314
|
+
padding: 13px;
|
315
|
+
vertical-align: top;
|
316
|
+
border: none;
|
317
|
+
-webkit-box-shadow: none;
|
318
|
+
box-shadow: none;
|
319
|
+
}
|
320
|
+
|
321
|
+
.pilwrap {
|
322
|
+
position: relative;
|
323
|
+
display: inline;
|
324
|
+
}
|
325
|
+
|
326
|
+
.pilcrow {
|
327
|
+
font: 12px Arial;
|
328
|
+
text-decoration: none;
|
329
|
+
color: #454545;
|
330
|
+
position: absolute;
|
331
|
+
top: 3px; left: -20px;
|
332
|
+
padding: 1px 2px;
|
333
|
+
opacity: 0;
|
334
|
+
-webkit-transition: opacity 0.2s linear;
|
335
|
+
}
|
336
|
+
.for-h1 .pilcrow {
|
337
|
+
top: 47px;
|
338
|
+
}
|
339
|
+
.for-h2 .pilcrow, .for-h3 .pilcrow, .for-h4 .pilcrow {
|
340
|
+
top: 35px;
|
341
|
+
}
|
342
|
+
|
343
|
+
ul.sections > li > div.annotation:hover .pilcrow {
|
344
|
+
opacity: 1;
|
345
|
+
}
|
346
|
+
}
|
347
|
+
|
348
|
+
/*---------------------- (> 1025px) ---------------------*/
|
349
|
+
@media only screen and (min-width: 1025px) {
|
350
|
+
|
351
|
+
body {
|
352
|
+
font-size: 16px;
|
353
|
+
line-height: 24px;
|
354
|
+
}
|
355
|
+
|
356
|
+
#background {
|
357
|
+
width: 525px;
|
358
|
+
}
|
359
|
+
ul.sections > li > div.annotation {
|
360
|
+
max-width: 525px;
|
361
|
+
min-width: 525px;
|
362
|
+
padding: 10px 25px 1px 50px;
|
363
|
+
}
|
364
|
+
ul.sections > li > div.content {
|
365
|
+
padding: 9px 15px 16px 25px;
|
366
|
+
}
|
367
|
+
}
|
368
|
+
|
369
|
+
/*---------------------- Syntax Highlighting -----------------------------*/
|
370
|
+
|
371
|
+
td.linenos { background-color: #f0f0f0; padding-right: 10px; }
|
372
|
+
span.lineno { background-color: #f0f0f0; padding: 0 5px 0 5px; }
|
373
|
+
/*
|
374
|
+
|
375
|
+
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
376
|
+
|
377
|
+
*/
|
378
|
+
|
379
|
+
pre code {
|
380
|
+
display: block; padding: 0.5em;
|
381
|
+
color: #000;
|
382
|
+
background: #f8f8ff
|
383
|
+
}
|
384
|
+
|
385
|
+
pre .hljs-comment,
|
386
|
+
pre .hljs-template_comment,
|
387
|
+
pre .hljs-diff .hljs-header,
|
388
|
+
pre .hljs-javadoc {
|
389
|
+
color: #408080;
|
390
|
+
font-style: italic
|
391
|
+
}
|
392
|
+
|
393
|
+
pre .hljs-keyword,
|
394
|
+
pre .hljs-assignment,
|
395
|
+
pre .hljs-literal,
|
396
|
+
pre .hljs-css .hljs-rule .hljs-keyword,
|
397
|
+
pre .hljs-winutils,
|
398
|
+
pre .hljs-javascript .hljs-title,
|
399
|
+
pre .hljs-lisp .hljs-title,
|
400
|
+
pre .hljs-subst {
|
401
|
+
color: #954121;
|
402
|
+
/*font-weight: bold*/
|
403
|
+
}
|
404
|
+
|
405
|
+
pre .hljs-number,
|
406
|
+
pre .hljs-hexcolor {
|
407
|
+
color: #40a070
|
408
|
+
}
|
409
|
+
|
410
|
+
pre .hljs-string,
|
411
|
+
pre .hljs-tag .hljs-value,
|
412
|
+
pre .hljs-phpdoc,
|
413
|
+
pre .hljs-tex .hljs-formula {
|
414
|
+
color: #219161;
|
415
|
+
}
|
416
|
+
|
417
|
+
pre .hljs-title,
|
418
|
+
pre .hljs-id {
|
419
|
+
color: #19469D;
|
420
|
+
}
|
421
|
+
pre .hljs-params {
|
422
|
+
color: #00F;
|
423
|
+
}
|
424
|
+
|
425
|
+
pre .hljs-javascript .hljs-title,
|
426
|
+
pre .hljs-lisp .hljs-title,
|
427
|
+
pre .hljs-subst {
|
428
|
+
font-weight: normal
|
429
|
+
}
|
430
|
+
|
431
|
+
pre .hljs-class .hljs-title,
|
432
|
+
pre .hljs-haskell .hljs-label,
|
433
|
+
pre .hljs-tex .hljs-command {
|
434
|
+
color: #458;
|
435
|
+
font-weight: bold
|
436
|
+
}
|
437
|
+
|
438
|
+
pre .hljs-tag,
|
439
|
+
pre .hljs-tag .hljs-title,
|
440
|
+
pre .hljs-rules .hljs-property,
|
441
|
+
pre .hljs-django .hljs-tag .hljs-keyword {
|
442
|
+
color: #000080;
|
443
|
+
font-weight: normal
|
444
|
+
}
|
445
|
+
|
446
|
+
pre .hljs-attribute,
|
447
|
+
pre .hljs-variable,
|
448
|
+
pre .hljs-instancevar,
|
449
|
+
pre .hljs-lisp .hljs-body {
|
450
|
+
color: #008080
|
451
|
+
}
|
452
|
+
|
453
|
+
pre .hljs-regexp {
|
454
|
+
color: #B68
|
455
|
+
}
|
456
|
+
|
457
|
+
pre .hljs-class {
|
458
|
+
color: #458;
|
459
|
+
font-weight: bold
|
460
|
+
}
|
461
|
+
|
462
|
+
pre .hljs-symbol,
|
463
|
+
pre .hljs-ruby .hljs-symbol .hljs-string,
|
464
|
+
pre .hljs-ruby .hljs-symbol .hljs-keyword,
|
465
|
+
pre .hljs-ruby .hljs-symbol .hljs-keymethods,
|
466
|
+
pre .hljs-lisp .hljs-keyword,
|
467
|
+
pre .hljs-tex .hljs-special,
|
468
|
+
pre .hljs-input_number {
|
469
|
+
color: #990073
|
470
|
+
}
|
471
|
+
|
472
|
+
pre .hljs-builtin,
|
473
|
+
pre .hljs-constructor,
|
474
|
+
pre .hljs-built_in,
|
475
|
+
pre .hljs-lisp .hljs-title {
|
476
|
+
color: #0086b3
|
477
|
+
}
|
478
|
+
|
479
|
+
pre .hljs-preprocessor,
|
480
|
+
pre .hljs-pi,
|
481
|
+
pre .hljs-doctype,
|
482
|
+
pre .hljs-shebang,
|
483
|
+
pre .hljs-cdata {
|
484
|
+
color: #999;
|
485
|
+
font-weight: bold
|
486
|
+
}
|
487
|
+
|
488
|
+
pre .hljs-deletion {
|
489
|
+
background: #fdd
|
490
|
+
}
|
491
|
+
|
492
|
+
pre .hljs-addition {
|
493
|
+
background: #dfd
|
494
|
+
}
|
495
|
+
|
496
|
+
pre .hljs-diff .hljs-change {
|
497
|
+
background: #0086b3
|
498
|
+
}
|
499
|
+
|
500
|
+
pre .hljs-chunk {
|
501
|
+
color: #aaa
|
502
|
+
}
|
503
|
+
|
504
|
+
pre .hljs-tex .hljs-formula {
|
505
|
+
opacity: 0.5;
|
506
|
+
}
|