edge_framework 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.gitignore +6 -3
- data/assets/sass/edge/_base.scss +78 -28
- data/assets/sass/edge/_components.scss +8 -5
- data/assets/sass/edge/_helpers.scss +18 -1
- data/assets/sass/edge/components/{_block_grid.scss → _block-grid-margin.scss} +25 -12
- data/assets/sass/edge/components/_block-grid.scss +110 -0
- data/assets/sass/edge/components/_button.scss +50 -0
- data/assets/sass/edge/components/_form.scss +3 -1
- data/assets/sass/edge/components/_grid-margin.scss +309 -0
- data/assets/sass/edge/components/_grid.scss +147 -205
- data/assets/sass/edge/components/_main.scss +26 -16
- data/assets/sass/edge/components/_normalize.scss +5 -1
- data/assets/sass/edge/components/_print.scss +6 -1
- data/assets/sass/edge/components/_typography.scss +29 -0
- data/assets/sass/edge/components/_visibility.scss +43 -51
- data/assets/sass/edge.scss +9 -6
- data/assets/sass/for-test.scss +75 -0
- data/bin/edge +5 -1
- data/lib/edge/message.rb +38 -0
- data/lib/edge/version.rb +2 -1
- data/lib/edge_framework.rb +36 -21
- data/site/assets/css/app.css +44 -8
- data/site/assets/css/edge.css +83 -40
- data/site/assets/img/favicon-big.png +0 -0
- data/site/assets/img/favicon.png +0 -0
- data/site/assets/img/logo/edge-full.svg +19 -0
- data/site/assets/img/logo/edge-logo-transparent.svg +10 -0
- data/site/assets/img/logo/edge-logo.svg +19 -0
- data/site/assets/sass/_setting.scss +44 -15
- data/site/assets/sass/app.scss +203 -18
- data/site/assets/sass/edge.scss +2 -2
- data/site/config.rb +1 -1
- data/site/views/docs/grid.erb +44 -69
- data/site/views/index.erb +54 -6
- data/site/views/layout.erb +42 -10
- data/site/views/partials/_logo.erb +5 -0
- data/site/views/partials/_logo_full.erb +14 -0
- data/template/base/.gitignore +243 -0
- data/template/base/assets/css/.keep +0 -0
- data/template/base/assets/files/.keep +0 -0
- data/template/base/assets/img/favicon-big.png +0 -0
- data/template/base/assets/sass/_setting.scss +82 -26
- data/template/base/assets/sass/edge-framework.scss +7 -0
- data/template/base/robots.txt +7 -0
- data/template/html/index.html +4 -3
- data/template/php/index.php +8 -2
- data/template/php/partials/_footer.php +2 -2
- data/template/php/partials/_header.php +20 -4
- data/template/php/sample-page/index.php +11 -0
- metadata +20 -9
- data/assets/js/edge.min.js +0 -1
- data/assets/sass/edge/components/_palette.scss +0 -24
- data/lib/edge/engine.rb +0 -16
- data/site/assets/css/normalize.min.css +0 -51
- data/site/assets/js/vendor/handlebars.min.js +0 -2
- data/template/base/assets/sass/edge.scss +0 -3
@@ -1,64 +1,56 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
.show-for-large,
|
11
|
-
.hide-for-small { display: inherit !important; }
|
1
|
+
@mixin visible-on($size, $display: inherit) {
|
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
|
+
&.hide-for-large { display: $display !important; }
|
8
|
+
}
|
9
|
+
}
|
12
10
|
|
11
|
+
// Elements that need special `display`
|
12
|
+
@mixin special-display($size) {
|
13
13
|
table {
|
14
|
-
|
15
|
-
&.hide-for-small { display: none !important; }
|
14
|
+
@include visible-on($size, table);
|
16
15
|
}
|
17
16
|
thead {
|
18
|
-
|
19
|
-
&.hide-for-small { display: table-header-group !important; }
|
17
|
+
@include visible-on($size, table-header-group);
|
20
18
|
}
|
21
19
|
tbody {
|
22
|
-
|
23
|
-
&.hide-for-small { display: table-row-group !important; }
|
20
|
+
@include visible-on($size, table-row-group);
|
24
21
|
}
|
25
22
|
tr {
|
26
|
-
|
27
|
-
&.hide-for-small { display: table-row !important; }
|
23
|
+
@include visible-on($size, table-row);
|
28
24
|
}
|
29
|
-
td,
|
30
|
-
|
31
|
-
|
32
|
-
|
25
|
+
td, th {
|
26
|
+
@include visible-on($size, table-cell);
|
27
|
+
}
|
28
|
+
span, b, em, strong, .bold, .italic, code {
|
29
|
+
@include visible-on($size, inline-block);
|
33
30
|
}
|
31
|
+
}
|
34
32
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
33
|
+
@if $include-visibility {
|
34
|
+
|
35
|
+
/* ---------------
|
36
|
+
EDGE Visibility
|
37
|
+
--------------- */
|
38
|
+
|
39
|
+
/* Above small breakpoint (>$small-screen) */
|
40
|
+
.show-for-small,
|
41
|
+
.hide-for-large { display: none !important; }
|
42
|
+
.show-for-large,
|
43
|
+
.hide-for-small { display: inherit !important; }
|
44
|
+
@include special-display(large);
|
45
|
+
|
46
|
+
/* Below small breakpoint (<=$small-screen) */
|
47
|
+
@include small {
|
48
|
+
.show-for-large,
|
49
|
+
.hide-for-small { display: none !important; }
|
50
|
+
.show-for-small,
|
51
|
+
.hide-for-large { display: inherit !important; }
|
52
|
+
@include special-display(small);
|
53
|
+
}
|
39
54
|
|
40
|
-
|
41
|
-
.hide-for-large { display: inherit !important; }
|
55
|
+
}
|
42
56
|
|
43
|
-
table {
|
44
|
-
&.show-for-small,
|
45
|
-
&.hide-for-large { display: none !important; }
|
46
|
-
}
|
47
|
-
thead {
|
48
|
-
&.show-for-small,
|
49
|
-
&.hide-for-large { display: table-header-group !important; }
|
50
|
-
}
|
51
|
-
tbody {
|
52
|
-
&.show-for-small,
|
53
|
-
&.hide-for-large { display: table-row-group !important; }
|
54
|
-
}
|
55
|
-
tr {
|
56
|
-
&.show-for-small,
|
57
|
-
&.hide-for-large { display: table-row !important; }
|
58
|
-
}
|
59
|
-
td,
|
60
|
-
th {
|
61
|
-
&.show-for-small,
|
62
|
-
&.hide-for-large { display: table-cell !important; }
|
63
|
-
}
|
64
|
-
}
|
data/assets/sass/edge.scss
CHANGED
@@ -1,9 +1,12 @@
|
|
1
1
|
/* ---------------------------------------------------------------
|
2
|
-
EDGE FRAMEWORK - edge.
|
3
|
-
v0.1.0 (
|
4
|
-
Special Thanks:
|
5
|
-
|
6
|
-
|
7
|
-
|
2
|
+
- EDGE FRAMEWORK - edge.setyono.net
|
3
|
+
- v0.1.0 (Abaddon)
|
4
|
+
- Special Thanks:
|
5
|
+
--- Foundation | foundation.zurb.com
|
6
|
+
--- Bootstrap | getbootstrap.com
|
7
|
+
--- Normalize | git.io/normalize
|
8
|
+
--- HTML5 Boilerplate | html5boilerplate.com
|
9
|
+
------------------------------------------------------------------- */
|
8
10
|
|
11
|
+
@import "edge/base";
|
9
12
|
@import "edge/components";
|
@@ -0,0 +1,75 @@
|
|
1
|
+
@import "edge/base";
|
2
|
+
@import "edge/helpers";
|
3
|
+
|
4
|
+
.demo-grid {
|
5
|
+
p {
|
6
|
+
text-align : center;
|
7
|
+
margin : 0;
|
8
|
+
}
|
9
|
+
.column,
|
10
|
+
.columns {
|
11
|
+
p {
|
12
|
+
margin-bottom : em(15px);
|
13
|
+
padding-top : em(10px);
|
14
|
+
padding-bottom : em(10px);
|
15
|
+
background : #eee;
|
16
|
+
text-align : center;
|
17
|
+
}
|
18
|
+
|
19
|
+
.column,
|
20
|
+
.columns {
|
21
|
+
p {
|
22
|
+
background : #ddd;
|
23
|
+
}
|
24
|
+
|
25
|
+
.column,
|
26
|
+
.columns {
|
27
|
+
p {
|
28
|
+
background : #ccc;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.demo-block-grid {
|
36
|
+
p {
|
37
|
+
background : #eee;
|
38
|
+
margin-bottom : em(15px);
|
39
|
+
padding-top : em(10px);
|
40
|
+
padding-bottom : em(10px);
|
41
|
+
text-align : center;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
.custom-block-grid {
|
46
|
+
@include block-grid($per-row:5, $collapse:true);
|
47
|
+
|
48
|
+
@include small {
|
49
|
+
@include block-grid($per-row:2, $collapse:true);
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
.blog-container { // row
|
54
|
+
@include grid-row();
|
55
|
+
.left-menu {
|
56
|
+
@include grid-column($columns:4);
|
57
|
+
@include small {
|
58
|
+
@include grid-column($columns:6, $small:true);
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
.right-content {
|
63
|
+
@include grid-column($columns:8);
|
64
|
+
@include small {
|
65
|
+
@include grid-column($columns:6, $small:true);
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
.center-content {
|
70
|
+
@include grid-column($columns:6, $center:true);
|
71
|
+
@include small {
|
72
|
+
@include grid-column($columns:10, $center:false, $small:true);
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
data/bin/edge
CHANGED
@@ -9,7 +9,11 @@ name = ARGV[2]
|
|
9
9
|
if command == nil || command == 'help' || command == '-h'
|
10
10
|
Edge.help()
|
11
11
|
elsif command == 'create'
|
12
|
-
|
12
|
+
if ARGV.length >= 4
|
13
|
+
Edge.command_too_long()
|
14
|
+
else
|
15
|
+
Edge.create( type, name )
|
16
|
+
end
|
13
17
|
else
|
14
18
|
Edge.not_found( command )
|
15
19
|
end
|
data/lib/edge/message.rb
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
module Edge
|
2
|
+
require "edge/console"
|
3
|
+
require "edge/version"
|
4
|
+
@console = Edge::Console.new
|
5
|
+
|
6
|
+
AVAILABLE_TEMPLATE =
|
7
|
+
<<-EOF.lines.each {|line| line.strip!}
|
8
|
+
Currently these are the available templates:
|
9
|
+
html - Static HTML template
|
10
|
+
php - Standard PHP template
|
11
|
+
EOF
|
12
|
+
|
13
|
+
SYNTAX_CREATE =
|
14
|
+
<<-EOF.lines.each {|line| line.strip!}
|
15
|
+
#{ @console.cyan('edge create <project_type> <project_name>') }
|
16
|
+
#{ @console.yellow('project_type') }
|
17
|
+
#{ AVAILABLE_TEMPLATE }
|
18
|
+
#{ @console.magenta('project_name') }
|
19
|
+
(Optional) If not specified, current directory will be used
|
20
|
+
EOF
|
21
|
+
|
22
|
+
HELP =
|
23
|
+
<<-EOF.lines.each {|line| line.strip!}
|
24
|
+
--------------------------------------------------------
|
25
|
+
Welcome to Edge Framework v-#{ Edge::VERSION } (#{ Edge::CODENAME })
|
26
|
+
--------------------------------------------------------
|
27
|
+
CREATE TEMPLATE
|
28
|
+
#{ SYNTAX_CREATE }
|
29
|
+
EOF
|
30
|
+
|
31
|
+
CREATE_WRONG_SYNTAX =
|
32
|
+
<<-EOF.lines.each {|line| line.strip!}
|
33
|
+
|
34
|
+
WRONG SYNTAX
|
35
|
+
The correct syntax is:
|
36
|
+
#{ SYNTAX_CREATE }
|
37
|
+
EOF
|
38
|
+
end
|
data/lib/edge/version.rb
CHANGED
data/lib/edge_framework.rb
CHANGED
@@ -5,6 +5,9 @@ require "fileutils" # Copy files
|
|
5
5
|
|
6
6
|
module Edge
|
7
7
|
require "edge/console"
|
8
|
+
require "edge/version"
|
9
|
+
require "edge/message"
|
10
|
+
|
8
11
|
@console = Edge::Console.new
|
9
12
|
|
10
13
|
# Create project
|
@@ -20,47 +23,59 @@ module Edge
|
|
20
23
|
puts "Generating #{ @console.yellow(type) } template..."
|
21
24
|
destination = Dir.pwd
|
22
25
|
else
|
23
|
-
puts
|
24
|
-
puts "#{ @console.yellow('project_type') } \t Currently these are the available templates:"
|
25
|
-
puts "\t\t html - Static HTML template"
|
26
|
-
puts "\t\t php - Standard PHP template"
|
27
|
-
puts "#{ @console.magenta('project_name') } \t (Optional) If not specified, the template will be generated in current directory"
|
26
|
+
puts CREATE_WRONG_SYNTAX
|
28
27
|
return false
|
29
28
|
end
|
30
|
-
|
29
|
+
|
31
30
|
# Gem home directory
|
32
31
|
home = File.expand_path( "..", File.dirname(__FILE__) )
|
33
32
|
template = File.join( home, "template" )
|
34
33
|
|
35
|
-
# Copy
|
36
|
-
|
37
|
-
|
34
|
+
# Copy template files
|
35
|
+
template_type = File.join( template, type )
|
36
|
+
# If directory doesn't exist
|
37
|
+
if !File.directory?(template_type)
|
38
|
+
puts "#{ @console.red('Template not found') }"
|
39
|
+
puts AVAILABLE_TEMPLATE
|
40
|
+
return false
|
41
|
+
end
|
42
|
+
FileUtils.cp_r( Dir["#{template_type}/*"], destination )
|
43
|
+
|
44
|
+
# Copy base files
|
45
|
+
base = File.join( template, "base" )
|
46
|
+
FileUtils.cp_r( Dir["#{base}/*"], destination )
|
38
47
|
|
39
|
-
# Copy
|
40
|
-
|
41
|
-
|
48
|
+
# Copy javascript files
|
49
|
+
js_source = File.join( home, "assets", "js" )
|
50
|
+
js_destination = File.join( destination, "assets", "js")
|
51
|
+
FileUtils.cp_r( Dir["#{js_source}/*"], js_destination )
|
42
52
|
|
43
|
-
if name
|
44
|
-
|
53
|
+
if name.nil?
|
54
|
+
compass_command = "#{ @console.cyan('compass watch') }"
|
55
|
+
elsif name.match(/\s/)
|
56
|
+
compass_command = "#{ @console.cyan('compass watch') } #{ @console.cyan('"'+name+'"') }"
|
57
|
+
elsif name
|
58
|
+
compass_command = "#{ @console.cyan('compass watch') } #{ @console.cyan(name) }"
|
45
59
|
else
|
46
|
-
|
60
|
+
compass_command = "#{ @console.cyan('compass watch') }"
|
47
61
|
end
|
62
|
+
puts "#{ @console.green('Done!') } For starter, you can run #{ @console.cyan(compass_command) } to generate the CSS"
|
48
63
|
end
|
49
64
|
|
50
65
|
# Help message
|
51
66
|
def self.help()
|
52
|
-
puts
|
53
|
-
puts "To create template, run #{ @console.cyan('edge create') } #{ @console.yellow('<project_type>') } #{ @console.magenta('<project_name>') }"
|
54
|
-
puts "#{ @console.yellow('project_type') } \t Currently these are the available templates:"
|
55
|
-
puts "\t\t html - Static HTML template"
|
56
|
-
puts "\t\t php - Standard PHP template"
|
57
|
-
puts "#{ @console.magenta('project_name') } \t (Optional) If not specified, the template will be generated in current directory"
|
67
|
+
puts HELP
|
58
68
|
end
|
59
69
|
|
60
70
|
# Error message for non-existance command
|
61
71
|
def self.not_found(command)
|
62
72
|
puts "The command '#{command}' does not exist. Run #{ @console.cyan("edge -h") } for available commands."
|
63
73
|
end
|
74
|
+
|
75
|
+
# Generic message for command that is too long
|
76
|
+
def self.command_too_long()
|
77
|
+
puts "Passed parameters exceed limits. If your #{ @console.cyan("project_name") } contains space, enclose it with double-quote (\")"
|
78
|
+
end
|
64
79
|
end
|
65
80
|
|
66
81
|
if defined?(Compass)
|
data/site/assets/css/app.css
CHANGED
@@ -1,3 +1,47 @@
|
|
1
|
+
.block-hero .logo-letter, .block-hero .logo-shape, .block-feature .feature-button { -webkit-transition: all 0.2s ease-in; -moz-transition: all 0.2s ease-in; -o-transition: all 0.2s ease-in; transition: all 0.2s ease-in; }
|
2
|
+
|
3
|
+
.block-hero { position: relative; background: #efeddf; overflow: hidden; }
|
4
|
+
.block-hero .logo { position: relative; top: 20%; max-height: 18.75em; }
|
5
|
+
@media only screen and (max-width: 767px) { .block-hero .logo { min-height: 0; } }
|
6
|
+
.block-hero .logo-letter, .block-hero .logo-shape { opacity: 0.6; }
|
7
|
+
.block-hero .logo-letter:hover, .block-hero .logo-shape:hover { opacity: 1; }
|
8
|
+
.block-hero .pitch-intro { padding: 1.25em 0.625em 1.25em; z-index: 2; }
|
9
|
+
@media only screen and (max-width: 767px) { .block-hero .pitch-intro { padding-top: 0; } }
|
10
|
+
.block-hero .pitch-intro h1, .block-hero .pitch-intro h2 { font-family: "Source Sans Pro", Helvetica, Arial, sans-serif; font-weight: 300; }
|
11
|
+
.block-hero .pitch-intro h1 { font-size: 3.5em; margin-bottom: 0.35714em; }
|
12
|
+
.block-hero .pitch-intro h2 { font-size: 1.875em; margin-bottom: 0.66667em; }
|
13
|
+
.block-hero .pitch-intro code { background: white; font-size: 1.25em; padding: 0.3125em 0.625em; border: 1px solid rgba(0, 0, 0, 0.1); margin-bottom: 1em; }
|
14
|
+
.block-hero .pitch-intro .hero-button { background: #1d7886; color: white; border: 1px solid #14525c; text-transform: uppercase; font-size: 1.25em; }
|
15
|
+
.block-hero .pitch-intro .hero-button:active { border: 1px solid #0b2d32; }
|
16
|
+
.block-hero .pitch-intro.has-logo { background: #efeddf url("../img/logo/edge-logo-transparent.svg") center right no-repeat; background-size: auto 125%; }
|
17
|
+
@media only screen and (max-width: 767px) { .block-hero .pitch-intro.has-logo { background: none; } }
|
18
|
+
.block-hero .ruby-install { margin-top: 1.29em; }
|
19
|
+
@media only screen and (max-width: 767px) { .block-hero .ruby-install { margin-top: 0; } }
|
20
|
+
@media only screen and (max-width: 767px) { .block-hero { font-size: 12px; background: #efeddf url("../img/logo/edge-logo-transparent.svg") center right no-repeat; background-size: auto 125%; } }
|
21
|
+
|
22
|
+
.block-feature { background: #e4e3d5; padding: 1.25em 0.625em 1.25em; margin-bottom: 0.9375em; }
|
23
|
+
.block-feature .feature-button { display: block; padding: 1.25em 0; color: inherit; text-align: center; }
|
24
|
+
.block-feature .feature-button:hover { color: white; }
|
25
|
+
.block-feature .feature-button:active { -webkit-box-shadow: inset 0.0625em 0.0625em 0.75em rgba(0, 0, 0, 0.1), inset -0.0625em -0.0625em 0.75em rgba(0, 0, 0, 0.1); -moz-box-shadow: inset 0.0625em 0.0625em 0.75em rgba(0, 0, 0, 0.1), inset -0.0625em -0.0625em 0.75em rgba(0, 0, 0, 0.1); box-shadow: inset 0.0625em 0.0625em 0.75em rgba(0, 0, 0, 0.1), inset -0.0625em -0.0625em 0.75em rgba(0, 0, 0, 0.1); }
|
26
|
+
.block-feature .feature-list > li { margin-bottom: 0.9375em; }
|
27
|
+
.block-feature .feature-list > li:nth-child(1) .feature-button { border-top: 2px solid #0099cc; }
|
28
|
+
.block-feature .feature-list > li:nth-child(1) .feature-button:hover { background: #0099cc; }
|
29
|
+
.block-feature .feature-list > li:nth-child(2) .feature-button { border-top: 2px solid #dba924; }
|
30
|
+
.block-feature .feature-list > li:nth-child(2) .feature-button:hover { background: #dba924; }
|
31
|
+
.block-feature .feature-list > li:nth-child(3) .feature-button { border-top: 2px solid #cc0000; }
|
32
|
+
.block-feature .feature-list > li:nth-child(3) .feature-button:hover { background: #cc0000; }
|
33
|
+
.block-feature .feature-list > li:nth-child(4) .feature-button { border-top: 2px solid #99cc00; }
|
34
|
+
.block-feature .feature-list > li:nth-child(4) .feature-button:hover { background: #99cc00; }
|
35
|
+
.block-feature .feature-item { position: relative; background-color: white; -webkit-box-shadow: 0 0.0625em 0.125em rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 0.0625em 0.125em rgba(0, 0, 0, 0.2); box-shadow: 0 0.0625em 0.125em rgba(0, 0, 0, 0.2); }
|
36
|
+
.block-feature .feature-description, .block-feature .feature-title { text-align: center; }
|
37
|
+
.block-feature .feature-description { padding: 0 0.9375em 0.9375em; }
|
38
|
+
.block-feature .feature-title { padding: 0.6em; font-size: 1.5625em; }
|
39
|
+
|
40
|
+
#footer { background: #3F4944; color: #BBB; padding: 2.5em 0.625em 1.25em; }
|
41
|
+
#footer .footer-nav-title { margin-bottom: 0.55556em; }
|
42
|
+
#footer .footer-nav a { padding-bottom: 0.5em; color: inherit; }
|
43
|
+
#footer .copyright { text-align: center; padding: 1.25em 0; }
|
44
|
+
|
1
45
|
.demo-grid p { text-align: center; margin: 0; }
|
2
46
|
.demo-grid .column, .demo-grid .columns { margin-bottom: 15px; padding-top: 10px; padding-bottom: 10px; background: #eee; text-align: center; }
|
3
47
|
.demo-grid .column .column, .demo-grid .column .columns, .demo-grid .columns .column, .demo-grid .columns .columns { background: #ddd; margin-bottom: 0; }
|
@@ -7,12 +51,6 @@
|
|
7
51
|
|
8
52
|
.demo-em { -webkit-box-shadow: inset 0.0625em 0 0.0625em rgba(0, 0, 0, 0.2); -moz-box-shadow: inset 0.0625em 0 0.0625em rgba(0, 0, 0, 0.2); box-shadow: inset 0.0625em 0 0.0625em rgba(0, 0, 0, 0.2); padding: 0.625em 0.9375em 1.5625em; }
|
9
53
|
|
10
|
-
html, body { height: 100%; background-color: #eee; }
|
11
|
-
|
12
|
-
#main-wrapper { min-height: 100%; height: auto !important; height: 100%; margin: 0 auto -54px; max-width: 1440px; background: white; -webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2); -moz-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2); box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2); }
|
13
|
-
|
14
|
-
#footer, #footer-push { margin: 0 auto; height: 54px; max-width: 1440px; }
|
15
|
-
|
16
54
|
.ic { background: url('../img/icons-se85c66def2.png'); display: inline-block; }
|
17
55
|
.ic.bulbasaur { background-position: 0 -100px; height: 100px; width: 100px; }
|
18
56
|
.ic.charizard { background-position: 0 -500px; height: 200px; width: 200px; }
|
@@ -22,5 +60,3 @@ html, body { height: 100%; background-color: #eee; }
|
|
22
60
|
.ic.squirtle { background-position: -100px -100px; height: 100px; width: 100px; }
|
23
61
|
.ic.venusaur { background-position: 0 -700px; height: 200px; width: 200px; }
|
24
62
|
@media only screen and (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { .ic { background: url('../img/icons@2x-sf605bc03f7.png'); background-size: 200px 900px; } }
|
25
|
-
|
26
|
-
body { text-shadow: 2px 2px 3px yellow; }
|
data/site/assets/css/edge.css
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
/* ---------------------------------------------------------------
|
2
|
+
- EDGE FRAMEWORK - edge.setyono.net
|
3
|
+
- v0.1.0 (Abaddon)
|
4
|
+
- Special Thanks:
|
5
|
+
--- Foundation | foundation.zurb.com
|
6
|
+
--- Bootstrap | getbootstrap.com
|
7
|
+
--- Normalize | git.io/normalize
|
8
|
+
--- HTML5 Boilerplate | html5boilerplate.com
|
9
|
+
------------------------------------------------------------------- */
|
1
10
|
/* ---------------------------
|
2
11
|
Normalize | git.io/normalize
|
3
12
|
------------------------------ */
|
@@ -78,21 +87,27 @@ table { border-collapse: collapse; border-spacing: 0; }
|
|
78
87
|
/* ------------------
|
79
88
|
EDGE Boilerplate
|
80
89
|
--------------------- */
|
90
|
+
* { margin: 0; padding: 0; }
|
91
|
+
|
81
92
|
*, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
|
82
93
|
|
83
94
|
html, body { font-size: 16px; }
|
84
95
|
|
85
|
-
body { position: relative; background:
|
96
|
+
body { position: relative; background: #e4e3d5; color: #222222; font-family: "Source Sans Pro", Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; line-height: 1; }
|
86
97
|
|
87
|
-
h1, h2, h3, h4, h5, h6 { font-family: "
|
98
|
+
h1, h2, h3, h4, h5, h6 { font-family: "Bitter", "Helvetica", Helvetica, Arial, sans-serif; }
|
88
99
|
|
89
100
|
p { line-height: 1.5; margin-top: 0; margin-bottom: 0; }
|
90
101
|
|
102
|
+
a { display: inline-block; cursor: pointer; text-decoration: none; }
|
103
|
+
|
104
|
+
ul, ol { list-style: none; }
|
105
|
+
|
91
106
|
hr { display: block; height: 1px; margin: 1em 0; padding: 0; border: 0; border-top: 1px solid #ccc; }
|
92
107
|
|
93
108
|
a:focus { outline: none; }
|
94
109
|
|
95
|
-
h1 { margin: 0; }
|
110
|
+
h1, h2, h3, h4, h5, h6 { margin: 0; }
|
96
111
|
|
97
112
|
fieldset { border: 0; margin: 0; padding: 0; }
|
98
113
|
|
@@ -113,10 +128,6 @@ body { -webkit-animation: bugfix infinite 1s; }
|
|
113
128
|
@-webkit-keyframes bugfix { from { padding: 0; }
|
114
129
|
to { padding: 0; } }
|
115
130
|
|
116
|
-
::-moz-selection { background: #3297fd; text-shadow: none; }
|
117
|
-
|
118
|
-
::selection { background: #3297fd; text-shadow: none; }
|
119
|
-
|
120
131
|
/* Miscellaneous useful HTML classes */
|
121
132
|
.left { float: left !important; }
|
122
133
|
|
@@ -138,14 +149,48 @@ body { -webkit-animation: bugfix infinite 1s; }
|
|
138
149
|
|
139
150
|
.italic, em { font-style: italic !important; }
|
140
151
|
|
152
|
+
ul.inline, ol.inline { list-style-type: none; }
|
153
|
+
ul.inline li, ol.inline li { display: inline-block; }
|
154
|
+
|
141
155
|
.antialiased { -webkit-font-smoothing: antialiased; }
|
142
156
|
|
157
|
+
/* ---------------
|
158
|
+
EDGE Button
|
159
|
+
--------------- */
|
160
|
+
button, .button, input[type="button"], input[type="submit"], input[type="reset"] { position: relative; cursor: pointer; padding: 0.625em 1.25em; -webkit-transition: all 0.1s ease-out; -moz-transition: all 0.1s ease-out; -o-transition: all 0.1s ease-out; transition: all 0.1s ease-out; background: #0099cc; color: white; border: 1px solid #007399; }
|
161
|
+
button:hover, .button:hover, input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover { -webkit-box-shadow: inset 0.0625em 0.0625em 6.1875em rgba(0, 0, 0, 0.1); -moz-box-shadow: inset 0.0625em 0.0625em 6.1875em rgba(0, 0, 0, 0.1); box-shadow: inset 0.0625em 0.0625em 6.1875em rgba(0, 0, 0, 0.1); }
|
162
|
+
button:active, .button:active, input[type="button"]:active, input[type="submit"]:active, input[type="reset"]:active { border: 1px solid #004d66; font-size: 90%; -webkit-box-shadow: inset 0.0625em 0.0625em 6.1875em rgba(0, 0, 0, 0.1), inset 0.0625em 0.0625em 0.75em rgba(0, 0, 0, 0.1), inset -0.0625em -0.0625em 0.75em rgba(0, 0, 0, 0.1); -moz-box-shadow: inset 0.0625em 0.0625em 6.1875em rgba(0, 0, 0, 0.1), inset 0.0625em 0.0625em 0.75em rgba(0, 0, 0, 0.1), inset -0.0625em -0.0625em 0.75em rgba(0, 0, 0, 0.1); box-shadow: inset 0.0625em 0.0625em 6.1875em rgba(0, 0, 0, 0.1), inset 0.0625em 0.0625em 0.75em rgba(0, 0, 0, 0.1), inset -0.0625em -0.0625em 0.75em rgba(0, 0, 0, 0.1); }
|
163
|
+
|
164
|
+
/* ---------------
|
165
|
+
EDGE Typography
|
166
|
+
--------------- */
|
167
|
+
h1 { font-size: 2.75em; }
|
168
|
+
|
169
|
+
h2 { font-size: 2.3125em; }
|
170
|
+
|
171
|
+
h3 { font-size: 1.6875em; }
|
172
|
+
|
173
|
+
h4 { font-size: 1.4375em; }
|
174
|
+
|
175
|
+
h5 { font-size: 1.125em; }
|
176
|
+
|
177
|
+
h6 { font-size: 1em; }
|
178
|
+
|
179
|
+
code { display: inline-block; }
|
180
|
+
code, code pre { font-family: "Source Code Pro", "Consolas", "monospace"; }
|
181
|
+
|
182
|
+
input::-ms-clear { display: none; }
|
183
|
+
|
184
|
+
input::-webkit-calendar-picker-indicator { display: none; }
|
185
|
+
|
186
|
+
input[type="date"]::-webkit-input-placeholder { visibility: hidden !important; }
|
187
|
+
|
143
188
|
/* ---------------
|
144
189
|
EDGE Grid
|
145
190
|
--------------- */
|
146
191
|
body.not-responsive { min-width: 71.25em; }
|
147
192
|
body.only-responsive-below-small { min-width: 71.25em; }
|
148
|
-
@media only screen and (max-width:
|
193
|
+
@media only screen and (max-width: 767px) { body.only-responsive-below-small { min-width: 0; } }
|
149
194
|
|
150
195
|
.row { zoom: 1; width: 100%; max-width: 71.25em; margin: 0 auto; }
|
151
196
|
.row:before, .row:after { content: " "; display: table; }
|
@@ -240,7 +285,7 @@ body.only-responsive-below-small { min-width: 71.25em; }
|
|
240
285
|
.row.collapse .push-10 { margin-right: 0; left: 83.33333%; right: auto; }
|
241
286
|
.row.collapse .pull-10 { margin-right: 0; right: 83.33333%; left: auto; }
|
242
287
|
|
243
|
-
@media only screen and (min-width:
|
288
|
+
@media only screen and (min-width: 767px) { .small-push-2 { left: inherit; }
|
244
289
|
.small-pull-2 { right: inherit; }
|
245
290
|
.small-push-3 { left: inherit; }
|
246
291
|
.small-pull-3 { right: inherit; }
|
@@ -258,7 +303,7 @@ body.only-responsive-below-small { min-width: 71.25em; }
|
|
258
303
|
.small-pull-9 { right: inherit; }
|
259
304
|
.small-push-10 { left: inherit; }
|
260
305
|
.small-pull-10 { right: inherit; } }
|
261
|
-
@media only screen and (max-width:
|
306
|
+
@media only screen and (max-width: 767px) { .row .column, .row .columns, .row.collapse .column, .row.collapse .columns { width: 100%; float: left; }
|
262
307
|
.row .column[class*="push"], .row .column[class*="pull"], .row .columns[class*="push"], .row .columns[class*="pull"], .row.collapse .column[class*="push"], .row.collapse .column[class*="pull"], .row.collapse .columns[class*="push"], .row.collapse .columns[class*="pull"] { left: auto; right: auto; }
|
263
308
|
.row [class*="large-offset"] { margin-left: 0; }
|
264
309
|
.row .small-1 { width: 6.3231%; }
|
@@ -336,7 +381,8 @@ EDGE Block Grid
|
|
336
381
|
.large-block-grid-12 > li:nth-of-type(12n) { margin-right: 0; }
|
337
382
|
.large-block-grid-12.collapse > li { width: 8.33333%; }
|
338
383
|
|
339
|
-
@media only screen and (max-width:
|
384
|
+
@media only screen and (max-width: 767px) { [class*="small-block-grid-"] > li { clear: none !important; }
|
385
|
+
[class*="large-block-grid-"] > li { width: 100%; }
|
340
386
|
[class*="large-block-grid-"] > li:nth-child(n+1) { margin-right: 2.19298%; }
|
341
387
|
.small-block-grid-2 > li { width: 48.90351%; }
|
342
388
|
.small-block-grid-2 > li:nth-of-type(2n) { margin-right: 0; }
|
@@ -376,38 +422,15 @@ EDGE Block Grid
|
|
376
422
|
[class*="block-grid-"].collapse:after { clear: both; }
|
377
423
|
[class*="block-grid-"].collapse > li { display: block; height: auto; float: left; margin-right: 0; }
|
378
424
|
|
379
|
-
/* ------------------------------
|
380
|
-
H5BP PRINT
|
381
|
-
- Style for printing the website
|
382
|
-
--------------------------------- */
|
383
|
-
@media print { * { background: transparent !important; color: #000 !important; /* Black prints faster: h5bp.com/s */ box-shadow: none !important; text-shadow: none !important; }
|
384
|
-
a, a:visited { text-decoration: underline; }
|
385
|
-
a[href]:after { content: " (" attr(href) ")"; }
|
386
|
-
abbr[title]:after { content: " (" attr(title) ")"; }
|
387
|
-
/* Don't show links for images, or javascript/internal links */
|
388
|
-
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
|
389
|
-
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
|
390
|
-
thead { display: table-header-group; /* h5bp.com/t */ }
|
391
|
-
tr, img { page-break-inside: avoid; }
|
392
|
-
img { max-width: 100% !important; }
|
393
|
-
@page { margin: 0.5cm; }
|
394
|
-
p, h2, h3 { orphans: 3; widows: 3; }
|
395
|
-
h2, h3 { page-break-after: avoid; } }
|
396
|
-
input::-ms-clear { display: none; }
|
397
|
-
|
398
|
-
input::-webkit-calendar-picker-indicator { display: none; }
|
399
|
-
|
400
|
-
input[type="date"]::-webkit-input-placeholder { visibility: hidden !important; }
|
401
|
-
|
402
425
|
/* ---------------
|
403
426
|
EDGE Visibility
|
404
427
|
--------------- */
|
405
|
-
/* Above small breakpoint (
|
428
|
+
/* Above small breakpoint (>$small-screen) */
|
406
429
|
.show-for-small, .hide-for-large { display: none !important; }
|
407
430
|
|
408
431
|
.show-for-large, .hide-for-small { display: inherit !important; }
|
409
432
|
|
410
|
-
table.show-for-large, table.hide-for-small { display:
|
433
|
+
table.show-for-large, table.hide-for-small { display: table !important; }
|
411
434
|
|
412
435
|
thead.show-for-large, thead.hide-for-small { display: table-header-group !important; }
|
413
436
|
|
@@ -417,11 +440,31 @@ tr.show-for-large, tr.hide-for-small { display: table-row !important; }
|
|
417
440
|
|
418
441
|
td.show-for-large, td.hide-for-small, th.show-for-large, th.hide-for-small { display: table-cell !important; }
|
419
442
|
|
420
|
-
|
421
|
-
|
443
|
+
span.show-for-large, span.hide-for-small, b.show-for-large, b.hide-for-small, em.show-for-large, em.hide-for-small, strong.show-for-large, strong.hide-for-small, .bold.show-for-large, .bold.hide-for-small, .italic.show-for-large, .italic.hide-for-small, code.show-for-large, code.hide-for-small { display: inline-block !important; }
|
444
|
+
|
445
|
+
/* Below small breakpoint (<=$small-screen) */
|
446
|
+
@media only screen and (max-width: 767px) { .show-for-large, .hide-for-small { display: none !important; }
|
422
447
|
.show-for-small, .hide-for-large { display: inherit !important; }
|
423
|
-
table.show-for-small, table.hide-for-large { display:
|
448
|
+
table.show-for-small, table.hide-for-large { display: table !important; }
|
424
449
|
thead.show-for-small, thead.hide-for-large { display: table-header-group !important; }
|
425
450
|
tbody.show-for-small, tbody.hide-for-large { display: table-row-group !important; }
|
426
451
|
tr.show-for-small, tr.hide-for-large { display: table-row !important; }
|
427
|
-
td.show-for-small, td.hide-for-large, th.show-for-small, th.hide-for-large { display: table-cell !important; }
|
452
|
+
td.show-for-small, td.hide-for-large, th.show-for-small, th.hide-for-large { display: table-cell !important; }
|
453
|
+
span.show-for-small, span.hide-for-large, b.show-for-small, b.hide-for-large, em.show-for-small, em.hide-for-large, strong.show-for-small, strong.hide-for-large, .bold.show-for-small, .bold.hide-for-large, .italic.show-for-small, .italic.hide-for-large, code.show-for-small, code.hide-for-large { display: inline-block !important; } }
|
454
|
+
/* ------------------------------
|
455
|
+
H5BP PRINT
|
456
|
+
- Style for printing the website
|
457
|
+
--------------------------------- */
|
458
|
+
@media print { * { background: transparent !important; color: #000 !important; /* Black prints faster: h5bp.com/s */ box-shadow: none !important; text-shadow: none !important; }
|
459
|
+
a, a:visited { text-decoration: underline; }
|
460
|
+
a[href]:after { content: " (" attr(href) ")"; }
|
461
|
+
abbr[title]:after { content: " (" attr(title) ")"; }
|
462
|
+
/* Don't show links for images, or javascript/internal links */
|
463
|
+
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
|
464
|
+
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
|
465
|
+
thead { display: table-header-group; /* h5bp.com/t */ }
|
466
|
+
tr, img { page-break-inside: avoid; }
|
467
|
+
img { max-width: 100% !important; }
|
468
|
+
@page { margin: 0.5cm; }
|
469
|
+
p, h2, h3 { orphans: 3; widows: 3; }
|
470
|
+
h2, h3 { page-break-after: avoid; } }
|
Binary file
|
data/site/assets/img/favicon.png
CHANGED
Binary file
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
width="612px" height="527.374px" viewBox="0 264.626 612 527.374" enable-background="new 0 264.626 612 527.374"
|
6
|
+
xml:space="preserve">
|
7
|
+
<path fill="#D8BC62" d="M151.593,792.107H3.102l92.007-158.708h70.961l-14.477,27.572h-41.557l-20.681,34.847h41.677l-15.511,27.601
|
8
|
+
H73.613L50.34,764.317h115.73L151.593,792.107z"/>
|
9
|
+
<path fill="#D8BC62" d="M612,792.107H440.974V633.4h79.313l15.511,27.572h-61.17v34.846h35.664l15.511,27.573h-51.175v40.926H596.49
|
10
|
+
L612,792.107z"/>
|
11
|
+
<polygon fill="#D8BC62" points="314,764.427 375.1,661.127 382.2,661.127 382.2,661.026 411.7,661.026 427.2,633.427 354.6,633.427
|
12
|
+
262.8,792.026 377.5,792.026 393.6,792.026 427.2,792.026 427.2,764.427 427.2,723.326 427.2,695.826 395.6,695.826 383,695.826
|
13
|
+
367.5,723.326 395.6,723.326 395.6,764.427 "/>
|
14
|
+
<path fill="#D8BC62" d="M310.979,633.4h-83.897h-15.985h-33.632v27.572V792h72.652l76.458-132.146L310.979,633.4z M209.029,764.318
|
15
|
+
V660.973h81.543l-60.961,103.346H209.029z"/>
|
16
|
+
<polygon fill="#D8BC62" points="486.5,575.927 224.4,575.927 266.3,502.627 443.9,502.627 "/>
|
17
|
+
<polygon fill="#D8BC62" points="306.6,264.626 437.6,491.727 353.1,492.127 264.3,338.126 "/>
|
18
|
+
<polygon fill="#D8BC62" points="125.8,575.927 257,348.827 299.6,421.826 210.6,575.727 "/>
|
19
|
+
</svg>
|