commit 8e177235fff0257288845d0a2ee1503c667039b3 Author: Ben Word Date: Sun Mar 27 13:46:21 2011 -0600 roots 3.0.0 diff --git a/404.php b/404.php new file mode 100644 index 0000000..de194c7 --- /dev/null +++ b/404.php @@ -0,0 +1,18 @@ + +
+
+
+

File Not Found

+
+

The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

+
+

Please try the following:

+
    +
  • Check your spelling
  • +
  • Return to the home page
  • +
  • Click the Back button
  • +
+
+
+
+ diff --git a/README.md b/README.md new file mode 100644 index 0000000..c9a6477 --- /dev/null +++ b/README.md @@ -0,0 +1,110 @@ +# Roots WordPress Theme [http://www.rootstheme.com/](http://www.rootstheme.com/) + +## Changelog: + +### 3.0.0: March 28th, 2011 + + + +#### Contributors +[Scott Walkinshaw](http://www.scottwalkinshaw.com/), [Matthew Price](http://www.matthewaprice.com/), [Kyle Geminden](http://www.kylegeminden.com/), [Steve Jothen](http://twitter.com/sjothen) + +### 2.4.0: January 25th, 2011 + + + +### 2.3.0: December 8th, 2010 + + + +### 2.2.0: September 20th, 2010 + + + +### 2.1.0: August 19th, 2010 + + + +### 2.0.1: August 2nd, 2010 + + + +### 2.0.0: July 19th, 2010 + + + +### 1.5.0: April 15th, 2010 + + + +### 1.0.0: December 18th, 2009 + + + +## License: + +Major components: + +* HTML5 Boileplate: [The Unlicense](http://unlicense.org) +* Blueprint CSS: Modified MIT License +* Modernizr: MIT/BSD license +* jQuery: MIT/GPL license + +Everything else: + +* [The Unlicense](http://unlicense.org) (aka: public domain) + +## Summary: + +Roots is a starting WordPress theme made for developers that’s based on HTML5 Boilerplate, Blueprint CSS and Starkers that will help you rapidly create brochure sites and blogs. \ No newline at end of file diff --git a/archive.php b/archive.php new file mode 100644 index 0000000..c09e566 --- /dev/null +++ b/archive.php @@ -0,0 +1,15 @@ + +
+
+
+

