Skip to content
This repository was archived by the owner on May 3, 2020. It is now read-only.

Commit 33c008f

Browse files
committed
First commit
0 parents  commit 33c008f

11 files changed

+799
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.DS_Store
2+
node_modules

demo/css/custom.css

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
/*! stylesheet for jquery.hash-magic.js demo */
2+
3+
html, body {
4+
height: 100%;
5+
}
6+
7+
body {
8+
font-family: 'Open Sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
9+
font-size: 1.5em;
10+
font-weight: 400;
11+
}
12+
13+
a,
14+
a:hover {
15+
color: white;
16+
}
17+
18+
.u-bgc5 {
19+
background-color: #ABB8C2;
20+
}
21+
22+
.navbar {
23+
position: fixed;
24+
top: 0;
25+
width: 100%;
26+
height: 44px;
27+
line-height: 44px;
28+
z-index: 10000;
29+
padding: 0 10px;
30+
background-color: #FFFFFF;
31+
box-shadow: 1px 0 2px #ABB8C2;
32+
}
33+
34+
.navbar > .inner {
35+
display: block;
36+
height: 100%;
37+
}
38+
39+
.navbar-list {
40+
display: table;
41+
}
42+
43+
.navbar-list > .navbar-item {
44+
display: table-cell;
45+
}
46+
47+
.navbar-list > .navbar-item > a {
48+
display: block;
49+
height: 44px;
50+
padding: 0 1rem;
51+
font-weight: 600;
52+
color: #66757F;
53+
}
54+
55+
.navbar-list > .navbar-item > a:hover,
56+
.navbar-list > .navbar-item > a.active {
57+
border-bottom: 3px solid #ABB8C2;
58+
}
59+
60+
.navbar-list > .navbar-item > h1 {
61+
display: inline-block;
62+
}
63+
64+
.navbar-list > .navbar-item > h1 > a {
65+
display: inline-block;
66+
margin-right: 1rem;
67+
color: #ABB8C2;
68+
}
69+
70+
.navbar-list > .navbar-item > h1 > a:hover {
71+
opacity: 0.75;
72+
}
73+
74+
.container {
75+
height: 100%;
76+
}
77+
78+
.section {
79+
position: relative;
80+
height: 100%;
81+
min-height: 500px;
82+
text-align: center;
83+
}
84+
85+
.section > .section-title {
86+
position: absolute;
87+
top: 50%;
88+
width: 100%;
89+
margin-top: -2rem;
90+
font-size: 4rem;
91+
line-height: 1;
92+
color: white;
93+
text-transform: uppercase;
94+
}

demo/css/html5-reset.css

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
/*
2+
HTML5 Reset :: style.css
3+
----------------------------------------------------------
4+
We have learned much from/been inspired by/taken code where offered from:
5+
6+
Eric Meyer :: http://meyerweb.com
7+
HTML5 Doctor :: http://html5doctor.com
8+
and the HTML5 Boilerplate :: http://html5boilerplate.com
9+
10+
-------------------------------------------------------------------------------*/
11+
12+
/* Let's default this puppy out
13+
-------------------------------------------------------------------------------*/
14+
15+
html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, menu, nav, section, time, mark, audio, video, details, summary {
16+
margin: 0;
17+
padding: 0;
18+
border: 0;
19+
font-size: 100%;
20+
font-weight: normal;
21+
vertical-align: baseline;
22+
background: transparent;
23+
}
24+
25+
article, aside, figure, footer, header, nav, section, details, summary {display: block;}
26+
27+
/* consider resetting the default cursor: https://gist.github.com/murtaugh/5247154 */
28+
29+
/* Apply a natural box layout model to all elements: http://paulirish.com/2012/box-sizing-border-box-ftw/ */
30+
*, *:before, *:after {box-sizing: border-box; }
31+
32+
/* Responsive images and other embedded objects
33+
Note: keeping IMG here will cause problems if you're using foreground images as sprites.
34+
If this default setting for images is causing issues, you might want to replace it with a .responsive class instead. */
35+
img,
36+
object,
37+
embed {max-width: 100%;}
38+
39+
/* force a vertical scrollbar to prevent a jumpy page */
40+
html {overflow-y: scroll;}
41+
42+
/* we use a lot of ULs that aren't bulleted.
43+
don't forget to restore the bullets within content. */
44+
ul {list-style: none;}
45+
46+
blockquote, q {quotes: none;}
47+
48+
blockquote:before,
49+
blockquote:after,
50+
q:before,
51+
q:after {content: ''; content: none;}
52+
53+
a {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent;}
54+
55+
del {text-decoration: line-through;}
56+
57+
abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}
58+
59+
/* tables still need cellspacing="0" in the markup */
60+
table {border-collapse: collapse; border-spacing: 0;}
61+
th {font-weight: bold; vertical-align: bottom;}
62+
td {font-weight: normal; vertical-align: top;}
63+
64+
hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}
65+
66+
input, select {vertical-align: middle;}
67+
68+
pre {
69+
white-space: pre; /* CSS2 */
70+
white-space: pre-wrap; /* CSS 2.1 */
71+
white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
72+
word-wrap: break-word; /* IE */
73+
}
74+
75+
input[type="radio"] {vertical-align: text-bottom;}
76+
input[type="checkbox"] {vertical-align: bottom;}
77+
.ie7 input[type="checkbox"] {vertical-align: baseline;}
78+
.ie6 input {vertical-align: text-bottom;}
79+
80+
select, input, textarea {font: 99% sans-serif;}
81+
82+
table {font-size: inherit; font: 100%;}
83+
84+
small {font-size: 85%;}
85+
86+
strong {font-weight: bold;}
87+
88+
td, td img {vertical-align: top;}
89+
90+
/* Make sure sup and sub don't mess with your line-heights http://gist.github.com/413930 */
91+
sub, sup {font-size: 75%; line-height: 0; position: relative;}
92+
sup {top: -0.5em;}
93+
sub {bottom: -0.25em;}
94+
95+
/* standardize any monospaced elements */
96+
pre, code, kbd, samp {font-family: monospace, sans-serif;}
97+
98+
/* hand cursor on clickable elements */
99+
.clickable,
100+
label,
101+
input[type=button],
102+
input[type=submit],
103+
input[type=file],
104+
button {cursor: pointer;}
105+
106+
/* Webkit browsers add a 2px margin outside the chrome of form elements */
107+
button, input, select, textarea {margin: 0;}
108+
109+
/* make buttons play nice in IE */
110+
button,
111+
input[type=button] {width: auto; overflow: visible;}
112+
113+
/* scale images in IE7 more attractively */
114+
.ie7 img {-ms-interpolation-mode: bicubic;}
115+
116+
/* prevent BG image flicker upon hover
117+
(commented out as usage is rare, and the filter syntax messes with some pre-processors)
118+
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}
119+
*/
120+
121+
/* let's clear some floats */
122+
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
123+
.clearfix:after { clear: both; }
124+
.clearfix { zoom: 1; }

0 commit comments

Comments
 (0)