yamlcss 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +12 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +56 -0
- data/LICENSE.txt +59 -0
- data/Rakefile +23 -0
- data/Readme.md +120 -0
- data/VERSIONS.md +5 -0
- data/bin/yamlcss +6 -0
- data/lib/yamlcss.rb +22 -0
- data/lib/yamlcss/engine.rb +7 -0
- data/lib/yamlcss/generator.rb +84 -0
- data/lib/yamlcss/version.rb +4 -0
- data/vendor/assets/stylesheets/_iehacks.scss +3 -0
- data/vendor/assets/stylesheets/_yaml.scss +3 -0
- data/yaml/Gruntfile.js +199 -0
- data/yaml/License.txt +36 -0
- data/yaml/Readme.md +64 -0
- data/yaml/changelog.md +307 -0
- data/yaml/config.rb +25 -0
- data/yaml/demos/css/custom-grids.css +27 -0
- data/yaml/demos/css/flexible-columns.css +26 -0
- data/yaml/demos/css/flexible-grids.css +26 -0
- data/yaml/demos/css/rtl-support.css +31 -0
- data/yaml/demos/css/screen/screen-custom-grids.css +41 -0
- data/yaml/demos/css/screen/screen-rtl-support.css +182 -0
- data/yaml/demos/custom-grid.html +129 -0
- data/yaml/demos/flexible-columns.html +124 -0
- data/yaml/demos/flexible-grid.html +142 -0
- data/yaml/demos/rtl-support.html +127 -0
- data/yaml/docs/assets/css/icons/external_link.png +0 -0
- data/yaml/docs/assets/css/icons/hcalendar.png +0 -0
- data/yaml/docs/assets/css/icons/hcard.png +0 -0
- data/yaml/docs/assets/css/icons/icon-geo.png +0 -0
- data/yaml/docs/assets/css/icons/icon-hatom.png +0 -0
- data/yaml/docs/assets/css/icons/icon-haudio.png +0 -0
- data/yaml/docs/assets/css/icons/icon-hcalendar-add.png +0 -0
- data/yaml/docs/assets/css/icons/icon-hcalendar-download.png +0 -0
- data/yaml/docs/assets/css/icons/icon-hcalendar.png +0 -0
- data/yaml/docs/assets/css/icons/icon-hcard-add.png +0 -0
- data/yaml/docs/assets/css/icons/icon-hcard-download.png +0 -0
- data/yaml/docs/assets/css/icons/icon-hcard.png +0 -0
- data/yaml/docs/assets/css/icons/icon-hresume.png +0 -0
- data/yaml/docs/assets/css/icons/icon-rel-tag.png +0 -0
- data/yaml/docs/assets/css/icons/icon-xfn.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-child.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-colleague-met.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-colleague.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-friend-met.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-friend.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-me.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-parent.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-small.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-spouse.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-sweetheart-met.png +0 -0
- data/yaml/docs/assets/css/icons/xfn/xfn-sweetheart.png +0 -0
- data/yaml/docs/assets/css/layout-min.css +3 -0
- data/yaml/docs/assets/css/layout.css +3262 -0
- data/yaml/docs/assets/images/demo-custom-grid.png +0 -0
- data/yaml/docs/assets/images/demo-flex-column.png +0 -0
- data/yaml/docs/assets/images/demo-flex-grid.png +0 -0
- data/yaml/docs/assets/images/demo-rtl.png +0 -0
- data/yaml/docs/assets/images/yaml-solo-transparent-small.png +0 -0
- data/yaml/docs/assets/images/yaml-solo-transparent.png +0 -0
- data/yaml/docs/assets/js/domscript.js +209 -0
- data/yaml/docs/assets/js/jquery.gridbuilder.js +131 -0
- data/yaml/docs/assets/js/snippet/ZeroClipboard.swf +0 -0
- data/yaml/docs/assets/js/snippet/jquery.snippet.css +116 -0
- data/yaml/docs/assets/js/snippet/jquery.snippet.js +782 -0
- data/yaml/docs/assets/js/snippet/jquery.snippet.min.css +40 -0
- data/yaml/docs/assets/js/snippet/jquery.snippet.min.js +12 -0
- data/yaml/docs/assets/js/snippet/snippet.css +296 -0
- data/yaml/docs/index.html +3845 -0
- data/yaml/lib/html5shiv/html5shiv-printshiv.js +11 -0
- data/yaml/lib/html5shiv/html5shiv.js +8 -0
- data/yaml/lib/jquery-1.10.1.min.js +6 -0
- data/yaml/lib/jquery-migrate-1.2.1.min.js +2 -0
- data/yaml/package.json +20 -0
- data/yaml/sass/docs/assets/css/_screen.scss +786 -0
- data/yaml/sass/docs/assets/css/layout.scss +28 -0
- data/yaml/sass/static-build/add-ons/accessible-tabs/tabs.scss +15 -0
- data/yaml/sass/static-build/add-ons/microformats/microformats.scss +18 -0
- data/yaml/sass/static-build/add-ons/rtl-support/core/base-rtl.scss +20 -0
- data/yaml/sass/static-build/add-ons/rtl-support/forms/gray-theme-rtl.scss +16 -0
- data/yaml/sass/static-build/add-ons/rtl-support/navigation/hlist-rtl.scss +18 -0
- data/yaml/sass/static-build/add-ons/rtl-support/navigation/vlist-rtl.scss +18 -0
- data/yaml/sass/static-build/add-ons/rtl-support/screen/typography-rtl.scss +16 -0
- data/yaml/sass/static-build/core/base.scss +19 -0
- data/yaml/sass/static-build/core/iehacks.scss +19 -0
- data/yaml/sass/static-build/forms/gray-theme.scss +14 -0
- data/yaml/sass/static-build/navigation/hlist.scss +16 -0
- data/yaml/sass/static-build/navigation/vlist.scss +16 -0
- data/yaml/sass/static-build/print/print.scss +15 -0
- data/yaml/sass/static-build/screen/grid-960gs-12.scss +15 -0
- data/yaml/sass/static-build/screen/grid-960gs-16.scss +15 -0
- data/yaml/sass/static-build/screen/grid-blueprint.scss +15 -0
- data/yaml/sass/static-build/screen/grid-fluid-12col.scss +15 -0
- data/yaml/sass/static-build/screen/screen-FULLPAGE-layout.scss +15 -0
- data/yaml/sass/static-build/screen/screen-PAGE-layout.scss +15 -0
- data/yaml/sass/static-build/screen/typography.scss +16 -0
- data/yaml/sass/yaml-sass/_yaml-var-globals.scss +39 -0
- data/yaml/sass/yaml-sass/_yaml-var-typography.scss +80 -0
- data/yaml/sass/yaml-sass/add-ons/accessible-tabs/_tabs.scss +139 -0
- data/yaml/sass/yaml-sass/add-ons/accessible-tabs/jquery.tabs.js +266 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/_microformats.scss +179 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/external_link.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/hcalendar.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/hcard.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-geo.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hatom.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-haudio.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hcalendar-add.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hcalendar-download.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hcalendar.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hcard-add.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hcard-download.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hcard.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-hresume.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-rel-tag.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/icon-xfn.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-child.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-colleague-met.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-colleague.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-friend-met.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-friend.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-me.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-parent.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-small.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-spouse.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-sweetheart-met.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/microformats/icons/xfn/xfn-sweetheart.png +0 -0
- data/yaml/sass/yaml-sass/add-ons/rtl-support/core/_base-rtl.scss +177 -0
- data/yaml/sass/yaml-sass/add-ons/rtl-support/forms/_gray-theme-rtl.scss +34 -0
- data/yaml/sass/yaml-sass/add-ons/rtl-support/navigation/_hlist-rtl.scss +42 -0
- data/yaml/sass/yaml-sass/add-ons/rtl-support/navigation/_vlist-rtl.scss +45 -0
- data/yaml/sass/yaml-sass/add-ons/rtl-support/screen/_typography-rtl.scss +30 -0
- data/yaml/sass/yaml-sass/add-ons/syncheight/jquery.syncheight.js +112 -0
- data/yaml/sass/yaml-sass/core/_base.scss +15 -0
- data/yaml/sass/yaml-sass/core/_iehacks.scss +426 -0
- data/yaml/sass/yaml-sass/core/base-modules/_accessibility.scss +48 -0
- data/yaml/sass/yaml-sass/core/base-modules/_columns.scss +27 -0
- data/yaml/sass/yaml-sass/core/base-modules/_float-handling.scss +32 -0
- data/yaml/sass/yaml-sass/core/base-modules/_forms-core.scss +296 -0
- data/yaml/sass/yaml-sass/core/base-modules/_grids-core.scss +55 -0
- data/yaml/sass/yaml-sass/core/base-modules/_normalization.scss +165 -0
- data/yaml/sass/yaml-sass/core/base-modules/_print-core.scss +36 -0
- data/yaml/sass/yaml-sass/core/js/yaml-focusfix.js +70 -0
- data/yaml/sass/yaml-sass/forms/_gray-theme.scss +475 -0
- data/yaml/sass/yaml-sass/mixins/_yaml-mixins-core.scss +248 -0
- data/yaml/sass/yaml-sass/navigation/_hlist.scss +106 -0
- data/yaml/sass/yaml-sass/navigation/_vlist.scss +129 -0
- data/yaml/sass/yaml-sass/print/_print.scss +61 -0
- data/yaml/sass/yaml-sass/screen/_grid-960gs-12.scss +4 -0
- data/yaml/sass/yaml-sass/screen/_grid-960gs-16.scss +4 -0
- data/yaml/sass/yaml-sass/screen/_grid-blueprint.scss +4 -0
- data/yaml/sass/yaml-sass/screen/_grid-fluid-12col.scss +4 -0
- data/yaml/sass/yaml-sass/screen/_screen-FULLPAGE-layout.scss +171 -0
- data/yaml/sass/yaml-sass/screen/_screen-PAGE-layout.scss +165 -0
- data/yaml/sass/yaml-sass/screen/_typography.scss +485 -0
- data/yaml/yaml/add-ons/accessible-tabs/jquery.tabs.js +266 -0
- data/yaml/yaml/add-ons/accessible-tabs/tabs.css +136 -0
- data/yaml/yaml/add-ons/microformats/icons/external_link.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/hcalendar.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/hcard.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-geo.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-hatom.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-haudio.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-hcalendar-add.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-hcalendar-download.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-hcalendar.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-hcard-add.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-hcard-download.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-hcard.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-hresume.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-rel-tag.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/icon-xfn.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-child.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-colleague-met.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-colleague.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-friend-met.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-friend.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-me.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-parent.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-small.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-spouse.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-sweetheart-met.png +0 -0
- data/yaml/yaml/add-ons/microformats/icons/xfn/xfn-sweetheart.png +0 -0
- data/yaml/yaml/add-ons/microformats/microformats.css +167 -0
- data/yaml/yaml/add-ons/rtl-support/core/base-rtl.css +167 -0
- data/yaml/yaml/add-ons/rtl-support/core/base-rtl.min.css +3 -0
- data/yaml/yaml/add-ons/rtl-support/forms/gray-theme-rtl.css +44 -0
- data/yaml/yaml/add-ons/rtl-support/navigation/hlist-rtl.css +48 -0
- data/yaml/yaml/add-ons/rtl-support/navigation/vlist-rtl.css +54 -0
- data/yaml/yaml/add-ons/rtl-support/screen/typography-rtl.css +38 -0
- data/yaml/yaml/add-ons/syncheight/jquery.syncheight.js +112 -0
- data/yaml/yaml/core/base.css +705 -0
- data/yaml/yaml/core/base.min.css +3 -0
- data/yaml/yaml/core/iehacks.css +468 -0
- data/yaml/yaml/core/iehacks.min.css +3 -0
- data/yaml/yaml/core/js/yaml-focusfix.js +70 -0
- data/yaml/yaml/forms/gray-theme.css +676 -0
- data/yaml/yaml/navigation/hlist.css +109 -0
- data/yaml/yaml/navigation/vlist.css +144 -0
- data/yaml/yaml/print/print.css +42 -0
- data/yaml/yaml/screen/grid-960gs-12.css +164 -0
- data/yaml/yaml/screen/grid-960gs-16.css +212 -0
- data/yaml/yaml/screen/grid-blueprint.css +308 -0
- data/yaml/yaml/screen/grid-fluid-12col.css +164 -0
- data/yaml/yaml/screen/screen-FULLPAGE-layout.css +184 -0
- data/yaml/yaml/screen/screen-PAGE-layout.css +196 -0
- data/yaml/yaml/screen/typography.css +486 -0
- data/yamlcss.gemspec +30 -0
- metadata +314 -0
@@ -0,0 +1,164 @@
|
|
1
|
+
/**
|
2
|
+
* "Yet Another Multicolumn Layout" - YAML CSS Framework
|
3
|
+
*
|
4
|
+
* Fluid 12 column grid
|
5
|
+
*
|
6
|
+
* @copyright © 2005-2013, Dirk Jesse
|
7
|
+
* @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
|
8
|
+
* YAML-CDL (http://www.yaml.de/license.html)
|
9
|
+
* @link http://www.yaml.de
|
10
|
+
* @package yaml
|
11
|
+
* @version 4.1.2
|
12
|
+
*/
|
13
|
+
.ym-wrapper {
|
14
|
+
width: 100%;
|
15
|
+
margin: 0 auto;
|
16
|
+
}
|
17
|
+
|
18
|
+
.ym-gbox {
|
19
|
+
padding-left: 0;
|
20
|
+
padding-right: 0;
|
21
|
+
margin-left: 0;
|
22
|
+
margin-right: 10px;
|
23
|
+
}
|
24
|
+
|
25
|
+
[class*="ym-push-"],
|
26
|
+
[class*="ym-pull-"] {
|
27
|
+
position: relative;
|
28
|
+
}
|
29
|
+
|
30
|
+
.ym-span-1 {
|
31
|
+
width: 8.33333%;
|
32
|
+
}
|
33
|
+
|
34
|
+
.ym-span-2 {
|
35
|
+
width: 16.66667%;
|
36
|
+
}
|
37
|
+
|
38
|
+
.ym-span-3 {
|
39
|
+
width: 25%;
|
40
|
+
}
|
41
|
+
|
42
|
+
.ym-span-4 {
|
43
|
+
width: 33.33333%;
|
44
|
+
}
|
45
|
+
|
46
|
+
.ym-span-5 {
|
47
|
+
width: 41.66667%;
|
48
|
+
}
|
49
|
+
|
50
|
+
.ym-span-6 {
|
51
|
+
width: 50%;
|
52
|
+
}
|
53
|
+
|
54
|
+
.ym-span-7 {
|
55
|
+
width: 58.33333%;
|
56
|
+
}
|
57
|
+
|
58
|
+
.ym-span-8 {
|
59
|
+
width: 66.66667%;
|
60
|
+
}
|
61
|
+
|
62
|
+
.ym-span-9 {
|
63
|
+
width: 75%;
|
64
|
+
}
|
65
|
+
|
66
|
+
.ym-span-10 {
|
67
|
+
width: 83.33333%;
|
68
|
+
}
|
69
|
+
|
70
|
+
.ym-span-11 {
|
71
|
+
width: 91.66667%;
|
72
|
+
}
|
73
|
+
|
74
|
+
.ym-span-12 {
|
75
|
+
width: 100%;
|
76
|
+
}
|
77
|
+
|
78
|
+
.ym-push-1 {
|
79
|
+
left: 8.33333%;
|
80
|
+
}
|
81
|
+
|
82
|
+
.ym-push-2 {
|
83
|
+
left: 16.66667%;
|
84
|
+
}
|
85
|
+
|
86
|
+
.ym-push-3 {
|
87
|
+
left: 25%;
|
88
|
+
}
|
89
|
+
|
90
|
+
.ym-push-4 {
|
91
|
+
left: 33.33333%;
|
92
|
+
}
|
93
|
+
|
94
|
+
.ym-push-5 {
|
95
|
+
left: 41.66667%;
|
96
|
+
}
|
97
|
+
|
98
|
+
.ym-push-6 {
|
99
|
+
left: 50%;
|
100
|
+
}
|
101
|
+
|
102
|
+
.ym-push-7 {
|
103
|
+
left: 58.33333%;
|
104
|
+
}
|
105
|
+
|
106
|
+
.ym-push-8 {
|
107
|
+
left: 66.66667%;
|
108
|
+
}
|
109
|
+
|
110
|
+
.ym-push-9 {
|
111
|
+
left: 75%;
|
112
|
+
}
|
113
|
+
|
114
|
+
.ym-push-10 {
|
115
|
+
left: 83.33333%;
|
116
|
+
}
|
117
|
+
|
118
|
+
.ym-push-11 {
|
119
|
+
left: 91.66667%;
|
120
|
+
}
|
121
|
+
|
122
|
+
.ym-pull-1 {
|
123
|
+
left: -8.33333%;
|
124
|
+
}
|
125
|
+
|
126
|
+
.ym-pull-2 {
|
127
|
+
left: -16.66667%;
|
128
|
+
}
|
129
|
+
|
130
|
+
.ym-pull-3 {
|
131
|
+
left: -25%;
|
132
|
+
}
|
133
|
+
|
134
|
+
.ym-pull-4 {
|
135
|
+
left: -33.33333%;
|
136
|
+
}
|
137
|
+
|
138
|
+
.ym-pull-5 {
|
139
|
+
left: -41.66667%;
|
140
|
+
}
|
141
|
+
|
142
|
+
.ym-pull-6 {
|
143
|
+
left: -50%;
|
144
|
+
}
|
145
|
+
|
146
|
+
.ym-pull-7 {
|
147
|
+
left: -58.33333%;
|
148
|
+
}
|
149
|
+
|
150
|
+
.ym-pull-8 {
|
151
|
+
left: -66.66667%;
|
152
|
+
}
|
153
|
+
|
154
|
+
.ym-pull-9 {
|
155
|
+
left: -75%;
|
156
|
+
}
|
157
|
+
|
158
|
+
.ym-pull-10 {
|
159
|
+
left: -83.33333%;
|
160
|
+
}
|
161
|
+
|
162
|
+
.ym-pull-11 {
|
163
|
+
left: -91.66667%;
|
164
|
+
}
|
@@ -0,0 +1,184 @@
|
|
1
|
+
/**
|
2
|
+
* "Yet Another Multicolumn Layout" - YAML CSS Framework
|
3
|
+
*
|
4
|
+
* default screen stylesheet - FULLPAGE-layout type layout
|
5
|
+
*
|
6
|
+
* @copyright © 2005-2013, Dirk Jesse
|
7
|
+
* @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
|
8
|
+
* YAML-CDL (http://www.yaml.de/license.html)
|
9
|
+
* @link http://www.yaml.de
|
10
|
+
* @package yaml
|
11
|
+
* @version 4.1.2
|
12
|
+
*/
|
13
|
+
@media screen {
|
14
|
+
/* force vertical scrollbar */
|
15
|
+
body {
|
16
|
+
overflow-y: scroll;
|
17
|
+
}
|
18
|
+
|
19
|
+
/* Layout Module Configuration */
|
20
|
+
.ym-wrapper {
|
21
|
+
max-width: 80em;
|
22
|
+
margin: 0 auto;
|
23
|
+
}
|
24
|
+
|
25
|
+
.ym-wbox {
|
26
|
+
padding: 1.5em;
|
27
|
+
}
|
28
|
+
|
29
|
+
/* fallback for missing media queries support*/
|
30
|
+
body > header, body > nav, body > main, body > footer {
|
31
|
+
min-width: 760px;
|
32
|
+
}
|
33
|
+
|
34
|
+
/* Basic Element Styling */
|
35
|
+
header {
|
36
|
+
background: #444;
|
37
|
+
color: #ccc;
|
38
|
+
}
|
39
|
+
header h1 {
|
40
|
+
background: transparent;
|
41
|
+
color: #fff;
|
42
|
+
}
|
43
|
+
header .ym-wbox {
|
44
|
+
padding: 1.5em;
|
45
|
+
}
|
46
|
+
|
47
|
+
nav {
|
48
|
+
background: #222222;
|
49
|
+
}
|
50
|
+
|
51
|
+
main .info {
|
52
|
+
margin-bottom: 1.5em;
|
53
|
+
}
|
54
|
+
main aside .ym-gbox-right {
|
55
|
+
border-left: 1px #ddd solid;
|
56
|
+
}
|
57
|
+
|
58
|
+
footer {
|
59
|
+
background: #eee;
|
60
|
+
color: #444;
|
61
|
+
}
|
62
|
+
footer p {
|
63
|
+
margin: 0;
|
64
|
+
}
|
65
|
+
footer .ym-wbox {
|
66
|
+
padding: 1.5em;
|
67
|
+
}
|
68
|
+
|
69
|
+
.ym-gbox {
|
70
|
+
padding: 0 1.5em;
|
71
|
+
}
|
72
|
+
|
73
|
+
.ym-gbox-left {
|
74
|
+
padding: 0 1.5em 0 0;
|
75
|
+
}
|
76
|
+
|
77
|
+
.ym-gbox-right {
|
78
|
+
padding: 0 0 0 1.5em;
|
79
|
+
}
|
80
|
+
|
81
|
+
/* skip links styling */
|
82
|
+
.ym-skiplinks a.ym-skip:focus,
|
83
|
+
.ym-skiplinks a.ym-skip:active {
|
84
|
+
color: #fff;
|
85
|
+
background: #333;
|
86
|
+
border-bottom: 1px #000 solid;
|
87
|
+
padding: 10px 0;
|
88
|
+
text-align: center;
|
89
|
+
text-decoration: none;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
/* reset fallback values in modern browsers */
|
93
|
+
@media screen and (min-width: 0px) {
|
94
|
+
body > header, body > nav, body > main, body > footer {
|
95
|
+
min-width: 0;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
@media screen and (max-width: 760px) {
|
99
|
+
/* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-1 */
|
100
|
+
.linearize-level-1, .linearize-level-1 > [class*="ym-c"], .linearize-level-1 > [class*="ym-g"] {
|
101
|
+
/* linearization for grids and columns module */
|
102
|
+
display: block;
|
103
|
+
float: none;
|
104
|
+
padding: 0;
|
105
|
+
margin: 0;
|
106
|
+
width: auto !important;
|
107
|
+
}
|
108
|
+
.linearize-level-1 > [class*="ym-c"] > [class*="ym-cbox"], .linearize-level-1 > [class*="ym-g"] > [class*="ym-gbox"] {
|
109
|
+
/* reset defined gutter values */
|
110
|
+
margin: 0;
|
111
|
+
padding: 0;
|
112
|
+
/* optional for containing floats */
|
113
|
+
overflow: hidden;
|
114
|
+
}
|
115
|
+
|
116
|
+
.secondary {
|
117
|
+
border-top: 1px #888 solid;
|
118
|
+
margin-top: 1.5em !important;
|
119
|
+
padding-top: 1.5em !important;
|
120
|
+
}
|
121
|
+
|
122
|
+
main aside .ym-gbox-right {
|
123
|
+
border: 0 none;
|
124
|
+
}
|
125
|
+
|
126
|
+
.ym-searchform {
|
127
|
+
display: block;
|
128
|
+
float: none;
|
129
|
+
width: auto;
|
130
|
+
text-align: right;
|
131
|
+
}
|
132
|
+
|
133
|
+
.ym-searchform input[type="search"] {
|
134
|
+
width: 14%;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
@media screen and (max-width: 480px) {
|
138
|
+
/* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-2 */
|
139
|
+
.linearize-level-2, .linearize-level-2 > [class*="ym-c"], .linearize-level-2 > [class*="ym-g"] {
|
140
|
+
/* linearization for grids and columns module */
|
141
|
+
display: block;
|
142
|
+
float: none;
|
143
|
+
padding: 0;
|
144
|
+
margin: 0;
|
145
|
+
width: auto !important;
|
146
|
+
}
|
147
|
+
.linearize-level-2 > [class*="ym-c"] > [class*="ym-cbox"], .linearize-level-2 > [class*="ym-g"] > [class*="ym-gbox"] {
|
148
|
+
/* reset defined gutter values */
|
149
|
+
margin: 0;
|
150
|
+
padding: 0;
|
151
|
+
/* optional for containing floats */
|
152
|
+
overflow: hidden;
|
153
|
+
}
|
154
|
+
|
155
|
+
header .ym-wbox {
|
156
|
+
padding: 0.75em 10px;
|
157
|
+
}
|
158
|
+
header h1 {
|
159
|
+
font-size: 1.5em;
|
160
|
+
line-height: 1em;
|
161
|
+
margin: 0;
|
162
|
+
}
|
163
|
+
|
164
|
+
footer .ym-wbox,
|
165
|
+
.ym-wbox,
|
166
|
+
.ym-searchform,
|
167
|
+
nav .ym-hlist ul {
|
168
|
+
padding-left: 10px;
|
169
|
+
padding-right: 10px;
|
170
|
+
}
|
171
|
+
|
172
|
+
.ym-searchform,
|
173
|
+
nav .ym-hlist ul,
|
174
|
+
nav .ym-hlist li {
|
175
|
+
display: block;
|
176
|
+
float: none;
|
177
|
+
width: auto;
|
178
|
+
text-align: left;
|
179
|
+
}
|
180
|
+
|
181
|
+
.ym-searchform input[type="search"] {
|
182
|
+
width: 75%;
|
183
|
+
}
|
184
|
+
}
|
@@ -0,0 +1,196 @@
|
|
1
|
+
/**
|
2
|
+
* "Yet Another Multicolumn Layout" - YAML CSS Framework
|
3
|
+
*
|
4
|
+
* default screen stylesheet - PAGE-layout type layout
|
5
|
+
*
|
6
|
+
* @copyright © 2005-2013, Dirk Jesse
|
7
|
+
* @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
|
8
|
+
* YAML-CDL (http://www.yaml.de/license.html)
|
9
|
+
* @link http://www.yaml.de
|
10
|
+
* @package yaml
|
11
|
+
* @version 4.1.2
|
12
|
+
*/
|
13
|
+
@media screen {
|
14
|
+
/* force vertical scrollbar */
|
15
|
+
body {
|
16
|
+
overflow-y: scroll;
|
17
|
+
}
|
18
|
+
|
19
|
+
/* Layout Module Configuration & fallback for unsupported media queries */
|
20
|
+
.ym-wrapper {
|
21
|
+
min-width: 760px;
|
22
|
+
max-width: 80em;
|
23
|
+
margin: 0 auto;
|
24
|
+
}
|
25
|
+
|
26
|
+
.ym-wbox {
|
27
|
+
padding: 10px;
|
28
|
+
}
|
29
|
+
|
30
|
+
/* Basic Element Styling */
|
31
|
+
header {
|
32
|
+
background: #444;
|
33
|
+
color: #ccc;
|
34
|
+
padding: 1.5em;
|
35
|
+
}
|
36
|
+
header h1 {
|
37
|
+
background: transparent;
|
38
|
+
color: #fff;
|
39
|
+
}
|
40
|
+
|
41
|
+
nav {
|
42
|
+
background: #222222;
|
43
|
+
}
|
44
|
+
|
45
|
+
main {
|
46
|
+
padding: 1.5em 0 0 0;
|
47
|
+
}
|
48
|
+
|
49
|
+
footer {
|
50
|
+
margin: 0;
|
51
|
+
background: #eee;
|
52
|
+
color: #444;
|
53
|
+
padding: 1.5em;
|
54
|
+
}
|
55
|
+
footer p {
|
56
|
+
margin: 0;
|
57
|
+
}
|
58
|
+
|
59
|
+
/* Column-Set Configuration: 1-3 (sidebar right) */
|
60
|
+
.ym-column {
|
61
|
+
display: block;
|
62
|
+
overflow: hidden;
|
63
|
+
padding-right: 340px;
|
64
|
+
width: auto;
|
65
|
+
}
|
66
|
+
|
67
|
+
/* content - column */
|
68
|
+
.ym-col1 {
|
69
|
+
float: left;
|
70
|
+
width: 100%;
|
71
|
+
}
|
72
|
+
|
73
|
+
/* sidebar - column */
|
74
|
+
.ym-col3 {
|
75
|
+
position: relative;
|
76
|
+
float: left;
|
77
|
+
width: 340px;
|
78
|
+
margin-left: 0;
|
79
|
+
margin-right: -340px;
|
80
|
+
}
|
81
|
+
|
82
|
+
.ym-col1 .ym-cbox {
|
83
|
+
padding: 0 0.75em 0 1.5em;
|
84
|
+
}
|
85
|
+
|
86
|
+
.ym-col3 .ym-cbox {
|
87
|
+
padding: 0 20px 0 12px;
|
88
|
+
}
|
89
|
+
|
90
|
+
.ym-gbox {
|
91
|
+
padding: 0 1.5em 0 0;
|
92
|
+
}
|
93
|
+
|
94
|
+
/* skip links styling */
|
95
|
+
.ym-skiplinks a.ym-skip:focus,
|
96
|
+
.ym-skiplinks a.ym-skip:active {
|
97
|
+
color: #fff;
|
98
|
+
background: #333;
|
99
|
+
border-bottom: 1px #000 solid;
|
100
|
+
padding: 10px 0;
|
101
|
+
text-align: center;
|
102
|
+
text-decoration: none;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
/* reset fallback values in modern browsers */
|
106
|
+
@media screen and (min-width: 0px) {
|
107
|
+
.ym-wrapper {
|
108
|
+
min-width: 0px;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
@media screen and (max-width: 760px) {
|
112
|
+
/* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-1 */
|
113
|
+
.linearize-level-1, .linearize-level-1 > [class*="ym-c"], .linearize-level-1 > [class*="ym-g"] {
|
114
|
+
/* linearization for grids and columns module */
|
115
|
+
display: block;
|
116
|
+
float: none;
|
117
|
+
padding: 0;
|
118
|
+
margin: 0;
|
119
|
+
width: auto !important;
|
120
|
+
}
|
121
|
+
.linearize-level-1 > [class*="ym-c"] > [class*="ym-cbox"], .linearize-level-1 > [class*="ym-g"] > [class*="ym-gbox"] {
|
122
|
+
/* reset defined gutter values */
|
123
|
+
margin: 0;
|
124
|
+
padding: 0;
|
125
|
+
/* optional for containing floats */
|
126
|
+
overflow: hidden;
|
127
|
+
}
|
128
|
+
|
129
|
+
nav .ym-hlist ul {
|
130
|
+
padding-right: 10px;
|
131
|
+
}
|
132
|
+
|
133
|
+
.ym-searchform {
|
134
|
+
display: block;
|
135
|
+
float: none;
|
136
|
+
width: auto;
|
137
|
+
padding-right: 10px;
|
138
|
+
text-align: right;
|
139
|
+
}
|
140
|
+
|
141
|
+
.ym-searchform input[type="search"] {
|
142
|
+
width: 14%;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
@media screen and (max-width: 480px) {
|
146
|
+
.ym-wbox {
|
147
|
+
padding: 0;
|
148
|
+
}
|
149
|
+
|
150
|
+
header {
|
151
|
+
padding: 0.75em 10px;
|
152
|
+
}
|
153
|
+
header h1 {
|
154
|
+
font-size: 1.5em;
|
155
|
+
line-height: 1em;
|
156
|
+
margin: 0;
|
157
|
+
}
|
158
|
+
|
159
|
+
footer,
|
160
|
+
main,
|
161
|
+
.ym-searchform,
|
162
|
+
nav .ym-hlist ul {
|
163
|
+
padding-left: 10px;
|
164
|
+
padding-right: 10px;
|
165
|
+
}
|
166
|
+
|
167
|
+
/* Linearisation for Grid- and Column-Module, based on CSS class .linearize-level-2 */
|
168
|
+
.linearize-level-2, .linearize-level-2 > [class*="ym-c"], .linearize-level-2 > [class*="ym-g"] {
|
169
|
+
/* linearization for grids and columns module */
|
170
|
+
display: block;
|
171
|
+
float: none;
|
172
|
+
padding: 0;
|
173
|
+
margin: 0;
|
174
|
+
width: auto !important;
|
175
|
+
}
|
176
|
+
.linearize-level-2 > [class*="ym-c"] > [class*="ym-cbox"], .linearize-level-2 > [class*="ym-g"] > [class*="ym-gbox"] {
|
177
|
+
/* reset defined gutter values */
|
178
|
+
margin: 0;
|
179
|
+
padding: 0;
|
180
|
+
/* optional for containing floats */
|
181
|
+
overflow: hidden;
|
182
|
+
}
|
183
|
+
|
184
|
+
.ym-searchform,
|
185
|
+
nav .ym-hlist ul,
|
186
|
+
nav .ym-hlist li {
|
187
|
+
display: block;
|
188
|
+
float: none;
|
189
|
+
width: auto;
|
190
|
+
text-align: left;
|
191
|
+
}
|
192
|
+
|
193
|
+
.ym-searchform input[type="search"] {
|
194
|
+
width: 75%;
|
195
|
+
}
|
196
|
+
}
|