edge_framework 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +13 -12
- data/assets/js/sh/clipboard.swf +0 -0
- data/assets/js/sh/shBrushCss.js +91 -0
- data/assets/js/sh/shBrushJScript.js +52 -0
- data/assets/js/sh/shBrushPhp.js +88 -0
- data/assets/js/sh/shBrushRuby.js +55 -0
- data/assets/js/sh/shBrushSass.js +94 -0
- data/assets/js/sh/shBrushXml.js +71 -0
- data/assets/js/sh/shCore.js +17 -0
- data/assets/sass/edge/_base.scss +21 -55
- data/assets/sass/edge/components/_block-grid-margin.scss +1 -1
- data/assets/sass/edge/components/_block-grid.scss +14 -13
- data/assets/sass/edge/components/_button.scss +16 -16
- data/assets/sass/edge/components/_form.scss +32 -22
- data/assets/sass/edge/components/_grid-margin.scss +1 -1
- data/assets/sass/edge/components/_grid.scss +56 -42
- data/assets/sass/edge/components/_normalize.scss +39 -42
- data/assets/sass/edge/components/_typography.scss +160 -36
- data/assets/sass/edge/components/_visibility.scss +8 -11
- data/assets/sass/edge/helpers/_sticky-footer.scss +4 -0
- data/assets/sass/edge.scss +1 -1
- data/assets/sass/for-test.scss +87 -8
- data/assets/test2.html +62 -0
- data/lib/edge/version.rb +1 -1
- data/template/base/assets/sass/_setting.scss +51 -55
- data/template/base/config.rb +1 -1
- data/template/html/index.html +22 -22
- data/template/php/index.php +6 -6
- data/template/php/partials/footer.php +15 -0
- data/template/php/partials/functions.php +87 -0
- data/template/php/partials/header.php +22 -0
- data/template/php/sample-page/index.php +6 -6
- data/template/wordpress/404.php +10 -0
- data/template/wordpress/category.php +29 -0
- data/template/wordpress/footer.php +15 -0
- data/template/wordpress/functions.php +63 -0
- data/template/wordpress/header.php +22 -0
- data/template/wordpress/index.php +10 -0
- data/template/wordpress/single.php +7 -0
- metadata +21 -5
- data/assets/js/edge/layout.js +0 -10
- data/template/php/partials/_footer.php +0 -15
- data/template/php/partials/_header.php +0 -33
@@ -1,70 +1,194 @@
|
|
1
|
-
//
|
2
|
-
$
|
3
|
-
$
|
4
|
-
$
|
5
|
-
$
|
6
|
-
|
7
|
-
|
1
|
+
// BODY
|
2
|
+
$body-background : #fff !default;
|
3
|
+
$body-font-color : #222 !default;
|
4
|
+
$body-font-weight : normal !default;
|
5
|
+
$body-font-style : normal !default;
|
6
|
+
|
7
|
+
// FONT
|
8
|
+
$header-font-family : "Helvetica Neue", "Helvetica", Helvetica, Arial, "sans-serif" !default;
|
9
|
+
$body-font-family : "Helvetica", Helvetica, Arial, "sans-serif" !default;
|
10
|
+
$code-font-family : "Consolas", Courier, "monospace" !default;
|
8
11
|
|
9
|
-
|
12
|
+
// HEADER
|
13
|
+
$h1-font-size : 44px !default;
|
14
|
+
$h2-font-size : 36px !default;
|
15
|
+
$h3-font-size : 28px !default;
|
16
|
+
$h4-font-size : 22px !default;
|
17
|
+
$h5-font-size : 18px !default;
|
18
|
+
$h6-font-size : 16px !default;
|
19
|
+
|
20
|
+
$header-font-color : $body-font-color !default;
|
21
|
+
$header-font-weight : 700 !default;
|
22
|
+
|
23
|
+
// PARAGRAPH
|
24
|
+
$p-margin-bottom : em(24px) !default;
|
25
|
+
|
26
|
+
// LIST
|
27
|
+
$ul-parent-style : disc !default;
|
28
|
+
$ul-child-style : circle !default;
|
29
|
+
|
30
|
+
$ol-parent-style : decimal !default;
|
31
|
+
$ol-child-style : lower-alpha !default;
|
32
|
+
|
33
|
+
@mixin vertical-rhythm($font-size:$base-font-size, $line-height:1.5) {
|
34
|
+
$base-font-size : $font-size;
|
35
|
+
$base-line-height : $font-size * $line-height;
|
36
|
+
|
37
|
+
font-size : em($font-size);
|
38
|
+
line-height : $line-height;
|
39
|
+
|
40
|
+
h1 { @include adjust-font-size-to($h1-font-size); @include adjust-leading-to(2, $h1-font-size); }
|
41
|
+
h2 { @include adjust-font-size-to($h2-font-size); }
|
42
|
+
h3 { @include adjust-font-size-to($h3-font-size); }
|
43
|
+
h4 { @include adjust-font-size-to($h4-font-size); }
|
44
|
+
h5 { @include adjust-font-size-to($h5-font-size); }
|
45
|
+
h6 { @include adjust-font-size-to($h6-font-size); }
|
46
|
+
|
47
|
+
p {
|
48
|
+
@include trailer(1);
|
49
|
+
&:last-child {
|
50
|
+
@include trailer(0);
|
51
|
+
}
|
52
|
+
+ ul,
|
53
|
+
+ ol {
|
54
|
+
@include trailer(1);
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
10
58
|
|
11
|
-
$
|
59
|
+
@mixin baseline($font-size:$base-font-size, $line-height:1.5) {
|
60
|
+
@include background(
|
61
|
+
linear-gradient(to bottom, rgba(black, 0) 95%, rgba(black, .3) 100%)
|
62
|
+
);
|
63
|
+
background-size: 100% em($font-size * $line-height, $font-size);
|
64
|
+
}
|
12
65
|
|
13
66
|
@if $include-typography {
|
14
67
|
|
15
|
-
/*
|
68
|
+
/* ------------------
|
16
69
|
EDGE Typography
|
17
|
-
|
18
|
-
|
19
|
-
html,
|
20
|
-
body {
|
21
|
-
font-size: $base-font-size;
|
22
|
-
}
|
70
|
+
--------------------- */
|
23
71
|
|
24
72
|
body {
|
25
73
|
position: relative;
|
26
|
-
background: $body-
|
27
|
-
|
74
|
+
background: $body-background;
|
75
|
+
font-size: $base-font-size;
|
28
76
|
font-family: $body-font-family;
|
29
77
|
font-weight: $body-font-weight;
|
30
78
|
font-style: $body-font-style;
|
31
|
-
line-height: $
|
79
|
+
line-height: $base-line-height;
|
80
|
+
color: $body-font-color;
|
81
|
+
}
|
82
|
+
|
83
|
+
.baseline {
|
84
|
+
@include baseline();
|
32
85
|
}
|
33
86
|
|
34
87
|
h1, h2, h3, h4, h5, h6, header {
|
35
|
-
|
88
|
+
color: $header-font-color;
|
89
|
+
font-family: $header-font-family;
|
36
90
|
}
|
37
91
|
|
38
|
-
h1 { font-size: $h1-font-size }
|
39
|
-
h2 { font-size: $h2-font-size }
|
40
|
-
h3 { font-size: $h3-font-size }
|
41
|
-
h4 { font-size: $h4-font-size }
|
42
|
-
h5 { font-size: $h5-font-size; }
|
43
|
-
h6 { font-size: $h6-font-size; }
|
92
|
+
h1 { font-size: em($h1-font-size); }
|
93
|
+
h2 { font-size: em($h2-font-size); }
|
94
|
+
h3 { font-size: em($h3-font-size); }
|
95
|
+
h4 { font-size: em($h4-font-size); }
|
96
|
+
h5 { font-size: em($h5-font-size); }
|
97
|
+
h6 { font-size: em($h6-font-size); }
|
44
98
|
|
45
99
|
p {
|
46
100
|
margin-bottom: $p-margin-bottom;
|
47
|
-
&:last-
|
101
|
+
&:last-child {
|
48
102
|
margin-bottom: 0;
|
49
103
|
}
|
50
104
|
}
|
51
105
|
|
52
106
|
ul, ol {
|
53
|
-
list-style: none; // Clear bullet or numbering on plain <ul>
|
107
|
+
list-style-type: none; // Clear bullet or numbering on plain <ul>
|
108
|
+
|
109
|
+
&.inline-list {
|
110
|
+
@include clearfix();
|
111
|
+
|
112
|
+
> li {
|
113
|
+
display: inline-block;
|
114
|
+
float: left;
|
115
|
+
vertical-align: top;
|
116
|
+
}
|
117
|
+
}
|
54
118
|
}
|
55
119
|
|
56
|
-
.
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
120
|
+
ul.bullet-list, ol {
|
121
|
+
position: relative;
|
122
|
+
counter-reset: ul-counter;
|
123
|
+
padding-left: em(30px);
|
124
|
+
margin-bottom: $p-margin-bottom;
|
125
|
+
|
126
|
+
> li:before {
|
127
|
+
position: absolute;
|
128
|
+
left: 0;
|
129
|
+
content: counter(ul-counter, $ul-parent-style);
|
130
|
+
counter-increment: ul-counter;
|
131
|
+
}
|
132
|
+
|
133
|
+
ul.bullet-list {
|
134
|
+
margin-bottom: 0;
|
135
|
+
> li:before {
|
136
|
+
content: counter(ul-counter, $ul-child-style);
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
ol {
|
142
|
+
> li:before {
|
143
|
+
content: counter(ul-counter, $ol-parent-style) ".";
|
144
|
+
}
|
145
|
+
ol {
|
146
|
+
margin-bottom: 0;
|
147
|
+
> li:before {
|
148
|
+
content: counter(ul-counter, $ol-child-style) ".";
|
149
|
+
}
|
63
150
|
}
|
64
151
|
}
|
65
152
|
|
66
|
-
|
153
|
+
// ol {
|
154
|
+
// position: relative;
|
155
|
+
// counter-reset: ol-counter;
|
67
156
|
|
157
|
+
// li:before {
|
158
|
+
// position: absolute;
|
159
|
+
// left: 0;
|
160
|
+
// content: counter(ol-counter, $ol-parent-style);
|
161
|
+
// counter-increment: ol-counter;
|
162
|
+
// }
|
163
|
+
// }
|
164
|
+
|
165
|
+
.counter-bullet {
|
166
|
+
position: relative;
|
167
|
+
counter-reset: my-counter;
|
168
|
+
padding-left: em(30px);
|
169
|
+
|
170
|
+
li:before {
|
171
|
+
position: absolute;
|
172
|
+
left: 0;
|
173
|
+
content: counter(my-counter, disc);
|
174
|
+
counter-increment: my-counter;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
.counter-number {
|
178
|
+
position: relative;
|
179
|
+
counter-reset: my-counter;
|
180
|
+
padding-left: em(30px);
|
181
|
+
|
182
|
+
li {
|
183
|
+
line-height: 1.5;
|
184
|
+
}
|
185
|
+
|
186
|
+
li:before {
|
187
|
+
position: absolute;
|
188
|
+
left: 0;
|
189
|
+
content: counter(my-counter, decimal);
|
190
|
+
counter-increment: my-counter;
|
191
|
+
}
|
68
192
|
}
|
69
193
|
|
70
194
|
// Code
|
@@ -1,10 +1,8 @@
|
|
1
1
|
@mixin visible-on($size, $display: inherit) {
|
2
2
|
@if $size == large {
|
3
|
-
&.show-for-large,
|
4
|
-
&.hide-for-small { display: $display !important; }
|
5
|
-
} @else if $size == small {
|
6
|
-
&.show-for-small,
|
7
3
|
&.hide-for-large { display: $display !important; }
|
4
|
+
} @else if $size == small {
|
5
|
+
&.hide-for-small { display: $display !important; }
|
8
6
|
}
|
9
7
|
}
|
10
8
|
|
@@ -37,19 +35,18 @@ EDGE Visibility
|
|
37
35
|
--------------- */
|
38
36
|
|
39
37
|
/* Above small breakpoint (>#{$small-screen}) */
|
40
|
-
.show-for-small,
|
41
38
|
.hide-for-large { display: none !important; }
|
42
|
-
|
43
|
-
.hide-for-small { display: inherit !important; }
|
44
|
-
@include special-display(
|
39
|
+
@include medium-up {
|
40
|
+
.hide-for-small { display: inherit !important; }
|
41
|
+
@include special-display(small);
|
42
|
+
}
|
43
|
+
|
45
44
|
|
46
45
|
/* Below small breakpoint (<=#{$small-screen}) */
|
47
46
|
@include small {
|
48
|
-
.show-for-large,
|
49
47
|
.hide-for-small { display: none !important; }
|
50
|
-
.show-for-small,
|
51
48
|
.hide-for-large { display: inherit !important; }
|
52
|
-
@include special-display(
|
49
|
+
@include special-display(large);
|
53
50
|
}
|
54
51
|
|
55
52
|
}
|
data/assets/sass/edge.scss
CHANGED
data/assets/sass/for-test.scss
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
@import "edge/base";
|
2
2
|
@import "edge/helpers";
|
3
3
|
|
4
|
-
@include medium {
|
5
|
-
body {
|
6
|
-
font-size: 14px;
|
7
|
-
}
|
8
|
-
}
|
9
|
-
|
10
4
|
.demo-grid {
|
5
|
+
@include transition($g-transition);
|
11
6
|
p {
|
12
7
|
text-align : center;
|
13
8
|
margin : 0;
|
@@ -80,11 +75,95 @@
|
|
80
75
|
}
|
81
76
|
}
|
82
77
|
|
83
|
-
|
78
|
+
.media-query-wrapper {
|
84
79
|
@include small {
|
85
80
|
background: $red-color;
|
86
81
|
}
|
87
82
|
@include medium-up {
|
88
83
|
background: $green-color;
|
89
84
|
}
|
90
|
-
}
|
85
|
+
}
|
86
|
+
|
87
|
+
[data-page="form"] {
|
88
|
+
input, textarea, select {
|
89
|
+
margin-bottom: 20px;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
.blog-post {
|
94
|
+
@include baseline();
|
95
|
+
@include vertical-rhythm();
|
96
|
+
}
|
97
|
+
|
98
|
+
// [data-page="typography"] {
|
99
|
+
// @mixin adjust-image-leading-to($lines, $font-size: $base-font-size) {
|
100
|
+
// height: rhythm($lines, $font-size);
|
101
|
+
// }
|
102
|
+
|
103
|
+
// h1 {
|
104
|
+
// @include adjust-leading-to(2, $h1-font-size);
|
105
|
+
// }
|
106
|
+
|
107
|
+
// blockquote {
|
108
|
+
// padding-left: 20px;
|
109
|
+
// background: #eee;
|
110
|
+
// @include trailer(1);
|
111
|
+
// @include leader(1);
|
112
|
+
// @include padding-trailer(0.5);
|
113
|
+
// @include padding-leader(0.5);
|
114
|
+
// }
|
115
|
+
|
116
|
+
// table {
|
117
|
+
// @include trailer(1);
|
118
|
+
// }
|
119
|
+
|
120
|
+
// td, th {
|
121
|
+
// @include adjust-leading-to(1);
|
122
|
+
|
123
|
+
// padding-left: 20px;
|
124
|
+
// padding-right: 20px;
|
125
|
+
|
126
|
+
// // @include box-shadow(inset 1px 1px black);
|
127
|
+
|
128
|
+
// // &:last-child {
|
129
|
+
// // @include box-shadow(
|
130
|
+
// // inset 1px 1px black,
|
131
|
+
// // inset -1px 0 black
|
132
|
+
// // );
|
133
|
+
// // }
|
134
|
+
// }
|
135
|
+
|
136
|
+
// // tr:last-child {
|
137
|
+
// // td {
|
138
|
+
// // @include box-shadow(
|
139
|
+
// // inset 1px 1px black,
|
140
|
+
// // inset 0 -1px black
|
141
|
+
// // );
|
142
|
+
|
143
|
+
// // &:last-child {
|
144
|
+
// // @include box-shadow(
|
145
|
+
// // inset 1px 1px black,
|
146
|
+
// // inset -1px -1px black
|
147
|
+
// // );
|
148
|
+
// // }
|
149
|
+
// // }
|
150
|
+
// // }
|
151
|
+
|
152
|
+
// .sidebar {
|
153
|
+
// h2 {
|
154
|
+
// @include trailing-border(5px, 1, $h2-font-size);
|
155
|
+
// @include trailer(1, $h2-font-size);
|
156
|
+
// }
|
157
|
+
|
158
|
+
// h3 {
|
159
|
+
// @include trailer(1, $h3-font-size);
|
160
|
+
// }
|
161
|
+
// li {
|
162
|
+
// cursor: pointer;
|
163
|
+
|
164
|
+
// &:hover {
|
165
|
+
// color: tomato;
|
166
|
+
// }
|
167
|
+
// }
|
168
|
+
// }
|
169
|
+
// }
|
data/assets/test2.html
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width" />
|
6
|
+
<title>Edge Framework</title>
|
7
|
+
|
8
|
+
<!-- VENDOR -->
|
9
|
+
<link rel="stylesheet" href="css/edge.css">
|
10
|
+
|
11
|
+
<!-- APP Specific -->
|
12
|
+
<link rel="stylesheet" href="css/for-test.css">
|
13
|
+
|
14
|
+
<style>
|
15
|
+
.bar1140 {
|
16
|
+
width:1140px; margin:0 auto; background: #333; color: white; position:fixed; top:0;
|
17
|
+
right:0; left:0; z-index: 2; padding: 10px 0;
|
18
|
+
}
|
19
|
+
</style>
|
20
|
+
|
21
|
+
|
22
|
+
<!--SYNTAX HIGHLIGHTER-->
|
23
|
+
<link rel="stylesheet" href="css/sh/shCoreDefault.css" />
|
24
|
+
<script type="text/javascript" src="js/sh/shCore.js"></script>
|
25
|
+
<script type="text/javascript" src="js/sh/shBrushSass.js"></script>
|
26
|
+
<script type="text/javascript" src="js/sh/shBrushCss.js"></script>
|
27
|
+
<script type="text/javascript" src="js/sh/shBrushXml.js"></script>
|
28
|
+
<script type="text/javascript" src="js/sh/shBrushJScript.js"></script>
|
29
|
+
|
30
|
+
<script type="text/javascript">
|
31
|
+
SyntaxHighlighter.config.clipboardSwf = 'js/sh/clipboard.swf';
|
32
|
+
SyntaxHighlighter.all();
|
33
|
+
</script>
|
34
|
+
<style>
|
35
|
+
.hide-for-small {
|
36
|
+
color: red;
|
37
|
+
}
|
38
|
+
.hide-for-large {
|
39
|
+
color: blue;
|
40
|
+
}
|
41
|
+
</style>
|
42
|
+
</head>
|
43
|
+
<body>
|
44
|
+
<div id="main-wrapper">
|
45
|
+
<header class="top-bar"></header>
|
46
|
+
|
47
|
+
<div class="row">
|
48
|
+
<div class="large-8 large-centered column">
|
49
|
+
<p>
|
50
|
+
Lorem ipsum <span class="hide-for-small">show on large</span>, <span class="hide-for-large">show on small</span>. Labore, non eaque dolor fugiat ex provident quis! Reprehenderit reiciendis eum maiores
|
51
|
+
</p>
|
52
|
+
</div>
|
53
|
+
</div>
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
<div id="footer-push"></div>
|
58
|
+
</div>
|
59
|
+
<footer id="footer">
|
60
|
+
</footer>
|
61
|
+
</body>
|
62
|
+
</html>
|
data/lib/edge/version.rb
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
@charset "UTF-8";
|
2
2
|
@import "edge/base";
|
3
3
|
|
4
|
-
//
|
4
|
+
// Override EDGE variables here
|
5
5
|
// To override, uncomment the variable and set the new value
|
6
|
+
// Please keep the measurement unit (px or em) the same.
|
6
7
|
|
7
8
|
// The first thing to change is Font-family and Main color of your site
|
8
9
|
|
@@ -13,19 +14,28 @@
|
|
13
14
|
// $body-font-family : "Helvetica", Helvetica, Arial, "sans-serif";
|
14
15
|
// $code-font-family : "Consolas", Courier, "monospace";
|
15
16
|
|
16
|
-
//
|
17
|
+
// ------------------------------
|
17
18
|
// COLOR
|
18
|
-
// ----------
|
19
19
|
// Two main colors of your site
|
20
|
+
// ------------------------------
|
20
21
|
// $main-color : #0173BC;
|
21
22
|
// $sub-color : #E9E9E9;
|
22
23
|
|
24
|
+
// -----------------------
|
25
|
+
// COLOR PALETTE
|
26
|
+
// These colors below should NEVER be used directly to style
|
27
|
+
// set to another variable like $header-color: $blue-color;
|
28
|
+
// ----------------------------------------------------------
|
29
|
+
// $passive-color : #E9E9E9;
|
30
|
+
// $blue-color : #0173BC;
|
31
|
+
// $yellow-color : #DBA924;
|
32
|
+
// $red-color : #DA2E18;
|
33
|
+
// $green-color : #2CAE34;
|
34
|
+
|
23
35
|
// ---------------
|
24
36
|
// OUTPUT CONFIG
|
25
37
|
// ---------------
|
26
|
-
|
27
|
-
// $full : true; // Output full CSS styling. If false, only gives barebone CSS
|
28
|
-
// $debug : false; // No effect currently, will be used for outputting debug comment
|
38
|
+
// $debug : false; // No effect currently, will be used for nifty-stuff in the future
|
29
39
|
|
30
40
|
// $include-normalize : true;
|
31
41
|
// $include-grid : true;
|
@@ -44,73 +54,59 @@
|
|
44
54
|
// $body-font-color : #222;
|
45
55
|
// $body-font-weight : normal;
|
46
56
|
// $body-font-style : normal;
|
47
|
-
// $body-line-height : 1;
|
48
57
|
|
49
|
-
// $
|
50
|
-
// $
|
51
|
-
|
52
|
-
// --------------
|
53
|
-
// COLOR PALETTE
|
54
|
-
// --------------
|
55
|
-
// These colors below should NEVER be used directly
|
56
|
-
// set to another variable like $header-color: $blue-color;
|
57
|
-
// $passive-color : #E9E9E9;
|
58
|
-
// $blue-color : #0173BC;
|
59
|
-
// $yellow-color : #DBA924;
|
60
|
-
// $red-color : #DA2E18;
|
61
|
-
// $green-color : #2CAE34;
|
58
|
+
// $body-font-size : 16px; // Also being used as base-value for pixel->em converter
|
59
|
+
// $body-line-height : 1;
|
62
60
|
|
63
61
|
// ---------------
|
64
62
|
// GLOBAL VALUE
|
65
63
|
// ---------------
|
66
64
|
// $g-radius : 5px;
|
67
|
-
// $g-round : 1000px;
|
68
65
|
// $g-transition : all 0.2s ease-out;
|
69
66
|
|
70
|
-
// $em-base : 16px; // Base size for px -> em conversion
|
71
|
-
|
72
|
-
// -------------------
|
73
|
-
// MEDIA QUERIES
|
74
|
-
// -------------------
|
75
|
-
// $phone-screen : 480px;
|
76
|
-
// $small-screen : 767px; // Right below iPad
|
77
|
-
// $medium-screen : 1140px;
|
78
|
-
// $large-screen : 1440px;
|
79
|
-
// $retina-screen : 192dpi;
|
80
|
-
|
81
|
-
// ------------------
|
82
|
-
// TEXT DIRECTION
|
83
|
-
// ------------------
|
84
|
-
// $text-direction : ltr; // Controls default global text direction, 'rtl' or 'ltr'
|
85
|
-
|
86
|
-
// ---------------
|
87
|
-
// Typography
|
88
|
-
// ---------------
|
89
|
-
// $h1-font-size: em(44px);
|
90
|
-
// $h2-font-size: em(36px);
|
91
|
-
// $h3-font-size: em(28px);
|
92
|
-
// $h4-font-size: em(22px);
|
93
|
-
// $h5-font-size: em(18px);
|
94
|
-
// $h6-font-size: 1em;
|
95
|
-
|
96
|
-
// $header-font-weight: 700;
|
97
|
-
|
98
|
-
// $p-margin-bottom: em(30px);
|
99
|
-
|
100
67
|
// --------
|
101
68
|
// GRID
|
102
69
|
// --------
|
103
|
-
// $
|
104
|
-
// $row-max-width : $content-width;
|
70
|
+
// $row-max-width : 1140px;
|
105
71
|
// $total-columns : 12;
|
72
|
+
// $column-distance : em(20px);
|
106
73
|
|
107
74
|
// ------------
|
108
75
|
// BLOCK-GRID
|
109
76
|
// ------------
|
110
|
-
// $block-distance : em(15px);
|
111
77
|
// $max-blocks : 12;
|
78
|
+
// $block-distance : 15px;
|
79
|
+
|
80
|
+
// ---------------
|
81
|
+
// Typography
|
82
|
+
// ---------------
|
83
|
+
// $h1-font-size : 44px;
|
84
|
+
// $h2-font-size : 36px;
|
85
|
+
// $h3-font-size : 28px;
|
86
|
+
// $h4-font-size : 22px;
|
87
|
+
// $h5-font-size : 18px;
|
88
|
+
// $h6-font-size : 16px;
|
89
|
+
|
90
|
+
// $header-font-color : $body-font-color;
|
91
|
+
// $header-font-weight : 700;
|
92
|
+
|
93
|
+
// $p-margin-bottom : 24px;
|
94
|
+
|
95
|
+
// -------------------
|
96
|
+
// MEDIA QUERIES
|
97
|
+
// -------------------
|
98
|
+
// $phone-screen : 480px;
|
99
|
+
// $small-screen : 767px; // Right below iPad
|
100
|
+
// $medium-screen : 1140px;
|
101
|
+
// $large-screen : 1440px;
|
102
|
+
// $retina-screen : 192dpi;
|
112
103
|
|
113
104
|
// ----------
|
114
105
|
// BUTTON
|
115
106
|
// ----------
|
116
|
-
// $button-padding : em(10px 20px);
|
107
|
+
// $button-padding : em(10px 20px);
|
108
|
+
|
109
|
+
// ------------------
|
110
|
+
// TEXT DIRECTION
|
111
|
+
// ------------------
|
112
|
+
// $text-direction : ltr; // Controls default global text direction, 'rtl' or 'ltr'
|
data/template/base/config.rb
CHANGED
data/template/html/index.html
CHANGED
@@ -1,39 +1,39 @@
|
|
1
1
|
<!doctype html>
|
2
2
|
<html lang="en">
|
3
3
|
<head>
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<meta name="viewport" content="width=device-width" />
|
6
|
+
<title>My Website</title>
|
7
|
+
<meta name="description" content="This is a description of your website" />
|
8
|
+
<meta name="keywords" content="search, key, word," /> <!-- Comma-separated list for Search keyword -->
|
9
|
+
|
10
|
+
<!-- FAVICON -->
|
11
|
+
<link rel="icon" type="image/png" href="assets/img/favicon.ico">
|
12
|
+
<link rel="apple-touch-icon-precomposed" href="assets/img/favicon-big.png" />
|
13
|
+
|
14
|
+
<!-- VENDOR -->
|
15
|
+
<script type="text/javascript" src="assets/js/vendor/custom.modernizr.js"></script>
|
16
|
+
<link rel="stylesheet" href="assets/css/edge-framework.css">
|
17
17
|
|
18
|
-
|
19
|
-
|
18
|
+
<!-- APP Specific -->
|
19
|
+
<link rel="stylesheet" href="assets/css/app.css">
|
20
20
|
</head>
|
21
21
|
<body>
|
22
22
|
<div id="main-wrapper">
|
23
|
-
|
24
|
-
|
23
|
+
|
24
|
+
<!-- Content goes here -->
|
25
25
|
|
26
|
-
|
26
|
+
<div id="footer-push"></div>
|
27
27
|
</div>
|
28
28
|
<footer id="footer"></footer>
|
29
29
|
|
30
30
|
<!-- Google's Hosted JQuery -->
|
31
31
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
|
32
32
|
<script type="text/javascript">
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
33
|
+
// Use local jquery, if Google's one fails to load
|
34
|
+
if (typeof jQuery == 'undefined') {
|
35
|
+
document.write(unescape("%3Cscript src='assets/js/vendor/jquery.min.js' type='text/javascript'%3E%3C/script%3E"));
|
36
|
+
}
|
37
37
|
</script>
|
38
38
|
<script type="text/javascript" src="assets/js/app.js"></script>
|
39
39
|
</body>
|