+ +
+
+ +
+ \ No newline at end of file diff --git a/comments.php b/comments.php new file mode 100644 index 0000000..355bba9 --- /dev/null +++ b/comments.php @@ -0,0 +1,99 @@ + +
  • > +
    +
    + ' ); ?> + %s'), get_comment_author_link()) ?> + + +
    + + comment_approved == '0') : ?> +
    +

    +
    + + + +
    + +
    + + $depth, 'max_depth' => $args['max_depth']))) ?> + +
    + + + +
    +
    +

    This post is password protected. Enter the password to view comments.

    +
    +
    + + + +
    +

    to “

    +
      + + +
    +
    + +
    +
    + + + +
    +
    +

    Comments are closed.

    +
    +
    + + + +
    +

    +

    + +

    You must be logged in to post a comment.

    + +
    + +

    Logged in as . Log out »

    + +

    + + > +

    +

    + + > +

    +

    + + +

    + +

    +

    + + ID); ?> +
    + +
    + \ No newline at end of file diff --git a/css/blueprint/LICENSE b/css/blueprint/LICENSE new file mode 100644 index 0000000..13076fb --- /dev/null +++ b/css/blueprint/LICENSE @@ -0,0 +1,22 @@ +Copyright (c) 2007 - 2010 blueprintcss.org + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. diff --git a/css/blueprint/ie.css b/css/blueprint/ie.css new file mode 100644 index 0000000..61a5371 --- /dev/null +++ b/css/blueprint/ie.css @@ -0,0 +1,36 @@ +/* ----------------------------------------------------------------------- + + + Blueprint CSS Framework 1.0 + http://blueprintcss.org + + * Copyright (c) 2007-Present. See LICENSE for more info. + * See README for instructions on how to use Blueprint. + * For credits and origins, see AUTHORS. + * This is a compressed file. See the sources in the 'src' directory. + +----------------------------------------------------------------------- */ + +/* ie.css */ +body {text-align:center;} +.container {text-align:left;} +* html .column, * html .span-1, * html .span-2, * html .span-3, * html .span-4, * html .span-5, * html .span-6, * html .span-7, * html .span-8, * html .span-9, * html .span-10, * html .span-11, * html .span-12, * html .span-13, * html .span-14, * html .span-15, * html .span-16, * html .span-17, * html .span-18, * html .span-19, * html .span-20, * html .span-21, * html .span-22, * html .span-23, * html .span-24 {display:inline;overflow-x:hidden;} +* html legend {margin:0px -8px 16px 0;padding:0;} +sup {vertical-align:text-top;} +sub {vertical-align:text-bottom;} +html>body p code {*white-space:normal;} +hr {margin:-8px auto 11px;} +img {-ms-interpolation-mode:bicubic;} +.clearfix, .container {display:inline-block;} +* html .clearfix, * html .container {height:1%;} +fieldset {padding-top:0;} +legend {margin-top:-0.2em;margin-bottom:1em;margin-left:-0.5em;} +textarea {overflow:auto;} +label {vertical-align:middle;position:relative;top:-0.25em;} +input.text, input.title, textarea {background-color:#fff;border:1px solid #bbb;} +input.text:focus, input.title:focus {border-color:#666;} +input.text, input.title, textarea, select {margin:0.5em 0;} +input.checkbox, input.radio {position:relative;top:.25em;} +form.inline div, form.inline p {vertical-align:middle;} +form.inline input.checkbox, form.inline input.radio, form.inline input.button, form.inline button {margin:0.5em 0;} +button, input.button {position:relative;top:0.25em;} \ No newline at end of file diff --git a/css/blueprint/print.css b/css/blueprint/print.css new file mode 100644 index 0000000..fe2e089 --- /dev/null +++ b/css/blueprint/print.css @@ -0,0 +1,29 @@ +/* ----------------------------------------------------------------------- + + + Blueprint CSS Framework 1.0 + http://blueprintcss.org + + * Copyright (c) 2007-Present. See LICENSE for more info. + * See README for instructions on how to use Blueprint. + * For credits and origins, see AUTHORS. + * This is a compressed file. See the sources in the 'src' directory. + +----------------------------------------------------------------------- */ + +/* print.css */ +body {line-height:1.5;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;color:#000;background:none;font-size:10pt;} +.container {background:none;} +hr {background:#ccc;color:#ccc;width:100%;height:2px;margin:2em 0;padding:0;border:none;} +hr.space {background:#fff;color:#fff;visibility:hidden;} +h1, h2, h3, h4, h5, h6 {font-family:"Helvetica Neue", Arial, "Lucida Grande", sans-serif;} +code {font:.9em "Courier New", Monaco, Courier, monospace;} +a img {border:none;} +p img.top {margin-top:0;} +blockquote {margin:1.5em;padding:1em;font-style:italic;font-size:.9em;} +.small {font-size:.9em;} +.large {font-size:1.1em;} +.quiet {color:#999;} +.hide {display:none;} +a:link, a:visited {background:transparent;font-weight:700;text-decoration:underline;} +a:link:after, a:visited:after {content:" (" attr(href) ")";font-size:90%;} \ No newline at end of file diff --git a/css/blueprint/screen.css b/css/blueprint/screen.css new file mode 100644 index 0000000..6d1f6ed --- /dev/null +++ b/css/blueprint/screen.css @@ -0,0 +1,264 @@ +/* ----------------------------------------------------------------------- + + + Blueprint CSS Framework 1.0 + http://blueprintcss.org + + * Copyright (c) 2007-Present. See LICENSE for more info. + * See README for instructions on how to use Blueprint. + * For credits and origins, see AUTHORS. + * This is a compressed file. See the sources in the 'src' directory. + +----------------------------------------------------------------------- */ + +/* reset.css */ +html {margin:0;padding:0;border:0;} +body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;} +article, aside, dialog, figure, footer, header, hgroup, nav, section {display:block;} +body {line-height:1.5;background:white;} +table {border-collapse:separate;border-spacing:0;} +caption, th, td {text-align:left;font-weight:normal;float:none !important;} +table, th, td {vertical-align:middle;} +blockquote:before, blockquote:after, q:before, q:after {content:'';} +blockquote, q {quotes:"" "";} +a img {border:none;} +:focus {outline:0;} + +/* typography.css */ +html {font-size:100.01%;} +body {font-size:75%;color:#222;background:#fff;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;} +h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;} +h1 {font-size:3em;line-height:1;margin-bottom:0.5em;} +h2 {font-size:2em;margin-bottom:0.75em;} +h3 {font-size:1.5em;line-height:1;margin-bottom:1em;} +h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;} +h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;} +h6 {font-size:1em;font-weight:bold;} +h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;} +p {margin:0 0 1.5em;} +.left {float:left !important;} +p .left {margin:1.5em 1.5em 1.5em 0;padding:0;} +.right {float:right !important;} +p .right {margin:1.5em 0 1.5em 1.5em;padding:0;} +a:focus, a:hover {color:#09f;} +a {color:#06c;text-decoration:underline;} +blockquote {margin:1.5em;color:#666;font-style:italic;} +strong, dfn {font-weight:bold;} +em, dfn {font-style:italic;} +sup, sub {line-height:0;} +abbr, acronym {border-bottom:1px dotted #666;} +address {margin:0 0 1.5em;font-style:italic;} +del {color:#666;} +pre {margin:1.5em 0;white-space:pre;} +pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;} +li ul, li ol {margin:0;} +ul, ol {margin:0 1.5em 1.5em 0;padding-left:1.5em;} +ul {list-style-type:disc;} +ol {list-style-type:decimal;} +dl {margin:0 0 1.5em 0;} +dl dt {font-weight:bold;} +dd {margin-left:1.5em;} +table {margin-bottom:1.4em;width:100%;} +th {font-weight:bold;} +thead th {background:#c3d9ff;} +th, td, caption {padding:4px 10px 4px 5px;} +tbody tr:nth-child(even) td, tbody tr.even td {background:#e5ecf9;} +tfoot {font-style:italic;} +caption {background:#eee;} +.small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;} +.large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;} +.hide {display:none;} +.quiet {color:#666;} +.loud {color:#000;} +.highlight {background:#ff0;} +.added {background:#060;color:#fff;} +.removed {background:#900;color:#fff;} +.first {margin-left:0;padding-left:0;} +.last {margin-right:0;padding-right:0;} +.top {margin-top:0;padding-top:0;} +.bottom {margin-bottom:0;padding-bottom:0;} + +/* forms.css */ +label {font-weight:bold;} +fieldset {padding:0 1.4em 1.4em 1.4em;margin:0 0 1.5em 0;border:1px solid #ccc;} +legend {font-weight:bold;font-size:1.2em;margin-top:-0.2em;margin-bottom:1em;} +fieldset, #IE8#HACK {padding-top:1.4em;} +legend, #IE8#HACK {margin-top:0;margin-bottom:0;} +input[type=text], input[type=password], input.text, input.title, textarea {background-color:#fff;border:1px solid #bbb;} +input[type=text]:focus, input[type=password]:focus, input.text:focus, input.title:focus, textarea:focus {border-color:#666;} +select {background-color:#fff;border-width:1px;border-style:solid;} +input[type=text], input[type=password], input.text, input.title, textarea, select {margin:0.5em 0;} +input.text, input.title {width:300px;padding:5px;} +input.title {font-size:1.5em;} +textarea {width:390px;height:250px;padding:5px;} +form.inline {line-height:3;} +form.inline p {margin-bottom:0;} +.error, .alert, .notice, .success, .info {padding:0.8em;margin-bottom:1em;border:2px solid #ddd;} +.error, .alert {background:#fbe3e4;color:#8a1f11;border-color:#fbc2c4;} +.notice {background:#fff6bf;color:#514721;border-color:#ffd324;} +.success {background:#e6efc2;color:#264409;border-color:#c6d880;} +.info {background:#d5edf8;color:#205791;border-color:#92cae4;} +.error a, .alert a {color:#8a1f11;} +.notice a {color:#514721;} +.success a {color:#264409;} +.info a {color:#205791;} + +/* grid.css */ +.container {width:950px;margin:0 auto;} +.column, .span-1, .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-10, .span-11, .span-12, .span-13, .span-14, .span-15, .span-16, .span-17, .span-18, .span-19, .span-20, .span-21, .span-22, .span-23, .span-24 {float:left;margin-right:10px;} +.last {margin-right:0;} +.span-1 {width:30px;} +.span-2 {width:70px;} +.span-3 {width:110px;} +.span-4 {width:150px;} +.span-5 {width:190px;} +.span-6 {width:230px;} +.span-7 {width:270px;} +.span-8 {width:310px;} +.span-9 {width:350px;} +.span-10 {width:390px;} +.span-11 {width:430px;} +.span-12 {width:470px;} +.span-13 {width:510px;} +.span-14 {width:550px;} +.span-15 {width:590px;} +.span-16 {width:630px;} +.span-17 {width:670px;} +.span-18 {width:710px;} +.span-19 {width:750px;} +.span-20 {width:790px;} +.span-21 {width:830px;} +.span-22 {width:870px;} +.span-23 {width:910px;} +.span-24 {width:950px;margin-right:0;} +input.span-1, textarea.span-1, input.span-2, textarea.span-2, input.span-3, textarea.span-3, input.span-4, textarea.span-4, input.span-5, textarea.span-5, input.span-6, textarea.span-6, input.span-7, textarea.span-7, input.span-8, textarea.span-8, input.span-9, textarea.span-9, input.span-10, textarea.span-10, input.span-11, textarea.span-11, input.span-12, textarea.span-12, input.span-13, textarea.span-13, input.span-14, textarea.span-14, input.span-15, textarea.span-15, input.span-16, textarea.span-16, input.span-17, textarea.span-17, input.span-18, textarea.span-18, input.span-19, textarea.span-19, input.span-20, textarea.span-20, input.span-21, textarea.span-21, input.span-22, textarea.span-22, input.span-23, textarea.span-23, input.span-24, textarea.span-24 {border-left-width:1px;border-right-width:1px;padding-left:5px;padding-right:5px;} +input.span-1, textarea.span-1 {width:18px;} +input.span-2, textarea.span-2 {width:58px;} +input.span-3, textarea.span-3 {width:98px;} +input.span-4, textarea.span-4 {width:138px;} +input.span-5, textarea.span-5 {width:178px;} +input.span-6, textarea.span-6 {width:218px;} +input.span-7, textarea.span-7 {width:258px;} +input.span-8, textarea.span-8 {width:298px;} +input.span-9, textarea.span-9 {width:338px;} +input.span-10, textarea.span-10 {width:378px;} +input.span-11, textarea.span-11 {width:418px;} +input.span-12, textarea.span-12 {width:458px;} +input.span-13, textarea.span-13 {width:498px;} +input.span-14, textarea.span-14 {width:538px;} +input.span-15, textarea.span-15 {width:578px;} +input.span-16, textarea.span-16 {width:618px;} +input.span-17, textarea.span-17 {width:658px;} +input.span-18, textarea.span-18 {width:698px;} +input.span-19, textarea.span-19 {width:738px;} +input.span-20, textarea.span-20 {width:778px;} +input.span-21, textarea.span-21 {width:818px;} +input.span-22, textarea.span-22 {width:858px;} +input.span-23, textarea.span-23 {width:898px;} +input.span-24, textarea.span-24 {width:938px;} +.append-1 {padding-right:40px;} +.append-2 {padding-right:80px;} +.append-3 {padding-right:120px;} +.append-4 {padding-right:160px;} +.append-5 {padding-right:200px;} +.append-6 {padding-right:240px;} +.append-7 {padding-right:280px;} +.append-8 {padding-right:320px;} +.append-9 {padding-right:360px;} +.append-10 {padding-right:400px;} +.append-11 {padding-right:440px;} +.append-12 {padding-right:480px;} +.append-13 {padding-right:520px;} +.append-14 {padding-right:560px;} +.append-15 {padding-right:600px;} +.append-16 {padding-right:640px;} +.append-17 {padding-right:680px;} +.append-18 {padding-right:720px;} +.append-19 {padding-right:760px;} +.append-20 {padding-right:800px;} +.append-21 {padding-right:840px;} +.append-22 {padding-right:880px;} +.append-23 {padding-right:920px;} +.prepend-1 {padding-left:40px;} +.prepend-2 {padding-left:80px;} +.prepend-3 {padding-left:120px;} +.prepend-4 {padding-left:160px;} +.prepend-5 {padding-left:200px;} +.prepend-6 {padding-left:240px;} +.prepend-7 {padding-left:280px;} +.prepend-8 {padding-left:320px;} +.prepend-9 {padding-left:360px;} +.prepend-10 {padding-left:400px;} +.prepend-11 {padding-left:440px;} +.prepend-12 {padding-left:480px;} +.prepend-13 {padding-left:520px;} +.prepend-14 {padding-left:560px;} +.prepend-15 {padding-left:600px;} +.prepend-16 {padding-left:640px;} +.prepend-17 {padding-left:680px;} +.prepend-18 {padding-left:720px;} +.prepend-19 {padding-left:760px;} +.prepend-20 {padding-left:800px;} +.prepend-21 {padding-left:840px;} +.prepend-22 {padding-left:880px;} +.prepend-23 {padding-left:920px;} +.border {padding-right:4px;margin-right:5px;border-right:1px solid #ddd;} +.colborder {padding-right:24px;margin-right:25px;border-right:1px solid #ddd;} +.pull-1 {margin-left:-40px;} +.pull-2 {margin-left:-80px;} +.pull-3 {margin-left:-120px;} +.pull-4 {margin-left:-160px;} +.pull-5 {margin-left:-200px;} +.pull-6 {margin-left:-240px;} +.pull-7 {margin-left:-280px;} +.pull-8 {margin-left:-320px;} +.pull-9 {margin-left:-360px;} +.pull-10 {margin-left:-400px;} +.pull-11 {margin-left:-440px;} +.pull-12 {margin-left:-480px;} +.pull-13 {margin-left:-520px;} +.pull-14 {margin-left:-560px;} +.pull-15 {margin-left:-600px;} +.pull-16 {margin-left:-640px;} +.pull-17 {margin-left:-680px;} +.pull-18 {margin-left:-720px;} +.pull-19 {margin-left:-760px;} +.pull-20 {margin-left:-800px;} +.pull-21 {margin-left:-840px;} +.pull-22 {margin-left:-880px;} +.pull-23 {margin-left:-920px;} +.pull-24 {margin-left:-960px;} +.pull-1, .pull-2, .pull-3, .pull-4, .pull-5, .pull-6, .pull-7, .pull-8, .pull-9, .pull-10, .pull-11, .pull-12, .pull-13, .pull-14, .pull-15, .pull-16, .pull-17, .pull-18, .pull-19, .pull-20, .pull-21, .pull-22, .pull-23, .pull-24 {float:left;position:relative;} +.push-1 {margin:0 -40px 1.5em 40px;} +.push-2 {margin:0 -80px 1.5em 80px;} +.push-3 {margin:0 -120px 1.5em 120px;} +.push-4 {margin:0 -160px 1.5em 160px;} +.push-5 {margin:0 -200px 1.5em 200px;} +.push-6 {margin:0 -240px 1.5em 240px;} +.push-7 {margin:0 -280px 1.5em 280px;} +.push-8 {margin:0 -320px 1.5em 320px;} +.push-9 {margin:0 -360px 1.5em 360px;} +.push-10 {margin:0 -400px 1.5em 400px;} +.push-11 {margin:0 -440px 1.5em 440px;} +.push-12 {margin:0 -480px 1.5em 480px;} +.push-13 {margin:0 -520px 1.5em 520px;} +.push-14 {margin:0 -560px 1.5em 560px;} +.push-15 {margin:0 -600px 1.5em 600px;} +.push-16 {margin:0 -640px 1.5em 640px;} +.push-17 {margin:0 -680px 1.5em 680px;} +.push-18 {margin:0 -720px 1.5em 720px;} +.push-19 {margin:0 -760px 1.5em 760px;} +.push-20 {margin:0 -800px 1.5em 800px;} +.push-21 {margin:0 -840px 1.5em 840px;} +.push-22 {margin:0 -880px 1.5em 880px;} +.push-23 {margin:0 -920px 1.5em 920px;} +.push-24 {margin:0 -960px 1.5em 960px;} +.push-1, .push-2, .push-3, .push-4, .push-5, .push-6, .push-7, .push-8, .push-9, .push-10, .push-11, .push-12, .push-13, .push-14, .push-15, .push-16, .push-17, .push-18, .push-19, .push-20, .push-21, .push-22, .push-23, .push-24 {float:left;position:relative;} +div.prepend-top, .prepend-top {margin-top:1.5em;} +div.append-bottom, .append-bottom {margin-bottom:1.5em;} +.box {padding:1.5em;margin-bottom:1.5em;background:#e5eCf9;} +hr {background:#ddd;color:#ddd;clear:both;float:none;width:100%;height:1px;margin:0 0 1.45em;border:none;} +hr.space {background:#fff;color:#fff;visibility:hidden;} +.clearfix:after, .container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;} +.clearfix, .container {display:block;} +.clear {clear:both;} \ No newline at end of file diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..9302fc9 --- /dev/null +++ b/css/style.css @@ -0,0 +1,454 @@ +/* GENERAL +--------------------------------------------------------------------------------------------------------------------------------------------------- */ +/* Typography */ +html { overflow-y: scroll; } +body { background: #fff; } + +a { color: #06c; } +a:hover, a:focus { color:#09f; } +a:hover, a:active { outline: none; } +a:active, input.button:active { outline: 0; position: relative; top: 1px; } + +h1, h2, h3, h4, h5, h6 { text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15); } + +ul.none { margin: 0 0 1.5em 0; padding: 0; list-style: none; } +.icon { vertical-align: middle; } +.large { line-height: 1.5em; } +.center { text-align: center; } +.aligncenter { display: block; margin: 0 auto; } +img.left, p img.left, .alignleft { margin: 0 1.5em 1.5em 0; float: left; } +img.right, p img.right, .alignright { margin: 0 0 1.5em 1.5em; float: right; } +.wp-caption { border: 1px solid #ddd; text-align: center; background: #eee; padding: 14px 10px 6px 10px; margin: 15px 10px; } +.wp-caption-text { margin: 0; } +.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; } +.hidden { display: none; visibility: hidden; } +.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } +.visuallyhidden.focusable:active, +.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; } +.invisible { visibility: hidden; } + +::-moz-selection { text-shadow: none; background: #3399FF; color: #fff; } +::selection { text-shadow: none; background: #3399FF; color: #fff; } +a:link { -webkit-tap-highlight-color: #3399FF; } + +.button, #post-nav a, #comments-nav a { + display: inline-block; + background: #06c; + background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)); + background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)); + background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)); + background-image: linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)); + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + border-radius: 6px; + color: #fff; + border: none; + padding: 8px 16px; + cursor: pointer; + text-decoration: none; + text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.15); + width: auto; + overflow: visible; + -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2), 1px 1px 3px rgba(0, 0, 0, 0.2) inset; + -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2), 1px 1px 3px rgba(0, 0, 0, 0.2) inset; + box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2), 1px 1px 3px rgba(0, 0, 0, 0.2) inset; + -webkit-appearance: none; +} +.button:hover, #post-nav a:hover, #comments-nav a:hover { + background: #09f; + color: #fff; +} + +/* Forms */ +input, select, textarea { font-family: sans-serif; font-size: 1em; } +button, input, select, textarea { margin: 0; } +label, input[type=button], input[type=submit], button { cursor: pointer; } +button { width: auto; overflow: visible; } +textarea { overflow: auto; } + +/* Grid */ +#wrap { } +hr { background: #ddd; color: #ddd; } + + +/* HEADER +--------------------------------------------------------------------------------------------------------------------------------------------------- */ +#banner { position: relative; margin: 16px auto; z-index: 1000; } + +#logo { float: left; width: 300px; height: 75px; margin: 0 0 16px; padding: 0; } + +#nav-main ul { + background: #06c; + background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)); + background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)); + background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)); + background-image: linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)); + position: relative; + list-style: none; + margin: 0; + padding: 0; + float: left; + width: 100%; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + border-radius: 6px; +} +#nav-main ul li { float: left; } +#nav-main ul li:hover { position: relative; } +#nav-main ul li a { + text-decoration: none; + display: block; + font-size: 14px; + padding: 8px 16px; + color: #fff; + margin: 0; + text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.15); +} +#nav-main ul li a:hover, +#nav-main ul li.current_page_item > a, +#nav-main ul li.current_page_parent > a, +#nav-main ul li.current_page_ancestor > a, +#nav-main ul li.current-cat > a, +#nav-main ul li.current-cat-parent > a, +#nav-main ul li.current-category-ancestor > a, +#nav-main ul li.current-menu-item > a, +#nav-main ul li.current-menu-parent > a, +#nav-main ul li.current-post-parent > a, +#nav-main ul li.current-post-ancestor > a, +#nav-main ul li:hover > a { + color: #73C8FF; +} + +#nav-main ul ul { + position: absolute; + visibility: hidden; + top: 100%; + left: 0; + width: 200px; + background: #73C8FF; + padding: 0; + -moz-border-radius: 0; + -webkit-border-radius: 0; + border-radius: 0; +} +#nav-main ul ul li { float: none; } +#nav-main ul ul li a { + font-size: 12px; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); + padding: 4px 16px; + width: 168px; /* account for the width of ul#nav-main ul and the padding on the anchor */ + display: inline-block; + +} +#nav-main ul ul li a:hover, +#nav-main ul ul li.current_page_item > a, +#nav-main ul ul li.current_page_parent > a, +#nav-main ul ul li.current_page_ancestor > a, +#nav-main ul ul li.current-cat > a, +#nav-main ul ul li.current-cat-parent > a, +#nav-main ul ul li.current-category-ancestor > a, +#nav-main ul ul li.current-menu-item > a, +#nav-main ul ul li.current-menu-parent > a, +#nav-main ul ul li.current-post-parent > a, +#nav-main ul ul li.current-post-ancestor > a, +#nav-main ul ul li:hover > a { + color: #06c; +} + +#nav-main ul ul ul { left: 100%; top: 0; } +#nav-main ul li:hover > ul { visibility: visible; } + +#nav-utility { position: absolute; top: 0; right: 0; } +#nav-utility ul { list-style: none; margin: 0; padding: 0; float: right; width: auto; position: relative; } +#nav-utility ul li { float: left; position: relative; } +#nav-utility ul li a { display: block; float: left; padding: 2px 6px; } + + +/* CONTENT +--------------------------------------------------------------------------------------------------------------------------------------------------- */ +#content { margin-bottom: 24px; } +#content .container { width: auto; position: relative; } + +#main { position: relative; } + +/* Posts */ +.hentry header { margin-bottom: 1.5em; } +.hentry h1 { line-height: 1.2em; margin-bottom: 0.2em; } +.hentry h2:first-child { line-height: 1.2em; margin-bottom: 0; } +.hentry h2 a { text-decoration: none; } +.hentry iframe.twitter-share-button { position: absolute; top: 0; right: 0; width: 110px; height: 20px; } +.hentry time { display: block; font-size: 1.2em; position: relative; } +.hentry p.byline { } + +/* Post, page, comment navigation */ +#post-nav { clear: both; } +#post-nav:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; overflow: hidden; } +#post-nav .post-previous { float: left; width: 50%; } +#post-nav .post-next { float: right; width: 50%; text-align: right; } +#post-nav .post-next a { float: right; } + +#comments-nav { clear: both; margin: 0 0 1.5em 0; } +#comments-nav:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; overflow: hidden; } +#comments-nav .comments-previous { float: left; width: 50%; } +#comments-nav .comments-next { float: right; width: 50%; text-align: right; } +#comments-nav .comments-next a { float: right; } + +/* Post comments */ +ol.commentlist img.avatar { float: left; margin-right: 10px; } +ol.commentlist time { display: block; font-size: 1em; margin-bottom: 0.5em; position: relative; } +ol.commentlist .comment-reply-link { display: block; margin-bottom: 1.5em; } +#commentform p { margin-bottom: 1em; } +#commentform label { display: block; } +#commentform textarea { display: block; } +#commentform input.button { margin-top: 0.5em; } +#commentform:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; overflow: hidden; } + +/* Gallery */ +figure.gallery-item { float: left; margin: 0 1em 1em 0; position: relative; } +figure.gallery-item a img { + border: 4px solid #bbb; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + border-radius: 6px; + -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); + -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); +} +figure.gallery-item a:hover img { border-color: #ccc; } +figure.gallery-item figcaption { display: none; } + +/* Primary Sidebar */ +#sidebar { position: relative; } +#sidebar .container { width: auto; } +#sidebar .widget { clear: both; margin-bottom: 1.5em; } +#sidebar .widget .gform_wrapper ul { padding: 0; list-style-type: none; } + + +/* FOOTER +--------------------------------------------------------------------------------------------------------------------------------------------------- */ +#content-info { clear: both; position: relative; } +#content-info > .container { padding-bottom: 1.5em; } + +#content-info ul.menu { margin: 0 0 24px; padding: 0; list-style-type: none; } +#content-info ul.menu li { display: inline; margin-right: 1em; } + +#content-info p.copy small { font-size: 1em; } + +#content-info p.social .twitter-share-button { float: left; } +#content-info p.social .fb_iframe_widget { float: left; } + +#content-info p.vcard { position: absolute; top: 0; right: 0; margin: 0; text-align: right; } +#content-info p.vcard a.fn { font-size: 14px; } + + +/* WIDGETS & PLUGINS +--------------------------------------------------------------------------------------------------------------------------------------------------- */ +/* Gravity Forms */ +.gform_wrapper { margin: 0; max-width: none; } +.gform_wrapper .gform_heading { width: 100%; margin-bottom: 1.5em; } +.gform_wrapper .gsection .gfield_label, .gform_wrapper h2.gsection_title, .gform_wrapper h3.gform_title { font-size: 1.5em; font-weight: 400; } +.gform_wrapper h3.gform_title { margin-top: 0; } +.gform_wrapper .top_label .gfield_label { margin: 6px 0 0 0; } +.gform_wrapper .top_label input.medium { padding-right: 0; } +.gform_wrapper .left_label .gfield_label, +.gform_wrapper .right_label .gfield_label { margin: 10px 10px 0 0; } +.gform_wrapper .left_label ul.gfield_checkbox, +.gform_wrapper .left_label ul.gfield_radio, +.gform_wrapper .right_label ul.gfield_checkbox, +.gform_wrapper .right_label ul.gfield_radio { + margin: 9px 0 0 31%; +} +.gform_wrapper input[type=text], +.gform_wrapper input[type=url], +.gform_wrapper input[type=email], +.gform_wrapper input[type=tel], +.gform_wrapper input[type=file], +.gform_wrapper input[type=number], +.gform_wrapper input[type=password], +.gform_wrapper textarea, +.gform_wrapper select { + font-size: 1em; + line-height: 14px; + padding: 4px; + margin: 6px 0; + border: 1px solid #bbb; + -moz-background-clip: padding; + -webkit-background-clip: padding; + background-clip: padding-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; + vertical-align: middle; +} +.gform_wrapper input[type=text]:focus, +.gform_wrapper input[type=url]:focus, +.gform_wrapper input[type=email]:focus, +.gform_wrapper input[type=tel]:focus, +.gform_wrapper input[type=number]:focus, +.gform_wrapper input[type=password]:focus, +.gform_wrapper textarea:focus, +.gform_wrapper select:focus { + border: 1px solid #666; +} +.gform_wrapper select { padding: 3px; } +.gform_wrapper .small, .gform_wrapper .large { font-size: 1em; line-height: 14px; } +.gform_wrapper ul.right_label li, +.gform_wrapper ul.left_label li, +.gform_wrapper form ul.right_label li, +.gform_wrapper form ul.left_label li { + margin-bottom: 4px; +} +.gform_wrapper .description, +.gform_wrapper .gfield_description, +.gform_wrapper .gsection_description, +.gform_wrapper .instruction { + font-size: 0.9em; + font-style: normal; + padding: 0; +} +.gform_wrapper .right_label .gfield_description, +.gform_wrapper .right_label .instruction, +.gform_wrapper .left_label .gfield_description, +.gform_wrapper .left_label .instruction { + padding: 0; + margin-left: 31%; +} +.gform_wrapper .ginput_complex label, +.gform_wrapper .gfield_time_hour label, +.gform_wrapper .gfield_time_minute label, +.gform_wrapper .gfield_date_month label, +.gform_wrapper .gfield_date_day label, +.gform_wrapper .gfield_date_year label, +.gform_wrapper .instruction { + font-size: 0.9em; + font-weight: 400; + letter-spacing: 0; + margin: 0 0 6px 0; +} +.gform_wrapper .gfield_checkbox li input[type=checkbox], +.gform_wrapper .gfield_radio li input[type=radio], +.gform_wrapper .gfield_checkbox li input { float: none; display: inline-block; margin-top: 0; vertical-align: middle; } +.gform_wrapper .gfield_checkbox li label, .gform_wrapper .gfield_radio li label { display: inline-block; margin: 0 0 0 8px; vertical-align: middle; } +.gform_wrapper .left_label .ginput_complex .ginput_right label, +.gform_wrapper .left_label .ginput_complex .ginput_left label, +.gform_wrapper .right_label .ginput_complex .ginput_right label, +.gform_wrapper .right_label .ginput_complex .ginput_left label { word-spacing: 0; } +.gform_wrapper .gfield_checkbox li label, .gform_wrapper .gfield_radio li label { font-weight: 400; } +img.ui-datepicker-trigger { vertical-align: middle; } +.gform_wrapper .gf_progressbar_wrapper { width: 100%; } +.gform_wrapper .gf_page_steps { border-bottom: 1px dashed #ddd; width: 100%; } +.gform_wrapper .gf_step { font-family: sans-serif; } +.gform_wrapper .gf_step span.gf_step_number { font-family: sans-serif; } +.gform_wrapper .gsection { border-bottom: 1px dashed #ddd; } +.gform_wrapper .gform_page_footer { border-top: 1px dashed #ddd; } +.gform_wrapper .gform_footer { margin: 6px 0 0 0; padding: 0; } +.gform_wrapper .gform_footer.right_label, .gform_wrapper .gform_footer.left_label { margin: 6px 0 0 0; padding: 0 0 0 31%; } +.ie7 .gform_footer input.button { padding: 8px 16px; } +.gform_wrapper .gform_edit_link { display: none; } +.gform_wrapper .validation_error { font-size: 1em; font-weight: 400; padding: 0.8em; margin-bottom: 1.5em; background: #fbe3e4; color: #8a1f11; border: 2px solid #fbc2c4; } +.gform_wrapper .validation_message { display: none; } +.gform_wrapper li.gfield.gfield_error { + background: none; + margin-bottom: 6px !important; + padding: 0 !important; + border: none; +} +.gform_wrapper .top_label .gfield_error .ginput_container { max-width: none; } +.gform_wrapper .top_label .gfield_error { margin-bottom: 0 !important; } +.gform_wrapper .gfield_error .gfield_label { color: #8a1f11; } +.gform_wrapper .gfield_error input, +.gform_wrapper .gfield_error select, +.gform_wrapper .gfield_error textarea { background: #FBE3E4; border-color: #FBC2C4; } +.gform_wrapper .top_label .gfield_error input, +.gform_wrapper .top_label .gfield_error textarea, +.gform_wrapper .top_label .gfield_error select { border-color: #FBC2C4; } +.gform_wrapper .top_label .gfield_error { width: auto; } + +/* Fancybox */ +#fancybox-loading { position: fixed; top: 50%; left: 50%; width: 40px; height: 40px; margin-top: -20px; margin-left: -20px; cursor: pointer; overflow: hidden; z-index: 1104; display: none; } +#fancybox-loading div { position: absolute; top: 0; left: 0; width: 40px; height: 480px; background-image: url(../img/fancybox/fancybox.png); } +#fancybox-overlay { position: absolute; top: 0; left: 0; width: 100%; z-index: 1100; display: none; } +#fancybox-tmp { padding: 0; margin: 0; border: 0; overflow: auto; display: none; } +#fancybox-wrap { position: absolute; top: 0; left: 0; padding: 20px; z-index: 1101; outline: none; display: none; } +#fancybox-outer { position: relative; width: 100%; height: 100%; background: #fff; } +#fancybox-content { width: 0; height: 0; padding: 0; outline: none; position: relative; overflow: hidden; z-index: 1102; border: 0px solid #fff; } +#fancybox-hide-sel-frame { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent; z-index: 1101; } +#fancybox-close { position: absolute; top: -15px; right: -15px; width: 30px; height: 30px; background: transparent url(../img/fancybox/fancybox.png) -40px 0px; cursor: pointer; z-index: 1103; display: none; } +#fancybox-error { color: #444; font: normal 12px/20px sans-serif; padding: 14px; margin: 0; } +#fancybox-img { width: 100%; height: 100%; padding: 0; margin: 0; border: none; outline: none; line-height: 0; vertical-align: top; } +#fancybox-frame { width: 100%; height: 100%; border: none; display: block; } +#fancybox-left, #fancybox-right { position: absolute; bottom: 0px; height: 100%; width: 35%; cursor: pointer; outline: none; background: transparent url(../img/fancybox/blank.gif); z-index: 1102; display: none; } +#fancybox-left:hover, #fancybox-right:hover { visibility: visible; } +#fancybox-right:hover span { left: auto; right: 20px; } +#fancybox-left:hover span { left: 20px } +#fancybox-left { left: 0px } +#fancybox-right { right: 0px } +#fancybox-left-ico, #fancybox-right-ico { position: absolute; top: 50%; left: -9999px; width: 30px; height: 30px; margin-top: -15px; cursor: pointer; z-index: 1102; display: block; } +#fancybox-left-ico { background-image: url(../img/fancybox/fancybox.png); background-position: -40px -30px; } +#fancybox-right-ico { background-image: url(../img/fancybox/fancybox.png); background-position: -40px -60px; } +.fancybox-bg { position: absolute; padding: 0; margin: 0; border: 0; width: 20px; height: 20px; z-index: 1001; } +#fancybox-bg-n { top: -20px; left: 0; width: 100%; background-image: url(../img/fancybox/fancybox-x.png); } +#fancybox-bg-ne { top: -20px; right: -20px; background-image: url(../img/fancybox/fancybox.png); background-position: -40px -162px; } +#fancybox-bg-e { top: 0; right: -20px; height: 100%; background-image: url(../img/fancybox/fancybox-y.png); background-position: -20px 0px; } +#fancybox-bg-se { bottom: -20px; right: -20px; background-image: url(../img/fancybox/fancybox.png); background-position: -40px -182px; } +#fancybox-bg-s { bottom: -20px; left: 0; width: 100%; background-image: url(../img/fancybox/fancybox-x.png); background-position: 0px -20px; } +#fancybox-bg-sw { bottom: -20px; left: -20px; background-image: url(../img/fancybox/fancybox.png); background-position: -40px -142px; } +#fancybox-bg-w { top: 0; left: -20px; height: 100%; background-image: url(../img/fancybox/fancybox-y.png); } +#fancybox-bg-nw { top: -20px; left: -20px; background-image: url(../img/fancybox/fancybox.png); background-position: -40px -122px; } +#fancybox-title { font-size: 12px; z-index: 1102; } +.fancybox-title-inside { padding-bottom: 10px; text-align: center; color: #333; background: #fff; position: relative; } +.fancybox-title-outside { padding-top: 10px; color: #fff; } +.fancybox-title-over { position: absolute; bottom: 0; left: 0; color: #fff; text-align: left; } +#fancybox-title-over { padding: 10px; background-image: url(../img/fancybox/fancy_title_over.png); display: block; } +.fancybox-title-float { position: absolute; left: 0; bottom: -20px; height: 32px; } +#fancybox-title-float-wrap { border: none; border-collapse: collapse; width: auto; } +#fancybox-title-float-wrap td { border: none; white-space: nowrap; } +#fancybox-title-float-left { padding: 0 0 0 15px; background: url(../img/fancybox/fancybox.png) -40px -90px no-repeat; } +#fancybox-title-float-main { color: #fff; line-height: 29px; font-weight: bold; padding: 0 0 3px 0; background: url(../img/fancybox/fancybox-x.png) 0px -40px; } +#fancybox-title-float-right { padding: 0 0 0 15px; background: url(../img/fancybox/fancybox.png) -55px -90px no-repeat; } + +/* MapPress */ +#mapp0_poweredby, #mapp1_poweredby, #mapp2_poweredby, #mapp3_poweredby, #mapp4_poweredby, #mapp5_poweredby, #mapp6_poweredby, #mapp7_poweredby, #mapp8_poweredby, #mapp9_poweredby, #mapp10_poweredby { display: none !important; } /* remove MapPress credit */ + +/* Search */ +#searchform #s { padding: 5px; } + + +/* INTERNET EXPLORER +--------------------------------------------------------------------------------------------------------------------------------------------------- */ +.ie7 #nav-main ul li { zoom: 1; } + +/* Clearfixes */ +.ie7 #commentform, .ie7 #post-nav, .ie7 #comments-nav { display: inline-block; } + + +/* MEDIA QUERIES +--------------------------------------------------------------------------------------------------------------------------------------------------- */ +@media all and (orientation: portrait) { + /* Style adjustments for portrait mode goes here */ + +} + +@media all and (orientation: landscape) { + /* Style adjustments for landscape mode goes here */ + +} + +@media screen and (max-device-width: 480px) { + /* Grade-A Mobile Browsers (Opera Mobile, iPhone Safari, Android Chrome) */ + +} + +@media print { + * { background: transparent !important; color: black !important; text-shadow: none !important; filter: none !important; -ms-filter: none !important; } + a, a: visited { color: #444 !important; text-decoration: underline; } + a[href]:after { content: " (" attr(href) ")"; } + abbr[title]:after { content: " (" attr(title) ")"; } + .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } + pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } + thead { display: table-header-group; } + tr, img { page-break-inside: avoid; } + @page { margin: 0.5cm; } + p, h2, h3 { orphans: 3; widows: 3; } + h2, h3 { page-break-after: avoid; } +} \ No newline at end of file diff --git a/editor-style.css b/editor-style.css new file mode 100644 index 0000000..f0ef353 --- /dev/null +++ b/editor-style.css @@ -0,0 +1,7 @@ +/* +Theme Name: Roots +Description: Used to style the TinyMCE editor +*/ + +img.left, p img.left, .alignleft { margin: 0 1.5em 1.5em 0; float: left; } +img.right, p img.right, .alignright { margin: 0 0 1.5em 1.5em; float: right; } \ No newline at end of file diff --git a/footer.php b/footer.php new file mode 100644 index 0000000..5a21dc5 --- /dev/null +++ b/footer.php @@ -0,0 +1,32 @@ +
    +
    + + + +

    ©

    + + + + +

    +
    + +
    + , + +
    +
    +
    + +

    + + +
    +
    + + + + \ No newline at end of file diff --git a/front-page.php b/front-page.php new file mode 100644 index 0000000..d9e32e4 --- /dev/null +++ b/front-page.php @@ -0,0 +1,14 @@ + +
    +
    +
    + +
    +
    + +
    + diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..2a37bb8 --- /dev/null +++ b/functions.php @@ -0,0 +1,83 @@ + 'Primary Navigation', + 'utility_navigation' => 'Utility Navigation' + ) +); + +// make sure the menu fallback (wp_list_pages) adds the home link +function roots_page_menu_args($args) { + $args['show_home'] = true; + return $args; +} + +add_filter('wp_page_menu_args', 'roots_page_menu_args'); + +// remove container from menus +function roots_nav_menu_args($args = ''){ + $args['container'] = false; + return $args; +} + +add_filter('wp_nav_menu_args', 'roots_nav_menu_args'); + +// create widget areas: sidebar, footer +$sidebars = array('Sidebar', 'Footer'); +foreach ($sidebars as $sidebar) { + register_sidebar(array('name'=> $sidebar, + 'before_widget' => '
    ', + 'after_widget' => '
    ', + 'before_title' => '

    ', + 'after_title' => '

    ' + )); +} + +// add to robots.txt +// http://codex.wordpress.org/Search_Engine_Optimization_for_WordPress#Robots.txt_Optimization +add_action('do_robots', 'roots_robots'); + +function roots_robots() { + echo "Disallow: /cgi-bin\n"; + echo "Disallow: /wp-admin\n"; + echo "Disallow: /wp-includes\n"; + echo "Disallow: /wp-content/plugins\n"; + echo "Disallow: /plugins\n"; + echo "Disallow: /wp-content/cache\n"; + echo "Disallow: /wp-content/themes\n"; + echo "Disallow: /trackback\n"; + echo "Disallow: /feed\n"; + echo "Disallow: /comments\n"; + echo "Disallow: /category/*/*\n"; + echo "Disallow: */trackback\n"; + echo "Disallow: */feed\n"; + echo "Disallow: */comments\n"; + echo "Disallow: /*?*\n"; + echo "Disallow: /*?\n"; + echo "Allow: /wp-content/uploads\n"; + echo "Allow: /assets"; +} + +?> \ No newline at end of file diff --git a/header.php b/header.php new file mode 100644 index 0000000..347e5d6 --- /dev/null +++ b/header.php @@ -0,0 +1,50 @@ + + + + + + + + + <?php wp_title('|', true, 'right'); ?><?php bloginfo('name'); ?> + + + + + + + + + + + + + + + + + + + + + + + +post_name; body_class($page_slug); ?>> +
    + diff --git a/img/fancybox/blank.gif b/img/fancybox/blank.gif new file mode 100644 index 0000000..35d42e8 Binary files /dev/null and b/img/fancybox/blank.gif differ diff --git a/img/fancybox/fancy_close.png b/img/fancybox/fancy_close.png new file mode 100644 index 0000000..0703530 Binary files /dev/null and b/img/fancybox/fancy_close.png differ diff --git a/img/fancybox/fancy_loading.png b/img/fancybox/fancy_loading.png new file mode 100644 index 0000000..2503017 Binary files /dev/null and b/img/fancybox/fancy_loading.png differ diff --git a/img/fancybox/fancy_nav_left.png b/img/fancybox/fancy_nav_left.png new file mode 100644 index 0000000..ebaa6a4 Binary files /dev/null and b/img/fancybox/fancy_nav_left.png differ diff --git a/img/fancybox/fancy_nav_right.png b/img/fancybox/fancy_nav_right.png new file mode 100644 index 0000000..873294e Binary files /dev/null and b/img/fancybox/fancy_nav_right.png differ diff --git a/img/fancybox/fancy_shadow_e.png b/img/fancybox/fancy_shadow_e.png new file mode 100644 index 0000000..2eda089 Binary files /dev/null and b/img/fancybox/fancy_shadow_e.png differ diff --git a/img/fancybox/fancy_shadow_n.png b/img/fancybox/fancy_shadow_n.png new file mode 100644 index 0000000..69aa10e Binary files /dev/null and b/img/fancybox/fancy_shadow_n.png differ diff --git a/img/fancybox/fancy_shadow_ne.png b/img/fancybox/fancy_shadow_ne.png new file mode 100644 index 0000000..79f6980 Binary files /dev/null and b/img/fancybox/fancy_shadow_ne.png differ diff --git a/img/fancybox/fancy_shadow_nw.png b/img/fancybox/fancy_shadow_nw.png new file mode 100644 index 0000000..7182cd9 Binary files /dev/null and b/img/fancybox/fancy_shadow_nw.png differ diff --git a/img/fancybox/fancy_shadow_s.png b/img/fancybox/fancy_shadow_s.png new file mode 100644 index 0000000..d8858bf Binary files /dev/null and b/img/fancybox/fancy_shadow_s.png differ diff --git a/img/fancybox/fancy_shadow_se.png b/img/fancybox/fancy_shadow_se.png new file mode 100644 index 0000000..541e3ff Binary files /dev/null and b/img/fancybox/fancy_shadow_se.png differ diff --git a/img/fancybox/fancy_shadow_sw.png b/img/fancybox/fancy_shadow_sw.png new file mode 100644 index 0000000..b451689 Binary files /dev/null and b/img/fancybox/fancy_shadow_sw.png differ diff --git a/img/fancybox/fancy_shadow_w.png b/img/fancybox/fancy_shadow_w.png new file mode 100644 index 0000000..8a4e4a8 Binary files /dev/null and b/img/fancybox/fancy_shadow_w.png differ diff --git a/img/fancybox/fancy_title_left.png b/img/fancybox/fancy_title_left.png new file mode 100644 index 0000000..6049223 Binary files /dev/null and b/img/fancybox/fancy_title_left.png differ diff --git a/img/fancybox/fancy_title_main.png b/img/fancybox/fancy_title_main.png new file mode 100644 index 0000000..8044271 Binary files /dev/null and b/img/fancybox/fancy_title_main.png differ diff --git a/img/fancybox/fancy_title_over.png b/img/fancybox/fancy_title_over.png new file mode 100644 index 0000000..d9f458f Binary files /dev/null and b/img/fancybox/fancy_title_over.png differ diff --git a/img/fancybox/fancy_title_right.png b/img/fancybox/fancy_title_right.png new file mode 100644 index 0000000..e36d9db Binary files /dev/null and b/img/fancybox/fancy_title_right.png differ diff --git a/img/fancybox/fancybox-x.png b/img/fancybox/fancybox-x.png new file mode 100644 index 0000000..c2130f8 Binary files /dev/null and b/img/fancybox/fancybox-x.png differ diff --git a/img/fancybox/fancybox-y.png b/img/fancybox/fancybox-y.png new file mode 100644 index 0000000..7ef399b Binary files /dev/null and b/img/fancybox/fancybox-y.png differ diff --git a/img/fancybox/fancybox.png b/img/fancybox/fancybox.png new file mode 100644 index 0000000..65e14f6 Binary files /dev/null and b/img/fancybox/fancybox.png differ diff --git a/img/logo.png b/img/logo.png new file mode 100644 index 0000000..065103a Binary files /dev/null and b/img/logo.png differ diff --git a/includes/css/admin.css b/includes/css/admin.css new file mode 100644 index 0000000..64b9ddd --- /dev/null +++ b/includes/css/admin.css @@ -0,0 +1,62 @@ +@import url("//ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/smoothness/jquery-ui.css"); + +.clearfix:before, +.clearfix:after { + content: "."; + display: block; + height: 0; + overflow: hidden; +} +.clearfix:after { clear: both; } +.clearfix { zoom: 1; } /* IE < 8 */ + +/* theme options */ +#tabs { margin-top: 1em; } +body.toplevel_page_roots .ui-widget { font-size: 1em !important; font-family: inherit !important; } +body.toplevel_page_roots .ui-widget-header { + /* match #wp-head */ + background: #d9d9d9; + background: -moz-linear-gradient(bottom, #d7d7d7, #e4e4e4) !important; + background: -webkit-gradient(linear, left bottom, left top, from(#d7d7d7), to(#e4e4e4)) !important; +} + +body.toplevel_page_roots .ui-state-default, +body.toplevel_page_roots .ui-widget-content .ui-state-default, +body.toplevel_page_roots .ui-widget-header .ui-state-default { + /* match #adminmenu a.menu-top */ + background: url(../images/menu-bits.gif) repeat-x scroll left -379px #F1F1F1 !important; +} +body.toplevel_page_roots .ui-state-active, +body.toplevel_page_roots .ui-widget-content .ui-state-active, +body.toplevel_page_roots .ui-widget-header .ui-state-active { background: #fff !important; } + +ul.options li { clear: both; margin-bottom: 8px; } +ul.options label.settings-label { font-size: 1em; font-weight: 700; float: left; width: 250px; margin: 3px 0 0 0; } +ul.options input.text { float: left; width: 300px; } +ul.options span.note { clear: both; float: left; margin: 2px 0 8px 250px; display: block; font-size: 0.8em; line-height: 1.5em; } + +ul.options div.address { float: left; } +ul.options div.address label { clear: both; float: left; width: 160px; margin: 3px 10px 0 0; } +ul.options div.address input.text { float: left; width: 200px; } + +/* search engines blocked message to match .button-primary */ +#privacy-on-link { + color: #fff !important; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); + background: #21759B url(../../../../../wp-admin/images/button-grad.png) repeat-x scroll left top; + padding: 3px 11px !important; + -moz-border-radius: 11px; + -webkit-border-radius: 11px; + border-radius: 11px; + border: 1px solid #298CBA; + font-weight: 700; + font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; + margin-left: 6px; + line-height: 13px !important; +} +#privacy-on-link:hover { text-decoration: none !important; border: 1px solid #13455B; color: #EAF2FA !important; } + +#editorcontainer #content { + font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; + font-size: 14px; +} \ No newline at end of file diff --git a/includes/css/codemirror/csscolors.css b/includes/css/codemirror/csscolors.css new file mode 100644 index 0000000..cd4b79e --- /dev/null +++ b/includes/css/codemirror/csscolors.css @@ -0,0 +1,55 @@ +html { + cursor: text; +} + +.editbox { + margin: .4em; + padding: 0; + font-family: monospace; + font-size: 10pt; + color: black; +} + +pre.code, .editbox { + color: #666; +} + +.editbox p { + margin: 0; +} + +span.css-at { + color: #708; +} + +span.css-unit { + color: #281; +} + +span.css-value { + color: #708; +} + +span.css-identifier { + color: black; +} + +span.css-selector { + color: #11B; +} + +span.css-important { + color: #00F; +} + +span.css-colorcode { + color: #299; +} + +span.css-comment { + color: #A70; +} + +span.css-string { + color: #A22; +} diff --git a/includes/css/codemirror/docs.css b/includes/css/codemirror/docs.css new file mode 100644 index 0000000..dbe1e08 --- /dev/null +++ b/includes/css/codemirror/docs.css @@ -0,0 +1,158 @@ +body { + font-family: Arial, sans-serif; + line-height: 1.5; + max-width: 64.3em; + margin: 3em auto; + padding: 0 1em; +} +body.droid { + font-family: Droid Sans, Arial, sans-serif; +} + +h1 { + letter-spacing: -3px; + font-size: 3.23em; + font-weight: bold; + margin: 0; +} + +h2 { + font-size: 1.23em; + font-weight: bold; + margin: .5em 0; + letter-spacing: -1px; +} + +h3 { + font-size: 1em; + font-weight: bold; + margin: .4em 0; +} + +pre { + font-family: Courier New, monospaced; + background-color: #eee; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + border-radius: 6px; + padding: 1em; +} + +pre.code { + margin: 0 1em; +} + +.grey { + font-size: 2em; + padding: .5em 1em; + line-height: 1.2em; + margin-top: .5em; + position: relative; +} + +img.logo { + position: absolute; + right: -25px; + bottom: 4px; +} + +a:link, a:visited, .quasilink { + color: #df0019; + cursor: pointer; + text-decoration: none; +} + +a:hover, .quasilink:hover { + color: #800004; +} + +h1 a:link, h1 a:visited, h1 a:hover { + color: black; +} + +ul { + margin: 0; + padding-left: 1.2em; +} + +a.download { + color: white; + background-color: #df0019; + width: 100%; + display: block; + text-align: center; + font-size: 1.23em; + font-weight: bold; + text-decoration: none; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + border-radius: 6px; + padding: .5em 0; + margin-bottom: 1em; +} + +a.download:hover { + background-color: #bb0010; +} + +.rel { + margin-bottom: 0; +} + +.rel-note { + color: #777; + font-size: .9em; + margin-top: .1em; +} + +.logo-braces { + color: #df0019; + position: relative; + top: -4px; +} + +.blk { + float: left; +} + +.left { + width: 37em; + padding-right: 6.53em; + padding-bottom: 1em; +} + +.left1 { + width: 15.24em; + padding-right: 6.45em; +} + +.left2 { + width: 15.24em; +} + +.right { + width: 20.68em; +} + +.leftbig { + width: 42.44em; + padding-right: 6.53em; +} + +.rightsmall { + width: 15.24em; +} + +.clear:after { + visibility: hidden; + display: block; + font-size: 0; + content: " "; + clear: both; + height: 0; +} +.clear { display: inline-block; } +/* start commented backslash hack \*/ +* html .clear { height: 1%; } +.clear { display: block; } +/* close commented backslash hack */ diff --git a/includes/css/codemirror/jscolors.css b/includes/css/codemirror/jscolors.css new file mode 100644 index 0000000..7c65d7d --- /dev/null +++ b/includes/css/codemirror/jscolors.css @@ -0,0 +1,59 @@ +html { + cursor: text; +} + +.editbox { + margin: .4em; + padding: 0; + font-family: monospace; + font-size: 10pt; + color: black; +} + +pre.code, .editbox { + color: #666666; +} + +.editbox p { + margin: 0; +} + +span.js-punctuation { + color: #666666; +} + +span.js-operator { + color: #666666; +} + +span.js-keyword { + color: #770088; +} + +span.js-atom { + color: #228811; +} + +span.js-variable { + color: black; +} + +span.js-variabledef { + color: #0000FF; +} + +span.js-localvariable { + color: #004499; +} + +span.js-property { + color: black; +} + +span.js-comment { + color: #AA7700; +} + +span.js-string { + color: #AA2222; +} diff --git a/includes/css/codemirror/sparqlcolors.css b/includes/css/codemirror/sparqlcolors.css new file mode 100644 index 0000000..13a24fd --- /dev/null +++ b/includes/css/codemirror/sparqlcolors.css @@ -0,0 +1,43 @@ +html { + cursor: text; +} + +.editbox { + margin: .4em; + padding: 0; + font-family: monospace; + font-size: 10pt; + color: black; +} + +.editbox p { + margin: 0; +} + +span.sp-keyword { + color: #708; +} + +span.sp-prefixed { + color: #5d1; +} + +span.sp-var { + color: #00c; +} + +span.sp-comment { + color: #a70; +} + +span.sp-literal { + color: #a22; +} + +span.sp-uri { + color: #292; +} + +span.sp-operator { + color: #088; +} diff --git a/includes/css/codemirror/xmlcolors.css b/includes/css/codemirror/xmlcolors.css new file mode 100644 index 0000000..14dcf0f --- /dev/null +++ b/includes/css/codemirror/xmlcolors.css @@ -0,0 +1,55 @@ +html { + cursor: text; +} + +.editbox { + margin: .4em; + padding: 0; + font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; + font-size: 14px; + color: black; +} + +.editbox p { + margin: 0; +} + +span.xml-tagname { + color: #A0B; +} + +span.xml-attribute { + color: #281; +} + +span.xml-punctuation { + color: black; +} + +span.xml-attname { + color: #00F; +} + +span.xml-comment { + color: #A70; +} + +span.xml-cdata { + color: #48A; +} + +span.xml-processing { + color: #999; +} + +span.xml-entity { + color: #A22; +} + +span.xml-error { + color: #F00 !important; +} + +span.xml-text { + color: black; +} diff --git a/includes/images/icon-roots.png b/includes/images/icon-roots.png new file mode 100644 index 0000000..7cbcf4d Binary files /dev/null and b/includes/images/icon-roots.png differ diff --git a/includes/js/codemirror/codemirror.js b/includes/js/codemirror/codemirror.js new file mode 100644 index 0000000..1e5dceb --- /dev/null +++ b/includes/js/codemirror/codemirror.js @@ -0,0 +1,582 @@ +/* CodeMirror main module (http://codemirror.net/) + * + * Implements the CodeMirror constructor and prototype, which take care + * of initializing the editor frame, and providing the outside interface. + */ + +// The CodeMirrorConfig object is used to specify a default +// configuration. If you specify such an object before loading this +// file, the values you put into it will override the defaults given +// below. You can also assign to it after loading. +var CodeMirrorConfig = window.CodeMirrorConfig || {}; + +var CodeMirror = (function(){ + function setDefaults(object, defaults) { + for (var option in defaults) { + if (!object.hasOwnProperty(option)) + object[option] = defaults[option]; + } + } + function forEach(array, action) { + for (var i = 0; i < array.length; i++) + action(array[i]); + } + function createHTMLElement(el) { + if (document.createElementNS && document.documentElement.namespaceURI !== null) + return document.createElementNS("http://www.w3.org/1999/xhtml", el) + else + return document.createElement(el) + } + + // These default options can be overridden by passing a set of + // options to a specific CodeMirror constructor. See manual.html for + // their meaning. + setDefaults(CodeMirrorConfig, { + stylesheet: [], + path: "", + parserfile: [], + basefiles: ["util.js", "stringstream.js", "select.js", "undo.js", "editor.js", "tokenize.js"], + iframeClass: null, + passDelay: 200, + passTime: 50, + lineNumberDelay: 200, + lineNumberTime: 50, + continuousScanning: false, + saveFunction: null, + onLoad: null, + onChange: null, + undoDepth: 50, + undoDelay: 800, + disableSpellcheck: true, + textWrapping: true, + readOnly: false, + width: "", + height: "300px", + minHeight: 100, + autoMatchParens: false, + markParen: null, + unmarkParen: null, + parserConfig: null, + tabMode: "indent", // or "spaces", "default", "shift" + enterMode: "indent", // or "keep", "flat" + electricChars: true, + reindentOnLoad: false, + activeTokens: null, + onCursorActivity: null, + lineNumbers: false, + firstLineNumber: 1, + onLineNumberClick: null, + indentUnit: 2, + domain: null, + noScriptCaching: false, + incrementalLoading: false + }); + + function addLineNumberDiv(container, firstNum) { + var nums = createHTMLElement("div"), + scroller = createHTMLElement("div"); + nums.style.position = "absolute"; + nums.style.height = "100%"; + if (nums.style.setExpression) { + try {nums.style.setExpression("height", "this.previousSibling.offsetHeight + 'px'");} + catch(e) {} // Seems to throw 'Not Implemented' on some IE8 versions + } + nums.style.top = "0px"; + nums.style.left = "0px"; + nums.style.overflow = "hidden"; + container.appendChild(nums); + scroller.className = "CodeMirror-line-numbers"; + nums.appendChild(scroller); + scroller.innerHTML = "
    " + firstNum + "
    "; + return nums; + } + + function frameHTML(options) { + if (typeof options.parserfile == "string") + options.parserfile = [options.parserfile]; + if (typeof options.basefiles == "string") + options.basefiles = [options.basefiles]; + if (typeof options.stylesheet == "string") + options.stylesheet = [options.stylesheet]; + + var sp = " spellcheck=\"" + (options.disableSpellcheck ? "false" : "true") + "\""; + var html = [""]; + // Hack to work around a bunch of IE8-specific problems. + html.push(""); + var queryStr = options.noScriptCaching ? "?nocache=" + new Date().getTime().toString(16) : ""; + forEach(options.stylesheet, function(file) { + html.push(""); + }); + forEach(options.basefiles.concat(options.parserfile), function(file) { + if (!/^https?:/.test(file)) file = options.path + file; + html.push(" + + +
    + Read the rest of this entry »

    '); ?> +
    +
    + '' )); ?> +

    +
    + + + + + diff --git a/loop.php b/loop.php new file mode 100644 index 0000000..3e26189 --- /dev/null +++ b/loop.php @@ -0,0 +1,45 @@ + + +
    +

    Sorry, no results were found.

    +
    + + + + + + + +
    > +
    +

    + + + + +
    +
    + + + + + +
    +
    +

    +
    +
    + + + + + + +max_num_pages > 1) : ?> + + diff --git a/page-custom.php b/page-custom.php new file mode 100644 index 0000000..03d7a4b --- /dev/null +++ b/page-custom.php @@ -0,0 +1,18 @@ + +
    +
    +
    + +
    +
    + +
    + diff --git a/page-full.php b/page-full.php new file mode 100644 index 0000000..29372bc --- /dev/null +++ b/page-full.php @@ -0,0 +1,13 @@ + +
    +
    +
    + +
    +
    +
    + diff --git a/page-sitemap.php b/page-sitemap.php new file mode 100644 index 0000000..9e72914 --- /dev/null +++ b/page-sitemap.php @@ -0,0 +1,24 @@ + +
    +
    +
    + +

    Pages

    +
    +

    Posts

    +
    +

    Archives

    +
    +
    +
    + +
    + diff --git a/page-subpages.php b/page-subpages.php new file mode 100644 index 0000000..201ef6a --- /dev/null +++ b/page-subpages.php @@ -0,0 +1,25 @@ + +
    +
    +
    + + ID.'&echo=0'); + if ($children) { ?> +
      + +
    + +
    +
    + +
    + diff --git a/page.php b/page.php new file mode 100644 index 0000000..d9e32e4 --- /dev/null +++ b/page.php @@ -0,0 +1,14 @@ + +
    +
    +
    + +
    +
    + +
    + diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..4a84fcb Binary files /dev/null and b/screenshot.png differ diff --git a/search.php b/search.php new file mode 100644 index 0000000..5cd6d36 --- /dev/null +++ b/search.php @@ -0,0 +1,15 @@ + +
    +
    +
    +

    Search Results for

    + +
    +
    + +
    + diff --git a/searchform.php b/searchform.php new file mode 100644 index 0000000..7efa83c --- /dev/null +++ b/searchform.php @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/sidebar.php b/sidebar.php new file mode 100644 index 0000000..3e88e0d --- /dev/null +++ b/sidebar.php @@ -0,0 +1,3 @@ + + + diff --git a/single.php b/single.php new file mode 100644 index 0000000..7b9d4ee --- /dev/null +++ b/single.php @@ -0,0 +1,14 @@ + +
    +
    +
    + +
    +
    + +
    + diff --git a/style.css b/style.css new file mode 100644 index 0000000..058f483 --- /dev/null +++ b/style.css @@ -0,0 +1,34 @@ +/* +Theme Name: Roots +Theme URI: http://www.rootstheme.com/ +Description: Starting theme based on HTML5 Boilerplate, Blueprint CSS and Starkers +Version: 3.0.0 +Author: Ben Word +Author URI: http://benword.com/ +Tags: roots, boilerplate, blueprint, starkers + +License: The Unlicense +License URI: http://unlicense.org/ + +Updated: March 28 2011 + +Changelog: +3.0.0 [03-28-2011] Changed name from BB to Roots, updated various areas to match the latest changes to HTML5 Boilerplate, changed the theme + markup based on hCard/Readability Guidelines and work by Jonathan Neal, theme activation now creates the navigation menus and + automatically sets their locations, permalink structure is now set to /%year%/%postname%/ for performance reasons, uploads + folder is now /assets/ and not organized by month and date, all static folders in /wp-content/themes/roots/ (css/, js/, img/) + now rewrite to the root (/css/, /js/, /img/), /wp-content/plugins/ now rewrites to /plugins/, more root relative URLs on + WordPress functions, search results (/?s=query) now rewrites to /search/query/, l10n.js is deregistered, gallery shortcode has + been changed to output
    and
    and now links to the file by default, added more loop.php templates, made the + HTML editor have a monospaced font, added front-page.php, updated CSS for Gravity Forms 1.5, added searchform.php template +2.4.0 [01-25-2011] Added a notification when saving the theme settings, added support for navigation menus, created function that makes sure there + is a Home page on theme activation, updated various areas to match the latest changes to HTML5 Boilerplate +2.3.0 [12-08-2010] Logo is no longer an

    , added ARIA roles again, changed ul#nav to nav#nav-main, added vCard to footer, made all URL's root + relative, added Twitter and Facebook widgets to footer, added SEO optimized robots.txt from WordPress codex +2.2.0 [09-20-2010] Added asynchronous Google Analytics, updated .htaccess with latest changes from HTML5 Boilerplate +2.1.0 [08-19-2010] Removed optimizeLegibility from headings, updated jQuery to latest version, implemented HTML5 Boilerplate .htaccess +2.0.1 [08-02-2010] Added some presentational CSS classes, added footer widget, more Gravity Forms default styling +2.0.0 [07-19-2010] Added HTML5 Boilerplate changes, implemented loop.php, wp_head cleanup, added page-subpages.php template +1.5.0 [04-15-2010] Integrated Paul Irish's frontend-pro-template (the original HTML5 Boilerplate) +1.0.0 [12-18-2009] Added Blueprint CSS to Starkers +*/ \ No newline at end of file