site/assets/css/edge.css in edge_framework-0.1.0 vs site/assets/css/edge.css in edge_framework-0.2.0
- old
+ new
@@ -1,5 +1,14 @@
+/* ---------------------------------------------------------------
+- EDGE FRAMEWORK - edge.setyono.net
+- v0.1.0 (Abaddon)
+- Special Thanks:
+--- Foundation | foundation.zurb.com
+--- Bootstrap | getbootstrap.com
+--- Normalize | git.io/normalize
+--- HTML5 Boilerplate | html5boilerplate.com
+------------------------------------------------------------------- */
/* ---------------------------
Normalize | git.io/normalize
------------------------------ */
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }
@@ -76,25 +85,31 @@
table { border-collapse: collapse; border-spacing: 0; }
/* ------------------
EDGE Boilerplate
--------------------- */
+* { margin: 0; padding: 0; }
+
*, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
html, body { font-size: 16px; }
-body { position: relative; background: white; color: #222222; padding: 0; margin: 0; font-family: "Open Sans", Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; line-height: 1; }
+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; }
-h1, h2, h3, h4, h5, h6 { font-family: "Roboto Slab", "Helvetica", Helvetica, Arial, sans-serif; }
+h1, h2, h3, h4, h5, h6 { font-family: "Bitter", "Helvetica", Helvetica, Arial, sans-serif; }
p { line-height: 1.5; margin-top: 0; margin-bottom: 0; }
+a { display: inline-block; cursor: pointer; text-decoration: none; }
+
+ul, ol { list-style: none; }
+
hr { display: block; height: 1px; margin: 1em 0; padding: 0; border: 0; border-top: 1px solid #ccc; }
a:focus { outline: none; }
-h1 { margin: 0; }
+h1, h2, h3, h4, h5, h6 { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
img, object, embed { max-width: 100%; height: auto; }
@@ -111,14 +126,10 @@
body { -webkit-animation: bugfix infinite 1s; }
@-webkit-keyframes bugfix { from { padding: 0; }
to { padding: 0; } }
-::-moz-selection { background: #3297fd; text-shadow: none; }
-
-::selection { background: #3297fd; text-shadow: none; }
-
/* Miscellaneous useful HTML classes */
.left { float: left !important; }
.right { float: right !important; }
@@ -136,18 +147,52 @@
.bold, b, strong { font-weight: 700 !important; }
.italic, em { font-style: italic !important; }
+ul.inline, ol.inline { list-style-type: none; }
+ul.inline li, ol.inline li { display: inline-block; }
+
.antialiased { -webkit-font-smoothing: antialiased; }
/* ---------------
+EDGE Button
+--------------- */
+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; }
+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); }
+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); }
+
+/* ---------------
+EDGE Typography
+--------------- */
+h1 { font-size: 2.75em; }
+
+h2 { font-size: 2.3125em; }
+
+h3 { font-size: 1.6875em; }
+
+h4 { font-size: 1.4375em; }
+
+h5 { font-size: 1.125em; }
+
+h6 { font-size: 1em; }
+
+code { display: inline-block; }
+code, code pre { font-family: "Source Code Pro", "Consolas", "monospace"; }
+
+input::-ms-clear { display: none; }
+
+input::-webkit-calendar-picker-indicator { display: none; }
+
+input[type="date"]::-webkit-input-placeholder { visibility: hidden !important; }
+
+/* ---------------
EDGE Grid
--------------- */
body.not-responsive { min-width: 71.25em; }
body.only-responsive-below-small { min-width: 71.25em; }
-@media only screen and (max-width: 47.9375em) { body.only-responsive-below-small { min-width: 0; } }
+@media only screen and (max-width: 767px) { body.only-responsive-below-small { min-width: 0; } }
.row { zoom: 1; width: 100%; max-width: 71.25em; margin: 0 auto; }
.row:before, .row:after { content: " "; display: table; }
.row:after { clear: both; }
.row .column, .row .columns { position: relative; margin-right: 2.19298%; float: left; }
@@ -238,11 +283,11 @@
.row .push-10 { left: 85.16082%; right: auto; }
.row .pull-10 { right: 85.16082%; left: auto; }
.row.collapse .push-10 { margin-right: 0; left: 83.33333%; right: auto; }
.row.collapse .pull-10 { margin-right: 0; right: 83.33333%; left: auto; }
-@media only screen and (min-width: 47.9375em) { .small-push-2 { left: inherit; }
+@media only screen and (min-width: 767px) { .small-push-2 { left: inherit; }
.small-pull-2 { right: inherit; }
.small-push-3 { left: inherit; }
.small-pull-3 { right: inherit; }
.small-push-4 { left: inherit; }
.small-pull-4 { right: inherit; }
@@ -256,11 +301,11 @@
.small-pull-8 { right: inherit; }
.small-push-9 { left: inherit; }
.small-pull-9 { right: inherit; }
.small-push-10 { left: inherit; }
.small-pull-10 { right: inherit; } }
-@media only screen and (max-width: 47.9375em) { .row .column, .row .columns, .row.collapse .column, .row.collapse .columns { width: 100%; float: left; }
+@media only screen and (max-width: 767px) { .row .column, .row .columns, .row.collapse .column, .row.collapse .columns { width: 100%; float: left; }
.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; }
.row [class*="large-offset"] { margin-left: 0; }
.row .small-1 { width: 6.3231%; }
.row .small-2 { width: 14.83918%; }
.row .small-3 { width: 23.35526%; }
@@ -334,11 +379,12 @@
.large-block-grid-12 > li { width: 6.3231%; }
.large-block-grid-12 > li:nth-of-type(12n) { margin-right: 0; }
.large-block-grid-12.collapse > li { width: 8.33333%; }
-@media only screen and (max-width: 47.9375em) { [class*="small-block-grid-"] > li { clear: none !important; }
+@media only screen and (max-width: 767px) { [class*="small-block-grid-"] > li { clear: none !important; }
+ [class*="large-block-grid-"] > li { width: 100%; }
[class*="large-block-grid-"] > li:nth-child(n+1) { margin-right: 2.19298%; }
.small-block-grid-2 > li { width: 48.90351%; }
.small-block-grid-2 > li:nth-of-type(2n) { margin-right: 0; }
.small-block-grid-2.collapse > li { width: 50%; }
.small-block-grid-3 > li { width: 31.87135%; }
@@ -374,54 +420,51 @@
[class*="block-grid-"].collapse { display: block; padding: 0; zoom: 1; }
[class*="block-grid-"].collapse:before, [class*="block-grid-"].collapse:after { content: " "; display: table; }
[class*="block-grid-"].collapse:after { clear: both; }
[class*="block-grid-"].collapse > li { display: block; height: auto; float: left; margin-right: 0; }
-/* ------------------------------
-H5BP PRINT
-- Style for printing the website
---------------------------------- */
-@media print { * { background: transparent !important; color: #000 !important; /* Black prints faster: h5bp.com/s */ box-shadow: none !important; text-shadow: none !important; }
- a, a:visited { text-decoration: underline; }
- a[href]:after { content: " (" attr(href) ")"; }
- abbr[title]:after { content: " (" attr(title) ")"; }
- /* Don't show links for images, or javascript/internal links */
- .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
- pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
- thead { display: table-header-group; /* h5bp.com/t */ }
- tr, img { page-break-inside: avoid; }
- img { max-width: 100% !important; }
- @page { margin: 0.5cm; }
- p, h2, h3 { orphans: 3; widows: 3; }
- h2, h3 { page-break-after: avoid; } }
-input::-ms-clear { display: none; }
-
-input::-webkit-calendar-picker-indicator { display: none; }
-
-input[type="date"]::-webkit-input-placeholder { visibility: hidden !important; }
-
/* ---------------
EDGE Visibility
--------------- */
-/* Above small breakpoint (>=768px) */
+/* Above small breakpoint (>$small-screen) */
.show-for-small, .hide-for-large { display: none !important; }
.show-for-large, .hide-for-small { display: inherit !important; }
-table.show-for-large, table.hide-for-small { display: none !important; }
+table.show-for-large, table.hide-for-small { display: table !important; }
thead.show-for-large, thead.hide-for-small { display: table-header-group !important; }
tbody.show-for-large, tbody.hide-for-small { display: table-row-group !important; }
tr.show-for-large, tr.hide-for-small { display: table-row !important; }
td.show-for-large, td.hide-for-small, th.show-for-large, th.hide-for-small { display: table-cell !important; }
-/* Below small breakpoint (<768px) */
-@media only screen and (max-width: 47.9375em) { .show-for-large, .hide-for-small { display: none !important; }
+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; }
+
+/* Below small breakpoint (<=$small-screen) */
+@media only screen and (max-width: 767px) { .show-for-large, .hide-for-small { display: none !important; }
.show-for-small, .hide-for-large { display: inherit !important; }
- table.show-for-small, table.hide-for-large { display: none !important; }
+ table.show-for-small, table.hide-for-large { display: table !important; }
thead.show-for-small, thead.hide-for-large { display: table-header-group !important; }
tbody.show-for-small, tbody.hide-for-large { display: table-row-group !important; }
tr.show-for-small, tr.hide-for-large { display: table-row !important; }
- td.show-for-small, td.hide-for-large, th.show-for-small, th.hide-for-large { display: table-cell !important; } }
+ td.show-for-small, td.hide-for-large, th.show-for-small, th.hide-for-large { display: table-cell !important; }
+ 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; } }
+/* ------------------------------
+H5BP PRINT
+- Style for printing the website
+--------------------------------- */
+@media print { * { background: transparent !important; color: #000 !important; /* Black prints faster: h5bp.com/s */ box-shadow: none !important; text-shadow: none !important; }
+ a, a:visited { text-decoration: underline; }
+ a[href]:after { content: " (" attr(href) ")"; }
+ abbr[title]:after { content: " (" attr(title) ")"; }
+ /* Don't show links for images, or javascript/internal links */
+ .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
+ pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
+ thead { display: table-header-group; /* h5bp.com/t */ }
+ tr, img { page-break-inside: avoid; }
+ img { max-width: 100% !important; }
+ @page { margin: 0.5cm; }
+ p, h2, h3 { orphans: 3; widows: 3; }
+ h2, h3 { page-break-after: avoid; } }