diff --git a/source/themes/opdavies/opdavies/_layouts/default.html.twig b/source/themes/opdavies/opdavies/_layouts/default.html.twig index 3032fae2..bedf4433 100644 --- a/source/themes/opdavies/opdavies/_layouts/default.html.twig +++ b/source/themes/opdavies/opdavies/_layouts/default.html.twig @@ -16,6 +16,10 @@ {% endblock %} + + {% include 'footer-scripts' %} \ No newline at end of file diff --git a/source/themes/opdavies/opdavies/assets/css/styles.css b/source/themes/opdavies/opdavies/assets/css/styles.css index f7487457..7c0baf49 100644 --- a/source/themes/opdavies/opdavies/assets/css/styles.css +++ b/source/themes/opdavies/opdavies/assets/css/styles.css @@ -1,4 +1,3 @@ -@media -sass-debug-info{filename{font-family:file\:\/\/\/Library\/Ruby\/Gems\/2\.0\.0\/gems\/compass-core-1\.0\.3\/stylesheets\/compass\/reset\/_utilities\.scss}line{font-family:\000035}} html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, @@ -19,113 +18,102 @@ time, mark, audio, video { font-size: 100%; vertical-align: baseline; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Library\/Ruby\/Gems\/2\.0\.0\/gems\/compass-core-1\.0\.3\/stylesheets\/compass\/reset\/_utilities\.scss}line{font-family:\0000322}} html { line-height: 1; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Library\/Ruby\/Gems\/2\.0\.0\/gems\/compass-core-1\.0\.3\/stylesheets\/compass\/reset\/_utilities\.scss}line{font-family:\0000324}} ol, ul { list-style: none; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Library\/Ruby\/Gems\/2\.0\.0\/gems\/compass-core-1\.0\.3\/stylesheets\/compass\/reset\/_utilities\.scss}line{font-family:\0000326}} table { border-collapse: collapse; border-spacing: 0; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Library\/Ruby\/Gems\/2\.0\.0\/gems\/compass-core-1\.0\.3\/stylesheets\/compass\/reset\/_utilities\.scss}line{font-family:\0000328}} caption, th, td { text-align: left; font-weight: normal; vertical-align: middle; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Library\/Ruby\/Gems\/2\.0\.0\/gems\/compass-core-1\.0\.3\/stylesheets\/compass\/reset\/_utilities\.scss}line{font-family:\0000330}} q, blockquote { quotes: none; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Library\/Ruby\/Gems\/2\.0\.0\/gems\/compass-core-1\.0\.3\/stylesheets\/compass\/reset\/_utilities\.scss}line{font-family:\00003103}} q:before, q:after, blockquote:before, blockquote:after { content: ""; content: none; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Library\/Ruby\/Gems\/2\.0\.0\/gems\/compass-core-1\.0\.3\/stylesheets\/compass\/reset\/_utilities\.scss}line{font-family:\0000332}} a img { border: none; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Library\/Ruby\/Gems\/2\.0\.0\/gems\/compass-core-1\.0\.3\/stylesheets\/compass\/reset\/_utilities\.scss}line{font-family:\00003116}} article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Library\/Ruby\/Gems\/2\.0\.0\/gems\/compass-core-1\.0\.3\/stylesheets\/compass\/typography\/_vertical_rhythm\.scss}line{font-family:\00003106}} html { font-size: 100%; line-height: 1.5em; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/modules\/_content\.scss}line{font-family:\000031}} .content { max-width: 960px; margin-left: auto; margin-right: auto; - padding: 1em 0 2em; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Library\/Ruby\/Gems\/2\.0\.0\/gems\/susy-2\.1\.2\/sass\/susy\/output\/support\/_clearfix\.scss}line{font-family:\0000312}} + padding: 1em 0; } .content:after { content: " "; display: block; clear: both; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/modules\/_content\.scss}line{font-family:\000035}} .content a { text-decoration: none; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/modules\/_content\.scss}line{font-family:\000038}} .content a:link, .content a:visited { color: #0678be; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/modules\/_content\.scss}line{font-family:\0000313}} .content a:hover, .content a:focus { color: black; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/modules\/_header\.scss}line{font-family:\000031}} +footer[role="contentinfo"] { + max-width: 960px; + margin-left: auto; + margin-right: auto; + border-top: 1px solid #CCC; + margin-top: 1em; + padding: 1em 0; } + footer[role="contentinfo"]:after { + content: " "; + display: block; + clear: both; } + header[role="banner"] { line-height: 1.5em; background-color: #064771; color: white; padding: 1.5em 0; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/modules\/_header\.scss}line{font-family:\000037}} header[role="banner"] .inner { max-width: 960px; margin-left: auto; margin-right: auto; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Library\/Ruby\/Gems\/2\.0\.0\/gems\/susy-2\.1\.2\/sass\/susy\/output\/support\/_clearfix\.scss}line{font-family:\0000312}} header[role="banner"] .inner:after { content: " "; display: block; clear: both; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/modules\/_header\.scss}line{font-family:\0000310}} header[role="banner"] .inner .site-name { width: 23.72881%; float: left; margin-left: 0; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/modules\/_header\.scss}line{font-family:\0000314}} header[role="banner"] .inner .main-menu { width: 74.57627%; float: left; margin-left: 1.69492%; text-align: right; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/modules\/_header\.scss}line{font-family:\0000318}} header[role="banner"] .inner .main-menu a { border-bottom: 1px solid #064771; color: white; display: block; margin-left: .5em; text-decoration: none; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/modules\/_header\.scss}line{font-family:\0000325}} header[role="banner"] .inner .main-menu a.active { border-color: white; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/modules\/_header\.scss}line{font-family:\0000333}} .main-menu ul { margin: 0; padding: 0; border: 0; overflow: hidden; *zoom: 1; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Library\/Ruby\/Gems\/2\.0\.0\/gems\/compass-core-1\.0\.3\/stylesheets\/compass\/typography\/lists\/_inline-block-list\.scss}line{font-family:\0000349}} .main-menu ul li { list-style-image: none; list-style-type: none; @@ -137,52 +125,43 @@ header[role="banner"] { *display: inline; white-space: nowrap; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/styles\.scss}line{font-family:\0000311}} body { font-size: 0.875em; line-height: 1.71429em; line-height: 1.5em; color: #222; - font-family: Arial; } + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/styles\.scss}line{font-family:\0000318}} p, ul, ol, pre { margin-bottom: 1em; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/styles\.scss}line{font-family:\0000324}} p:last-child, ul:last-child, ol:last-child, pre:last-child { margin-bottom: 0; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/styles\.scss}line{font-family:\0000329}} h1 { font-size: 2.14286em; line-height: 0.8em; line-height: 1.5em; margin-bottom: .2em; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/styles\.scss}line{font-family:\0000335}} h2 { font-size: 1.5em; line-height: 1.14286em; display: inline-block; margin: .5em 0; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/styles\.scss}line{font-family:\0000340}} h1 + h2 { margin-top: 0; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/styles\.scss}line{font-family:\0000346}} ul { list-style-type: disc; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/styles\.scss}line{font-family:\0000350}} code { font-family: "Courier New"; } -@media -sass-debug-info{filename{font-family:file\:\/\/\/Users\/opdavies\/Code\/Personal\/Current\/oliverdavies\.co\.uk\/source\/themes\/opdavies\/opdavies\/assets\/scss\/styles\.scss}line{font-family:\0000354}} dd { padding-left: 1.5em; } diff --git a/source/themes/opdavies/opdavies/assets/scss/modules/_content.scss b/source/themes/opdavies/opdavies/assets/scss/modules/_content.scss index 9b0f391c..f5ffab07 100644 --- a/source/themes/opdavies/opdavies/assets/scss/modules/_content.scss +++ b/source/themes/opdavies/opdavies/assets/scss/modules/_content.scss @@ -1,6 +1,6 @@ .content { @include container(960px); - padding: 1em 0 2em; + padding: 1em 0; a { text-decoration: none; diff --git a/source/themes/opdavies/opdavies/assets/scss/modules/_footer.scss b/source/themes/opdavies/opdavies/assets/scss/modules/_footer.scss new file mode 100644 index 00000000..3899de19 --- /dev/null +++ b/source/themes/opdavies/opdavies/assets/scss/modules/_footer.scss @@ -0,0 +1,6 @@ +footer[role="contentinfo"] { + @include container(960px); + border-top: 1px solid #CCC; + margin-top: 1em; + padding: 1em 0; +} \ No newline at end of file