diff --git a/404.html b/404.html deleted file mode 100644 index a24448f41..000000000 --- a/404.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - Your Page Title Here :) - - - - - - - - - - - - - - - - - - - - - - -
-

Sorry. Couldn't Find That Page!

-
- - - - \ No newline at end of file diff --git a/css/custom.css b/css/custom.css new file mode 100755 index 000000000..dfa95b59c --- /dev/null +++ b/css/custom.css @@ -0,0 +1,318 @@ +/* ---- Themes ---- */ +/* using data-theme attributes to allow switching via javascript */ +html[data-theme="dark"] { + /* dark theme: light background, dark text, blue accent */ + --theme-hue: 0; /* black */ + --accent-hue: 194; /* blue */ + + --text-color-richer: hsl(var(--theme-hue), 0%, 95%); /* */ + --text-color-normal: hsl(var(--theme-hue), 0%, 80%); /* text color; button:hover:focus color */ + --text-color-softer: hsl(var(--theme-hue), 0%, 67%); /* button color; button:hover border */ + + --accent-color: hsl(var(--accent-hue), 76%, 49%); /* link; button-primary bg+border; textarea,select:focus border */ + --accent-color-hover: hsl(var(--accent-hue), 86%, 57%); /* link hover; button-primary:hover:focus bg+border */ + + --border-color: hsl(var(--theme-hue), 0%, 27%); /* button border */ + --border-color-softer: hsl(var(--theme-hue), 0%, 20%); /* textarea,select,code,td,hr border */ + + --background-color: hsl(var(--theme-hue), 0%, 12%); /* body background; textarea,select background */ + --background-color-softer: hsl(var(--theme-hue), 0%, 18%); + --code-background: hsl(var(--theme-hue), 0%, 5%); /* code background*/ + + --button-primary-color: white; +} + +/* when prefers-color-scheme supported, these can be in single media query with above */ +html[data-theme="dark"] img.value-img { + filter: invert(0.8); +} +html[data-theme="dark"] img { + opacity: .90; + transition: opacity .5s ease-in-out; +} + +/* add a transition to ease into new themes */ +/* looks best in Mozilla, text transitions late in Safari/Chrome */ +html.transition-theme, +html.transition-theme *, +html.transition-theme *:before, +html.transition-theme *:after { + transition: all 650ms !important; + transition-delay: 0 !important; +} + + +/* ---- General ---- */ +.container { + max-width: 800px; } +.docs-header { + text-transform: uppercase; + letter-spacing: .2rem; + font-weight: 600; } +.docs-section { + border-top: 1px solid var(--border-color-softer); + padding: 4rem 0; + margin-bottom: 0;} +ul { + margin-left: 2rem; +} +.docs-example .row, .docs-example.row, .docs-example form { + margin-bottom: 0; } +.docs-example h1, .docs-example h2, .docs-example h3, +.docs-example h4, .docs-example h5, .docs-example h6 { + margin-bottom: 1rem; } +.heading-font-size { + font-size: 1.2rem; + color: #999; + letter-spacing: normal; } +.example { + position: relative; + margin-top: 4rem; } +.example-header { + font-weight: 600; + margin-top: 1.5rem; + margin-bottom: .5rem; } + +@media (min-width: 600px) { + .example-grid .column, + .example-grid .columns { + margin-bottom: 1.5rem; } + .docs-section { + padding: 6rem 0; } + .example-send-yourself-copy { + float: right; + margin-top: 12px; } +} + + +/* ---- Header ---- */ +.header { + margin-top: 6rem; + text-align: center; } +.value-prop { + margin-top: 1rem; } +.value-props { + margin-top: 4rem; + margin-bottom: 4rem; } +i.fas, i.fab { + font-size: 5rem; + display: block; + margin: 0 auto 2rem;} + /* grids to 3 columns above mobile sizes */ +@media (min-width: 600px) { + .header { + margin-top: 18rem; } + .value-header { + grid-column: 1 / span 3; + margin-top: 2rem; } + .value-props { + margin-top: 9rem; + margin-bottom: 7rem; } + .value-img { + margin-bottom: 1rem; } +} + +/* ---- Grid ---- */ +/* selects all grid-items (direct children of a grid container) */ +.grid-container-example > * { + background: var(--background-color-softer); + border-radius: 0.4rem; + font-size: 1.2rem; + text-transform: uppercase; + line-height: 2.4em; + height: 2.4em; +} + +/* ---- Nav ---- */ +.navbar { + display: none; } +@media (min-width: 600px) { + .navbar + .docs-section { + border-top-width: 0; } + .navbar, + .navbar-spacer { + display: block; + width: 100%; + height: 5rem; + background: var(--background-color); + z-index: 99; + border-top: 1px solid var(--border-color-softer); + border-bottom: 1px solid var(--border-color-softer); } + .navbar-spacer { + display: none; } + .navbar > .container { + width: 100%; } + .navbar-list { + list-style: none; + margin-bottom: 0; } + .navbar-item { + position: relative; + float: left; + margin-bottom: 0; } + .navbar-link { + text-transform: uppercase; + font-size: 1.3rem; + font-weight: 600; + letter-spacing: .2rem; + margin-right: 35px; + text-decoration: none; + line-height: 5rem; + color: var(--text-color-normal); } + .navbar-link.active { + color: var(--accent-color); } + .has-docked-nav .navbar { + position: fixed; + top: 0; + left: 0; } + .has-docked-nav .navbar-spacer { + display: block; } + /* Re-overiding the width 100% declaration to match size of % based container */ + .has-docked-nav .navbar > .container { + width: 80%; } +} + + +/* ---- Buttons ---- */ +@media (min-width: 600px) { + #buttons .grid-container.quarters { + grid-template-columns: repeat(2, 1fr); } +} +@media (min-width: 900px) { + #buttons .grid-container.quarters { + grid-template-columns: repeat(4, 1fr); + } +} + + +/* ---- Code ---- */ +pre.code-example { + margin-top: 1.5rem; + margin-bottom: 0; +} + + +/* ---- Legacy ---- */ +.example-grid .column, +.example-grid .columns { + background: var(--background-color-softer); + text-align: center; + border-radius: 4px; + font-size: 1rem; + text-transform: uppercase; + height: 30px; + line-height: 30px; + margin-bottom: .75rem; + font-weight: 600; + letter-spacing: .1rem; } + + +/* ---- Examples ---- */ +#examples .grid-container { + grid-auto-rows: 22rem; } +#examples .grid-container > div { + overflow: hidden; + border-radius: 1rem; } +#examples .grid-container > div.coming-soon { + border: 1px solid var(--background-color-softer); } +#examples .coming-soon-bg { + background: var(--background-color-softer); + margin: 5px; + border-radius: 0.8rem; + height: calc(100% - 10px); } +.examples-img { + object-fit: contain; + width: 100%; } +@media (min-width: 600px) { + #examples .grid-container { + grid-auto-rows: 26rem; + font-size: 1.5rem; } +} +@media (min-width: 900px) { + #examples .grid-container { + grid-auto-rows: 22rem; + font-size: 1.6rem; + } +} + + +@media (min-width: 600px) { + .example-grid .column, + .example-grid .columns { + margin-bottom: 1.5rem; } + .docs-section { + padding: 6rem 0; } + .example-send-yourself-copy { + float: right; + margin-top: 12px; } +} + + +/* ---- Popovers ---- */ +@media (min-width: 600px) { + .popover.open { + display: block; + } + .popover { + display: none; + position: absolute; + top: 0; + left: 0; + background: var(--background-color); + border: 1px solid var(--border-color-softer); + border-radius: 4px; + top: 92%; + left: -50%; + -webkit-filter: drop-shadow(0 0 6px rgba(0,0,0,.1)); + -moz-filter: drop-shadow(0 0 6px rgba(0,0,0,.1)); + filter: drop-shadow(0 0 6px rgba(0,0,0,.1)); } + .popover-item:first-child .popover-link:after, + .popover-item:first-child .popover-link:before { + bottom: 100%; + left: 50%; + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; } + .popover-item:first-child .popover-link:after { + border-color: rgba(255, 255, 255, 0); + border-bottom-color: var(--background-color); + border-width: 10px; + margin-left: -10px; } + .popover-item:first-child .popover-link:before { + border-color: rgba(238, 238, 238, 0); + border-bottom-color: var(--border-color-softer); + border-width: 11px; + margin-left: -11px; } + .popover-list { + padding: 0; + margin: 0; + list-style: none; } + .popover-item { + padding: 0; + margin: 0; } + .popover-link { + position: relative; + color: var(--text-color-normal); + display: block; + padding: 8px 20px; + border-bottom: 1px solid var(--border-color-softer); + text-decoration: none; + text-transform: uppercase; + font-size: 1.0rem; + font-weight: 600; + text-align: center; + letter-spacing: .1rem; } + .popover-item:first-child .popover-link { + border-radius: 4px 4px 0 0; } + .popover-item:last-child .popover-link { + border-radius: 0 0 4px 4px; + border-bottom-width: 0; } + .popover-link:hover { + color: var(--button-primary-color); + background: var(--accent-color); } + .popover-link:hover, + .popover-item:first-child .popover-link:hover:after { + border-bottom-color: var(--accent-color); } +} diff --git a/css/github-prettify-theme-dark.css b/css/github-prettify-theme-dark.css new file mode 100644 index 000000000..72a91028c --- /dev/null +++ b/css/github-prettify-theme-dark.css @@ -0,0 +1,57 @@ +/* GitHub Theme */ +.prettyprint { + font-family: Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Consolas, monospace; + font-size: 1.4rem; + padding: 2.5rem 3rem; + -webkit-font-smoothing: antialiased; +} + +/* @media (prefers-color-scheme: dark), */ + +/* Pretty printing styles. Used with prettify.js. */ +/* Vim sunburst theme by David Leibovic */ + +pre .str, code .str { color: #65B042; } /* string - green */ +pre .kwd, code .kwd { color: #E28964; } /* keyword - dark pink */ +pre .com, code .com { color: #777; font-style: italic; } /* comment - gray */ +pre .typ, code .typ { color: #89bdff; } /* type - light blue */ +pre .lit, code .lit { color: #3387CC; } /* literal - blue */ +pre .pun, code .pun { color: #bbb; } /* punctuation - white */ +pre .pln, code .pln { color: #bbb; } /* plaintext - white */ +pre .tag, code .tag { color: #89bdff; } /* html/xml tag - light blue */ +pre .atn, code .atn { color: #bdb76b; } /* html/xml attribute name - khaki */ +pre .atv, code .atv { color: #65B042; } /* html/xml attribute value - green */ +pre .dec, code .dec { color: #3387CC; } /* decimal - blue */ + +pre.prettyprint, code.prettyprint { + background-color: #111; + border-radius: 8px; +} + +pre.prettyprint { + width: 95%; + margin: 1em auto; + padding: 1em; + white-space: pre-wrap; +} + + + /* Specify class=linenums on a pre to get line numbering */ + ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE; } /* IE indents via margin-left */ + li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none } + /* Alternate shading for lines */ + li.L1,li.L3,li.L5,li.L7,li.L9 { } + + @media print { + pre .str, code .str { color: #060; } + pre .kwd, code .kwd { color: #006; font-weight: bold; } + pre .com, code .com { color: #600; font-style: italic; } + pre .typ, code .typ { color: #404; font-weight: bold; } + pre .lit, code .lit { color: #044; } + pre .pun, code .pun { color: #440; } + pre .pln, code .pln { color: #000; } + pre .tag, code .tag { color: #006; font-weight: bold; } + pre .atn, code .atn { color: #404; } + pre .atv, code .atv { color: #060; } + } +} \ No newline at end of file diff --git a/css/github-prettify-theme.css b/css/github-prettify-theme.css new file mode 100755 index 000000000..2707bf77e --- /dev/null +++ b/css/github-prettify-theme.css @@ -0,0 +1,138 @@ +/* GitHub Theme */ +.prettyprint { + font-family: Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Consolas, monospace; + font-size: 1.4rem; + padding: 2.5rem 3rem; + -webkit-font-smoothing: antialiased; +} + +.pln { + color: #333333; +} + +@media screen { + .str { + color: #dd1144; + } + .kwd { + color: #333333; + } + .com { + color: #999988; + } + .typ { + color: #445588; + } + .lit { + color: #445588; + } + .pun { + color: #333333; + } + .opn { + color: #333333; + } + .clo { + color: #333333; + } + .tag { + color: navy; + } + .atn { + color: teal; + } + .atv { + color: #dd1144; + } + .dec { + color: #333333; + } + .var { + color: teal; + } + .fun { + color: #990000; + } +} +@media print, projection { + .str { + color: #006600; + } + + .kwd { + color: #006; + font-weight: bold; + } + + .com { + color: #600; + font-style: italic; + } + + .typ { + color: #404; + font-weight: bold; + } + + .lit { + color: #004444; + } + + .pun, .opn, .clo { + color: #444400; + } + + .tag { + color: #006; + font-weight: bold; + } + + .atn { + color: #440044; + } + + .atv { + color: #006600; + } +} + + + +/* Specify class=linenums on a pre to get line numbering */ +ol.linenums { + margin-top: 0; + margin-bottom: 0; +} + +/* IE indents via margin-left */ +li.L0, +li.L1, +li.L2, +li.L3, +li.L4, +li.L5, +li.L6, +li.L7, +li.L8, +li.L9 { + /* */ +} + +/* Alternate shading for lines */ +li.L1, +li.L3, +li.L5, +li.L7, +li.L9 { + /* */ +} + +/* My additional styles */ + +/*li.L0, li.L1, li.L2, li.L3, +li.L5, li.L6, li.L7, li.L8 +{ list-style-type: decimal !important }*/ + +.prettyprint li { + margin-bottom: .3rem; +} diff --git a/css/skeleton-custom.css b/css/skeleton-custom.css new file mode 100755 index 000000000..fc51d6f48 --- /dev/null +++ b/css/skeleton-custom.css @@ -0,0 +1,225 @@ +.container { + max-width: 800px; } +.header { + margin-top: 6rem; + text-align: center; } +.value-prop { + margin-top: 1rem; } +.value-props { + margin-top: 4rem; + margin-bottom: 4rem; } +.docs-header { + text-transform: uppercase; + font-size: 1.4rem; + letter-spacing: .2rem; + font-weight: 600; } +.docs-section { + border-top: 1px solid var(--border-color-softer); + padding: 4rem 0; + margin-bottom: 0;} +.value-img { + display: block; + text-align: center; + margin: 2.5rem auto 0; } +.example-grid .column, +.example-grid .columns { + background: var(--background-color-softer);; + text-align: center; + border-radius: 4px; + font-size: 1rem; + text-transform: uppercase; + height: 30px; + line-height: 30px; + margin-bottom: .75rem; + font-weight: 600; + letter-spacing: .1rem; } +.docs-example .row, +.docs-example.row, +.docs-example form { + margin-bottom: 0; } +.docs-example h1, +.docs-example h2, +.docs-example h3, +.docs-example h4, +.docs-example h5, +.docs-example h6 { + margin-bottom: 1rem; } +.heading-font-size { + font-size: 1.2rem; + color: #999; + letter-spacing: normal; } +.code-example { + margin-top: 1.5rem; + margin-bottom: 0; } +.code-example-body { + white-space: pre; + word-wrap: break-word } +.example { + position: relative; + margin-top: 4rem; } +.example-header { + font-weight: 600; + margin-top: 1.5rem; + margin-bottom: .5rem; } +.example-description { + margin-bottom: 1.5rem; } +.example-screenshot-wrapper { + display: block; + position: relative; + overflow: hidden; + border-radius: 6px; + border: 1px solid #eee; + height: 250px; } +.example-screenshot { + width: 100%; + height: auto; } +.example-screenshot.coming-soon { + width: auto; + position: absolute; + background: #eee; + top: 5px; + right: 5px; + bottom: 5px; + left: 5px; } +.navbar { + display: none; } + +/* Larger than phone */ +@media (min-width: 550px) { + .header { + margin-top: 18rem; } + .value-props { + margin-top: 9rem; + margin-bottom: 7rem; } + .value-img { + margin-bottom: 1rem; } + .example-grid .column, + .example-grid .columns { + margin-bottom: 1.5rem; } + .docs-section { + padding: 6rem 0; } + .example-send-yourself-copy { + float: right; + margin-top: 12px; } + .example-screenshot-wrapper { + position: absolute; + width: 48%; + height: 100%; + left: 0; + max-height: none; } +} + +/* Larger than tablet */ +@media (min-width: 750px) { + /* Navbar */ + .navbar + .docs-section { + border-top-width: 0; } + .navbar, + .navbar-spacer { + display: block; + width: 100%; + height: 6.5rem; + background: var(--background-color);; + z-index: 99; + border-top: 1px solid var(--border-color-softer); + border-bottom: 1px solid var(--border-color-softer); } + .navbar-spacer { + display: none; } + .navbar > .container { + width: 100%; } + .navbar-list { + list-style: none; + margin-bottom: 0; } + .navbar-item { + position: relative; + float: left; + margin-bottom: 0; } + .navbar-link { + text-transform: uppercase; + font-size: 11px; + font-weight: 600; + letter-spacing: .2rem; + margin-right: 35px; + text-decoration: none; + line-height: 6.5rem; + color: var(--text-color-normal); } + .navbar-link.active { + color: var(--accent-color); } + .has-docked-nav .navbar { + position: fixed; + top: 0; + left: 0; } + .has-docked-nav .navbar-spacer { + display: block; } + /* Re-overiding the width 100% declaration to match size of % based container */ + .has-docked-nav .navbar > .container { + width: 80%; } + + /* Popover */ + .popover.open { + display: block; + } + .popover { + display: none; + position: absolute; + top: 0; + left: 0; + background: #fff; + border: 1px solid #eee; + border-radius: 4px; + top: 92%; + left: -50%; + -webkit-filter: drop-shadow(0 0 6px rgba(0,0,0,.1)); + -moz-filter: drop-shadow(0 0 6px rgba(0,0,0,.1)); + filter: drop-shadow(0 0 6px rgba(0,0,0,.1)); } + .popover-item:first-child .popover-link:after, + .popover-item:first-child .popover-link:before { + bottom: 100%; + left: 50%; + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; + pointer-events: none; } + .popover-item:first-child .popover-link:after { + border-color: rgba(255, 255, 255, 0); + border-bottom-color: #fff; + border-width: 10px; + margin-left: -10px; } + .popover-item:first-child .popover-link:before { + border-color: rgba(238, 238, 238, 0); + border-bottom-color: #eee; + border-width: 11px; + margin-left: -11px; } + .popover-list { + padding: 0; + margin: 0; + list-style: none; } + .popover-item { + padding: 0; + margin: 0; } + .popover-link { + position: relative; + color: #222; + display: block; + padding: 8px 20px; + border-bottom: 1px solid #eee; + text-decoration: none; + text-transform: uppercase; + font-size: 1.0rem; + font-weight: 600; + text-align: center; + letter-spacing: .1rem; } + .popover-item:first-child .popover-link { + border-radius: 4px 4px 0 0; } + .popover-item:last-child .popover-link { + border-radius: 0 0 4px 4px; + border-bottom-width: 0; } + .popover-link:hover { + color: #fff; + background: #33C3F0; } + .popover-link:hover, + .popover-item:first-child .popover-link:hover:after { + border-bottom-color: #33C3F0; } +} \ No newline at end of file diff --git a/dist/css/barebones.css b/dist/css/barebones.css new file mode 100644 index 000000000..ea579df48 --- /dev/null +++ b/dist/css/barebones.css @@ -0,0 +1,473 @@ +/* +* Barebones V3 +* Copyright 2019 Steve Cochran +* +* Based of Skeleton by Dave Gamache +* +* Free to use under the MIT license. +*/ + +/* Table of contents +–––––––––––––––––––––––––––––––––––––––––––––––––– +- Media Breakpoints +- Variables +- Grid +- Base Styles +- Typography +- Links +- Buttons +- Forms +- Lists +- Code +- Tables +- Spacing +- Utilities +- Clearing +- Media Queries +*/ + +/* ENV Variables +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +/* Media breakpoint variables for use in media queries +* Note: this section is currently commented out pending release of +* final CSS env() spec +* Breakpoints based on +* https://medium.freecodecamp.org/the-100-correct-way-to-do-css-breakpoints-88d6a5ba1862 +* +*/ + + + +/* CSS Variables +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +html { + + /* default theme: light background, dark text, blue accent */ + --theme-hue: 0; /* white */ + --accent-hue: 194; /* blue */ + + --text-color-richer: hsl(var(--theme-hue), 0%, 5%); /* #0d0d0d */ + --text-color-normal: hsl(var(--theme-hue), 0%, 13%); /* #222222 text color; button:hover:focus color */ + --text-color-softer: hsl(var(--theme-hue), 0%, 33%); /* #555555 button color; button:hover border */ + + --accent-color: hsl(var(--accent-hue), 86%, 57%); /* #33C3F0 link; button-primary bg+border; textarea,select:focus border */ + --accent-color-hover: hsl(var(--accent-hue), 76%, 49%); /* #1EAEDB link hover; button-primary:hover:focus bg+border */ + + --border-color: hsl(var(--theme-hue), 0%, 73%); /* #bbbbbb button border */ + --border-color-softer: hsl(var(--theme-hue), 0%, 82%); /* #d1d1d1 textarea,select,code,td,hr border */ + + --background-color: white; /* transparent body background; textarea,select background */ + --background-color-softer: hsl(var(--theme-hue), 0%, 95%); + --code-background: hsl(var(--theme-hue), 0%, 95%); /* #f1f1f1 code background*/ + + --button-primary-color: white; + + + /* Note: Skeleton was based off a 10px font sizing for REM */ + /* 62.5% of typical 16px browser default = 10px */ + --base-font-size: 62.5%; + + /* Grid Defaults - default to match orig skeleton settings */ + --grid-max-width: 960px; +} + +/* Dark Theme + Note: prefers-color-scheme selector support is still limited, but + included for future and an example of defining a different base 'theme' +*/ +@media (prefers-color-scheme: dark) { + :html { + /* dark theme: light background, dark text, blue accent */ + --theme-hue: 0; /* black */ + --accent-hue: 194; /* blue */ + + --text-color-richer: hsl(var(--theme-hue), 0%, 95%); /* */ + --text-color-normal: hsl(var(--theme-hue), 0%, 80%); /* text color; button:hover:focus color */ + --text-color-softer: hsl(var(--theme-hue), 0%, 67%); /* button color; button:hover border */ + + --accent-color: hsl(var(--accent-hue), 76%, 49%); /* link; button-primary bg+border; textarea,select:focus border */ + --accent-color-hover: hsl(var(--accent-hue), 86%, 57%); /* link hover; button-primary:hover:focus bg+border */ + + --border-color: hsl(var(--theme-hue), 0%, 27%); /* button border */ + --border-color-softer: hsl(var(--theme-hue), 0%, 20%); /* textarea,select,code,td,hr border */ + + --background-color: hsl(var(--theme-hue), 0%, 12%); /* body background; textarea,select background */ + --background-color-softer: hsl(var(--theme-hue), 0%, 18%); + --code-background: hsl(var(--theme-hue), 0%, 5%); /* code background*/ + + --button-primary-color: white; + } + + img.value-img { + filter: invert(0.8); + } + /* TODO - test dialing back image intensity on dark background + img { + opacity: .80; + transition: opacity .5s ease-in-out; + } + img:hover { + opacity: 1; + } + */ +} + + +/* Grid +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +/* CSS Grid depends much more on CSS than HTML, so there is less boilerplate + than with skeleton. Only basic 1-4 column grids are included. + Any additional needs should be made using custom CSS directives */ + + +.grid-container { + position: relative; + max-width: var(--grid-max-width); + margin: 0 auto; + padding: 20px; + text-align: center; + display: grid; + grid-gap: 20px; + gap: 20px; + + /* by default use min 200px wide columns auto-fit into width */ + grid-template-columns: minmax(200px, 1fr); +} + +/* grids to 3 columns above mobile sizes */ +@media (min-width: 600px) { + .grid-container { + grid-template-columns: repeat(3, 1fr); + padding: 10px 0; + } + + /* basic grids */ + .grid-container.fifths { + grid-template-columns: repeat(5, 1fr); + } + .grid-container.quarters { + grid-template-columns: repeat(4, 1fr); + } + .grid-container.thirds { + grid-template-columns: repeat(3, 1fr); + } + .grid-container.halves { + grid-template-columns: repeat(2, 1fr); + } + .grid-container.full { + grid-template-columns: 1fr; + } + +} + + + + + + + +/* Base Styles +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +html { + font-size: var(--base-font-size); + scroll-behavior: smooth; +} +body { + font-size: 1.6rem; /* changed from 15px in orig skeleton */ + line-height: 1.6; + font-weight: 400; + font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; + color: var(--text-color-normal); + background-color: var(--background-color);; +} + + +/* Typography +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +h1, h2, h3, h4, h5, h6 { + margin-top: 0; + margin-bottom: 2rem; + font-weight: 300; } +h1 { font-size: 4.0rem; line-height: 1.2; letter-spacing: -.1rem;} +h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; } +h3 { font-size: 3.0rem; line-height: 1.3; letter-spacing: -.1rem; } +h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; } +h5 { font-size: 1.8rem; line-height: 1.5; letter-spacing: -.05rem; } +h6 { font-size: 1.5rem; line-height: 1.6; letter-spacing: 0; } + +/* Larger than phablet */ +@media (min-width: 600px) { + h1 { font-size: 5.0rem; } + h2 { font-size: 4.2rem; } + h3 { font-size: 3.6rem; } + h4 { font-size: 3.0rem; } + h5 { font-size: 2.4rem; } + h6 { font-size: 1.5rem; } +} + +p { + margin-top: 0; } + + +/* Links +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +a { + color: var(--accent-color); } +a:hover { + color: var(--accent-color-hover); } + + +/* Buttons +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.button, +button, +input[type="submit"], +input[type="reset"], +input[type="button"] { + display: inline-block; + height: 38px; + padding: 0 30px; + color: var(--text-color-softer); + text-align: center; + font-size: 11px; + font-weight: 600; + line-height: 38px; + letter-spacing: .1rem; + text-transform: uppercase; + text-decoration: none; + white-space: nowrap; + background-color: transparent; + border-radius: 4px; + border: 1px solid var(--border-color); + cursor: pointer; + box-sizing: border-box; } +.button:hover, +button:hover, +input[type="submit"]:hover, +input[type="reset"]:hover, +input[type="button"]:hover, +.button:focus, +button:focus, +input[type="submit"]:focus, +input[type="reset"]:focus, +input[type="button"]:focus { + color: var(--text-color-normal); + border-color: var(--text-color-softer); + outline: 0; } +.button.button-primary, +button.button-primary, +input[type="submit"].button-primary, +input[type="reset"].button-primary, +input[type="button"].button-primary { + color: var(--button-primary-color); + background-color: var(--accent-color); + border-color: var(--accent-color); } +.button.button-primary:hover, +button.button-primary:hover, +input[type="submit"].button-primary:hover, +input[type="reset"].button-primary:hover, +input[type="button"].button-primary:hover, +.button.button-primary:focus, +button.button-primary:focus, +input[type="submit"].button-primary:focus, +input[type="reset"].button-primary:focus, +input[type="button"].button-primary:focus { + color: var(--button-primary-color); + background-color: var(--accent-color-hover); + border-color: var(--accent-color-hover); } + + +/* Forms +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +input[type="email"], +input[type="number"], +input[type="search"], +input[type="text"], +input[type="tel"], +input[type="url"], +input[type="password"], +textarea, +select { + height: 38px; + padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */ + background-color: var(--background-color); + border: 1px solid var(--border-color-softer); + border-radius: 4px; + box-shadow: none; + box-sizing: border-box; } +/* Removes awkward default styles on some inputs for iOS */ +input[type="email"], +input[type="number"], +input[type="search"], +input[type="text"], +input[type="tel"], +input[type="url"], +input[type="password"], +input[type="button"], +input[type="submit"], +textarea { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; } +textarea { + min-height: 65px; + padding-top: 6px; + padding-bottom: 6px; } +input[type="email"]:focus, +input[type="number"]:focus, +input[type="search"]:focus, +input[type="text"]:focus, +input[type="tel"]:focus, +input[type="url"]:focus, +input[type="password"]:focus, +textarea:focus, +select:focus { + border: 1px solid var(--accent-color); + outline: 0; } +label, +legend { + display: block; + margin-bottom: .5rem; + font-weight: 600; } +fieldset { + padding: 0; + border-width: 0; } +input[type="checkbox"], +input[type="radio"] { + display: inline; } +label > .label-body { + display: inline-block; + margin-left: .5rem; + font-weight: normal; } + + +/* Lists +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +ul { + list-style: circle inside; } +ol { + list-style: decimal inside; } +ol, ul { + padding-left: 0; + margin-top: 0; } +ul ul, ul ol, ol ol, ol ul { + font-size: 100%; + margin: 1rem 0 1rem 3rem; + color: var(--text-color-softer); +} +li { + margin-bottom: 0.5rem; } + + +/* Code +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +code { + padding: .2rem .5rem; + margin: 0 .2rem; + font-size: 90%; + white-space: nowrap; + background: var(--code-background); + border: 1px solid var(--border-color-softer); + border-radius: 4px; } +pre > code { + display: block; + padding: 1rem 1.5rem; + white-space: pre; + overflow: auto; } + + +/* Tables +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +th, +td { + padding: 12px 15px; + text-align: left; + border-bottom: 1px solid var(--border-color-softer); } +th:first-child, +td:first-child { + padding-left: 0; } +th:last-child, +td:last-child { + padding-right: 0; } + + +/* Spacing +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +button, +.button { + margin-bottom: 1rem; } +input, +textarea, +select, +fieldset { + margin-bottom: 1.5rem; } +pre, +blockquote, +dl, +figure, +table, +p, +ul, +ol, +form { + margin-bottom: 2.5rem; } + + +/* Utilities +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.u-full-width { + width: 100%; + box-sizing: border-box; } +.u-max-full-width { + max-width: 100%; + box-sizing: border-box; } +.u-pull-right { + float: right; } +.u-pull-left { + float: left; } +.u-align-left { + text-align: left; } +.u-align-right { + text-align: right; } + + +/* Misc +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +hr { + margin-top: 3rem; + margin-bottom: 3.5rem; + border-width: 0; + border-top: 1px solid var(--border-color-softer); } + + +/* Clearing +–––––––––––––––––––––––––––––––––––––––––––––––––– */ + +/* Self Clearing Goodness */ +.container:after, +.row:after, +.u-cf { + content: ""; + display: table; + clear: both; } + + +/* Media Queries +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +/* +Note: The best way to structure the use of media queries is to create the queries +near the relevant code. For example, if you wanted to change the styles for buttons +on small devices, paste the mobile query code up in the buttons section and style it +there. +*/ + + +/* Larger than mobile (default point when grid becomes active) */ +@media (min-width: 600px) {} + +/* Larger than phablet */ +@media (min-width: 900px) {} + +/* Larger than tablet */ +@media (min-width: 1200px) {} + diff --git a/dist/css/normalize.css b/dist/css/normalize.css new file mode 100644 index 000000000..b0c1902dc --- /dev/null +++ b/dist/css/normalize.css @@ -0,0 +1,349 @@ +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ + +/* Document + ========================================================================== */ + +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ + +html { + line-height: 1.15; /* 1 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/* Sections + ========================================================================== */ + +/** + * Remove the margin in all browsers. + */ + +body { + margin: 0; +} + +/** + * Render the `main` element consistently in IE. + */ + +main { + display: block; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/* Grouping content + ========================================================================== */ + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +pre { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Remove the gray background on active links in IE 10. + */ + +a { + background-color: transparent; +} + +/** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +code, +kbd, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove the border on images inside links in IE 10. + */ + +img { + border-style: none; +} + +/* Forms + ========================================================================== */ + +/** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; /* 1 */ + font-size: 100%; /* 1 */ + line-height: 1.15; /* 1 */ + margin: 0; /* 2 */ +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + +button, +input { /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { /* 1 */ + text-transform: none; +} + +/** + * Correct the inability to style clickable types in iOS and Safari. + */ + +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Correct the padding in Firefox. + */ + +fieldset { + padding: 0.35em 0.75em 0.625em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + vertical-align: baseline; +} + +/** + * Remove the default vertical scrollbar in IE 10+. + */ + +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ + +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + +[type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ + +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/* Interactive + ========================================================================== */ + +/* + * Add the correct display in Edge, IE 10+, and Firefox. + */ + +details { + display: block; +} + +/* + * Add the correct display in all browsers. + */ + +summary { + display: list-item; +} + +/* Misc + ========================================================================== */ + +/** + * Add the correct display in IE 10+. + */ + +template { + display: none; +} + +/** + * Add the correct display in IE 10. + */ + +[hidden] { + display: none; +} \ No newline at end of file diff --git a/dist/css/skeleton-legacy.css b/dist/css/skeleton-legacy.css new file mode 100644 index 000000000..b949ed327 --- /dev/null +++ b/dist/css/skeleton-legacy.css @@ -0,0 +1,102 @@ +/* include this file if you want to duplicate all classes available + * the original skeleton boilerplate. + * + * Note: if you are creating a new site, this file is not needed + * and simpler CSS Grid elements should be used without all the + * additional classes on HTML elements. See the Readme for examples. +*/ + + +/* Grid –––––––––––––––––––––––––––––––––––––––––––––––––– */ +/* Directives to replicate all skeleton.css functionality */ +/* .row becomes a grid container with 12 columns */ +.container, .row { + position: relative; + width: 100%; + max-width: 960px; + margin: 0 auto; + padding: 0 20px; + box-sizing: border-box; +} + +.row { + padding: 0; + display: grid; + grid-template-columns: 1fr; + gap: 4%; +} + +.column, +.columns { + width: 100%; + float: left; + box-sizing: border-box; } + +/* For devices larger than 400px */ +@media (min-width: 400px) { + .container { + width: 85%; + padding: 0; } +} + +/* For devices larger than 550px */ +@media (min-width: 550px) { + .container { + width: 80%; + } + .row { + width: 100%; + grid-template-columns: repeat(12, 1fr); + gap: 4%; + margin-bottom: 10px; + } + + .one.column, .one.columns { grid-column-end: span 1; } + .two.columns { grid-column-end: span 2; } + .three.columns { grid-column-end: span 3; } + .four.columns { grid-column-end: span 4; } + .five.columns { grid-column-end: span 5; } + .six.columns { grid-column-end: span 6; } + .seven.columns { grid-column-end: span 7; } + .eight.columns { grid-column-end: span 8; } + .nine.columns { grid-column-end: span 9; } + .ten.columns { grid-column-end: span 10; } + .eleven.columns { grid-column-end: span 11; } + .twelve.columns { grid-column-end: span 12; } + .one-third.column { grid-column-end: span 4; } + .two-thirds.column { grid-column-end: span 8; } + .one-half.column { grid-column-end: span 6; } + + /* Offsets */ + .offset-by-one.column, + .offset-by-one.columns { grid-column-start: 2; } + .offset-by-two.column, + .offset-by-two.columns { grid-column-start: 3; } + .offset-by-three.column, + .offset-by-three.columns { grid-column-start: 4; } + .offset-by-four.column, + .offset-by-four.columns { grid-column-start: 5; } + .offset-by-five.column, + .offset-by-five.columns { grid-column-start: 6; } + .offset-by-six.column, + .offset-by-six.columns { grid-column-start: 7; } + .offset-by-seven.column, + .offset-by-seven.columns { grid-column-start: 8; } + .offset-by-eight.column, + .offset-by-eight.columns { grid-column-start: 9; } + .offset-by-nine.column, + .offset-by-nine.columns { grid-column-start: 10; } + .offset-by-ten.column, + .offset-by-ten.columns { grid-column-start: 11; } + .offset-by-eleven.column, + .offset-by-eleven.columns { grid-column-start: 12; } + + .offset-by-one-third.column, + .offset-by-one-third.columns { grid-column-start: 5;} + .offset-by-two-thirds.column, + .offset-by-two-thirds.columns { grid-column-start: 9;} + + .offset-by-one-half.column, + .offset-by-one-half.columns { grid-column-start: 7;} +} + diff --git a/dist/css/skeleton.css b/dist/css/skeleton.css new file mode 100644 index 000000000..f28bf6c59 --- /dev/null +++ b/dist/css/skeleton.css @@ -0,0 +1,418 @@ +/* +* Skeleton V2.0.4 +* Copyright 2014, Dave Gamache +* www.getskeleton.com +* Free to use under the MIT license. +* http://www.opensource.org/licenses/mit-license.php +* 12/29/2014 +*/ + + +/* Table of contents +–––––––––––––––––––––––––––––––––––––––––––––––––– +- Grid +- Base Styles +- Typography +- Links +- Buttons +- Forms +- Lists +- Code +- Tables +- Spacing +- Utilities +- Clearing +- Media Queries +*/ + + +/* Grid +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.container { + position: relative; + width: 100%; + max-width: 960px; + margin: 0 auto; + padding: 0 20px; + box-sizing: border-box; } +.column, +.columns { + width: 100%; + float: left; + box-sizing: border-box; } + +/* For devices larger than 400px */ +@media (min-width: 400px) { + .container { + width: 85%; + padding: 0; } +} + +/* For devices larger than 550px */ +@media (min-width: 550px) { + .container { + width: 80%; } + .column, + .columns { + margin-left: 4%; } + .column:first-child, + .columns:first-child { + margin-left: 0; } + + .one.column, + .one.columns { width: 4.66666666667%; } + .two.columns { width: 13.3333333333%; } + .three.columns { width: 22%; } + .four.columns { width: 30.6666666667%; } + .five.columns { width: 39.3333333333%; } + .six.columns { width: 48%; } + .seven.columns { width: 56.6666666667%; } + .eight.columns { width: 65.3333333333%; } + .nine.columns { width: 74.0%; } + .ten.columns { width: 82.6666666667%; } + .eleven.columns { width: 91.3333333333%; } + .twelve.columns { width: 100%; margin-left: 0; } + + .one-third.column { width: 30.6666666667%; } + .two-thirds.column { width: 65.3333333333%; } + + .one-half.column { width: 48%; } + + /* Offsets */ + .offset-by-one.column, + .offset-by-one.columns { margin-left: 8.66666666667%; } + .offset-by-two.column, + .offset-by-two.columns { margin-left: 17.3333333333%; } + .offset-by-three.column, + .offset-by-three.columns { margin-left: 26%; } + .offset-by-four.column, + .offset-by-four.columns { margin-left: 34.6666666667%; } + .offset-by-five.column, + .offset-by-five.columns { margin-left: 43.3333333333%; } + .offset-by-six.column, + .offset-by-six.columns { margin-left: 52%; } + .offset-by-seven.column, + .offset-by-seven.columns { margin-left: 60.6666666667%; } + .offset-by-eight.column, + .offset-by-eight.columns { margin-left: 69.3333333333%; } + .offset-by-nine.column, + .offset-by-nine.columns { margin-left: 78.0%; } + .offset-by-ten.column, + .offset-by-ten.columns { margin-left: 86.6666666667%; } + .offset-by-eleven.column, + .offset-by-eleven.columns { margin-left: 95.3333333333%; } + + .offset-by-one-third.column, + .offset-by-one-third.columns { margin-left: 34.6666666667%; } + .offset-by-two-thirds.column, + .offset-by-two-thirds.columns { margin-left: 69.3333333333%; } + + .offset-by-one-half.column, + .offset-by-one-half.columns { margin-left: 52%; } + +} + + +/* Base Styles +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +/* NOTE +html is set to 62.5% so that all the REM measurements throughout Skeleton +are based on 10px sizing. So basically 1.5rem = 15px :) */ +html { + font-size: 62.5%; } +body { + font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */ + line-height: 1.6; + font-weight: 400; + font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; + color: #222; } + + +/* Typography +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +h1, h2, h3, h4, h5, h6 { + margin-top: 0; + margin-bottom: 2rem; + font-weight: 300; } +h1 { font-size: 4.0rem; line-height: 1.2; letter-spacing: -.1rem;} +h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; } +h3 { font-size: 3.0rem; line-height: 1.3; letter-spacing: -.1rem; } +h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; } +h5 { font-size: 1.8rem; line-height: 1.5; letter-spacing: -.05rem; } +h6 { font-size: 1.5rem; line-height: 1.6; letter-spacing: 0; } + +/* Larger than phablet */ +@media (min-width: 550px) { + h1 { font-size: 5.0rem; } + h2 { font-size: 4.2rem; } + h3 { font-size: 3.6rem; } + h4 { font-size: 3.0rem; } + h5 { font-size: 2.4rem; } + h6 { font-size: 1.5rem; } +} + +p { + margin-top: 0; } + + +/* Links +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +a { + color: #1EAEDB; } +a:hover { + color: #0FA0CE; } + + +/* Buttons +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.button, +button, +input[type="submit"], +input[type="reset"], +input[type="button"] { + display: inline-block; + height: 38px; + padding: 0 30px; + color: #555; + text-align: center; + font-size: 11px; + font-weight: 600; + line-height: 38px; + letter-spacing: .1rem; + text-transform: uppercase; + text-decoration: none; + white-space: nowrap; + background-color: transparent; + border-radius: 4px; + border: 1px solid #bbb; + cursor: pointer; + box-sizing: border-box; } +.button:hover, +button:hover, +input[type="submit"]:hover, +input[type="reset"]:hover, +input[type="button"]:hover, +.button:focus, +button:focus, +input[type="submit"]:focus, +input[type="reset"]:focus, +input[type="button"]:focus { + color: #333; + border-color: #888; + outline: 0; } +.button.button-primary, +button.button-primary, +input[type="submit"].button-primary, +input[type="reset"].button-primary, +input[type="button"].button-primary { + color: #FFF; + background-color: #33C3F0; + border-color: #33C3F0; } +.button.button-primary:hover, +button.button-primary:hover, +input[type="submit"].button-primary:hover, +input[type="reset"].button-primary:hover, +input[type="button"].button-primary:hover, +.button.button-primary:focus, +button.button-primary:focus, +input[type="submit"].button-primary:focus, +input[type="reset"].button-primary:focus, +input[type="button"].button-primary:focus { + color: #FFF; + background-color: #1EAEDB; + border-color: #1EAEDB; } + + +/* Forms +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +input[type="email"], +input[type="number"], +input[type="search"], +input[type="text"], +input[type="tel"], +input[type="url"], +input[type="password"], +textarea, +select { + height: 38px; + padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */ + background-color: #fff; + border: 1px solid #D1D1D1; + border-radius: 4px; + box-shadow: none; + box-sizing: border-box; } +/* Removes awkward default styles on some inputs for iOS */ +input[type="email"], +input[type="number"], +input[type="search"], +input[type="text"], +input[type="tel"], +input[type="url"], +input[type="password"], +textarea { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; } +textarea { + min-height: 65px; + padding-top: 6px; + padding-bottom: 6px; } +input[type="email"]:focus, +input[type="number"]:focus, +input[type="search"]:focus, +input[type="text"]:focus, +input[type="tel"]:focus, +input[type="url"]:focus, +input[type="password"]:focus, +textarea:focus, +select:focus { + border: 1px solid #33C3F0; + outline: 0; } +label, +legend { + display: block; + margin-bottom: .5rem; + font-weight: 600; } +fieldset { + padding: 0; + border-width: 0; } +input[type="checkbox"], +input[type="radio"] { + display: inline; } +label > .label-body { + display: inline-block; + margin-left: .5rem; + font-weight: normal; } + + +/* Lists +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +ul { + list-style: circle inside; } +ol { + list-style: decimal inside; } +ol, ul { + padding-left: 0; + margin-top: 0; } +ul ul, +ul ol, +ol ol, +ol ul { + margin: 1.5rem 0 1.5rem 3rem; + font-size: 90%; } +li { + margin-bottom: 1rem; } + + +/* Code +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +code { + padding: .2rem .5rem; + margin: 0 .2rem; + font-size: 90%; + white-space: nowrap; + background: #F1F1F1; + border: 1px solid #E1E1E1; + border-radius: 4px; } +pre > code { + display: block; + padding: 1rem 1.5rem; + white-space: pre; } + + +/* Tables +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +th, +td { + padding: 12px 15px; + text-align: left; + border-bottom: 1px solid #E1E1E1; } +th:first-child, +td:first-child { + padding-left: 0; } +th:last-child, +td:last-child { + padding-right: 0; } + + +/* Spacing +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +button, +.button { + margin-bottom: 1rem; } +input, +textarea, +select, +fieldset { + margin-bottom: 1.5rem; } +pre, +blockquote, +dl, +figure, +table, +p, +ul, +ol, +form { + margin-bottom: 2.5rem; } + + +/* Utilities +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.u-full-width { + width: 100%; + box-sizing: border-box; } +.u-max-full-width { + max-width: 100%; + box-sizing: border-box; } +.u-pull-right { + float: right; } +.u-pull-left { + float: left; } + + +/* Misc +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +hr { + margin-top: 3rem; + margin-bottom: 3.5rem; + border-width: 0; + border-top: 1px solid #E1E1E1; } + + +/* Clearing +–––––––––––––––––––––––––––––––––––––––––––––––––– */ + +/* Self Clearing Goodness */ +.container:after, +.row:after, +.u-cf { + content: ""; + display: table; + clear: both; } + + +/* Media Queries +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +/* +Note: The best way to structure the use of media queries is to create the queries +near the relevant code. For example, if you wanted to change the styles for buttons +on small devices, paste the mobile query code up in the buttons section and style it +there. +*/ + + +/* Larger than mobile */ +@media (min-width: 400px) {} + +/* Larger than phablet (also point when grid becomes active) */ +@media (min-width: 550px) {} + +/* Larger than tablet */ +@media (min-width: 750px) {} + +/* Larger than desktop */ +@media (min-width: 1000px) {} + +/* Larger than Desktop HD */ +@media (min-width: 1200px) {} diff --git a/dist/images/favicon-120.png b/dist/images/favicon-120.png new file mode 100644 index 000000000..5f21e918c Binary files /dev/null and b/dist/images/favicon-120.png differ diff --git a/dist/images/favicon-128.png b/dist/images/favicon-128.png new file mode 100644 index 000000000..5f21e918c Binary files /dev/null and b/dist/images/favicon-128.png differ diff --git a/dist/images/favicon-144.png b/dist/images/favicon-144.png new file mode 100644 index 000000000..5f21e918c Binary files /dev/null and b/dist/images/favicon-144.png differ diff --git a/dist/images/favicon-152.png b/dist/images/favicon-152.png new file mode 100644 index 000000000..5f21e918c Binary files /dev/null and b/dist/images/favicon-152.png differ diff --git a/dist/images/favicon-16.png b/dist/images/favicon-16.png new file mode 100644 index 000000000..5f21e918c Binary files /dev/null and b/dist/images/favicon-16.png differ diff --git a/dist/images/favicon-180.png b/dist/images/favicon-180.png new file mode 100644 index 000000000..5f21e918c Binary files /dev/null and b/dist/images/favicon-180.png differ diff --git a/dist/images/favicon-196.png b/dist/images/favicon-196.png new file mode 100644 index 000000000..ddd8c7bd2 Binary files /dev/null and b/dist/images/favicon-196.png differ diff --git a/dist/images/favicon-228.png b/dist/images/favicon-228.png new file mode 100644 index 000000000..5f21e918c Binary files /dev/null and b/dist/images/favicon-228.png differ diff --git a/dist/images/favicon-32.png b/dist/images/favicon-32.png new file mode 100644 index 000000000..5f21e918c Binary files /dev/null and b/dist/images/favicon-32.png differ diff --git a/dist/images/favicon-57.png b/dist/images/favicon-57.png new file mode 100644 index 000000000..5f21e918c Binary files /dev/null and b/dist/images/favicon-57.png differ diff --git a/dist/images/favicon-76.png b/dist/images/favicon-76.png new file mode 100644 index 000000000..5f21e918c Binary files /dev/null and b/dist/images/favicon-76.png differ diff --git a/dist/images/favicon-96.png b/dist/images/favicon-96.png new file mode 100644 index 000000000..5f21e918c Binary files /dev/null and b/dist/images/favicon-96.png differ diff --git a/dist/images/favicon.png b/dist/images/favicon.png new file mode 100644 index 000000000..c4c888588 Binary files /dev/null and b/dist/images/favicon.png differ diff --git a/examples/legacy-landing/css/custom.css b/examples/legacy-landing/css/custom.css new file mode 100644 index 000000000..995526878 --- /dev/null +++ b/examples/legacy-landing/css/custom.css @@ -0,0 +1,151 @@ +/* Shared +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.button { + border-radius: 100px; +} + +/* Sections +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.section { + padding: 8rem 0 7rem; + text-align: center; +} +.section-heading, +.section-description { + margin-bottom: 1.2rem; +} + +/* Hero +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.phones { + position: relative; +} +.phone { + position: relative; + max-width: 80%; + margin: 3rem auto -12rem; +} +.phone + .phone { + display: none; +} + +/* Values +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.values { + background-image: url('../images/values-bg.jpg'); + background-size: cover; + color: #fff; + padding-bottom: 5rem; +} +.value-multiplier { + margin-bottom: .5rem; + color: #11DFC7; +} +.value-heading { + margin-bottom: .3rem; +} +.value-description { + opacity: .8; + font-weight: 300; +} + +/* Help +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.get-help { + border-bottom: 1px solid #ddd; +} + +/* Categories +–––––––––––––––––––––––––––––––––––––––––––––––––– */ +.categories { + background-image: url('../images/values-bg.jpg'); + background-size: cover; + color: #fff; +} +.categories .section-description { + margin-bottom: 4rem; +} + +/* Bigger than 550 */ +@media (min-width: 550px) { + .section { + padding: 12rem 0 11rem; + } + .hero { + padding-bottom: 12rem; + text-align: left; + height: 165px; + } + .phone { + position: absolute; + top: -7rem; + right: 3rem; + max-height: 362px; + z-index: 3; + } + .phone + .phone { + top: -6rem; + display: block; + max-width: 73.8%; + right: 0; + z-index: 2; + max-height: 338px; + } + .hero-heading { + font-size: 2.4rem; + } +} + +/* Bigger than 750 */ +@media (min-width: 750px) { + .hero { + height: 190px; + } + .hero-heading { + font-size: 2.6rem; + } + .section { + padding: 14rem 0 15rem; + } + .hero { + padding: 16rem 0 14rem; + } + .section-description { + max-width: 60%; + margin-left: auto; + margin-right: auto; + } + .phone { + top: -14rem; + right: 5rem; + max-height: 510px; + } + .phone + .phone { + top: -12rem; + max-height: 472px; + } + .categories { + padding: 15rem 0 8rem; + } +} + +/* Bigger than 1000 */ +@media (min-width: 1000px) { + .section { + padding: 20rem 0 19rem; + } + .hero { + padding: 22rem 0; + } + .hero-heading { + font-size: 3.0rem; + } + .phone { + top: -16rem; + max-height: 615px; + } + .phone + .phone { + top: -14rem; + max-height: 570px; + } +} \ No newline at end of file diff --git a/examples/legacy-landing/images/iphone.png b/examples/legacy-landing/images/iphone.png new file mode 100644 index 000000000..0f4293028 Binary files /dev/null and b/examples/legacy-landing/images/iphone.png differ diff --git a/examples/legacy-landing/images/placeholder.png b/examples/legacy-landing/images/placeholder.png new file mode 100644 index 000000000..d20fe31bb Binary files /dev/null and b/examples/legacy-landing/images/placeholder.png differ diff --git a/examples/legacy-landing/images/values-bg.jpg b/examples/legacy-landing/images/values-bg.jpg new file mode 100644 index 000000000..d17c08481 Binary files /dev/null and b/examples/legacy-landing/images/values-bg.jpg differ diff --git a/examples/legacy-landing/index.html b/examples/legacy-landing/index.html new file mode 100755 index 000000000..d5d222497 --- /dev/null +++ b/examples/legacy-landing/index.html @@ -0,0 +1,118 @@ + + + + + + + + + + Skeleton: Responsive CSS Boilerplate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+

Stop coding non-responsive sites. Let users view sites from anywhere.

+ Try Skeleton +
+
+ + +
+
+
+
+ +
+
+
+ + + +
+
+
+ +
+
+

Need help getting started?

+

Skeleton is an amazingly easy place to start with responsive development. If you want to learn more, just visit the documentation!

+ View Skeleton Docs +
+
+ +
+
+

Responsive Images

+

Skeleton images sit easily in grid with .u-max-full-width class. I suggest exploring solution to serving different images based on device size.

+
+
+ +
+
+ +
+
+
+
+ + + + + + + \ No newline at end of file diff --git a/examples/skeleton.html b/examples/skeleton.html new file mode 100755 index 000000000..4155d34c7 --- /dev/null +++ b/examples/skeleton.html @@ -0,0 +1,661 @@ + + + + + + + + + + Skeleton: Responsive CSS Boilerplate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

A dead simple, responsive boilerplate.

+ Download +
+
+ + Light as a feather at ~400 lines & built with mobile in mind. +
+
+ + Styles designed to be a starting point, not a UI framework. +
+
+ + Quick to start with zero compiling or installing necessary. +
+
+
+ + + + + +
+
Is Skeleton for you?
+

You should use Skeleton if you're embarking on a smaller project or just don't feel like you need all the utility of larger frameworks. Skeleton only styles a handful of standard HTML elements and includes a grid, but that's often more than enough to get started. In fact, this site is built on Skeleton and has ~200 lines of custom CSS (half of which is the docking navigation).

+

Love Skeleton and want to Tweet it, share it, or star it? Well, I appreciate that <3

+ + + + + +
+ + +
+
The grid
+

The grid is a 12-column fluid grid with a max width of 960px, that shrinks with the browser/device at smaller sizes. The max width can be changed with one line of CSS and all columns will resize accordingly. The syntax is simple and it makes coding responsive much easier. Go ahead, resize the browser.

+
+
+
One
+
Eleven
+
+
+
Two
+
Ten
+
+
+
Three
+
Nine
+
+
+
Four
+
Eight
+
+
+
Five
+
Seven
+
+
+
Six
+
Six
+
+
+
Seven
+
Five
+
+
+
Eight
+
Four
+
+
+
Nine
+
Three
+
+
+
Ten
+
Two
+
+
+
Eleven
+
One
+
+
+ + + +
+
+
+ + +
+
One
+
Eleven
+
+ + +
+
Two
+
Ten
+
+ + +
+ +
2/3
+
+
+
1/2
+
1/2
+
+ +
+ + +
+
+ + + +
+ + +
+
Typography
+

Type is all set with the rems, so font-sizes and spacial relationships can be responsively sized based on a single <html> font-size property. Out of the box, Skeleton never changes the <html> font-size, but it's there in case you need it for your project. All measurements are still base 10 though so, an <h1> with 5.0remfont-size just means 50px.

+
+
+
+

The typography base is Raleway served by Google, set at 15rem (15px) over a 1.6 line height (24px). Other type basics like anchors, strong, emphasis, and underline are all obviously included.

+

Headings create a family of distinct sizes each with specific letter-spacing, line-height, and margins.

+
+
+

Heading <h1> 50rem

+

Heading <h2> 42rem

+

Heading <h3> 36rem

+

Heading <h4> 30rem

+
Heading <h5> 24rem
+
Heading <h6> 15rem
+
+
+
+ + + +
+
+

Heading

+

Heading

+

Heading

+

Heading

+
Heading
+
Heading
+ + +

The base type is 15px over 1.6 line height (24px)

+ + +Bolded +Italicized +Colored +Underlined +
+
+ + + +
+ + +
+
Buttons
+

Buttons come in two basic flavors in Skeleton. The standard <button> element is plain, whereas the .button-primary button is vibrant and prominent. Button styles are applied to a number of appropriate form elements, but can also be arbitrarily attached to anchors with a .button class.

+
+
+ Anchor button + + + +
+
+ Anchor button + + + +
+
+ + + +
+
+Anchor button
+
+
+
+
+
+Anchor button
+
+
+
+
+
+ + + +
+ + +
+
Forms
+

Forms are a huge pain, but hopefully these styles make it a bit easier. All inputs, select, and buttons are normalized for a common height cross-browser so inputs can be stacked or placed alongside each other.

+
+
+
+
+ + +
+
+ + +
+
+ + + + +
+
+ + + +
+
+
+
+
+ + +
+
+ + +
+
+ + + + +
+ + + + +
+
+ + + +
+ + +
+
Lists
+
+
+
    +
  • Unordered lists have basic styles
  • +
  • + They use the circle list style +
      +
    • Nested lists styled to feel right
    • +
    • Can nest either type of list into the other
    • +
    +
  • +
  • Just more list items mama san
  • +
+
+
+
    +
  1. Ordered lists also have basic styles
  2. +
  3. + They use the decimal list style +
      +
    • Ordered and unordered can be nested
    • +
    • Can nest either type of list into the other
    • +
    +
  4. +
  5. Last list item just for the fun
  6. +
+
+
+ + + +
+
    +
  • Item 1
  • +
  • + Item 2 +
      +
    • Item 2.1
    • +
    • Item 2.2
    • +
    +
  • +
  • Item 3
  • +
+ + +
+
+ + + +
+ + +
+
Code
+

Code styling is kept basic – just wrap anything in a <code> and it will appear like this. For blocks of code, wrap a <code> with a <pre>.

+
+
.some-class {
+  background-color: red;
+}
+
+ + + +
+
.some-class {
+  background-color: red;
+}
+ + +
+
+ + + +
+ + +
+
Tables
+

Be sure to use properly formed table markup with <thead> and <tbody> when building a table.

+
+ + + + + + + + + + + + + + + + + + + + + + + +
NameAgeSexLocation
Dave Gamache26MaleSan Francisco
Dwayne Johnson42MaleHayward
+
+ + + +
+
+  
+    
+      
+      
+      
+      
+    
+  
+  
+    
+      
+      
+      
+      
+    
+    
+      
+      
+      
+      
+    
+  
+
NameAgeSexLocation
Dave Gamache26MaleSan Francisco
Dwayne Johnson42MaleHayward
+
+
+ + + +
+ + +
+
Media queries
+

Skeleton uses media queries to serve its scalable grid, but also has a list of queries for convenience of styling your site across devices. The queries are mobile-first, meaning they target min-width. Mobile-first queries are how Skeleton's grid is built and is the preferrable method of organizing CSS. It means all styles outside of a query apply to all devices, then larger devices are targeted for enhancement. This prevents small devices from having to parse tons of unused CSS. The sizes for the queries are:

+
+
+
    +
  • Desktop HD: 1200px
  • +
  • Desktop: 1000px
  • +
  • Tablet: 750px
  • +
+
+
+
    +
  • Phablet: 550px
  • +
  • Mobile: 400px
  • +
+
+
+ + + +
+/* Mobile first queries */
+
+/* Larger than mobile */
+@media (min-width: 400px) {}
+
+/* Larger than phablet */
+@media (min-width: 550px) {}
+
+/* Larger than tablet */
+@media (min-width: 750px) {}
+
+/* Larger than desktop */
+@media (min-width: 1000px) {}
+
+/* Larger than Desktop HD */
+@media (min-width: 1200px) {}
+
+
+
+
+ + + +
+ + + +
+
Utilities
+

Skeleton has a number of small utility classes that act as easy-to-use helpers. Sometimes it's better to use a utility class than create a whole new class just to float an element.

+ + + +
+/* Utility Classes */
+
+/* Make element full width */
+.u-full-width {
+  width: 100%;
+  box-sizing: border-box; }
+
+/* Make sure elements don't run outside containers (great for images in columns) */
+.u-max-full-width {
+  max-width: 100%;
+  box-sizing: border-box; }
+
+/* Float either direction */
+.u-pull-right {
+  float: right; }
+.u-pull-left {
+  float: left; }
+
+/* Clear a float */
+.u-cf {
+  content: "";
+  display: table;
+  clear: both; }
+
+
+ + + +
+ + +
+
Examples
+
+ + + +
+
Demo Landing Page
+

This template is an example of how easy it can be to create a landing page with just the Skeleton grid and a few custom styles. The entire demo is ~150 lines of CSS including comments (most of which is positioning the phones at the top).

+ Demo + Source +
+
+
+
+
+
+
+
More Coming Soon!
+

More examples will be added to help anyone get started or more familiar with how Skeleton works. The goal is education. If you're more interested in real, live examples of Skeleton sites, I'll be creating a "Built on Skeleton" list soon!

+
+
+
+ +
+ + + + diff --git a/images/apple-touch-icon-114x114.png b/images/apple-touch-icon-114x114.png deleted file mode 100644 index 88a9d5e85..000000000 Binary files a/images/apple-touch-icon-114x114.png and /dev/null differ diff --git a/images/apple-touch-icon-72x72.png b/images/apple-touch-icon-72x72.png deleted file mode 100644 index bbca145e5..000000000 Binary files a/images/apple-touch-icon-72x72.png and /dev/null differ diff --git a/images/apple-touch-icon.png b/images/apple-touch-icon.png deleted file mode 100644 index 72281c188..000000000 Binary files a/images/apple-touch-icon.png and /dev/null differ diff --git a/images/examples/landing.jpg b/images/examples/landing.jpg new file mode 100644 index 000000000..dd2df9125 Binary files /dev/null and b/images/examples/landing.jpg differ diff --git a/images/examples/skeleton.png b/images/examples/skeleton.png new file mode 100644 index 000000000..7316ffce8 Binary files /dev/null and b/images/examples/skeleton.png differ diff --git a/images/favicon.ico b/images/favicon.ico deleted file mode 100644 index 821c69175..000000000 Binary files a/images/favicon.ico and /dev/null differ diff --git a/images/favicon.png b/images/favicon.png new file mode 100644 index 000000000..7a3c81c1e Binary files /dev/null and b/images/favicon.png differ diff --git a/images/feather.svg b/images/feather.svg new file mode 100644 index 000000000..bb1e6faea --- /dev/null +++ b/images/feather.svg @@ -0,0 +1,12 @@ + + + + feather + Created with Sketch Beta. + + + + + + + \ No newline at end of file diff --git a/images/pens.svg b/images/pens.svg new file mode 100644 index 000000000..8f944360b --- /dev/null +++ b/images/pens.svg @@ -0,0 +1,21 @@ + + + + pens + Created with Sketch Beta. + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/images/watch.svg b/images/watch.svg new file mode 100644 index 000000000..b6b16c6cc --- /dev/null +++ b/images/watch.svg @@ -0,0 +1,18 @@ + + + + watch + Created with Sketch Beta. + + + + + + + + + + + + + \ No newline at end of file diff --git a/index.html b/index.html old mode 100644 new mode 100755 index 40b4b1eeb..d7698ea18 --- a/index.html +++ b/index.html @@ -1,82 +1,795 @@ - - - - + - - - Your Page Title Here :) - - - - - - - - - - - - - - - - - - + + + + + + + Barebones: Responsive CSS Boilerplate + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + +
+
+

