-
Notifications
You must be signed in to change notification settings - Fork 74
/
compositor.json
105 lines (105 loc) · 8.37 KB
/
compositor.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "mrmrs/fluidity",
"version": "0.1.3",
"libraries": {
"xv": "^1.0.23"
},
"title": "Fluidity",
"branch": "gh-pages",
"style": {
"fontFamily": "\"Avenir Next\", Helvetica, sans-serif",
"fontWeight": 400,
"bold": 400,
"lineHeight": 1.625,
"typeScale": [
40,
30,
25,
20,
15,
12,
10
],
"heading": {
"fontFamily": null,
"fontStyle": null,
"fontWeight": 600,
"lineHeight": 1.25,
"textTransform": null,
"letterSpacing": "0.15625em",
"h0": {},
"h1": {},
"h2": {},
"h3": {},
"h4": {},
"h5": {},
"h6": {}
},
"alternativeText": {},
"space": [
0,
6,
12,
18,
24,
30,
36
],
"layout": {
"maxWidth": 1024,
"centered": false
},
"colors": {
"text": "#000000",
"background": "#eee",
"inverted": "#fff",
"primary": "#08e",
"secondary": "#0e8",
"highlight": "#e08",
"border": "#ddd",
"muted": "#eee"
},
"border": {
"width": 1,
"radius": 2
},
"link": {},
"button": {},
"input": {},
"body": {
"margin": 0
}
},
"content": [
{
"component": "section/BasicSection",
"heading": "fluidity",
"subhead": "The worlds smallest fully-responsive css framework",
"links": [
{
"text": "Tweet",
"href": "https://twitter.com/intent/tweet?text=fluidity%253A%2520The%2520worlds%2520smallest%2520fully-responsive%2520css%2520framework&url=http%253A%252F%252Ffluidity.sexy"
}
],
"text": "v0.2.0"
},
{
"component": "article/BasicArticle",
"text": "<h1 id=\"fluidity\">FLUIDITY</h1>\n<h3 id=\"a-fully-responsive-css-framework-that-is-impossibly-small\">A fully responsive css framework that is impossibly small</h3>\n<p>HTML is almost 100% responsive out of the box.\nThis stylesheet patches the remaining holes to get to 100% and in just 247 minified bytes.\nLet's make the web just a bit more responsive shall we?</p>\n<h2 id=\"installing-fluidity\">Installing fluidity</h2>\n<h4 id=\"production\">Production</h4>\n<p>Just include the fluidity css file in the head of your html file:</p>\n<pre><code class=\"lang-html\"><link rel="stylesheet" href="css/fluidity.min.css">\n</code></pre>\n<p>For elements that need to retain widths that might be wider than a device's\nviewport (i.e tables), wrap them in a div with the class 'overflow-container'\nlike so:</p>\n<pre><code class=\"lang-html\"> <div class="overflow-container">\n <table>\n ...\n </table>\n </div>\n</code></pre>\n<h4 id=\"development\">Development</h4>\n<p>If you want to develop with the uncompressed version, include instead:</p>\n<pre><code class=\"lang-html\"><link rel="stylesheet" href="css/fluidity.css">\n</code></pre>\n<h2 id=\"available-build-dev-tools\">Available build / dev tools</h2>\n<p>If you'd like to use the available build tools just run:</p>\n<pre><code>cd fluidity\nnpm install -g gulp\nnpm install\ngulp\n</code></pre><h2 id=\"gulp-tasks\">Gulp Tasks</h2>\n<p>Gulp is a JavaScript task runner.\n<a href=\"http://gulpjs.com\">http://gulpjs.com</a></p>\n<p>There are a few common tasks that gulp takes care of here:</p>\n<ul>\n<li>Livereload</li>\n<li>CSS minification</li>\n<li>Autoprefixer</li>\n<li>Sass</li>\n<li>Lints the compiled css</li>\n</ul>\n<p>Run these from the root directory of the project. The command</p>\n<pre><code>gulp\n</code></pre><p>runs a live reload server and starts sass compilation while running csslint, while</p>\n<pre><code>gulp production\n</code></pre><p>also minifies the css.</p>\n<h1 id=\"license\">License</h1>\n<p>The MIT License (MIT)</p>\n<p>Copyright (c) 2014 @mrmrs</p>\n<p>Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:</p>\n<p>The above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.</p>\n<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.</p>\n",
"html": "<h1 id=\"fluidity\">FLUIDITY</h1>\n<h3 id=\"a-fully-responsive-css-framework-that-is-impossibly-small\">A fully responsive css framework that is impossibly small</h3>\n<p>HTML is almost 100% responsive out of the box.\nThis stylesheet patches the remaining holes to get to 100% and in just 247 minified bytes.\nLet's make the web just a bit more responsive shall we?</p>\n<h2 id=\"installing-fluidity\">Installing fluidity</h2>\n<h4 id=\"production\">Production</h4>\n<p>Just include the fluidity css file in the head of your html file:</p>\n<pre><code class=\"lang-html\"><link rel="stylesheet" href="css/fluidity.min.css">\n</code></pre>\n<p>For elements that need to retain widths that might be wider than a device's\nviewport (i.e tables), wrap them in a div with the class 'overflow-container'\nlike so:</p>\n<pre><code class=\"lang-html\"> <div class="overflow-container">\n <table>\n ...\n </table>\n </div>\n</code></pre>\n<h4 id=\"development\">Development</h4>\n<p>If you want to develop with the uncompressed version, include instead:</p>\n<pre><code class=\"lang-html\"><link rel="stylesheet" href="css/fluidity.css">\n</code></pre>\n<h2 id=\"available-build-dev-tools\">Available build / dev tools</h2>\n<p>If you'd like to use the available build tools just run:</p>\n<pre><code>cd fluidity\nnpm install -g gulp\nnpm install\ngulp\n</code></pre><h2 id=\"gulp-tasks\">Gulp Tasks</h2>\n<p>Gulp is a JavaScript task runner.\n<a href=\"http://gulpjs.com\">http://gulpjs.com</a></p>\n<p>There are a few common tasks that gulp takes care of here:</p>\n<ul>\n<li>Livereload</li>\n<li>CSS minification</li>\n<li>Autoprefixer</li>\n<li>Sass</li>\n<li>Lints the compiled css</li>\n</ul>\n<p>Run these from the root directory of the project. The command</p>\n<pre><code>gulp\n</code></pre><p>runs a live reload server and starts sass compilation while running csslint, while</p>\n<pre><code>gulp production\n</code></pre><p>also minifies the css.</p>\n<h1 id=\"license\">License</h1>\n<p>The MIT License (MIT)</p>\n<p>Copyright (c) 2014 @mrmrs</p>\n<p>Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:</p>\n<p>The above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.</p>\n<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.</p>\n"
},
{
"component": "footer/BasicFooter",
"links": [
{
"href": "https://github.com/mrmrs/fluidity",
"text": "GitHub"
},
{
"href": "https://github.com/mrmrs",
"text": "mrmrs"
}
]
}
]
}