blankplate-rails 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,71 @@
1
+ /**
2
+ * BlankPlate | Yet another HTML5 Starter Kit
3
+ *
4
+ * BlankPlate Inputs stylesheet
5
+ *
6
+ * Normally you don't have to make any changes in this file.
7
+ * Your changes should be placed in styles.css file.
8
+ *
9
+ * @copyright Copyright 2012, Dimitris Krestos
10
+ * @license Apache License, Version 2.0 (http://www.opensource.org/licenses/apache2.0.php)
11
+ * @link http://vdw.staytuned.gr/html5-starter-kit-blankplate/
12
+ * @package BlankPlate
13
+ * @version v1.1.0
14
+ */
15
+
16
+ /**
17
+ * INPUTS
18
+ * Basic rules for inputs, textareas and selects
19
+ * -------------------------------------------------------------------------------------------------
20
+ */
21
+ INPUT, TEXTAREA, SELECT {
22
+ background-color: #FFF;
23
+ border: 1px solid #CCC;
24
+ border-radius: 3px;
25
+ display: inline-block;
26
+ font-family: 'Open Sans', sans-serif;
27
+ font-size: 13px;
28
+ margin-bottom: 10px
29
+ }
30
+
31
+ SELECT, INPUT[type="file"] {
32
+ height: 28px !important;
33
+ padding: 4px !important
34
+ }
35
+
36
+ INPUT[type="text"], INPUT[type="password"], TEXTAREA, LABEL {
37
+ padding: 4px
38
+ }
39
+
40
+ INPUT:focus, TEXTAREA:focus {
41
+ border-color: #C6C6C6;
42
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
43
+ outline: 0 none
44
+ }
45
+
46
+ INPUT, TEXTAREA {
47
+ -webkit-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s; /* Saf3.2+, Chrome */
48
+ -moz-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s; /* FF4+ */
49
+ -ms-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s; /* IE10? */
50
+ -o-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s; /* Opera 10.5+ */
51
+ transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
52
+ }
53
+
54
+ SELECT {
55
+ background-color: #FFF
56
+ }
57
+
58
+ OPTION {
59
+ padding: 0 8px
60
+ }
61
+
62
+ LABEL {
63
+ display: block;
64
+ line-height: 18px
65
+ }
66
+
67
+ LABEL.inline {
68
+ display: inline-block;
69
+ line-height: 18px;
70
+ margin-bottom: 10px
71
+ }
@@ -0,0 +1,85 @@
1
+ /**
2
+ * BlankPlate | Yet another HTML5 Starter Kit
3
+ *
4
+ * BlankPlate Media Queries stylesheet
5
+ *
6
+ * @copyright Copyright 2012, Dimitris Krestos
7
+ * @license Apache License, Version 2.0 (http://www.opensource.org/licenses/apache2.0.php)
8
+ * @link http://vdw.staytuned.gr/html5-starter-kit-blankplate/
9
+ * @package BlankPlate
10
+ * @version v1.1.0
11
+ */
12
+
13
+
14
+ /**
15
+ * SMARTPHONES
16
+ *
17
+ * -------------------------------------------------------------------------------------------------
18
+ */
19
+
20
+ /* Smartphones - portrait and landscape */
21
+ @media only screen and (min-device-width: 320px) and (max-device-width: 480px) {}
22
+
23
+ /* Smartphones - landscape */
24
+ @media only screen and (min-width: 321px) {}
25
+
26
+ /* Smartphones - portrait */
27
+ @media only screen and (max-width: 320px) {}
28
+
29
+ /* iPhone 4 */
30
+ @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {}
31
+
32
+
33
+ /**
34
+ * iPADS
35
+ *
36
+ * -------------------------------------------------------------------------------------------------
37
+ */
38
+
39
+ /* iPads - portrait and landscape */
40
+ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {}
41
+
42
+ /* iPads - landscape */
43
+ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
44
+ /* most used */
45
+ }
46
+ /* iPads - portrait */
47
+ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
48
+ /* most used */
49
+ }
50
+
51
+
52
+ /**
53
+ * SCREENS
54
+ *
55
+ * -------------------------------------------------------------------------------------------------
56
+ */
57
+
58
+ /* Desktops and laptops */
59
+ @media only screen and (min-width: 1224px) {
60
+ /* most used */
61
+ }
62
+
63
+ /* Large screens */
64
+ @media only screen and (min-width: 1824px) {}
65
+
66
+
67
+ /**
68
+ * ORIENTATION
69
+ *
70
+ * -------------------------------------------------------------------------------------------------
71
+ */
72
+
73
+ /* General portrait orientation */
74
+ @media only screen and (orientation: portrait) {
75
+ /* eg */
76
+ IMG#bg { height: 100% }
77
+
78
+ }
79
+
80
+ /* General landscape orientation */
81
+ @media only screen and (orientation: landscape) {
82
+ /* eg */
83
+ IMG#bg { width: 100% }
84
+
85
+ }
@@ -0,0 +1,118 @@
1
+ /**
2
+ * BlankPlate | Yet another HTML5 Starter Kit
3
+ *
4
+ * BlankPlate Reset stylesheet
5
+ *
6
+ * Normally you don't have to make any changes in this file.
7
+ * Your changes should be placed in styles.css file.
8
+ *
9
+ * @copyright Copyright 2012, Dimitris Krestos
10
+ * @license Apache License, Version 2.0 (http://www.opensource.org/licenses/apache2.0.php)
11
+ * @link http://vdw.staytuned.gr/html5-starter-kit-blankplate/
12
+ * @package BlankPlate
13
+ * @version v1.1.0
14
+ */
15
+
16
+ /**
17
+ * GLOBAL
18
+ * Reset margins and paadings for all
19
+ * -------------------------------------------------------------------------------------------------
20
+ */
21
+ * {
22
+ margin: 0;
23
+ outline: none;
24
+ padding: 0
25
+ }
26
+
27
+ /**
28
+ * COMMON
29
+ * Based on Eric Meyer's reset (http://meyerweb.com/eric/tools/css/reset/index.html)
30
+ * -------------------------------------------------------------------------------------------------
31
+ */
32
+ 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, 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 {
33
+ background: transparent;
34
+ border: 0;
35
+ font-family: inherit;
36
+ font-size: 100%;
37
+ font-style: inherit;
38
+ font-weight: inherit;
39
+ line-height: 100%;
40
+ vertical-align: baseline
41
+ }
42
+
43
+ /**
44
+ * HTML5 ELEMENTS
45
+ * Handle the following as blocks
46
+ * -------------------------------------------------------------------------------------------------
47
+ */
48
+ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
49
+ display: block
50
+ }
51
+
52
+ /**
53
+ * HEADINGS
54
+ * Reset headings weight
55
+ * -------------------------------------------------------------------------------------------------
56
+ */
57
+ h1, h2, h3, h4, h5, h6 {
58
+ font-weight: normal
59
+ }
60
+
61
+ /**
62
+ * TABLES
63
+ * Reset table borders
64
+ * -------------------------------------------------------------------------------------------------
65
+ */
66
+ table {
67
+ border-collapse: collapse;
68
+ border-spacing: 0
69
+ }
70
+
71
+ /**
72
+ * LISTS
73
+ * Reset list styles
74
+ * -------------------------------------------------------------------------------------------------
75
+ */
76
+ ol, ul {
77
+ list-style: none outside none
78
+ }
79
+
80
+ /**
81
+ * MORE RESET
82
+ *
83
+ * -------------------------------------------------------------------------------------------------
84
+ */
85
+ hr {
86
+ border: 0;
87
+ border-top: 1px solid #CCC;
88
+ display: block;
89
+ height: 1px;
90
+ margin: 1em 0
91
+ }
92
+
93
+ blockquote, q {
94
+ quotes: none
95
+ }
96
+
97
+ /**
98
+ * MORE FIXES
99
+ *
100
+ * -------------------------------------------------------------------------------------------------
101
+ */
102
+ a {
103
+ cursor: pointer
104
+ }
105
+
106
+ iframe, img {
107
+ vertical-align: bottom
108
+ }
109
+
110
+ button, input[type="button"], input[type="reset"], input[type="submit"] {
111
+ *overflow: visible;
112
+ -webkit-appearance: button;
113
+ }
114
+
115
+ blockquote:before, blockquote:after, q:before, q:after {
116
+ content: "";
117
+ content: none
118
+ }
@@ -0,0 +1,63 @@
1
+ /**
2
+ * BlankPlate | Yet another HTML5 Starter Kit
3
+ *
4
+ * BlankPlate Snippets stylesheet
5
+ *
6
+ * Normally you don't have to make any changes in this file.
7
+ * Your changes should be placed in styles.css file.
8
+ *
9
+ * @copyright Copyright 2012, Dimitris Krestos
10
+ * @license Apache License, Version 2.0 (http://www.opensource.org/licenses/apache2.0.php)
11
+ * @link http://vdw.staytuned.gr/html5-starter-kit-blankplate/
12
+ * @package BlankPlate
13
+ * @version v1.1.0
14
+ */
15
+
16
+ /**
17
+ * TEXT SIZE TOOL
18
+ *
19
+ * -------------------------------------------------------------------------------------------------
20
+ */
21
+
22
+ /* Html
23
+ <div class="accessibility">
24
+ TEXT SIZE
25
+ <a href="#">A<span>-</span></a>
26
+ <a href="#">A<span>+</span></a>
27
+ </div>
28
+ */
29
+ .accessibility A:first-child {
30
+ font-size: 14px !important
31
+ }
32
+
33
+ .accessibility A SPAN {
34
+ font-size: 80%;
35
+ position: relative;
36
+ top: -0.4em
37
+ }
38
+
39
+ .accessibility A:first-child SPAN {
40
+ font-size: 80%;
41
+ position: relative;
42
+ top: -0.5em
43
+ }
44
+
45
+ /**
46
+ * FLASH MESSAGE BAR
47
+ *
48
+ * -------------------------------------------------------------------------------------------------
49
+ */
50
+
51
+ /* Html
52
+ <div class="flash">A flash message</div>
53
+ */
54
+ .flash {
55
+ background: rgba(0, 0, 0, 0.4);
56
+ color: white;
57
+ height: 24px;
58
+ padding-top: 6px;
59
+ position: absolute;
60
+ text-align: center;
61
+ top: 0;
62
+ width: 100%
63
+ }
@@ -0,0 +1,88 @@
1
+ /**
2
+ * BlankPlate | Yet another HTML5 Starter Kit
3
+ *
4
+ * BlankPlate Main stylesheet
5
+ *
6
+ * @copyright Copyright 2012, Dimitris Krestos
7
+ * @license Apache License, Version 2.0 (http://www.opensource.org/licenses/apache2.0.php)
8
+ * @link http://vdw.staytuned.gr/html5-starter-kit-blankplate/
9
+ * @package BlankPlate
10
+ * @version v1.1.0
11
+ */
12
+
13
+ /**
14
+ * WORLD
15
+ *
16
+ * -------------------------------------------------------------------------------------------------
17
+ */
18
+ BODY {
19
+ font-size: 13px; /* Override typography */
20
+ }
21
+
22
+ #wrapper {
23
+ margin: 0 auto;
24
+ max-width: 960px;
25
+ }
26
+
27
+ /**
28
+ * HEADER
29
+ * Your header rules
30
+ * -------------------------------------------------------------------------------------------------
31
+ */
32
+ HEADER {}
33
+
34
+ /**
35
+ * NAVIGATION
36
+ * Your horizontal (global) navigation rules
37
+ * -------------------------------------------------------------------------------------------------
38
+ */
39
+ NAV {}
40
+
41
+ NAV UL { /* Level 0 */
42
+ float: left;
43
+ }
44
+
45
+ /**
46
+ * ASIDE
47
+ * Your side bar rules
48
+ * -------------------------------------------------------------------------------------------------
49
+ */
50
+ ASIDE {
51
+ float: left
52
+ }
53
+
54
+ /**
55
+ * BODY
56
+ * Your content rules
57
+ * -------------------------------------------------------------------------------------------------
58
+ */
59
+ SECTION#body {
60
+ float: left;
61
+ width: 100%;
62
+ }
63
+
64
+ ARTICLE {}
65
+
66
+ /**
67
+ * CONTACT
68
+ * Your form rules
69
+ * -------------------------------------------------------------------------------------------------
70
+ */
71
+ .contact FORM {}
72
+
73
+ .contact FORM INPUT[type="text"] {
74
+ padding: 0 10px;
75
+ }
76
+
77
+ .contact FORM INPUT[type="submit"] {
78
+ margin: 0;
79
+ }
80
+
81
+ /**
82
+ * FOOTER
83
+ * Your footer rules
84
+ * -------------------------------------------------------------------------------------------------
85
+ */
86
+ FOOTER {
87
+ padding: 1em 0 2em 0;
88
+ }
@@ -0,0 +1,222 @@
1
+ /**
2
+ * BlankPlate | Yet another HTML5 Starter Kit
3
+ *
4
+ * BlankPlate Basic Typography stylesheet
5
+ *
6
+ * Normally you don't have to make any changes in this file.
7
+ * Your changes should be placed in styles.css file.
8
+ *
9
+ * @copyright Copyright 2012, Dimitris Krestos
10
+ * @license Apache License, Version 2.0 (http://www.opensource.org/licenses/apache2.0.php)
11
+ * @link http://vdw.staytuned.gr/html5-starter-kit-blankplate/
12
+ * @package BlankPlate
13
+ * @version v1.1.0
14
+ */
15
+
16
+ /**
17
+ * FONTS
18
+ * A font face implementation
19
+ * -------------------------------------------------------------------------------------------------
20
+ */
21
+ /*
22
+ @font-face {
23
+ font-family: 'TheDummyFontID';
24
+ src: url('fonts/dummyfont.eot'); /* IE6–8 */
25
+
26
+ /* FF3.6+, IE9, Chrome6+, Saf5.1+ */
27
+ /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
28
+ /*
29
+ src: url('fonts/dummyfont.eot?#iefix') format('embedded-opentype'),
30
+ url('fonts/dummyfont.woff') format('woff'),
31
+ url('fonts/dummyfont.ttf') format('truetype'),
32
+ url('fonts/dummyfont.svg#TheDummyFontID') format('svg');
33
+ font-weight: normal;
34
+ font-style: normal;
35
+ }
36
+ */
37
+ /**
38
+ * TYPOGRAPHY
39
+ * A basic declaration of common elements
40
+ * -------------------------------------------------------------------------------------------------
41
+ */
42
+ BODY {
43
+ color: #404040;
44
+ font-family: Georgia, Palatino, "Palatino Linotype", Times, "Times New Roman", serif;
45
+
46
+ /*
47
+ Some basic font stacks from cssfontstack.com
48
+
49
+ Sans Serif
50
+ font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
51
+ font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
52
+ font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
53
+ font-family: Tahoma, Verdana, Segoe, sans-serif;
54
+ font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
55
+ font-family: Verdana, Geneva, sans-serif;
56
+
57
+ Serif
58
+ font-family: Georgia, Palatino, "Palatino Linotype", Times, "Times New Roman", serif;
59
+ font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif;
60
+
61
+ Monospaced
62
+ font-family: Consolas, monaco, monospace;
63
+ font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
64
+ font-family: "Lucida Sans Typewriter", "Lucida Console", Monaco, "Bitstream Vera Sans Mono", monospace;
65
+ */
66
+
67
+ /* Ratio ~1.38 */
68
+ font-size: 0.813em; /* ~13px */
69
+ line-height: 1.385em; /* ~18px */
70
+ }
71
+
72
+ A {
73
+ color: black;
74
+ text-decoration: none
75
+ }
76
+
77
+ A:hover {
78
+ text-decoration: underline
79
+ }
80
+
81
+ H1 {
82
+ font-size: 2.308em; /* 30px */
83
+ line-height: 1.500em; /* 44px */
84
+ }
85
+
86
+ H2 {
87
+ font-size: 1.846em; /* 24px */
88
+ line-height: 1.500em; /* 36px */
89
+ }
90
+
91
+ H3 {
92
+ font-size: 1.538em; /* 20px */
93
+ line-height: 1.500em; /* 27px */
94
+ }
95
+
96
+ H4 {
97
+ font-size: 1.385em; /* 18px */
98
+ line-height: 1.500em; /* 24px */
99
+ }
100
+
101
+ H5, H6 {
102
+ font-size: 1.231em; /* 16px */
103
+ line-height: 1.500em; /* 24px */
104
+ }
105
+
106
+ H1, H2, H3, H4, H5, H6 {
107
+ color: #333
108
+ }
109
+
110
+ H1 A, H2 A, H3 A, H4 A, H5 A, H6 A {
111
+ color: inherit;
112
+ font-weight: inherit
113
+ }
114
+
115
+ HR {
116
+ border-top-color: #CCC
117
+ }
118
+
119
+ P {
120
+ line-height: 1.385em;
121
+ margin-bottom: 1.077em; /* ~ line-height * 0.75 */
122
+ }
123
+
124
+ P:empty { /* Hide empty paragraphs */
125
+ display: none
126
+ }
127
+
128
+ UL, OL { /* Horizontal & vertical list */
129
+ margin: 1.077em 0 1.077em 1.538em; /* 14px 0 14px 20px */
130
+ }
131
+
132
+ UL LI, OL LI {
133
+ line-height: 1.385em
134
+ }
135
+
136
+ UL.vertical {
137
+ margin: 0
138
+ }
139
+
140
+ UL.horizontal {
141
+ display: inline;
142
+ margin: 0
143
+ }
144
+
145
+ UL.horizontal > LI {
146
+ display: inline-block;
147
+
148
+ /* IE */
149
+ *margin: 1px;
150
+ zoom: 1;
151
+ *display: inline;
152
+ }
153
+
154
+ BLOCKQUOTE {
155
+ border-left: 0.308em solid #EEE; /* 4px */
156
+ color: #666;
157
+ margin-bottom: 0.769em; /* 10px */
158
+ margin-left: 1.538em; /* 20px */
159
+ margin-top: 0.769em; /* 10px */
160
+ padding-left: 0.769em; /* 10px */
161
+ }
162
+
163
+ PRE {
164
+ color: #333;
165
+ display: block;
166
+ font-family: Courier, 'Courier New', monospace;
167
+ margin: 0 0.154em; /* 0 2px */
168
+ padding: 0.154em 0.308em; /* 2px 4px */
169
+ }
170
+
171
+ CODE {
172
+ background-color: #F8F8F8;
173
+ border: 1px solid #CCC;
174
+ border-radius: 0.231em; /* 3px */
175
+ color: #333;
176
+ display: block;
177
+ font-family: Courier, 'Courier New', monospace;
178
+ margin: 0 0.154em; /* 0 2px */
179
+ padding: 0.154em 0.308em; /* 2px 4px */
180
+ }
181
+
182
+ CODE.monokai { /* Based on Monokai scheme colors */
183
+ background-color: #272822;
184
+ color: #FB4383
185
+ }
186
+
187
+ P > CODE {
188
+ display: inline-block
189
+ }
190
+
191
+ P B, LI B, P STRONG, LI STRONG {
192
+ font-weight: bold
193
+ }
194
+
195
+ P I, LI I, P EM, LI EM {
196
+ font-style: italic
197
+ }
198
+
199
+ ARTICLE.capitalise H2 + P:first-letter { /* Capitalise first letter of the paragraph */
200
+ font-size: 2.769em; /* 36px */
201
+ float: left;
202
+ letter-spacing: 0.111em;/* 4px */
203
+ margin-top: 0.167em; /* 6px */
204
+ }
205
+
206
+ ARTICLE UL {
207
+ list-style: disc outside none;
208
+ margin-left: 2.615em; /* 34px */
209
+ }
210
+
211
+ ARTICLE OL {
212
+ list-style: decimal outside none;
213
+ margin-left: 2.615em; /* 34px */
214
+ }
215
+
216
+ input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { /* Styles for imput's placeholder */
217
+ color: #C0C0C0
218
+ }
219
+
220
+ input:-moz-placeholder, textarea:-moz-placeholder {
221
+ color: #C0C0C0
222
+ }
@@ -0,0 +1,13 @@
1
+ /*
2
+ *= require blankplate/reset
3
+ *= require blankplate/grid
4
+ *= require blankplate/typography
5
+ *= require blankplate/helpers
6
+ *= require blankplate/inputs
7
+ *= require blankplate/buttons
8
+ *= require blankplate/snippets
9
+ *= require blankplate/styles
10
+ *= require blankplate/media
11
+ *= require blankplate/conditions
12
+ *= require blankplate/diagnostics
13
+ */