A modern, responsive boilerplate laid bare.

+ Download +
+
+ + Build using CSS Grid for more flexility than 12-column layout. +
+
+ + Simple theming using CSS Variables including example "dark mode". +
+
+ + Ready for upcoming drafts including prefers-color-scheme, env vars. +
+
+

All while keeping what made Skeleton great:

+
+
+ + Light as a feather at ~400 lines & built with mobile in mind. +
+
+ + Styles designed to be a starting point, not a UI framework. +
+
+ + Quick to start with zero compiling or installing necessary. +
+
+
+ + - + +
+
Is Barebones for you?
+

You should use Barebones if you're embarking on a smaller project or just don't feel like you need all the utility of larger frameworks. Barebones only styles a handful of standard HTML elements and CSS Grid, but that's often more than enough to get started.

+

In fact, while this looks like the original Skeleton site, it's made using Barebones, allowing lighter html and more flexible CSS. Barebones also includes support for legacy Skeleton sites without changes.

+

Use Barebones and want to lay yourself bare? Let others know!

+ + + + +
- + +
+
Themes
+

CSS Variables allow Barebones to maintain it's independence on additional tools such as CSS preprocessors SCSS or Less, while gaining centralized management of global values. This allows for much easier theming and rebranding.

+

The default theme maintains the color choices from Skeleton, although a few very similar colors were consolidated. Colors are based from a theme hue, which defines the normal text color. Additional richer and softer text colors are then defined.

