diff --git a/.gitignore b/.gitignore index 9fa46a7..82aede3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ node_modules/* *.esproj sempress.zip +build diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..99f92a2 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +language: node_js +before_install: gem install sass +before_script: +- npm install grunt-cli -g +script: grunt +deploy: + provider: releases + api_key: + secure: FhFDWcEFof6LuXYOMq/1+uT1UkczIkBKMp3CsYua46Xce+Ns4G7WROfyl44M+oPvp/f8UnHMfj2qNNjYr5XurLmFMvMZ09I2KvxslyVo2dgrjO6eUPjx7CYMzj7HsQ95erSpWdesR1kIWP0Jony0HngrKi/QQgAM+9zjDNicnJTOaa51uNXNkF776oZ9iYXG+ouQL1c/nqv6a6Vajd9/Eu/xk7FwvNuzAniAPU++N1NkOgyYX7shzUfV3Diru92CNwvdMWGpytnHyyPzXf9ObBxkrTM4D48yck8Ur4rp9uGyRbWnMLp6FeJCysUjN6vZIyFpDX9fFMIY2+PPng2T0CF+ISqy+03s8oXsqHev+s51ZB0BxpWysHYAvbfbaZ2o6WburKNc8mk18QiA7uXvBO8ZG2XTKjdKNo+E7hFbKItpH/+HBmVAVhWGIaNeFpWCTy3LN3qvtx/fnZNVvsHt47OSKc8BpJRDJn3N/whDH7S8MWtxkemNgOumsDXVeoY3cVDyl+sIeSrCV7M8LWPmc1H56w8kBqlnMtY9P/8Fk3lnLua+ttSKe+2fNVliK6V/xrdeEXSvhslZ9A0r0QjpkOiLdKG9nemoSIBHlJNg85zt5kLisxkjNazEpWR9Bul6CsYrW+vOLsApNlnOBSERRjJ5DxhbOBSNJJTKf67Rm6M= + file: build/sempress.zip + skip_cleanup: true + on: + tags: true + repo: dougbeal/SemPress + branch: master diff --git a/Gruntfile.js b/Gruntfile.js index a4f5dec..38889ad 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,5 +1,4 @@ module.exports = function (grunt) { - // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), @@ -12,11 +11,30 @@ module.exports = function (grunt) { sourcemap: 'none' }, files: { - 'sempress/style.css': 'sass/style.scss', - 'sempress/css/editor-style.css': 'sass/editor-style.scss' + 'build/<%= pkg.name.toLowerCase() %>/style.css': 'sass/style.scss', + 'build/<%= pkg.name.toLowerCase() %>/css/editor-style.css': 'sass/editor-style.scss' } } }, + compress: { + build: { + options: { + archive: 'build/<%= pkg.name.toLowerCase() %>.zip' + }, + files: [ + { cwd: '.', + src: ['<%= pkg.name.toLowerCase() %>/**'], + dest: '/', + expand: true + }, + { cwd: 'build/', + src: ['<%= pkg.name.toLowerCase() %>/**'], + dest: '/', + expand: true + } + ] + } + }, replace: { style: { options: { @@ -37,18 +55,18 @@ module.exports = function (grunt) { files: [{ expand: true, flatten: true, - src: ['sempress/style.css'], - dest: 'sempress' + src: ['build/<%= pkg.name.toLowerCase() %>/style.css'], + dest: 'build/<%= pkg.name.toLowerCase() %>' }] } }, makepot: { target: { options: { - cwd: 'sempress', + cwd: '<%= pkg.name.toLowerCase() %>', domainPath: '/languages', exclude: ['bin/.*', '.git/.*', 'vendor/.*'], - potFilename: 'sempress.pot', + potFilename: '<%= pkg.name.toLowerCase() %>.pot', type: 'wp-theme', updateTimestamp: true } @@ -60,7 +78,8 @@ module.exports = function (grunt) { grunt.loadNpmTasks('grunt-replace'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-wp-i18n'); + grunt.loadNpmTasks('grunt-contrib-compress'); // Default task(s). - grunt.registerTask('default', ['sass', 'replace']); + grunt.registerTask('default', ['sass', 'replace', 'compress' ]); }; diff --git a/package.json b/package.json index 5e0fe25..e04cac0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "SemPress", - "version": "1.5.9", + "version": "1.5.6", "description": "SemPress is an extremely lightweight, responsive theme designed to show off your posts, quotes, and images. SemPress supports multiple post formats, widgets, and the option to upload a custom header or background image. The theme is based on HTML5 mixed with microformats, microformats v2 and microdata (Schema.org).", "main": "Gruntfile.js", "repository": { @@ -47,6 +47,7 @@ "grunt-contrib-sass": "^0.9.2", "grunt-contrib-watch": "^0.6.1", "grunt-replace": "~0.4.4", - "grunt-wp-i18n": "^0.5.4" + "grunt-wp-i18n": "^0.5.4", + "grunt-contrib-compress": "^1.4.1" } } diff --git a/readme.md b/readme.md index 71cbb12..94a4fcd 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,6 @@ -# SemPress +# SemPress [![Build Status](https://travis-ci.org/dougbeal/SemPress.svg?branch=travis-ci)](https://travis-ci.org/dougbeal/SemPress) + + [![Flattr this](http://button.flattr.com/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=pfefferle&url=https%3A%2F%2Fgithub.com%2Fpfefferle%2Fsempress) @@ -89,3 +91,8 @@ See for an example ### [SenPress](https://github.com/pfefferle/SenPress) by me ![SenPress](https://raw.githubusercontent.com/pfefferle/SenPress/master/screenshot.png) + +## Development +* npm install +* gem install sass +* grunt diff --git a/sempress/css/editor-style.css b/sempress/css/editor-style.css deleted file mode 100644 index 582894a..0000000 --- a/sempress/css/editor-style.css +++ /dev/null @@ -1,115 +0,0 @@ -body#tinymce.wp-editor { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - color: #555; - font-weight: 300; -} -body#tinymce.wp-editor a { - color: #555; -} -body#tinymce.wp-editor a:hover { - text-decoration: none; -} -body#tinymce.wp-editor dl { - margin-bottom: 18px; -} -body#tinymce.wp-editor dt { - font-weight: bold; -} -body#tinymce.wp-editor dd { - margin-left: 25px; -} -body#tinymce.wp-editor hr { - margin: 18px 0; - border: 0; - border-top: 1px solid #eee; - border-bottom: 1px solid #fff; -} -body#tinymce.wp-editor abbr { - font-variant: small-caps; -} -body#tinymce.wp-editor abbr[title] { - cursor: help; - border-bottom: 1px dotted #999; -} -body#tinymce.wp-editor blockquote { - font-family: Georgia,"Times New Roman",Times,serif; - padding: 0 0 0 15px; - margin: 0 0 18px 40px; - position: relative; - font-style: italic; -} -body#tinymce.wp-editor blockquote:before { - display: block; - content: "\201C"; - font-size: 100px; - position: absolute; - left: -40px; - top: 30px; - font-style: normal; -} -body#tinymce.wp-editor blockquote p { - margin-bottom: 0; - font-size: 16px; - font-weight: 300; -} -body#tinymce.wp-editor cite { - font-style: normal; -} -body#tinymce.wp-editor blockquote small, body#tinymce.wp-editor blockquote cite, body#tinymce.wp-editor .post-format-content cite { - display: block; - color: #999; - font-style: normal; - font-size: 0.9em; -} -body#tinymce.wp-editor blockquote small:before, body#tinymce.wp-editor blockquote cite:before, body#tinymce.wp-editor .post-format-content cite:before { - content: '\2014 \00A0'; -} -body#tinymce.wp-editor figure.quote { - background-color: #F5F5F5; - height: auto; - padding: 34px; - margin: 0px; - border-bottom: 1px solid rgba(0, 0, 0, 0.15); -} -body#tinymce.wp-editor figure.quote blockquote { - margin: 0px; - padding: 0px; -} -body#tinymce.wp-editor figure.quote blockquote:before { - content: none; -} -body#tinymce.wp-editor figure.quote blockquote p { - font-size: 22px; -} -body#tinymce.wp-editor figure.quote blockquote p:first-child { - padding-top: 0px; - margin-top: 0px; -} -body#tinymce.wp-editor figure.quote figcaption.quote-caption { - padding-top: 30px; -} -body#tinymce.wp-editor pre { - font-family: "Courier 10 Pitch", Courier, monospace; - font-size: 16px; - background-color: #f5f5f5; - display: block; - line-height: 18px; - margin: 2em 0; - padding: 14px; - white-space: pre-wrap; - word-wrap: break-word; -} -body#tinymce.wp-editor code { - font-family: "Courier 10 Pitch", Courier, monospace; - word-wrap: break-word; -} -body#tinymce.wp-editor ins { - background: #fff9c0; - text-decoration: none; -} -body#tinymce.wp-editor h1, body#tinymce.wp-editor h2, body#tinymce.wp-editor h3, body#tinymce.wp-editor h4, body#tinymce.wp-editor h5 { - font-weight: 200; -} -body#tinymce.wp-editor h1 { - font-size: 30px; -} diff --git a/sempress/readme.txt b/sempress/readme.txt index 00ac6ce..4332aa0 100644 --- a/sempress/readme.txt +++ b/sempress/readme.txt @@ -14,6 +14,9 @@ The exceptions to this license are as follows: == Changelog == += 1.6.0 = +* aded Travis-CI build integration + = 1.5.2 = * added h-cite to be compatible to: https://indiewebcamp.com/comments-presentation#How_to_markup diff --git a/sempress/style.css b/sempress/style.css deleted file mode 100644 index 335eaf1..0000000 --- a/sempress/style.css +++ /dev/null @@ -1,1762 +0,0 @@ -/* -Theme Name: SemPress -Theme URI: https://github.com/pfefferle/SemPress -Author: Matthias Pfefferle -Author URI: http://notiz.blog/projects/sempress/ -Description: SemPress is an extremely lightweight, responsive theme designed to show off your posts, quotes, and images. SemPress supports multiple post formats, widgets, and the option to upload a custom header or background image. The theme is based on HTML5 mixed with microformats, microformats v2 and microdata (Schema.org). -Version: 1.5.9 -License: GNU General Public License Version 3 -License URI: http://www.gnu.org/licenses/gpl.html -Tags: custom-menu, custom-colors, custom-header, custom-background, custom-logo, sticky-post, microformats, rtl-language-support, translation-ready, full-width-template, post-formats, threaded-comments, right-sidebar, theme-options, two-columns, one-column, editor-style, featured-images, blog, news -Text Domain: sempress - -This theme is based on the toolbox theme (http://wordpress.org/themes/toolbox) -and, like WordPress, licensed under the GPL. - -Use it to make something cool, have fun, and share what you've learned with others. -*/ -/** - * The font was graciously generated by Font Squirrel (http://www.fontsquirrel.com). We love those guys. - */ -@font-face { - font-family: 'Genericons'; - src: url("font/genericons-regular-webfont.eot"); - src: url("font/genericons-regular-webfont.eot?#iefix") format("embedded-opentype"), url("font/genericons-regular-webfont.woff") format("woff"), url("font/genericons-regular-webfont.ttf") format("truetype"), url("font/genericons-regular-webfont.svg#genericonsregular") format("svg"); - font-weight: normal; - font-style: normal; -} -body { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - color: #555; - background-color: #f0f0f0; - background-image: url("img/noise.png"); - text-shadow: 0 1px 0 #fff; - font-weight: 300; - word-wrap: break-word; -} - -a { - color: #555; -} - -a:hover { - text-decoration: none; -} - -dl { - margin-bottom: 18px; -} - -dt { - font-weight: bold; -} - -dd { - margin-left: 25px; -} - -hr { - margin: 18px 0; - border: 0; - border-top: 1px solid #eee; - border-bottom: 1px solid #fff; -} - -abbr { - font-variant: small-caps; -} -abbr[title] { - cursor: help; - border-bottom: 1px dotted #999; -} - -blockquote { - font-family: Georgia,"Times New Roman",Times,serif; - padding: 0 0 0 15px; - margin: 0 0 18px 40px; - position: relative; - font-style: italic; -} -blockquote:before { - display: block; - content: "\201C"; - font-size: 100px; - position: absolute; - left: -40px; - top: 30px; - font-style: normal; -} -blockquote p { - margin-bottom: 0; - font-size: 16px; - font-weight: 300; -} - -cite { - font-style: normal; -} - -blockquote small, blockquote cite, .post-format-content cite { - display: block; - color: #999; - font-style: normal; - font-size: 0.9em; -} -blockquote small:before, blockquote cite:before, .post-format-content cite:before { - content: '\2014 \00A0'; -} - -figure.quote { - background-color: #F5F5F5; - height: auto; - padding: 34px; - margin: 0px; - border-bottom: 1px solid rgba(0, 0, 0, 0.15); -} -figure.quote blockquote { - margin: 0px; - padding: 0px; -} -figure.quote blockquote:before { - content: none; -} -figure.quote blockquote p { - font-size: 22px; -} -figure.quote blockquote p:first-child { - padding-top: 0px; - margin-top: 0px; -} -figure.quote figcaption.quote-caption { - padding-top: 30px; -} - -pre { - font-family: "Courier 10 Pitch", Courier, monospace; - font-size: 16px; - background-color: #f5f5f5; - display: block; - line-height: 18px; - margin: 2em 0; - padding: 14px; - white-space: pre-wrap; - word-wrap: break-word; -} - -code { - font-family: "Courier 10 Pitch", Courier, monospace; - word-wrap: break-word; -} - -ins { - background: #fff9c0; - text-decoration: none; -} - -h1, h2, h3, h4, h5 { - font-weight: 200; -} - -h1 { - font-size: 30px; -} - -/* =Header --------------------------------------------------------------- */ -#branding { - display: block; - clear: both; - margin-top: 60px; -} -#branding .logo { - float: left; - clear: both; - margin-left: -70px; -} - -#site-image { - float: left; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - -o-border-radius: 3px; - -ms-border-radius: 3px; - -khtml-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2); - box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2); - margin-bottom: 40px; - clear: both; -} - -#site-title { - font-size: 4em; - letter-spacing: -2px; - margin: 0; -} -#site-title a { - text-decoration: none; -} -.custom-header #site-title { - font-size: 3em; -} - -#site-description { - font-size: 1.7em; - height: auto; - line-height: 120%; - margin: 0 0 20px; - width: 100%; - font-weight: 100; -} - -#author-info { - margin-bottom: 40px; -} - -.page-header { - position: relative; - padding-bottom: 40px; -} -.page-header .avatar { - display: block; - position: absolute; - top: 5px; - left: -65px; -} - -.page-header h1, #author-description h2 { - margin-top: 0; - padding-top: 0; -} - -.page-title { - margin-bottom: 0; - padding-bottom: 0; -} - -/* =Structure --------------------------------------------------------------- */ -main { - display: block; -} - -#page { - display: block; - margin: 0 auto; - position: relative; - width: 950px; -} - -.single-column #page { - width: 670px; -} -.single-column #main { - margin: 0; -} -.single-column #main #sidebar { - overflow: hidden; - width: 100%; - padding-top: 25px; - margin-top: 25px; -} -.single-column #main #secondary { - padding-right: 69px; -} -.single-column #main .widget-area { - float: left; - overflow: hidden; - width: 300px; -} - -#main { - clear: both; -} - -#primary { - float: left; - width: 710px; -} -#primary.full-width { - width: 100%; -} - -#content { - margin: 0 40px 0 0; -} - -#sidebar { - float: right; - overflow: hidden; - width: 220px; -} - -#main .widget-area { - float: right; - width: 220px; -} - -/* Increase the size of the content area for templates without sidebars */ -.full-width #content, -.image-attachment #content, -.error404 #content { - margin: 0; -} - -/* Text meant only for screen readers */ -.screen-reader-text, -.assistive-text { - clip: rect(1px 1px 1px 1px); - /* IE6, IE7 */ - clip: rect(1px, 1px, 1px, 1px); - position: absolute; -} - -.screen-reader-text:focus, -.assistive-text:focus { - background-color: #f1f1f1; - border-radius: 3px; - box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); - clip: auto; - color: #21759b; - display: block; - font-size: 14px; - font-weight: bold; - height: auto; - line-height: normal; - padding: 15px 23px 14px; - position: fixed; - left: 5px; - top: 50px; - text-decoration: none; - text-transform: none; - width: auto; - z-index: 100000; - /* Above WP toolbar */ -} - -/* Alignment */ -.alignleft { - display: inline; - float: left; - margin-right: 1em; -} - -.alignright { - display: inline; - float: right; - margin-left: 1em; -} - -.aligncenter, .alignnone { - clear: both; - display: block; - margin-left: auto; - margin-right: auto; -} - -/* =Footer --------------------------------------------------------------- */ -#colophon { - clear: both; - display: block; - width: 100%; - padding: 40px 0; - font-size: 12px; - text-align: center; -} - -/* =Menu --------------------------------------------------------------- */ -#access { - display: block; - width: 100%; - border-bottom: 1px solid #ccc; - -moz-box-shadow: #FFF 0 1px 0 0; - -webkit-box-shadow: #FFF 0 1px 0 0; - box-shadow: #FFF 0 1px 0 0; - float: left; - margin-bottom: 50px; - z-index: 3; - position: relative; -} -#access ul { - margin: 0; - padding-left: 0px; - list-style: none outside none; - z-index: 4; -} -#access ul ul { - background-color: #f0f0f0; - border: 1px #ccc solid; - text-shadow: 0 1px 0 #fff; - display: none; - float: left; - position: absolute; - top: 2em; - left: 0; - -webkit-box-shadow: 0 5px 25px 0 rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 25px 0 rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 25px 0 rgba(0, 0, 0, 0.2); - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - -o-border-radius: 3px; - -ms-border-radius: 3px; - -khtml-border-radius: 3px; - border-radius: 3px; -} -#access ul ul ul { - left: 100%; - top: 0; -} -#access ul ul li a { - color: #777; - line-height: 1em; - padding: .4em .4em .4em 1em; - width: 15em; - height: auto; - border-top: 1px solid #fff; - -moz-box-shadow: #ccc 0 -1px 0 0; - -webkit-box-shadow: #ccc 0 -1px 0 0; - box-shadow: #ccc 0 -1px 0 0; - font-weight: 300; -} -#access ul ul li:first-child a { - border: 0 none; - box-shadow: none; -} -#access ul ul li a:hover, #access ul ul li.current_page_item a { - color: #444; -} -#access li { - display: block; - float: left; - position: relative; - font-weight: 300; -} -#access a, #access a:visited { - display: block; - line-height: 2em; - padding-right: 1.5em; - text-decoration: none; -} - -#access ul li:hover > ul, -#access ul li:focus > ul, -#access ul li.focus > ul { - display: block; -} - -/* =Tables --------------------------------------------------------------- */ -table { - width: 100%; - overflow: scroll; - overflow-x: scroll; - background-color: transparent; - margin-bottom: 18px; - border: 1px solid #ddd; - border-spacing: 0; - border-collapse: separate; - *border-collapse: collapsed; - border-left: 0; - table-layout: fixed; -} - -table th, -table td { - padding: 8px; - line-height: 18px; - text-align: left; - vertical-align: top; - border-top: 1px solid #ddd; -} - -table th { - font-weight: bold; -} - -table thead th { - vertical-align: bottom; -} - -table caption + thead tr:first-child th, -table caption + thead tr:first-child td, -table colgroup + thead tr:first-child th, -table colgroup + thead tr:first-child td, -table thead:first-child tr:first-child th, -table thead:first-child tr:first-child td { - border-top: 0; -} - -table tbody + tbody { - border-top: 2px solid #ddd; -} - -table th, -table td { - padding: 4px 5px; - border-left: 1px solid #ddd; -} - -table caption + thead tr:first-child th, -table caption + tbody tr:first-child th, -table caption + tbody tr:first-child td, -table colgroup + thead tr:first-child th, -table colgroup + tbody tr:first-child th, -table colgroup + tbody tr:first-child td, -table thead:first-child tr:first-child th, -table tbody:first-child tr:first-child th, -table tbody:first-child tr:first-child td { - border-top: 0; -} - -table tbody tr:nth-child(odd) td, -table tbody tr:nth-child(odd) th { - background-color: #f9f9f9; -} - -table tbody tr:hover td, -table tbody tr:hover th { - background-color: #f5f5f5; -} - -/* =Content --------------------------------------------------------------- */ -article.page, -article.post, -article.attachment { - -webkit-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2); - box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2); - position: relative; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - -o-border-radius: 3px; - -ms-border-radius: 3px; - -khtml-border-radius: 3px; - border-radius: 3px; - background-color: white; - border: 1px solid #ccc; -} - -article address { - display: inline; - font-style: normal; -} - -article, aside { - display: block; - position: relative; -} - -header .entry-meta { - padding-bottom: 14px; -} - -footer.entry-meta { - padding: 0px 34px; - margin-bottom: 34px; -} - -.entry-content, -.entry-summary, -.entry-title { - color: #3f3f3f; -} -.entry-content a, -.entry-summary a, -.entry-title a { - color: #21759B; - text-decoration: none; -} -.entry-content a:hover, -.entry-summary a:hover, -.entry-title a:hover { - text-decoration: underline; -} - -.entry-content, -.entry-summary { - font-size: 1em; - line-height: 27px; - margin-bottom: 34px; -} - -.entry-content, -.entry-title, -.entry-meta, -.entry-summary { - padding: 0 34px; - text-shadow: none; -} - -.entry-meta { - clear: both; - display: block; - font-size: 0.9em; -} -.entry-meta, .entry-meta a { - color: #777; -} - -.entry-header .entry-title, .entry-header .entry-title a { - -webkit-hyphens: auto; - -moz-hyphens: auto; - -ms-hyphens: auto; - hyphens: auto; - text-overflow: ellipsis; - overflow: hidden; - padding-top: 25px; - font-size: 40px; - margin: 0; -} -.format-quote .entry-header .entry-title, .format-video .entry-header .entry-title, .format-audio .entry-header .entry-title, .format-image .entry-header .entry-title, .format-quote .entry-header .entry-title a, .format-video .entry-header .entry-title a, .format-audio .entry-header .entry-title a, .format-image .entry-header .entry-title a { - font-size: 22px; - padding-top: 30px; -} - -#content nav { - display: block; - overflow: hidden; -} -#content nav .nav-previous { - float: left; - width: 50%; -} -#content nav .nav-next { - float: right; - text-align: right; - width: 50%; -} - -#nav-above { - clear: both; -} -#nav-above .nav-previous, #nav-above .nav-next { - margin: 0 0 40px; -} - -#nav-below { - clear: both; -} -#nav-below .nav-previous, #nav-below .nav-next { - margin: 40px 0 0; -} - -.nav-previous, .nav-next, -.previous-image, .next-image { - font-size: 12px; -} - -.page-link { - clear: both; - margin: 0 0 1em; -} - -.page .edit-link { - clear: both; - display: block; -} - -body.single #content .post, body.single #content .page, body.page #content .post, body.page #content .page { - margin-bottom: 0px; -} - -#content .post, #content .page { - margin-bottom: 60px; -} -#content .post:after, #content .page:after { - content: "."; - display: block; - clear: both; - visibility: hidden; - line-height: 0; - height: 0; -} - -/* 404 page */ -.error404 .widget { - float: left; - width: 33%; -} - -.error404 .widget .widgettitle, -.error404 .widget ul { - margin-right: 1em; -} - -.error404 .widget_tag_cloud { - clear: both; - float: none; - width: 100%; -} - -/* Notices */ -.post .notice, -.error404 #searchform { - background: #eee; - display: block; - padding: 1em; -} - -/* Aside Posts */ -.format-aside .entry-content, -.format-status .entry-content, -.format-link .entry-content { - padding-top: 15px; -} - -.format-chat .chat-timestamp { - float: right; - font-weight: normal; - font-size: 10px; - color: #21759B; -} - -/* Custom Post Types */ -.format-aside:before, -.format-video:before, -.format-audio:before, -.format-image:before, -.format-gallery:before, -.format-link:before, -.format-quote:before, -.format-chat:before, -.error404:before, -.sticky:before, -.format-status .entry-meta .avatar { - font-family: 'Genericons'; - display: block; - font-size: 45px; - font-style: normal; - position: absolute; - left: -65px; - top: 25px; -} - -.format-aside:before { - content: '\f101'; -} - -.format-video:before { - content: '\f104'; -} - -.format-audio:before { - content: '\f109'; -} - -.format-image:before { - content: '\f102'; -} - -.format-gallery:before { - content: '\f103'; -} - -.format-link:before { - content: '\f107'; -} - -.sticky:before { - content: '\f308'; -} - -.format-quote .entry-content blockquote:first-child { - background-color: #F5F5F5; - height: auto; - padding: 34px; - margin: 0 -34px 34px -34px; - font-size: 25px; - border-bottom: 1px solid rgba(0, 0, 0, 0.15); - line-height: 1.5; -} -.format-quote .entry-content blockquote:first-child:before { - content: none; -} -.format-quote .entry-content blockquote:first-child p { - font-size: 25px; -} -.format-quote .entry-content blockquote:first-child p:first-child { - padding-top: 0px; - margin-top: 0px; -} -.format-quote:before { - content: '\f106'; -} - -.format-chat:before { - content: '\f108'; -} - -.error404:before { - content: '\f423'; -} - -article.format-video .entry-media { - background-color: #000000; -} - -.entry-header .entry-media { - padding: 0px; - margin: 0px auto; - text-align: center; - background-color: #F5F5F5; - -moz-border-radius: 3px 3px 0px 0px; - -webkit-border-radius: 3px 3px 0px 0px; - -o-border-radius: 3px 3px 0px 0px; - -ms-border-radius: 3px 3px 0px 0px; - -khtml-border-radius: 3px 3px 0px 0px; - border-radius: 3px 3px 0px 0px; -} -.entry-header .entry-media iframe, .entry-header .entry-media object, .entry-header .entry-media embed { - margin: 0px auto; - text-align: center; -} -.entry-header .entry-media img, .entry-header .entry-media .wp-caption { - margin: 0 auto; - max-width: 100%; - height: auto; - padding: 0; -} - -.entry-media img, .entry-media iframe, .entry-media object, .entry-media embed { - margin-top: 20px; -} -.entry-media img.alignright { - margin-right: 34px; -} -.entry-media img.alignleft { - margin-left: 34px; -} - -.wp-audio-shortcode { - margin: 20px auto; -} - -.entry-content iframe, .entry-content object, .entry-content embed { - max-width: 100%; -} - -figure { - margin: 0px; - padding: 0px; -} - -/* =Images --------------------------------------------------------------- */ -a img { - border: 0 none; -} - -p img { - margin-bottom: 0.5em; - /* a small bottom margin prevents content floating under images */ -} - -/* -Resize images to fit the main content area. -- Applies only to images uploaded via WordPress by targeting size-* classes. -- Other images will be left alone. Use "size-auto" class to apply to other images. -*/ -img.size-auto, -img.size-full, -img.size-large, -img.size-medium, -.attachment img, -.widget-area img, -.wp-caption, -.post img, -.page img { - max-width: 100%; - /* When images are too wide for containing element, force them to fit. */ - height: auto; - /* Override height to match resized width for correct aspect ratio. */ -} - -img.aligncenter, -img.attachment-thumbnail, -img.size-thumbnail, -.wp-caption.aligncenter img, -.wp-caption.alignnone img, -.media-attachment img, -.entry-attachment img { - -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); - box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); -} - -.wp-caption .wp-caption-text, -.gallery-caption, -.entry-caption, -.entry-media figcaption { - padding: 0px; - margin: 0px; - text-align: center; - font-style: italic; - font-size: 12px; - line-height: 2; - color: #777; -} - -div.aligncenter, .gallery { - padding-top: 1em; - padding-bottom: 1em; -} - -.wp-smiley { - margin: 0; - border: 0; - vertical-align: middle; -} - -#page img.avatar { - -webkit-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2); - box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2); - -moz-border-radius: 500px; - -webkit-border-radius: 500px; - -o-border-radius: 500px; - -ms-border-radius: 500px; - -khtml-border-radius: 500px; - border-radius: 500px; -} - -/* Image Attachments */ -.image-attachment div.entry-meta { - float: left; -} - -.image-attachment nav { - float: right; - margin: 0 30px 1em 0; -} - -.image-attachment .entry-content { - clear: both; -} - -.image-attachment .entry-content .entry-attachment { - text-align: center; -} - -.entry-content .media-attachment iframe, -.entry-content .media-attachment object, -.entry-content .media-attachment embed { - display: block; - margin: 15px auto; - padding: 0; - text-align: center; - background-color: #444; - background-image: -moz-linear-gradient(top, #555, #333); - background-image: -webkit-gradient(linear, left top, left bottom, from(#555), to(#333)); - filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr="#555555",endColorStr="#333333"); -} - -.entry-meta .avatar { - display: none; -} - -/*-------------------------------------------------------------- -## Galleries ---------------------------------------------------------------*/ -.gallery-item { - display: inline-block; - text-align: center; - vertical-align: top; - margin: 0 0 1em; - padding: .5em; - width: 30%; -} - -/* =Forms --------------------------------------------------------------- */ -form { - margin: 0 0 18px; -} - -fieldset { - padding: 0; - margin: 0; - border: 0; -} - -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 27px; - font-size: 19.5px; - line-height: 36px; - color: #333; - border: 0; - border-bottom: 1px solid #e5e5e5; -} - -legend small { - font-size: 13.5px; - color: #999; -} - -label, -input, -button, -textarea { - font-size: 13px; - font-weight: normal; - line-height: 18px; -} - -label { - margin-bottom: 5px; -} - -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"] { - display: inline-block; - height: 18px; - min-height: 18px; - padding: 4px; - margin-bottom: 9px; - font-size: 13px; - line-height: 18px; - color: #555; -} - -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"] { - background-color: #fff; - border: 1px solid #ccc; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - -o-border-radius: 3px; - -ms-border-radius: 3px; - -khtml-border-radius: 3px; - border-radius: 3px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border linear 0.2s, box-shadow linear 0.2s; - -moz-transition: border linear 0.2s, box-shadow linear 0.2s; - -ms-transition: border linear 0.2s, box-shadow linear 0.2s; - -o-transition: border linear 0.2s, box-shadow linear 0.2s; - transition: border linear 0.2s, box-shadow linear 0.2s; -} - -textarea:focus, -input[type="text"]:focus, -input[type="password"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="date"]:focus, -input[type="month"]:focus, -input[type="time"]:focus, -input[type="week"]:focus, -input[type="number"]:focus, -input[type="email"]:focus, -input[type="url"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="color"]:focus { - border-color: rgba(82, 168, 236, 0.8); - outline: 0; - outline: thin dotted \9; - /* IE6-9 */ - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6); -} - -input[type="radio"], -input[type="checkbox"] { - margin: 3px 0; - *margin-top: 0; - /* IE7 */ - line-height: normal; - cursor: pointer; -} - -input[type="submit"], -input[type="reset"], -input[type="button"], -input[type="radio"], -input[type="checkbox"] { - width: auto; -} - -input[type="text"], -input[type="email"], -input[type="url"] { - margin: 0 1em 0 0; - width: 70%; -} - -textarea { - width: 99%; - height: auto; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -} - -input[type="submit"], input[type="button"], button { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - *zoom: 1; - padding: 4px 10px 4px; - margin-bottom: 0; - font-size: 13px; - line-height: 18px; - *line-height: 20px; - color: #333333; - text-align: center; - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); - vertical-align: middle; - cursor: pointer; - background-color: #f5f5f5; - background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); - background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); - background-image: linear-gradient(top, #ffffff, #e6e6e6); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0); - border-color: #e6e6e6 #e6e6e6 #bfbfbf; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #e6e6e6; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - border: 1px solid #cccccc; - *border: 0; - border-bottom-color: #b3b3b3; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - -o-border-radius: 4px; - -ms-border-radius: 4px; - -khtml-border-radius: 4px; - border-radius: 4px; - *margin-left: .3em; - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); -} -input[type="submit"]:hover, input[type="submit"]:active, input[type="submit"].active, input[type="submit"].disabled, input[type="submit"][disabled], input[type="button"]:hover, input[type="button"]:active, input[type="button"].active, input[type="button"].disabled, input[type="button"][disabled], button:hover, button:active, button.active, button.disabled, button[disabled] { - background-color: #e6e6e6; - *background-color: #d9d9d9; -} -input[type="submit"]:active, input[type="submit"].active, input[type="button"]:active, input[type="button"].active, button:active, button.active { - background-color: #cccccc \9; -} -input[type="submit"]:first-child, input[type="button"]:first-child, button:first-child { - *margin-left: 0; -} -input[type="submit"]:hover, input[type="button"]:hover, button:hover { - color: #333; - text-decoration: none; - background-color: #e6e6e6; - *background-color: #d9d9d9; - /* Buttons in IE7 don't get borders, so darken on hover */ - background-position: 0 -15px; - -webkit-transition: background-position 0.1s linear; - -moz-transition: background-position 0.1s linear; - -ms-transition: background-position 0.1s linear; - -o-transition: background-position 0.1s linear; - transition: background-position 0.1s linear; -} -input[type="submit"]:focus, input[type="button"]:focus, button:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -input[type="submit"].active, input[type="submit"]:active, input[type="button"].active, input[type="button"]:active, button.active, button:active { - background-color: #e6e6e6; - background-color: #d9d9d9 \9; - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); -} -input[type="submit"].disabled, input[type="submit"][disabled], input[type="button"].disabled, input[type="button"][disabled], button.disabled, button[disabled] { - cursor: default; - background-color: #e6e6e6; - background-image: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} - -input[type="search"] { - margin: 0; - width: 95%; -} - -input[type="submit"]#searchsubmit, -#searchform label, -input.searchsubmit, -input.search-submit { - display: none; -} - -/* Class for labelling required form items */ -.required { - color: #cc0033; -} - -/* =Comments --------------------------------------------------------------- */ -article.comment { - border-top: 1px solid #fff; - -moz-box-shadow: #ccc 0 -1px 0 0; - -webkit-box-shadow: #ccc 0 -1px 0 0; - box-shadow: #ccc 0 -1px 0 0; - display: block; - position: relative; - padding: 25px 0; - line-height: 24px; -} - -#comments input { - display: block; -} - -#comments input[type="checkbox"] { - display: inline; -} - -#respond .form-allowed-tags { - clear: both; - width: 98%; -} - -#respond .form-allowed-tags code { - display: block; -} - -.form-allowed-tags { - display: none; -} - -#reply-title { - padding-top: 0; - margin-top: 0; -} - -a.comment-reply-link { - font-size: 12px; - height: 16px; - line-height: 16px; -} -a.comment-reply-link:before { - font-family: 'Genericons'; - content: '\f412'; - padding-right: 5px; -} - -li.comment { - list-style: none outside none; - margin: 10px 0; -} -li.comment cite { - font-style: normal; - font-weight: normal; -} -li.comment img.avatar { - float: right; -} - -.comment-meta, .comment-notes, .logged-in-as { - display: block; - font-size: 12px; -} - -.comment-meta a, .comment-reply-link { - text-decoration: none; -} -.comment-meta a:hover, .comment-reply-link:hover { - text-decoration: underline; -} - -ol.commentlist { - margin: 0; - padding: 0; -} - -.comment-content { - font-size: 1em; -} - -.webmention .comment-content, .pingback .comment-content, .trackback .comment-content { - font-size: 0.9em; -} - -.bypostauthor { - color: inherit; -} - -#comments { - padding-top: 40px; -} - -.comment-respond { - border-top: 1px solid #fff; - -moz-box-shadow: #ccc 0 -1px 0 0; - -webkit-box-shadow: #ccc 0 -1px 0 0; - box-shadow: #ccc 0 -1px 0 0; - padding: 25px 0; -} - -/* =Widgets --------------------------------------------------------------- */ -.widget { - display: block; - padding-bottom: 40px; - margin-bottom: 40px; - border-bottom: 1px solid #ccc; - -moz-box-shadow: #FFF 0 1px 0 0; - -webkit-box-shadow: #FFF 0 1px 0 0; - box-shadow: #FFF 0 1px 0 0; -} -.widget h3 { - font-size: 15px; - font-weight: 500; - margin: 0 0 10px; -} - -.widget-area { - font-size: 0.8em; -} -.widget-area .widget_search { - overflow: hidden; -} -.widget-area ul, .widget-area li { - margin: 2px 0; - padding: 0; - list-style-position: outside; - list-style-image: none; - list-style-type: none; -} -.widget-area li a { - padding: 2px 0; - display: block; -} - -.post-likes-widget { - overflow: hidden; -} - -.infinite-scroll #nav-below, .infinite-scroll #nav-above, .infinite-scroll #colophon { - display: none; -} - -.jp-carousel-wrap { - text-shadow: none; -} - -/* Tablet Portrait size to standard 960 (devices and browsers) */ -@media only screen and (max-width: 959px) { - body #page, .single-column #page, .multi-column #page { - width: 670px; - margin: 0px auto; - } - body #sidebar, .single-column #sidebar, .multi-column #sidebar { - float: right; - overflow: hidden; - width: 100%; - padding-top: 25px; - margin-top: 25px; - } - body #main .widget-area, .single-column #main .widget-area, .multi-column #main .widget-area { - float: left; - overflow: hidden; - width: 300px; - } - body #secondary, .single-column #secondary, .multi-column #secondary { - padding-right: 69px; - } - body #primary, .single-column #primary, .multi-column #primary { - width: auto; - float: inherit; - } - body #content, .single-column #content, .multi-column #content { - margin: 0; - } - body .custom-logo-link, .single-column .custom-logo-link, .multi-column .custom-logo-link { - display: none; - } - body .post:before, body .error404:before, body .sticky:before, .single-column .post:before, .single-column .error404:before, .single-column .sticky:before, .multi-column .post:before, .multi-column .error404:before, .multi-column .sticky:before { - content: none; - } - body .format-status .entry-meta .avatar, .single-column .format-status .entry-meta .avatar, .multi-column .format-status .entry-meta .avatar { - display: none; - } - body .entry-content .avatar, .single-column .entry-content .avatar, .multi-column .entry-content .avatar { - display: none; - } - body #site-image, .single-column #site-image, .multi-column #site-image { - width: auto; - height: auto; - max-width: 100%; - } -} -/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */ -@media only screen and (max-width: 767px) { - body, .single-column, .multi-column { - /* Custom Post Types */ - } - body body, .single-column body, .multi-column body { - font-size: 0.9em; - } - body #site-title, .single-column #site-title, .multi-column #site-title { - margin-bottom: 30px; - } - body #site-title a, .single-column #site-title a, .multi-column #site-title a { - font-size: 0.7em; - line-height: 1; - } - body #site-description, .single-column #site-description, .multi-column #site-description { - font-size: 1.3em; - } - body article.format-audio .entry-media, .single-column article.format-audio .entry-media, .multi-column article.format-audio .entry-media { - padding-left: 0px; - padding-right: 0px; - } - body #page, .single-column #page, .multi-column #page { - width: auto; - margin: 0 5px; - } - body #main .widget-area, .single-column #main .widget-area, .multi-column #main .widget-area { - width: 100%; - } - body article.post, - body article.page, .single-column article.post, - .single-column article.page, .multi-column article.post, - .multi-column article.page { - margin: 0; - padding: 0; - } - body .entry-title, - body .entry-content, - body .entry-summary, - body .entry-meta, - body footer.entry-meta, .single-column .entry-title, - .single-column .entry-content, - .single-column .entry-summary, - .single-column .entry-meta, - .single-column footer.entry-meta, .multi-column .entry-title, - .multi-column .entry-content, - .multi-column .entry-summary, - .multi-column .entry-meta, - .multi-column footer.entry-meta { - color: inherit; - text-shadow: inherit; - margin: 0px; - padding-left: 15px; - padding-right: 15px; - } - body footer.entry-meta, .single-column footer.entry-meta, .multi-column footer.entry-meta { - padding-bottom: 15px; - } - body .post:hover .entry-meta, body .post:hover .entry-meta a, - body .post .entry-meta, body .post .entry-meta a, .single-column .post:hover .entry-meta, .single-column .post:hover .entry-meta a, - .single-column .post .entry-meta, .single-column .post .entry-meta a, .multi-column .post:hover .entry-meta, .multi-column .post:hover .entry-meta a, - .multi-column .post .entry-meta, .multi-column .post .entry-meta a { - color: #777; - } - body .entry-header .entry-title, .single-column .entry-header .entry-title, .multi-column .entry-header .entry-title { - padding-top: 15px; - padding-bottom: 5px; - font-size: 35px; - line-height: 1; - } - body .entry-header .entry-title a, .single-column .entry-header .entry-title a, .multi-column .entry-header .entry-title a { - font-size: 35px; - } - body .format-quote .entry-content, .single-column .format-quote .entry-content, .multi-column .format-quote .entry-content { - padding-top: 0; - } - body .format-quote .entry-content blockquote:first-child, .single-column .format-quote .entry-content blockquote:first-child, .multi-column .format-quote .entry-content blockquote:first-child { - padding: 15px; - margin: 0 -15px 15px -15px; - } - body .format-aside p:first-child, - body .format-link p:first-child, - body .format-quote p:first-child, - body .format-status p:first-child, .single-column .format-aside p:first-child, - .single-column .format-link p:first-child, - .single-column .format-quote p:first-child, - .single-column .format-status p:first-child, .multi-column .format-aside p:first-child, - .multi-column .format-link p:first-child, - .multi-column .format-quote p:first-child, - .multi-column .format-status p:first-child { - padding-top: 0px; - margin-top: 0px; - } - body #page, .single-column #page, .multi-column #page { - position: inherit; - } - body #access, .single-column #access, .multi-column #access { - position: absolute; - top: 0; - left: 0; - border: none; - -moz-border-radius: 0; - -webkit-border-radius: 0; - -o-border-radius: 0; - -ms-border-radius: 0; - -khtml-border-radius: 0; - border-radius: 0; - background-color: #464646; - z-index: 99999; - } - body #access a, - body #access a:visited, - body #access a:hover, - body #access .section-heading a, .single-column #access a, - .single-column #access a:visited, - .single-column #access a:hover, - .single-column #access .section-heading a, .multi-column #access a, - .multi-column #access a:visited, - .multi-column #access a:hover, - .multi-column #access .section-heading a { - color: #fff; - text-shadow: none; - border: none; - text-decoration: none; - } - body #access:target ul, - body #access.fokus ul, .single-column #access:target ul, - .single-column #access.fokus ul, .multi-column #access:target ul, - .multi-column #access.fokus ul { - display: block; - font-size: 17px; - background-color: transparent; - } - body #access .section-heading, .single-column #access .section-heading, .multi-column #access .section-heading { - clip: inherit; - display: block; - clear: both; - float: none; - width: 100%; - margin: 0; - background-color: #464646; - } - body #access .section-heading a:before, .single-column #access .section-heading a:before, .multi-column #access .section-heading a:before { - font-family: 'Genericons'; - content: '\f419'; - margin-right: 10px; - padding-left: 25px; - } - body #access:target .section-heading, .single-column #access:target .section-heading, .multi-column #access:target .section-heading { - display: none; - } - body #access li, .single-column #access li, .multi-column #access li { - float: inherit; - margin: inherit; - } - body #access ul, .single-column #access ul, .multi-column #access ul { - display: none; - margin: inherit; - padding-left: 25px; - background-color: transparent; - } - body #access ul ul, .single-column #access ul ul, .multi-column #access ul ul { - background-color: transparent; - background-image: none; - display: inherit; - position: inherit; - float: none; - padding: inherit; - margin-left: 10px; - border: none; - top: inherit; - left: inherit; - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - border: none; - } - body #access ul > li > a, .single-column #access ul > li > a, .multi-column #access ul > li > a { - border: none; - margin: inherit; - } - body #access ul ul ul, .single-column #access ul ul ul, .multi-column #access ul ul ul { - left: inherit; - top: inherit; - } - body #access ul ul a, .single-column #access ul ul a, .multi-column #access ul ul a { - line-height: 1em; - height: auto; - border: none; - width: auto; - } - body #access div > ul > li > a, - body #access div > ul > li > a:hover, - body #access div > ul > li > a:visited, - body #access .current_page_item > a, - body #access .current_page_ancestor > a, - body #access ul ul li a, - body #access ul ul li a:hover, - body #access ul ul li a:visited, - body #access ul ul li.current_page_item a, .single-column #access div > ul > li > a, - .single-column #access div > ul > li > a:hover, - .single-column #access div > ul > li > a:visited, - .single-column #access .current_page_item > a, - .single-column #access .current_page_ancestor > a, - .single-column #access ul ul li a, - .single-column #access ul ul li a:hover, - .single-column #access ul ul li a:visited, - .single-column #access ul ul li.current_page_item a, .multi-column #access div > ul > li > a, - .multi-column #access div > ul > li > a:hover, - .multi-column #access div > ul > li > a:visited, - .multi-column #access .current_page_item > a, - .multi-column #access .current_page_ancestor > a, - .multi-column #access ul ul li a, - .multi-column #access ul ul li a:hover, - .multi-column #access ul ul li a:visited, - .multi-column #access ul ul li.current_page_item a { - color: #fff; - border-bottom: none; - } - body #access ul ul li a, .single-column #access ul ul li a, .multi-column #access ul ul li a { - height: auto; - border-top: none; - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - } -} -/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */ -@media only screen and (max-width: 479px) { - body h1.section-heading, .single-column h1.section-heading, .multi-column h1.section-heading { - font-size: 20px; - } - body #site-title, .single-column #site-title, .multi-column #site-title { - margin-bottom: 20px; - } - body #site-title a, .single-column #site-title a, .multi-column #site-title a { - font-size: 0.7em; - } - body #branding, .single-column #branding, .multi-column #branding { - margin-top: 50px; - } - body #site-description, .single-column #site-description, .multi-column #site-description { - display: none; - } - body #page, .single-column #page, .multi-column #page { - position: inherit; - } - body .entry-header .entry-title, .single-column .entry-header .entry-title, .multi-column .entry-header .entry-title { - font-size: 30px; - line-height: 1; - } - body .entry-header .entry-title a, .single-column .entry-header .entry-title a, .multi-column .entry-header .entry-title a { - font-size: 30px; - } - body iframe, body object, body embed, .single-column iframe, .single-column object, .single-column embed, .multi-column iframe, .multi-column object, .multi-column embed { - height: auto; - max-width: 100%; - } -} -/** - * lend from HTML5 boilerplate and tweaked a bit - */ -@media print { - * { - background: transparent !important; - color: black !important; - box-shadow: none !important; - text-shadow: none !important; - filter: none !important; - -ms-filter: none !important; - } - - /* Black prints faster: h5bp.com/s */ - a, a:visited { - 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: ""; - } - - /* Don't show links for images, or javascript/internal links */ - pre, blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - - thead { - display: table-header-group; - } - - /* h5bp.com/t */ - tr, img { - page-break-inside: avoid; - } - - img { - max-width: 100% !important; - } - - @page { - margin: 0.5cm; - } - p, h2, h3 { - orphans: 3; - widows: 3; - } - - h2, h3 { - page-break-after: avoid; - } - - .widget-area, #branding, #commentform, #colophon { - display: none; - } - - #content { - margin: 0px; - } - - #page { - width: auto; - } -}