+

The choice of those keywords is to prevent confusion with light vs dark themes. For example. in a light background theme, softer would mean a lighter color than normal, ie less contrast with the background, but if the base hue is dark, softer would be darker to decrease the contrast.

+ + +
+/* default theme: light background, dark text, blue accent */
+--theme-hue: 0;         /* white */
+--accent-hue: 194;      /* blue */
 
-	
-
-

Skeleton

-
Version 1.1
-
-
-
+ + +

A dark theme is included in Barebones inside a prefers-color-scheme: dark media selector. This is a new selector not widely supported by browers yet, but demonstrates a second theme.

+ +

You can use the buttons below to switch between these themes

+
+ + +
- + + + + –––––––––––––––––––––––––––––––––––––––––––––––––– --> \ No newline at end of file diff --git a/javascripts/tabs.js b/javascripts/tabs.js deleted file mode 100644 index b832e0c04..000000000 --- a/javascripts/tabs.js +++ /dev/null @@ -1,29 +0,0 @@ - -/** - * Skeleton V1.1 - * Copyright 2011, Dave Gamache - * www.getskeleton.com - * Free to use under the MIT license. - * http://www.opensource.org/licenses/mit-license.php - * 8/17/2011 - */ - -(function ($) { - // hash change handler - function hashchange () { - var hash = window.location.hash - , el = $('ul.tabs [href*="' + hash + '"]') - , content = $(hash) - - if (el.length && !el.hasClass('active') && content.length) { - el.closest('.tabs').find('.active').removeClass('active'); - el.addClass('active'); - content.show().addClass('active').siblings().hide().removeClass('active'); - } - } - - // listen on event and fire right away - $(window).on('hashchange.skeleton', hashchange); - hashchange(); - $(hashchange); -})(jQuery); diff --git a/js/legacy.js b/js/legacy.js new file mode 100644 index 000000000..3cb76e577 --- /dev/null +++ b/js/legacy.js @@ -0,0 +1,94 @@ +$(document).ready(function() { + + // Variables + var $codeSnippets = $('.code-example-body'), + $nav = $('.navbar'), + $body = $('body'), + $window = $(window), + $popoverLink = $('[data-popover]'), + navOffsetTop = $nav.offset().top, + $document = $(document), + entityMap = { + "&": "&", + "<": "<", + ">": ">", + '"': '"', + "'": ''', + "/": '/' + } + + function init() { + $window.on('scroll', onScroll) + $window.on('resize', resize) + $popoverLink.on('click', openPopover) + $document.on('click', closePopover) + $('a[href^="#"]').on('click', smoothScroll) + buildSnippets(); + } + + function smoothScroll(e) { + e.preventDefault(); + $(document).off("scroll"); + var target = this.hash, + menu = target; + $target = $(target); + $('html, body').stop().animate({ + 'scrollTop': $target.offset().top-40 + }, 0, 'swing', function () { + window.location.hash = target; + $(document).on("scroll", onScroll); + }); + } + + function openPopover(e) { + e.preventDefault() + closePopover(); + var popover = $($(this).data('popover')); + popover.toggleClass('open') + e.stopImmediatePropagation(); + } + + function closePopover(e) { + if($('.popover.open').length > 0) { + $('.popover').removeClass('open') + } + } + + $("#button").click(function() { + $('html, body').animate({ + scrollTop: $("#elementtoScrollToID").offset().top + }, 2000); +}); + + function resize() { + $body.removeClass('has-docked-nav') + navOffsetTop = $nav.offset().top + onScroll() + } + + function onScroll() { + if(navOffsetTop < $window.scrollTop() && !$body.hasClass('has-docked-nav')) { + $body.addClass('has-docked-nav') + } + if(navOffsetTop > $window.scrollTop() && $body.hasClass('has-docked-nav')) { + $body.removeClass('has-docked-nav') + } + } + + function escapeHtml(string) { + return String(string).replace(/[&<>"'\/]/g, function (s) { + return entityMap[s]; + }); + } + + function buildSnippets() { + $codeSnippets.each(function() { + var newContent = escapeHtml($(this).html()) + $(this).html(newContent) + }) + } + + + init(); + +}); \ No newline at end of file diff --git a/js/site.js b/js/site.js new file mode 100755 index 000000000..2d9d89cd7 --- /dev/null +++ b/js/site.js @@ -0,0 +1,132 @@ +document.addEventListener("DOMContentLoaded", function() { + + // Variables + var navOffsetTop = document.querySelector('.navbar').getBoundingClientRect().top + document.body.scrollTop; + var entityMap = { + "&": "&", + "<": "<", + ">": ">", + '"': '"', + "'": ''', + "/": '/' + }; + + function init() { + // handle menu popovers + var y = document.querySelectorAll('[data-popover]') + y.forEach(function(e) { + e.addEventListener('click', newOpenPopover) + }) + document.addEventListener('click', newClosePopover) + + // attach click even to all anchor links + addSmoothScroll(); + + // add click event to theme buttons + var x = document.querySelector('.themeButtons') + x.childNodes.forEach(function(e) { + e.addEventListener('click', toggleTheme) + }) + + // listener for navbar visibility + window.addEventListener('scroll', onScroll); + + // prep for html escaping + buildSnippets(); + } + + /* non-jquery functions */ + + function toggleTheme(e) { + var target = e.target + // check if button pressed was already primary + if (!target.classList.contains('button-primary')) { + // get sibling, which might be before + var sib = target.nextElementSibling || target.previousElementSibling + target.classList.add('button-primary') + sib.classList.remove('button-primary') + + var prettifyDark = document.getElementById('prettify-dark') + var sheets = document.styleSheets + + // temporariily set transition class on html element + document.documentElement.classList.add('transition-theme') + + // change data-theme + if (target.classList.contains('darkTheme')) { + document.documentElement.setAttribute("data-theme", "dark") + prettifyDark.removeAttribute('disabled') + prettifyDark.disabled = false + } else { + document.documentElement.removeAttribute("data-theme", "dark") + prettifyDark.disabled = true + } + + // remove transition class + window.setTimeout(function() { + document.documentElement.classList.remove('transition-theme') + }, 1000) + } + } + + function addSmoothScroll() { + var els = document.querySelectorAll('[href^="#"]') + els.forEach(function(e) { + e.addEventListener('click', function(i) { + i.preventDefault() + var target = e.getAttribute('href') + document.getElementById(target.substring(1)).scrollIntoView({ behavior: 'smooth' }); + }); + }); + } + + function escapeHtml(string) { + return String(string).replace(/[&<>"'\/]/g, function (s) { + return entityMap[s]; + }); + } + + function buildSnippets() { + var els = document.querySelectorAll('.code-example-body') + els.forEach(function(e) { + var newContent = escapeHtml(e.innerHTML) + e.innerHTML = newContent + }) + } + + function newOpenPopover(e) { + e.preventDefault() + newClosePopover(); + var pop = e.target.getAttribute('data-popover') + var popoverEl = document.getElementById(pop) + //var popover = $($(this).data('popover')); + popoverEl.classList.add('open') + e.stopImmediatePropagation(); + } + + function newClosePopover(e) { + var x = document.querySelector('.popover.open') + if(x != null) { + x.classList.remove('open') + } + } + + window.onresize = function() { + document.body.classList.remove('has-docked-nav') + var rect = document.querySelector('.navbar').getBoundingClientRect(); + navOffsetTop = rect.top + document.body.scrollTop + onScroll() + } + + function onScroll() { + var b = document.body + if(navOffsetTop < window.scrollY && !b.classList.contains('has-docked-nav')) { + b.classList.add('has-docked-nav') + } + if(navOffsetTop > window.scrollY && b.classList.contains('has-docked-nav')) { + b.classList.remove('has-docked-nav') + } + } + + init(); +}); \ No newline at end of file diff --git a/js/smoothscroll.min.js b/js/smoothscroll.min.js new file mode 100644 index 000000000..f643269fa --- /dev/null +++ b/js/smoothscroll.min.js @@ -0,0 +1 @@ +!function(){"use strict";function o(){var o=window,t=document;if(!("scrollBehavior"in t.documentElement.style&&!0!==o.__forceSmoothScrollPolyfill__)){var l,e=o.HTMLElement||o.Element,r=468,i={scroll:o.scroll||o.scrollTo,scrollBy:o.scrollBy,elementScroll:e.prototype.scroll||n,scrollIntoView:e.prototype.scrollIntoView},s=o.performance&&o.performance.now?o.performance.now.bind(o.performance):Date.now,c=(l=o.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(l)?1:0);o.scroll=o.scrollTo=function(){void 0!==arguments[0]&&(!0!==f(arguments[0])?h.call(o,t.body,void 0!==arguments[0].left?~~arguments[0].left:o.scrollX||o.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:o.scrollY||o.pageYOffset):i.scroll.call(o,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:o.scrollX||o.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:o.scrollY||o.pageYOffset))},o.scrollBy=function(){void 0!==arguments[0]&&(f(arguments[0])?i.scrollBy.call(o,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):h.call(o,t.body,~~arguments[0].left+(o.scrollX||o.pageXOffset),~~arguments[0].top+(o.scrollY||o.pageYOffset)))},e.prototype.scroll=e.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==f(arguments[0])){var o=arguments[0].left,t=arguments[0].top;h.call(this,this,void 0===o?this.scrollLeft:~~o,void 0===t?this.scrollTop:~~t)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},e.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==f(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},e.prototype.scrollIntoView=function(){if(!0!==f(arguments[0])){var l=function(o){var l,e,r,i;do{l=(o=o.parentNode)===t.body}while(!1===l&&!1===(r=p(e=o,"Y")&&a(e,"Y"),i=p(e,"X")&&a(e,"X"),r||i));return l=null,o}(this),e=l.getBoundingClientRect(),r=this.getBoundingClientRect();l!==t.body?(h.call(this,l,l.scrollLeft+r.left-e.left,l.scrollTop+r.top-e.top),"fixed"!==o.getComputedStyle(l).position&&o.scrollBy({left:e.left,top:e.top,behavior:"smooth"})):o.scrollBy({left:r.left,top:r.top,behavior:"smooth"})}else i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function n(o,t){this.scrollLeft=o,this.scrollTop=t}function f(o){if(null===o||"object"!=typeof o||void 0===o.behavior||"auto"===o.behavior||"instant"===o.behavior)return!0;if("object"==typeof o&&"smooth"===o.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+o.behavior+" is not a valid value for enumeration ScrollBehavior.")}function p(o,t){return"Y"===t?o.clientHeight+c1?1:n,l=.5*(1-Math.cos(Math.PI*c)),e=t.startX+(t.x-t.startX)*l,i=t.startY+(t.y-t.startY)*l,t.method.call(t.scrollable,e,i),e===t.x&&i===t.y||o.requestAnimationFrame(d.bind(o,t))}function h(l,e,r){var c,f,p,a,h=s();l===t.body?(c=o,f=o.scrollX||o.pageXOffset,p=o.scrollY||o.pageYOffset,a=i.scroll):(c=l,f=l.scrollLeft,p=l.scrollTop,a=n),d({scrollable:c,method:a,startTime:h,startX:f,startY:p,x:e,y:r})}}"object"==typeof exports&&"undefined"!=typeof module?module.exports={polyfill:o}:o()}(); \ No newline at end of file diff --git a/robots.txt b/robots.txt deleted file mode 100755 index d310d070b..000000000 --- a/robots.txt +++ /dev/null @@ -1,5 +0,0 @@ -# www.robotstxt.org/ -# www.google.com/support/webmasters/bin/answer.py?hl=en&answer=156449 - -User-agent: * - diff --git a/stylesheets/base.css b/stylesheets/base.css deleted file mode 100644 index afc4d3b95..000000000 --- a/stylesheets/base.css +++ /dev/null @@ -1,342 +0,0 @@ -/* -* Skeleton V1.1 -* Copyright 2011, Dave Gamache -* www.getskeleton.com -* Free to use under the MIT license. -* http://www.opensource.org/licenses/mit-license.php -* 8/17/2011 -*/ - - -/* Table of Content -================================================== - #Reset & Basics - #Basic Styles - #Site Styles - #Typography - #Links - #Lists - #Images - #Buttons - #Tabs - #Forms - #Misc */ - - -/* #Reset & Basics (Inspired by E. Meyers) -================================================== */ - 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, ol, 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 { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; } - article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { - display: block; } - body { - line-height: 1; } - ol, ul { - list-style: none; } - blockquote, q { - quotes: none; } - blockquote:before, blockquote:after, - q:before, q:after { - content: ''; - content: none; } - table { - border-collapse: collapse; - border-spacing: 0; } - - -/* #Basic Styles -================================================== */ - body { - background: #fff; - font: 14px/21px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; - color: #444; - -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */ - -webkit-text-size-adjust: 100%; - } - - -/* #Typography -================================================== */ - h1, h2, h3, h4, h5, h6 { - color: #181818; - font-family: "Georgia", "Times New Roman", serif; - font-weight: normal; } - h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; } - h1 { font-size: 46px; line-height: 50px; margin-bottom: 14px;} - h2 { font-size: 35px; line-height: 40px; margin-bottom: 10px; } - h3 { font-size: 28px; line-height: 34px; margin-bottom: 8px; } - h4 { font-size: 21px; line-height: 30px; margin-bottom: 4px; } - h5 { font-size: 17px; line-height: 24px; } - h6 { font-size: 14px; line-height: 21px; } - .subheader { color: #777; } - - p { margin: 0 0 20px 0; } - p img { margin: 0; } - p.lead { font-size: 21px; line-height: 27px; color: #777; } - - em { font-style: italic; } - strong { font-weight: bold; color: #333; } - small { font-size: 80%; } - -/* Blockquotes */ - blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; } - blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; } - blockquote cite { display: block; font-size: 12px; color: #555; } - blockquote cite:before { content: "\2014 \0020"; } - blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; } - - hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; } - - -/* #Links -================================================== */ - a, a:visited { color: #333; text-decoration: underline; outline: 0; } - a:hover, a:focus { color: #000; } - p a, p a:visited { line-height: inherit; } - - -/* #Lists -================================================== */ - ul, ol { margin-bottom: 20px; } - ul { list-style: none outside; } - ol { list-style: decimal; } - ol, ul.square, ul.circle, ul.disc { margin-left: 30px; } - ul.square { list-style: square outside; } - ul.circle { list-style: circle outside; } - ul.disc { list-style: disc outside; } - ul ul, ul ol, - ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%; } - ul ul li, ul ol li, - ol ol li, ol ul li { margin-bottom: 6px; } - li { line-height: 18px; margin-bottom: 12px; } - ul.large li { line-height: 21px; } - li p { line-height: 21px; } - -/* #Images -================================================== */ - - img.scale-with-grid { - max-width: 100%; - height: auto; } - - -/* #Buttons -================================================== */ - - .button, - button, - input[type="submit"], - input[type="reset"], - input[type="button"] { - background: #eee; /* Old browsers */ - background: #eee -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%); /* FF3.6+ */ - background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.2)), color-stop(100%,rgba(0,0,0,.2))); /* Chrome,Safari4+ */ - background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Chrome10+,Safari5.1+ */ - background: #eee -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */ - background: #eee -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */ - background: #eee linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */ - border: 1px solid #aaa; - border-top: 1px solid #ccc; - border-left: 1px solid #ccc; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - color: #444; - display: inline-block; - font-size: 11px; - font-weight: bold; - text-decoration: none; - text-shadow: 0 1px rgba(255, 255, 255, .75); - cursor: pointer; - margin-bottom: 20px; - line-height: normal; - padding: 8px 10px; - font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; } - - .button:hover, - button:hover, - input[type="submit"]:hover, - input[type="reset"]:hover, - input[type="button"]:hover { - color: #222; - background: #ddd; /* Old browsers */ - background: #ddd -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */ - background: #ddd -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */ - background: #ddd -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */ - background: #ddd -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */ - background: #ddd -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */ - background: #ddd linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */ - border: 1px solid #888; - border-top: 1px solid #aaa; - border-left: 1px solid #aaa; } - - .button:active, - button:active, - input[type="submit"]:active, - input[type="reset"]:active, - input[type="button"]:active { - border: 1px solid #666; - background: #ccc; /* Old browsers */ - background: #ccc -moz-linear-gradient(top, rgba(255,255,255,.35) 0%, rgba(10,10,10,.4) 100%); /* FF3.6+ */ - background: #ccc -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.35)), color-stop(100%,rgba(10,10,10,.4))); /* Chrome,Safari4+ */ - background: #ccc -webkit-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Chrome10+,Safari5.1+ */ - background: #ccc -o-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Opera11.10+ */ - background: #ccc -ms-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* IE10+ */ - background: #ccc linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* W3C */ } - - .button.full-width, - button.full-width, - input[type="submit"].full-width, - input[type="reset"].full-width, - input[type="button"].full-width { - width: 100%; - padding-left: 0 !important; - padding-right: 0 !important; - text-align: center; } - - /* Fix for odd Mozilla border & padding issues */ - button::-moz-focus-inner, - input::-moz-focus-inner { - border: 0; - padding: 0; - } - - -/* #Tabs (activate in tabs.js) -================================================== */ - ul.tabs { - display: block; - margin: 0 0 20px 0; - padding: 0; - border-bottom: solid 1px #ddd; } - ul.tabs li { - display: block; - width: auto; - height: 30px; - padding: 0; - float: left; - margin-bottom: 0; } - ul.tabs li a { - display: block; - text-decoration: none; - width: auto; - height: 29px; - padding: 0px 20px; - line-height: 30px; - border: solid 1px #ddd; - border-width: 1px 1px 0 0; - margin: 0; - background: #f5f5f5; - font-size: 13px; } - ul.tabs li a.active { - background: #fff; - height: 30px; - position: relative; - top: -4px; - padding-top: 4px; - border-left-width: 1px; - margin: 0 0 0 -1px; - color: #111; - -moz-border-radius-topleft: 2px; - -webkit-border-top-left-radius: 2px; - border-top-left-radius: 2px; - -moz-border-radius-topright: 2px; - -webkit-border-top-right-radius: 2px; - border-top-right-radius: 2px; } - ul.tabs li:first-child a.active { - margin-left: 0; } - ul.tabs li:first-child a { - border-width: 1px 1px 0 1px; - -moz-border-radius-topleft: 2px; - -webkit-border-top-left-radius: 2px; - border-top-left-radius: 2px; } - ul.tabs li:last-child a { - -moz-border-radius-topright: 2px; - -webkit-border-top-right-radius: 2px; - border-top-right-radius: 2px; } - - ul.tabs-content { margin: 0; display: block; } - ul.tabs-content > li { display:none; } - ul.tabs-content > li.active { display: block; } - - /* Clearfixing tabs for beautiful stacking */ - ul.tabs:before, - ul.tabs:after { - content: '\0020'; - display: block; - overflow: hidden; - visibility: hidden; - width: 0; - height: 0; } - ul.tabs:after { - clear: both; } - ul.tabs { - zoom: 1; } - - -/* #Forms -================================================== */ - - form { - margin-bottom: 20px; } - fieldset { - margin-bottom: 20px; } - input[type="text"], - input[type="password"], - input[type="email"], - textarea, - select { - border: 1px solid #ccc; - padding: 6px 4px; - outline: none; - -moz-border-radius: 2px; - -webkit-border-radius: 2px; - border-radius: 2px; - font: 13px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; - color: #777; - margin: 0; - width: 210px; - max-width: 100%; - display: block; - margin-bottom: 20px; - background: #fff; } - select { - padding: 0; } - input[type="text"]:focus, - input[type="password"]:focus, - input[type="email"]:focus, - textarea:focus { - border: 1px solid #aaa; - color: #444; - -moz-box-shadow: 0 0 3px rgba(0,0,0,.2); - -webkit-box-shadow: 0 0 3px rgba(0,0,0,.2); - box-shadow: 0 0 3px rgba(0,0,0,.2); } - textarea { - min-height: 60px; } - label, - legend { - display: block; - font-weight: bold; - font-size: 13px; } - select { - width: 220px; } - input[type="checkbox"] { - display: inline; } - label span, - legend span { - font-weight: normal; - font-size: 13px; - color: #444; } - -/* #Misc -================================================== */ - .remove-bottom { margin-bottom: 0 !important; } - .half-bottom { margin-bottom: 10px !important; } - .add-bottom { margin-bottom: 20px !important; } - - diff --git a/stylesheets/layout.css b/stylesheets/layout.css deleted file mode 100644 index aff5b477e..000000000 --- a/stylesheets/layout.css +++ /dev/null @@ -1,58 +0,0 @@ -/* -* Skeleton V1.1 -* Copyright 2011, Dave Gamache -* www.getskeleton.com -* Free to use under the MIT license. -* http://www.opensource.org/licenses/mit-license.php -* 8/17/2011 -*/ - -/* Table of Content -================================================== - #Site Styles - #Page Styles - #Media Queries - #Font-Face */ - -/* #Site Styles -================================================== */ - -/* #Page Styles -================================================== */ - -/* #Media Queries -================================================== */ - - /* Smaller than standard 960 (devices and browsers) */ - @media only screen and (max-width: 959px) {} - - /* Tablet Portrait size to standard 960 (devices and browsers) */ - @media only screen and (min-width: 768px) and (max-width: 959px) {} - - /* All Mobile Sizes (devices and browser) */ - @media only screen and (max-width: 767px) {} - - /* Mobile Landscape Size to Tablet Portrait (devices and browsers) */ - @media only screen and (min-width: 480px) and (max-width: 767px) {} - - /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */ - @media only screen and (max-width: 479px) {} - - -/* #Font-Face -================================================== */ -/* This is the proper syntax for an @font-face file - Just create a "fonts" folder at the root, - copy your FontName into code below and remove - comment brackets */ - -/* @font-face { - font-family: 'FontName'; - src: url('../fonts/FontName.eot'); - src: url('../fonts/FontName.eot?iefix') format('eot'), - url('../fonts/FontName.woff') format('woff'), - url('../fonts/FontName.ttf') format('truetype'), - url('../fonts/FontName.svg#webfontZam02nTh') format('svg'); - font-weight: normal; - font-style: normal; } -*/ \ No newline at end of file diff --git a/stylesheets/skeleton.css b/stylesheets/skeleton.css deleted file mode 100644 index f36de832c..000000000 --- a/stylesheets/skeleton.css +++ /dev/null @@ -1,242 +0,0 @@ -/* -* Skeleton V1.1 -* Copyright 2011, Dave Gamache -* www.getskeleton.com -* Free to use under the MIT license. -* http://www.opensource.org/licenses/mit-license.php -* 8/17/2011 -*/ - - -/* Table of Contents -================================================== - #Base 960 Grid - #Tablet (Portrait) - #Mobile (Portrait) - #Mobile (Landscape) - #Clearing */ - - - -/* #Base 960 Grid -================================================== */ - - .container { position: relative; width: 960px; margin: 0 auto; padding: 0; } - .container .column, - .container .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; } - .row { margin-bottom: 20px; } - - /* Nested Column Classes */ - .column.alpha, .columns.alpha { margin-left: 0; } - .column.omega, .columns.omega { margin-right: 0; } - - /* Base Grid */ - .container .one.column, - .container .one.columns { width: 40px; } - .container .two.columns { width: 100px; } - .container .three.columns { width: 160px; } - .container .four.columns { width: 220px; } - .container .five.columns { width: 280px; } - .container .six.columns { width: 340px; } - .container .seven.columns { width: 400px; } - .container .eight.columns { width: 460px; } - .container .nine.columns { width: 520px; } - .container .ten.columns { width: 580px; } - .container .eleven.columns { width: 640px; } - .container .twelve.columns { width: 700px; } - .container .thirteen.columns { width: 760px; } - .container .fourteen.columns { width: 820px; } - .container .fifteen.columns { width: 880px; } - .container .sixteen.columns { width: 940px; } - - .container .one-third.column { width: 300px; } - .container .two-thirds.column { width: 620px; } - - /* Offsets */ - .container .offset-by-one { padding-left: 60px; } - .container .offset-by-two { padding-left: 120px; } - .container .offset-by-three { padding-left: 180px; } - .container .offset-by-four { padding-left: 240px; } - .container .offset-by-five { padding-left: 300px; } - .container .offset-by-six { padding-left: 360px; } - .container .offset-by-seven { padding-left: 420px; } - .container .offset-by-eight { padding-left: 480px; } - .container .offset-by-nine { padding-left: 540px; } - .container .offset-by-ten { padding-left: 600px; } - .container .offset-by-eleven { padding-left: 660px; } - .container .offset-by-twelve { padding-left: 720px; } - .container .offset-by-thirteen { padding-left: 780px; } - .container .offset-by-fourteen { padding-left: 840px; } - .container .offset-by-fifteen { padding-left: 900px; } - - - -/* #Tablet (Portrait) -================================================== */ - - /* Note: Design for a width of 768px */ - - @media only screen and (min-width: 768px) and (max-width: 959px) { - .container { width: 768px; } - .container .column, - .container .columns { margin-left: 10px; margin-right: 10px; } - .column.alpha, .columns.alpha { margin-left: 0; margin-right: 10px; } - .column.omega, .columns.omega { margin-right: 0; margin-left: 10px; } - .alpha.omega { margin-left: 0; margin-right: 0; } - - .container .one.column, - .container .one.columns { width: 28px; } - .container .two.columns { width: 76px; } - .container .three.columns { width: 124px; } - .container .four.columns { width: 172px; } - .container .five.columns { width: 220px; } - .container .six.columns { width: 268px; } - .container .seven.columns { width: 316px; } - .container .eight.columns { width: 364px; } - .container .nine.columns { width: 412px; } - .container .ten.columns { width: 460px; } - .container .eleven.columns { width: 508px; } - .container .twelve.columns { width: 556px; } - .container .thirteen.columns { width: 604px; } - .container .fourteen.columns { width: 652px; } - .container .fifteen.columns { width: 700px; } - .container .sixteen.columns { width: 748px; } - - .container .one-third.column { width: 236px; } - .container .two-thirds.column { width: 492px; } - - /* Offsets */ - .container .offset-by-one { padding-left: 48px; } - .container .offset-by-two { padding-left: 96px; } - .container .offset-by-three { padding-left: 144px; } - .container .offset-by-four { padding-left: 192px; } - .container .offset-by-five { padding-left: 240px; } - .container .offset-by-six { padding-left: 288px; } - .container .offset-by-seven { padding-left: 336px; } - .container .offset-by-eight { padding-left: 384px; } - .container .offset-by-nine { padding-left: 432px; } - .container .offset-by-ten { padding-left: 480px; } - .container .offset-by-eleven { padding-left: 528px; } - .container .offset-by-twelve { padding-left: 576px; } - .container .offset-by-thirteen { padding-left: 624px; } - .container .offset-by-fourteen { padding-left: 672px; } - .container .offset-by-fifteen { padding-left: 720px; } - } - - -/* #Mobile (Portrait) -================================================== */ - - /* Note: Design for a width of 320px */ - - @media only screen and (max-width: 767px) { - .container { width: 300px; } - .container .columns, - .container .column { margin: 0; } - - .container .one.column, - .container .one.columns, - .container .two.columns, - .container .three.columns, - .container .four.columns, - .container .five.columns, - .container .six.columns, - .container .seven.columns, - .container .eight.columns, - .container .nine.columns, - .container .ten.columns, - .container .eleven.columns, - .container .twelve.columns, - .container .thirteen.columns, - .container .fourteen.columns, - .container .fifteen.columns, - .container .sixteen.columns, - .container .one-third.column, - .container .two-thirds.column { width: 300px; } - - /* Offsets */ - .container .offset-by-one, - .container .offset-by-two, - .container .offset-by-three, - .container .offset-by-four, - .container .offset-by-five, - .container .offset-by-six, - .container .offset-by-seven, - .container .offset-by-eight, - .container .offset-by-nine, - .container .offset-by-ten, - .container .offset-by-eleven, - .container .offset-by-twelve, - .container .offset-by-thirteen, - .container .offset-by-fourteen, - .container .offset-by-fifteen { padding-left: 0; } - - } - - -/* #Mobile (Landscape) -================================================== */ - - /* Note: Design for a width of 480px */ - - @media only screen and (min-width: 480px) and (max-width: 767px) { - .container { width: 420px; } - .container .columns, - .container .column { margin: 0; } - - .container .one.column, - .container .one.columns, - .container .two.columns, - .container .three.columns, - .container .four.columns, - .container .five.columns, - .container .six.columns, - .container .seven.columns, - .container .eight.columns, - .container .nine.columns, - .container .ten.columns, - .container .eleven.columns, - .container .twelve.columns, - .container .thirteen.columns, - .container .fourteen.columns, - .container .fifteen.columns, - .container .sixteen.columns, - .container .one-third.column, - .container .two-thirds.column { width: 420px; } - } - - -/* #Clearing -================================================== */ - - /* Self Clearing Goodness */ - .container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; } - - /* Use clearfix class on parent to clear nested columns, - or wrap each row of columns in a
*/ - .clearfix:before, - .clearfix:after, - .row:before, - .row:after { - content: '\0020'; - display: block; - overflow: hidden; - visibility: hidden; - width: 0; - height: 0; } - .row:after, - .clearfix:after { - clear: both; } - .row, - .clearfix { - zoom: 1; } - - /* You can also use a
to clear columns */ - .clear { - clear: both; - display: block; - overflow: hidden; - visibility: hidden; - width: 0; - height: 0; - }