diff --git a/wp-content/themes/vanilla/LICENSE b/wp-content/themes/vanilla/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..03a0d85300d4c7ac58ab7a088e867bd966af2ba1 --- /dev/null +++ b/wp-content/themes/vanilla/LICENSE @@ -0,0 +1,15 @@ +Copyright 2016 Toro_Unit (email : mail@torounit.com) + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA diff --git a/wp-content/themes/vanilla/assets/images/default-header.jpg b/wp-content/themes/vanilla/assets/images/default-header.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0d08e1dbddd77fa8c5f4e112ad3273644e116f7a Binary files /dev/null and b/wp-content/themes/vanilla/assets/images/default-header.jpg differ diff --git a/wp-content/themes/vanilla/assets/images/parlor.jpg b/wp-content/themes/vanilla/assets/images/parlor.jpg new file mode 100644 index 0000000000000000000000000000000000000000..802a5c68f7a176d5b2fc1d5b4d4ba397b1101d88 Binary files /dev/null and b/wp-content/themes/vanilla/assets/images/parlor.jpg differ diff --git a/wp-content/themes/vanilla/assets/images/vanilla.jpg b/wp-content/themes/vanilla/assets/images/vanilla.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1bca4b3bdc43c796767c533a908acccbe42462e5 Binary files /dev/null and b/wp-content/themes/vanilla/assets/images/vanilla.jpg differ diff --git a/wp-content/themes/vanilla/assets/scripts/AppLayout/ContentSpacer.js b/wp-content/themes/vanilla/assets/scripts/AppLayout/ContentSpacer.js new file mode 100644 index 0000000000000000000000000000000000000000..9f407aec2827f65311ed1082bd36615f2a4f1522 --- /dev/null +++ b/wp-content/themes/vanilla/assets/scripts/AppLayout/ContentSpacer.js @@ -0,0 +1,32 @@ +import $ from 'jquery'; + +export default class ContentSpacer { + /** + * + * @param {jQuery} $el + */ + constructor( $el ) { + this.$el = $el; + let header = $el.data('app-layout-header'); + let content = $el.data('app-layout-spacer'); + + this.$header = $( header ); + this.$content = $( content ); + this.on(); + } + + on() { + $(window).on( 'load resize', () => { + this.setPadding() + } ); + } + + setPadding() { + this.$content.css({paddingTop: this.getHeaderHeight() + 'px'}); + } + + getHeaderHeight() { + + return this.$header.height(); + } +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/scripts/AppLayout/HeaderClassController.js b/wp-content/themes/vanilla/assets/scripts/AppLayout/HeaderClassController.js new file mode 100644 index 0000000000000000000000000000000000000000..1bf337b862f025df63b3aa32abcf9453298bab02 --- /dev/null +++ b/wp-content/themes/vanilla/assets/scripts/AppLayout/HeaderClassController.js @@ -0,0 +1,64 @@ +import $ from 'jquery'; +import _ from 'underscore'; + + +export default class AppLayoutClassController { + /** + * + * @param $el + * @param classString + * @param threshold クラスの設定をするためのスクロール位置 + */ + constructor( $el, classString, threshold ) { + this.classString = classString; + this.threshold = threshold; + this.$el = $el; + let header = $el.data('app-layout-header'); + let content = $el.data('app-layout-scroll-area'); + this.$header = $( header ); + if ( content && content != 'window' ) { + this.$content = $( content ); + } + else { + this.$content = $( window ); + } + + this.initialize(); + this.on(); + } + + initialize() { + //for override + } + + on() { + this.$content.on( 'scroll resize', _.throttle(function(){ + this.toggleClass(); + }, 1 ).bind(this) ); + } + + toggleClass() { + if( this.isExceedsThreshold() ) { + this.$header.addClass( this.classString ); + } + else { + this.$header.removeClass( this.classString ); + } + } + + getThreshold() { + if( typeof this.threshold == "function" ) { + return this.threshold(); + } + else { + return this.threshold; + } + } + + isExceedsThreshold() { + let scrollTop = this.$content.scrollTop(); + return ( scrollTop > this.getThreshold() ); + + } +} + diff --git a/wp-content/themes/vanilla/assets/scripts/AppLayout/HeaderEscaper.js b/wp-content/themes/vanilla/assets/scripts/AppLayout/HeaderEscaper.js new file mode 100644 index 0000000000000000000000000000000000000000..e898775f51558256d7c41a3efae2c72e66befe22 --- /dev/null +++ b/wp-content/themes/vanilla/assets/scripts/AppLayout/HeaderEscaper.js @@ -0,0 +1,34 @@ +import HeaderClassController from './HeaderClassController'; + +export default class extends HeaderClassController { + + initialize() { + this.scrollPos = this.getScrollPosition(); + } + + getScrollPosition() { + return this.$content.scrollTop(); + } + + toggleClass() { + let currentPos = this.getScrollPosition(); + + if( ! this.isExceedsThreshold() ) { + this.$header.removeClass( this.classString ); + this.$header.attr('aria-hidden', 'false'); + } + else if( currentPos - this.scrollPos > 5 ) { + //scroll to down + this.$header.addClass( this.classString ); + this.$header.attr('aria-hidden', 'true'); + } + else if ( currentPos - this.scrollPos < - 5 ) { + //scroll to up + this.$header.removeClass( this.classString ); + this.$header.attr('aria-hidden', 'false'); + } + + this.scrollPos = currentPos; + } + +} diff --git a/wp-content/themes/vanilla/assets/scripts/Drawer.js b/wp-content/themes/vanilla/assets/scripts/Drawer.js new file mode 100644 index 0000000000000000000000000000000000000000..3e319a55ca787b9679ee751184b179e50f312b62 --- /dev/null +++ b/wp-content/themes/vanilla/assets/scripts/Drawer.js @@ -0,0 +1,67 @@ +import $ from 'jquery'; + +export default class Drawer { + + constructor($el) { + this.$el = $el; + this.$container = $($el.data("drawer-container-selector")); + this.id = $el.attr('id'); + this.$controller = $( '[aria-controls="'+this.id+'" ]' ); + this.$container.addClass("drawer-container"); + this.on(); + + } + + on() { + this.$controller.on('click', this.toggle.bind(this)); + this.$el.on('click', this.close.bind(this)); + this.$el.children().on('click', function(event){ + event.stopPropagation(); + }) + + $(document).on('keyup', (event) => { + if (event.keyCode == 27) { + this.close(); + } + }) + + this.$el.on('transitionend', this.transitionend.bind(this)); + } + + transitionend() { + this.$el.removeClass('is-animated'); + } + + toggle(event) { + event.preventDefault(); + if ( this.$el.attr('aria-expanded') == "false" ) { + this.open(); + } else { + this.close(); + } + } + + open() { + this.$el.addClass('is-animated'); + this.$el.attr('aria-expanded',"true"); + this.$el.attr('aria-hidden',"false"); + this.$controller.attr('aria-expanded',"true"); + this.$container.addClass("is-drawer-open"); + + + } + + close() { + this.$el.addClass('is-animated'); + this.$el.attr('aria-expanded',"false"); + this.$el.attr('aria-hidden',"true"); + this.$controller.attr('aria-expanded',"false"); + this.$container.removeClass("is-drawer-open"); + } + + static init() { + $("[data-drawer]").each(function(){ + new Drawer($(this)); + }); + } +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/scripts/customizer/color.js b/wp-content/themes/vanilla/assets/scripts/customizer/color.js new file mode 100644 index 0000000000000000000000000000000000000000..c397be514129e9fd05c2ec5ccb1c8b9a741bd3b1 --- /dev/null +++ b/wp-content/themes/vanilla/assets/scripts/customizer/color.js @@ -0,0 +1,47 @@ +(function (api) { + var cssTemplate = wp.template('vanilla-color'); + var colorSchemeKeys = [ + 'background_color', + 'link_color', + 'text_color', + 'header_textcolor', + 'navbar_textcolor', + 'navbar_background_color', + 'archive_header_textcolor', + 'archive_header_background_color', + 'post_thumbnail_background_color', + 'footer_textcolor', + 'footer_background_color', + + ]; + + function updateCSS() { + var css, + colors = colorSchemeKeys; + + // Merge in color scheme overrides. + _.each(colorSchemeKeys, function (setting) { + var color = api(setting)(); + if( !color ) { + if ( setting.indexOf('background_color') ) { + color = 'transparent' + } + else { + color = 'inherit' + } + } + colors[setting] = color; + }); + + css = cssTemplate(colors); + + api.previewer.send('update-color-css', css); + } + + // Update the CSS whenever a color setting is changed. + _.each(colorSchemeKeys, function (setting) { + api(setting, function (setting) { + setting.bind(updateCSS); + }); + }); +})(wp.customize); diff --git a/wp-content/themes/vanilla/assets/scripts/customizer/controls.js b/wp-content/themes/vanilla/assets/scripts/customizer/controls.js new file mode 100644 index 0000000000000000000000000000000000000000..a15d1858fac5730c5fe81678409e110bdad8033d --- /dev/null +++ b/wp-content/themes/vanilla/assets/scripts/customizer/controls.js @@ -0,0 +1,19 @@ +/** + * Live-update changed settings in real time in the Customizer preview. + */ + +( function( $ ) { + var api = wp.customize; + api.bind( 'ready', function() { + "use strict"; + //Detect when the front page sections section is expanded (or closed) so we can adjust the preview accordingly. + api.section( 'theme_options', function( section ) { + section.expanded.bind( function( isExpanding ) { + + // Value of isExpanding will = true if you're entering the section, false if you're leaving it. + api.previewer.send( 'section-highlight', { expanded: isExpanding }); + } ); + } ); + }); + +} )( jQuery ); diff --git a/wp-content/themes/vanilla/assets/scripts/customizer/preview.js b/wp-content/themes/vanilla/assets/scripts/customizer/preview.js new file mode 100644 index 0000000000000000000000000000000000000000..fa81e51bcb95f286428f3934b8ea0a242ebdb752 --- /dev/null +++ b/wp-content/themes/vanilla/assets/scripts/customizer/preview.js @@ -0,0 +1,132 @@ +/** + * Live-update changed settings in real time in the Customizer preview. + */ + +( function( $ ) { + var style = $( '#vanilla-color-css' ), + api = wp.customize; + + api.bind( 'preview-ready', function() { + "use strict"; + $( '.panel--placeholder' ).hide(); + api.preview.bind( 'section-highlight', function( data ) { + // When the section is expanded, show and scroll to the content placeholders, exposing the edit links. + + if ( true === data.expanded ) { + $( 'body' ).addClass( 'highlight-front-sections' ); + $( '.panel--placeholder' ).slideDown( 200, function() { + $("html, body").animate({ + scrollTop: $( '#panel1' ).offset().top + }, 600); + }); + + // If we've left the panel, hide the placeholders and scroll back to the top. + } else { + $( 'body' ).removeClass( 'highlight-front-sections' ); + // Don't change scroll when leaving - it's likely to have unintended consequences. + $( '.panel--placeholder' ).slideUp( 200 ); + } + }); + }); + + + if ( ! style.length ) { + style = $( 'head' ).append( '<style type="text/css" id="vanilla-color-css" />' ) + .find( '#vanilla-color-css' ); + } + + // Color Scheme CSS. + api.bind( 'preview-ready', function() { + api.preview.bind( 'update-color-css', function( css ) { + style.html( css ); + //$("#vanilla-color-css").remove(); + } ); + } ); + + // Page layouts. + api( 'posts_layout_on_front_page', function( value ) { + value.bind( function( to ) { + if ( 'list' === to ) { + $( 'body' ).addClass( 'postlist-style-list' ).removeClass( 'postlist-style-block' ); + } else { + $( 'body' ).removeClass( 'postlist-style-list' ).addClass( 'postlist-style-block' ); + } + } ); + } ); + + // Site title. + api( 'blogname', function( value ) { + value.bind( function( to ) { + $( '.site-title a' ).text( to ); + } ); + } ); + + // Site tagline. + api( 'blogdescription', function( value ) { + value.bind( function( to ) { + $( '.site-description' ).text( to ); + } ); + } ); + + // Add custom-background-image body class when background image is added. + api( 'background_image', function( value ) { + value.bind( function( to ) { + $( 'body' ).toggleClass( 'custom-background-image', '' !== to ); + } ); + } ); + + + + + // Header text color. + api( 'header_textcolor', function( value ) { + value.bind( function( to ) { + if ( 'blank' === to ) { + $( '.custom-header__branding' ).css({ + clip: 'rect(1px, 1px, 1px, 1px)', + position: 'absolute' + }); + // Add class for different logo styles if title and description are hidden. + $( 'body' ).addClass( 'title-tagline-hidden' ); + } else { + + // Check if the text color has been removed and use default colors in theme stylesheet. + if ( ! to.length ) { + $( '#vanilla-custom-header-styles' ).remove(); + } + // $( '.custom-header__branding' ).css({ + // clip: 'auto', + // position: 'relative' + // }); + $( '.custom-header' ).css({ + color: to + }); + // Add class for different logo styles if title and description are visible. + $( 'body' ).removeClass( 'title-tagline-hidden' ); + } + }); + }); + + // Whether a header image is available. + function hasHeaderImage() { + var image = api( 'header_image' )(); + return '' !== image && 'remove-header' !== image; + } + + + // Toggle a body class if a custom header exists. + $.each( [ 'header_image' ], function( index, settingId ) { + wp.customize( settingId, function( setting ) { + setting.bind(function() { + if ( hasHeaderImage() ) { + $( ".custom-header" ).addClass( 'custom-header--has-image' ); + } else { + $( ".custom-header" ).removeClass( 'custom-header--has-image' ); + } + } ); + } ); + } ); + + + +} )( jQuery ); diff --git a/wp-content/themes/vanilla/assets/scripts/skip-link-focus-fix.js b/wp-content/themes/vanilla/assets/scripts/skip-link-focus-fix.js new file mode 100644 index 0000000000000000000000000000000000000000..185dfec48f0aedefb85e1b9a04d054e5912f2044 --- /dev/null +++ b/wp-content/themes/vanilla/assets/scripts/skip-link-focus-fix.js @@ -0,0 +1,33 @@ +/** + * File skip-link-focus-fix.js. + * + * Helps with accessibility for keyboard only users. + * + * Learn more: https://git.io/vWdr2 + */ +( function() { + var isWebkit = navigator.userAgent.toLowerCase().indexOf( 'webkit' ) > -1, + isOpera = navigator.userAgent.toLowerCase().indexOf( 'opera' ) > -1, + isIe = navigator.userAgent.toLowerCase().indexOf( 'msie' ) > -1; + + if ( ( isWebkit || isOpera || isIe ) && document.getElementById && window.addEventListener ) { + window.addEventListener( 'hashchange', function() { + var id = location.hash.substring( 1 ), + element; + + if ( ! ( /^[A-z0-9_-]+$/.test( id ) ) ) { + return; + } + + element = document.getElementById( id ); + + if ( element ) { + if ( ! ( /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) ) ) { + element.tabIndex = -1; + } + + element.focus(); + } + }, false ); + } +})(); diff --git a/wp-content/themes/vanilla/assets/scripts/theme.js b/wp-content/themes/vanilla/assets/scripts/theme.js new file mode 100644 index 0000000000000000000000000000000000000000..5bc1e26ad263ae4bc6b1a19515bf5bf0aac94e78 --- /dev/null +++ b/wp-content/themes/vanilla/assets/scripts/theme.js @@ -0,0 +1,66 @@ +import $ from 'jquery'; +import Drawer from './Drawer'; +import HeaderClassController from './AppLayout/HeaderClassController'; +import HeaderEscaper from './AppLayout/HeaderEscaper'; +import ContentSpacer from './AppLayout/ContentSpacer'; +import './skip-link-focus-fix'; + +$(function() { + + $("[data-drawer]").each(function(){ + new Drawer($(this)); + }); + +}); + + +$(function() { + + let $toplevelMenuItems = $('.primary-menu .menu-item-has-children, .primary-menu .page_item_has_children'); + // Add dropdown toggle that displays child menu items. + let $dropdownToggle = $( '<button />', { + 'class': 'dropdown-toggle', + 'aria-expanded': false + } ).append( $( '<span />', { + 'class': 'screen-reader-text', + text: screenReaderText.expand + } ) ); + + $toplevelMenuItems.children('a').after( $dropdownToggle ); + + + $(".primary-menu .sub-menu, .primary-menu .children").each(function () { + $(this).attr('aria-expanded',"false"); + }); + + $toplevelMenuItems.find('.dropdown-toggle').on( 'click', function (event) { + let self = $(this); + let expanded = ''; + if( 'true' == self.attr('aria-expanded') ) { + expanded = 'false'; + self.find('.screen-reader-text').text(screenReaderText.expand); + } + else { + expanded = 'true'; + self.find('.screen-reader-text').text(screenReaderText.collapse); + } + self.attr('aria-expanded', expanded); + + self.siblings('.sub-menu,.children').attr('aria-expanded', expanded); + }) + +}); + + +$(function() { + + let $appLayout = $(".app-layout"); + $(window).on( 'load resize', () => { + $appLayout.removeClass("app-layout--disable"); + } ); + new HeaderClassController( $appLayout, "app-layout__header--fixed", 46 ); + new HeaderEscaper( $appLayout, "app-layout__header--escape", 64 ); + new ContentSpacer( $appLayout ); + +}); + diff --git a/wp-content/themes/vanilla/assets/styles/Base/embed.styl b/wp-content/themes/vanilla/assets/styles/Base/embed.styl new file mode 100644 index 0000000000000000000000000000000000000000..ece8c2f09b6af3d78c447f9f96189475591c8779 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Base/embed.styl @@ -0,0 +1,29 @@ +// Embed +// +// Styleguide 1.5 + +img, +svg { + max-width: 100%; + height: auto; +} + +iframe { + max-width: 100%; +} + +video { + margin-bottom: 1em; +} + +figure { + + margin: 1em 0; + + figcaption { + text-align: center; + + font-size: 1em; + } +} + diff --git a/wp-content/themes/vanilla/assets/styles/Base/form.styl b/wp-content/themes/vanilla/assets/styles/Base/form.styl new file mode 100644 index 0000000000000000000000000000000000000000..f756439008095b827d321cd69fa9e9212e992df8 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Base/form.styl @@ -0,0 +1,78 @@ +// Form +// +// Styleguide 1.6 + +select { + line-height: inherit; + box-sizing: border-box; + padding: 6px 12px; + color: #555; + background-image: none; + border: none; + border-radius: 4px; + box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); + transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; +} + +select { + height: 1.75em; +} + +select, +input[type="text"], +input[type="date"], +input[type="tel"], +input[type="url"], +input[type="email"], +input[type="search"], +input[type="datetime"], +input[type="image"], +input[type="password"], +input[type="submit"], +input[type="button"], +input[type="reset"], +button, +textarea { + box-sizing: border-box; + padding: .25em 1em; + font-size: 1em; + line-height: 1.75; + background-color: inherit; + border: 1px solid rgba(0,0,0,.15); + //box-shadow: inset 0 0 1px rgba(0, 0, 0, .3); + &:focus { + outline: thin dotted; + } +} +select, +input[type="text"], +input[type="date"], +input[type="tel"], +input[type="url"], +input[type="email"], +input[type="search"], +input[type="datetime"], +input[type="image"], +input[type="password"], +textarea { + max-width 100%; + background-color: #fff; + background-image: none; + transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; +} + +textarea { + height: auto; +} + +input[type="submit"], +input[type="button"], +input[type="reset"], +button { + text-align: center; + white-space: nowrap; + touch-action: manipulation; + cursor: pointer; + user-select: none; + background-image: none; +} diff --git a/wp-content/themes/vanilla/assets/styles/Base/heading.styl b/wp-content/themes/vanilla/assets/styles/Base/heading.styl new file mode 100644 index 0000000000000000000000000000000000000000..8391b8fe23c0add693a770350694e2b7e2167d82 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Base/heading.styl @@ -0,0 +1,54 @@ +// Heading +// +// Markup: +// <h1>h1</h1> +// <h2>h2</h2> +// <h3>h3</h3> +// <h4>h4</h4> +// <h5>h5</h5> +// <h6>h6</h6> +// +// Styleguide 1.2 + +h1 { + font-weight: 600; + font-size: 2em; + margin: 0.5em 0; +} + +h2 { + font-weight: 600; + clear: both; + box-sizing: border-box; + font-size: 1.7em; + margin: 1em 0; + border-top: 1px solid rgba(0, 0, 0, .1); + padding-top: 1em; + +} + +h3 { + font-weight: 600; + font-size: 1.38em; + border-top: 1px solid rgba(0, 0, 0, .05); + padding-top: 1em; + +} + +h4 { + font-weight: 600; + font-size: 1.15em; + //border-top: 1px solid rgba(0, 0, 0, .3); + //padding-top: 1.33em; +} + +h5 { + font-weight: 600; + font-size: 1em; +} + +h6 { + font-weight: normal; + font-size: 1em; + margin: 1.67em 0; +} diff --git a/wp-content/themes/vanilla/assets/styles/Base/hr.styl b/wp-content/themes/vanilla/assets/styles/Base/hr.styl new file mode 100644 index 0000000000000000000000000000000000000000..c2d66e7c254aa71a0669278bb9da5633ee7d6812 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Base/hr.styl @@ -0,0 +1,7 @@ +hr { + border: none; + border-top: #666 3px solid; + width: 80%; + margin: 20px auto; + clear: both; +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Base/links.styl b/wp-content/themes/vanilla/assets/styles/Base/links.styl new file mode 100644 index 0000000000000000000000000000000000000000..14c19da18ff48798955d1f88ccea8369f4b09b3d --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Base/links.styl @@ -0,0 +1,26 @@ +// Anchor +// +// Markup: +// <a href="#">Link</a> +// +// Styleguide 1.3 + +a { + color: #337ab7; + text-decoration: none; + + &:hover { + text-decoration: underline; + } + + &:hover { + img { + opacity: 0.8; + } + } + + &:focus { + outline: thin dotted; + } + +} diff --git a/wp-content/themes/vanilla/assets/styles/Base/list.styl b/wp-content/themes/vanilla/assets/styles/Base/list.styl new file mode 100644 index 0000000000000000000000000000000000000000..974c0a70d3ecde2e4ce5114323085629029cef38 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Base/list.styl @@ -0,0 +1,27 @@ + +// List +// +// Markup: +// <ul> +// <li>Element</li> +// <li>Element</li> +// <li>Element</li> +// </ul> +// +// <ol> +// <li>Element</li> +// <li>Element</li> +// <li>Element</li> +// </ol> +// +// Styleguide 1.4 + +ol, +ul { + padding-left: 1.5em; +} + +dd { + margin-left: 1.5em; +} + diff --git a/wp-content/themes/vanilla/assets/styles/Base/table.styl b/wp-content/themes/vanilla/assets/styles/Base/table.styl new file mode 100644 index 0000000000000000000000000000000000000000..6e7438777188b28770d66ade0d124d94fe81acf2 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Base/table.styl @@ -0,0 +1,42 @@ +// Table +// +// Table Base Style. +// +// Styleguide 1.7 + +table { + width: 100%; +} + +thead { + background-color: #999; + color: #FFF; +} +tr { + + &:nth-child(2n) { + background-color: #f2f2f2; + } + //display: block; + //@media $small-up { + // display: table-row; + // border-bottom: none; + //} +} + +th, +td { + padding: 1em; + text-align: center; + white-space: nowrap; + border: 1px solid #fff; + + //display: block; + //@media $small-up { + // display: table-cell; + //} +} + +th { + font-weight: bold; +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Base/typography.styl b/wp-content/themes/vanilla/assets/styles/Base/typography.styl new file mode 100644 index 0000000000000000000000000000000000000000..72f2afa9dc3016f2d3384c6cc4e653839d35abc4 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Base/typography.styl @@ -0,0 +1,39 @@ +html { + font-size: percentage(10/16); + min-height: 100%; +} + +body { + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Helvetica', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Roboto', 'Droid Sans', '游ゴシック Medium', meiryo, sans-serif; + font-size: 1.4em; + + +medium-up() { + font-size: 1.6em; + } + + color: #000; + background-color: #fff; + line-height: 1.75; + overflow-wrap: break-word; + word-wrap: break-word; + //letter-spacing: .05rem; + //text-align: justify; + -webkit-font-smoothing: subpixel-antialiased; +} + +strong { + font-weight: bold; +} + +p { + margin: 1em 0; +} + +pre { + overflow: scroll; + background: #EEE; + margin: 1.2em 0; + padding: 1em; + line-height: 1.5 +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Components/archive-header.styl b/wp-content/themes/vanilla/assets/styles/Components/archive-header.styl new file mode 100644 index 0000000000000000000000000000000000000000..17df4a3873fe93b40e3730185cf8e4a503e1916c --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/archive-header.styl @@ -0,0 +1,15 @@ +.archive-header { + gutter( padding-top, 1 ); + gutter( padding-bottom, 1 ); + + &__title { + font-size: 1em; + font-weight: bold; + margin 0; + } + + p { + margin: 0; + font-size: 0.8em; + } +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Components/comment-form.styl b/wp-content/themes/vanilla/assets/styles/Components/comment-form.styl new file mode 100644 index 0000000000000000000000000000000000000000..378f638717a6609a2558688a885c2b244eed1ea6 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/comment-form.styl @@ -0,0 +1,34 @@ +.comment-form { + + .required { + font-weight: bold; + } + +} + +.comment-form-comment, +.comment-form-author, +.comment-form-email, +.comment-form-url { + label { + display block + font-weight:bold; + margin-bottom: 0.1em; + } + + + + input, + textarea { + //box-sizing border-box; + //display: block; + //width: 100%; + //padding: 6px 12px; + //color: #555; + //background-color: #fff; + //background-image: none; + ////border: 1px solid rgba(0,0,0,.4); + //box-shadow: inset 0 1px 1px rgba(0,0,0,.055); + //transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; + } +} diff --git a/wp-content/themes/vanilla/assets/styles/Components/comment.styl b/wp-content/themes/vanilla/assets/styles/Components/comment.styl new file mode 100644 index 0000000000000000000000000000000000000000..bd816d67306f022b7067f775143dc464181e22b7 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/comment.styl @@ -0,0 +1,91 @@ +.comment, +.pingback { + + //border-top: 1px solid currentColor; + //opacity: 0.2; + + &::before { + display block + content: ''; + border-top: 1px solid currentColor; + opacity: 0.2; + } + + & > & { + margin-left: 32px; + } + + &.depth-1 { + //margin: 16px 0; + overflow: hidden + } + + .says { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; + } + + + .comment-body { + margin: 16px 0; + position relative; + padding-left: 32px; + } + + .comment-author { + font-size: 0.9em + .fn, + .avatar { + vertical-align: bottom; + } + .avatar { + position: absolute; + left: 0; + } + + } + + .bypostauthor { + + .fn::after { + content: "\f110"; + font-family "Dashicons"; + font-size: 0.9em; + margin-inline-start: 0.1em; + opacity: 0.6; + vertical-align: middle; + } + } + + .comment-metadata { + font-size: 0.8em; + } + + .comment-content { + *:first-child { + margin-top: 0; + } + + *:last-child { + margin-bottom:0 + } + } + + .reply { + font-size: 0.8em; + } + +} + +.pingback { + .comment-body { + padding-left: 0; + font-size: 0.9em; + } +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Components/comments-navigation.styl b/wp-content/themes/vanilla/assets/styles/Components/comments-navigation.styl new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/wp-content/themes/vanilla/assets/styles/Components/content-area.styl b/wp-content/themes/vanilla/assets/styles/Components/content-area.styl new file mode 100644 index 0000000000000000000000000000000000000000..a3c72c5f641ac5a717859b8adcdfeed525236e4d --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/content-area.styl @@ -0,0 +1,4 @@ +.content-area { + position relative + background-color: inherit +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Components/custom-header.styl b/wp-content/themes/vanilla/assets/styles/Components/custom-header.styl new file mode 100644 index 0000000000000000000000000000000000000000..9ade627e27f804085bda42b683db671b7e156789 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/custom-header.styl @@ -0,0 +1,108 @@ +.custom-header { + box-sizing border-box; + position relative; + overflow hidden; + color: #fff; + text-shadow: 1px 1px 6px rgba(0,0,0,.3); + + .customize-partial-edit-shortcut-custom_header { + top: 64px; + } + + &--has-image { + //height 75vh; + height: 75vh; + + .admin-bar & { + height: calc(75vh - 46px); + } + + +medium-up() { + height: 100vh; + + .admin-bar & { + height: calc(100vh - 32px); + } + } + } + + + &--has-image &__media { + position fixed; + top: 0; + left 0; + height inherit; + + } + + &__media { + width 100%; + height 100%; + + .wp-custom-header { + width 100%; + height 100%; + } + iframe, + video, + img { + display block + height: 100%; + width: 100%; + left: 0; + -o-object-fit: cover; + object-fit: cover; + + } + + .admin-bar & { + iframe, + video, + img { + + height: calc(100% + 46px); + + +medium-up() { + height: 100%; + padding-top: 32px; + } + } + } + } + + &__branding { + width 100%; + gutter( padding-top, 2 ); + gutter( padding-bottom, 2 ); + } + &--has-image &__branding { + position absolute + bottom 0; + background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%); + } + + &__title { + font-size: 2em; + font-weight bold; + margin: 0; + +medium-up() { + font-size: 2.4em; + margin-bottom: 0; + } + + a { + color: inherit; + text-decoration: none + } + } + + &__description { + margin-top: 0; + margin-bottom: 0; + font-size: 1em; + + +medium-up() { + font-size: 1.2em; + } + } +} diff --git a/wp-content/themes/vanilla/assets/styles/Components/dashicons.styl b/wp-content/themes/vanilla/assets/styles/Components/dashicons.styl new file mode 100644 index 0000000000000000000000000000000000000000..7157e8df62c81c76e702298fc912c1690b93541d --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/dashicons.styl @@ -0,0 +1,6 @@ +.dashicons { + line-height: inherit; + font-size: 1em; + width auto; + height auto; +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Components/entry-meta.styl b/wp-content/themes/vanilla/assets/styles/Components/entry-meta.styl new file mode 100644 index 0000000000000000000000000000000000000000..a50a1456a68a5d0edde7e113716e1ee9a1edf7ce --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/entry-meta.styl @@ -0,0 +1,20 @@ +.entry-meta { + font-size: 0.8em; + &__item { + + //display: inline-block; + margin-inline-end: 0.5em; + } + + &__icon { + opacity: 0.7; + font-size: 1em; + width: 1.5em; + margin-inline-end: 0.1em; + line-height: inherit; + } +} + +.sticky .posted-on { + display none; +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Components/entry.styl b/wp-content/themes/vanilla/assets/styles/Components/entry.styl new file mode 100644 index 0000000000000000000000000000000000000000..49502676c5a043306db6bf95e1bbcfc451650774 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/entry.styl @@ -0,0 +1,45 @@ +.entry { + overflow hidden; + gutter( padding-top ); + gutter( padding-bottom ); + + //box-shadow: 0 1px 1px 0 rgba(128,128,128,0.12), 0 2px 1px -1px rgba(128,128,128,0.2); + border-bottom 1px solid rgba(128,128,128,0.2); + + &.has-post-thumbnail { + padding-top: 0 + } + + &__featured-image { + //background-color: #aaaaaa; + gutter( margin-bottom, 2 ); + } + + + &__body { + gutter( padding-left ); + gutter( padding-right ); + } + + &__posted-on { + margin-top: 0; + margin-bottom: 0 + } + + &__header { + margin-bottom: 1em; + gutter( margin-top ); + } + + &__title { + border none; + font-size: 2em; + line-height: 1.6; + margin: 0; + padding 0 + } + + &__content { + gutter( margin-bottom ); + } +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Components/gallery.styl b/wp-content/themes/vanilla/assets/styles/Components/gallery.styl new file mode 100644 index 0000000000000000000000000000000000000000..2337eb01321dceee32db31c34b1cfd80f535f4fd --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/gallery.styl @@ -0,0 +1,66 @@ +$grid-gutter ?= 20px; + +.gallery { + + clear: both; + margin: (-1 * $grid-gutter / 2); + display: flex; + flex-wrap: wrap; + flex-direction: row; + justify-content: space-around; + + &-item { + margin: 0 0 $grid-gutter; + box-sizing: border-box; + position: relative; + flex-grow: 0; + flex-shrink: 0; + padding: 0 ($grid-gutter / 2); + } + + &-icon { + img { + display: block; + margin: 0 auto; + } + } + + gallery-item-width($width) { + flex-basis: $width; + } + + + @media $medium-up { + + for $i in (1..9) { + + &.gallery-columns-{$i} &-item { + gallery-item-width(percentage(1 /$i)); + } + } + } + +} + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wp-content/themes/vanilla/assets/styles/Components/navbar.styl b/wp-content/themes/vanilla/assets/styles/Components/navbar.styl new file mode 100644 index 0000000000000000000000000000000000000000..c6b1a6722248b0e08fce9a2269a58f329f17b8cd --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/navbar.styl @@ -0,0 +1,68 @@ +.navbar { + display: flex; + flex: 100% 1 0; + justify-content: space-between; + align-items: center; + padding-top: 16px; + padding-bottom: 16px; + + &__branding { + //width: 48px; + //padding: 8px; + height: auto; + img { + display: block; + } + } + + &__logo { + width: 48px; + + } + + //&__logo { + // max-width: 40%; + // order: 1; + // margin: 0; + // height: 30px; + // transition-duration: .2s; + // transition-timing-function: cubic-bezier(.4, 0, .2, 1); + // transition-property: height; + // + // &--large { + // height: 45px; + // } + // + // a { + // color: inherit; + // } + // + // svg, + // img { + // width: auto; + // height: 100%; + // display: block; + // + // } + //} + + //.app-layout__header--compact & { + // &__logo { + // height: 30px; + // img { + // + // } + // } + //} + + &__drawer-button { + white-space: nowrap; + order: 20; + padding: 8px; + color: inherit; + font-size: 1.6rem; + border: none; + font-weight: normal; + + } +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Components/pagination.styl b/wp-content/themes/vanilla/assets/styles/Components/pagination.styl new file mode 100644 index 0000000000000000000000000000000000000000..564f83ac165dc199237ab7ad6e4be9e466f26e55 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/pagination.styl @@ -0,0 +1,58 @@ +.pagination { + + margin: 3em 0; + text-align: center; + + &--small { + font-size: 0.8em; + } + + a { + background-image: none; + } + + .page-numbers { + display: inline-block; + } + + .dots, + .prev, + .next, + .pagination__numbers { + //background-color: #aaa; + border: none; + width: 2em; + height: 2em; + line-height: 2em; + text-align: center; + display: inline-block; + font-weight: bold; + color: inherit; + overflow: hidden; + } + + .prev, + .next { + background: none; + margin: 0 1em; + display: inline-block; + } + + &__arrow { + //background-color: #aaa; + background-origin: content-box; + width: 100%; + height: 100%; + display: inline-block; + font-size: 1em; + line-height: 2em; + + } +} + +.pagination { + .current { + border-bottom 3px solid currentColor + + } +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Components/panel.styl b/wp-content/themes/vanilla/assets/styles/Components/panel.styl new file mode 100644 index 0000000000000000000000000000000000000000..5247e2637014ee8b0d864dbce5909558e88c17f9 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/panel.styl @@ -0,0 +1,30 @@ +.panel { + position relative + + &__content { + padding 20px; + } +} + +.customize-partial-edit-shortcuts-shown .panel { + .customize-partial-edit-shortcut button { + top: 0; + left: 1em; + } +} + +.highlight-front-sections { + .panel { + &::after { + border: 2px dashed #0085ba; + bottom: .5em; + content: ""; + display: block; + left: .5em; + position: absolute; + right: .5em; + top: .5em; + z-index: 1; + } + } +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Components/postlist.styl b/wp-content/themes/vanilla/assets/styles/Components/postlist.styl new file mode 100644 index 0000000000000000000000000000000000000000..f418302615a3cef4619a81cf65afe4f9db68e3de --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/postlist.styl @@ -0,0 +1,32 @@ +.postlist { + padding-left: 1.5em; + + &__pubdate { + font-family: monospace; + } + + &__item { + display: list-item; + } + + &__title { + display inline; + font-weight: normal; + margin 0; + } + + .postlist-style-block & { + padding-left: 0; + } + + .postlist-style-block & &__item { + display block; + margin-bottom: 0.5em; + } + + .postlist-style-block & &__title { + display block; + font-weight: normal; + font-size 1.2em; + } +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Components/primary-menu.styl b/wp-content/themes/vanilla/assets/styles/Components/primary-menu.styl new file mode 100644 index 0000000000000000000000000000000000000000..ec75ad001e0ac16f7fc7cfc50d6e391aff44907b --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/primary-menu.styl @@ -0,0 +1,105 @@ +.primary-menu { + + &__links { + padding: 0; + margin: 0; + border-bottom: 1px solid rgba(0,0,0,.1); + > ul { + margin: 0; + padding: 0; + } + ul, + li { + //width: 100%; + padding: 0; + list-style: none; + } + a { + color: inherit; + display: block; + padding: 1em; + text-decoration: none; + border-top: 1px solid rgba(0,0,0,.12); + + } + + //toggle button + .dropdown-toggle { + position absolute; + border none + top: 1px; + right: 0; + padding 1em; + //transition: transform 0.2s ease-out 0s; + cursor: pointer; + //border-left: 1px solid rgba(0,0,0,0.1); + + &::before { + opacity: 0.6; + font-family: "dashicons"; + display block + text-align: center + line-height: 1.1666666667em; + width 1.1666666667em; + height 1.1666666667em; + font-size: 1.5em; + content: "\f140"; + } + + &::after { + content: ""; + position absolute; + left 0; + top: 1em; + border-left: 1px solid rgba(0,0,0,.16); + height 1.75em; + } + + &[aria-expanded="true"]::before { + content: "\f142"; + } + } + + li { + + + + position: relative; + .sub-menu, + .children { + overflow: hidden; + transition: height 0.2s ease-out 0s; + + li { + padding-left: 1em; + } + + a { + //padding 0.5em; + } + + &[aria-expanded="false"] { + height: 0 !important; + visibility: hidden; + } + + &[aria-expanded="true"] { + height: auto; + overflow visible + visibility: visible; + } + + } + } + + li.current_page_item, + li:hover { + a { + } + } + } + + + + +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Components/search-form.styl b/wp-content/themes/vanilla/assets/styles/Components/search-form.styl new file mode 100644 index 0000000000000000000000000000000000000000..604205037d63ef0da5b7ce9b89ecf76ff81f21ce --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/search-form.styl @@ -0,0 +1,16 @@ +.search-form { + //display flex; + position relative + + width 100%; + .search-field { + width 100%; + padding-right: 3em; + } + .search-submit { + border-color transparent; + position absolute; + top: 0; + right 0; + } +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Components/site-branding.styl b/wp-content/themes/vanilla/assets/styles/Components/site-branding.styl new file mode 100644 index 0000000000000000000000000000000000000000..ae0047b3a2aef5908f9fd680b7bff20ddd06f72e --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/site-branding.styl @@ -0,0 +1,35 @@ +.site-branding { + display: flex; + align-items: center; + + &__logo { + + .custom-logo { + display: block; + margin-inline-end: $gutter; + max-width: 32px; + @media $small-up { + max-width: 32px; + } + @media $medium-up { + max-width: 48px; + } + + } + + } + + &__name { + font-size: 1em + color: currentColor; + flex-grow: 1; + margin 0; + font-weight:bold; + text-align: left; + + a { + color: inherit + } + } + +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Components/site-footer.styl b/wp-content/themes/vanilla/assets/styles/Components/site-footer.styl new file mode 100644 index 0000000000000000000000000000000000000000..f08303a92f6ae19eb7b3714102bd1d249d47da56 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/site-footer.styl @@ -0,0 +1,10 @@ +.site-footer { + overflow: hidden; + position relative + background-color: inherit + border-top 1px solid rgba(128,128,128,0.2); + &__body { + gutter( padding-top ); + } + +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Components/site-main.styl b/wp-content/themes/vanilla/assets/styles/Components/site-main.styl new file mode 100644 index 0000000000000000000000000000000000000000..d94fe498356d262b03aeff76960abf56207df878 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/site-main.styl @@ -0,0 +1,7 @@ +.site-main { + padding: 0; + //margin-bottom: 3em; + overflow: hidden; + //gutter( margin-top ); + //gutter( margin-bottom ); +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Components/widget.styl b/wp-content/themes/vanilla/assets/styles/Components/widget.styl new file mode 100644 index 0000000000000000000000000000000000000000..ab7076f2a2e06704a610c98629d288ca2de6a470 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Components/widget.styl @@ -0,0 +1,11 @@ +.widget { + gutter( margin-bottom ); + gutter( margin-top ); + + &__title { + margin-top: 0; + margin-bottom: 16px; + + } + +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Objects/app-layout.styl b/wp-content/themes/vanilla/assets/styles/Objects/app-layout.styl new file mode 100644 index 0000000000000000000000000000000000000000..3b1323c4f5f360bec66c84ebf2deb5e9fccf0ecc --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Objects/app-layout.styl @@ -0,0 +1,85 @@ +$app-layout-use-escape = true; + +.app-layout { + //box-sizing border-box; + //display: flex; + //width: 100%; + //min-height: 100vh; + //flex-direction: column; + + background-color: inherit + &.app-layout--disable &__header { + position: relative !important; + top: 0 !important; + padding-top: 0px !important; + } + + // + //&.app-layout--disable &__content { + // padding-top: 0px !important; + //} + + &__header { + background-color: #FFF; + -webkit-overflow-scrolling: touch; + position: fixed; + left: 0; + top: 0; + + //for WordPress + .admin-bar & { + padding-top: 46px; + position: absolute; + + &--fixed { + padding-top: 0px; + position: fixed; + } + + @media $small-up { + position: fixed; + padding-top: 46px; + } + @media $medium-up { + position: fixed; + padding-top: 32px !important; + } + } + z-index: 2; + pointer-events: visible; + overflow: hidden; + a, + button { + pointer-events: auto; + } + + width: 100%; + box-shadow: + 0 1px 2px 0 rgba(51, 51, 51, .14), + 0 3px 1px -2px rgba(51, 51, 51, .2), + 0 0px 5px 0 rgba(51, 51, 51, .12); + + transition-delay: 0ms; + transition-duration: .24s; + transition-timing-function: cubic-bezier(.4, 0, .2, 1); + transition-property: transform, height, box-shadow; + } + + &__content { + box-sizing: border-box; + //flex-grow: 1; + + background-color: inherit + } + + & &__header { + + if $app-layout-use-escape { + &--escape { + transform: translateY(-100%); + } + } + + } + +} diff --git a/wp-content/themes/vanilla/assets/styles/Objects/container.styl b/wp-content/themes/vanilla/assets/styles/Objects/container.styl new file mode 100644 index 0000000000000000000000000000000000000000..99d8217ce338ab441b8398fc33306dc319e5e394 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Objects/container.styl @@ -0,0 +1,15 @@ +$container-gutter ?= 16px; +$container-max-width ?= 1200px; + +.container { + box-sizing: content-box; + margin: 0 auto; + padding: 0 $container-gutter; + max-width: $container-max-width; + + //overflow: hidden; + + gutter( padding-left ); + gutter( padding-right ); + +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Objects/drawer.styl b/wp-content/themes/vanilla/assets/styles/Objects/drawer.styl new file mode 100644 index 0000000000000000000000000000000000000000..6385a9f9b45d6f2c26f1ecc7adef8da0010fa2f4 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Objects/drawer.styl @@ -0,0 +1,73 @@ +$drawer-size ?= 280px; +.drawer { + //overlay + &::before { + + content: ""; + display: none; + position: fixed; + + z-index: 10; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: rgba(0, 0, 0, 0.4); + } + + &__search { + .search-form { + .search-submit, + .search-field { + border: none; + padding 1em; + } + } + + } + //content. + &__body { + visibility hidden; + box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); + position: fixed; + background-color: #fff; + z-index: 100; + top: 0; + right: 0; + overflow-y: auto; + width: $drawer-size; + height: 100vh; + box-sizing: border-box; + + transform: translate(100%, 0); + transition: transform 0.2s ease-out 0s; + + // for WordPress + .admin-bar & { + padding-top: 46px; + @media $medium-up { + position: fixed; + padding-top: 32px; + } + } + } + + &[aria-expanded="true"] &__body { + visibility visible + transform: translate(0, 0); + } + + &.is-animated &__body { + visibility visible !important + } + + + &[aria-expanded="true"]::before { + display: block; + } + +} +//fixme +body.is-drawer-open { + overflow: hidden; +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Objects/grid.styl b/wp-content/themes/vanilla/assets/styles/Objects/grid.styl new file mode 100644 index 0000000000000000000000000000000000000000..88d6e5f91a2fd3aed286f7f84c5dcf778c39b6af --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Objects/grid.styl @@ -0,0 +1,109 @@ +$grid-gutter ?= 20px; + +$colslist ?= 1 2 3 4 5 6 7 12; + +grid-sizer($size) { + width: $size; + flex-basis: $size; +} + +.grid { + clear: both; + margin: (-1 * $grid-gutter / 2); + + display: flex; + flex-wrap: wrap; + flex-direction: row; + + &__u { + + box-sizing: border-box; + width: 100%; + position: relative; + + flex-grow: 0; + flex-shrink: 0; + padding: ($grid-gutter / 2); + + &--grow { + flex-grow: 1; + } + } + + for $cols in $colslist { + for $i in (1..$cols) { + &__u--{$i}_{$cols} { + $width = $i/$cols; + grid-sizer(percentage($width)); + } + } + } + + @media $small-up { + for $cols in $colslist { + for $i in (1..$cols) { + &__u--small--{$i}_{$cols} { + $width = $i/$cols; + grid-sizer(percentage($width)); + } + } + } + } + + + @media $medium-up { + for $cols in $colslist { + for $i in (1..$cols) { + &__u--medium--{$i}_{$cols} { + $width = $i/$cols; + grid-sizer(percentage($width)); + } + } + } + } + + @media $large-up { + for $cols in $colslist { + for $i in (1..$cols) { + &__u--large--{$i}_{$cols} { + $width = $i/$cols; + grid-sizer(percentage($width)); + } + } + } + } + + &--center { + justify-content: center; + } + + &--middle { + align-items: center; + } + + &--bottom { + align-items: flex-end; + } + + &--reverse { + flex-direction: row-reverse; + } + + &--collapse { + margin: 0; + } + + &--collapse > &__u { + padding: 0; + } + + &--loose { + margin: (-1 * $grid-gutter * 1.5 / 2); + } + + &--loose > &__u { + padding: ($grid-gutter * 1.5 / 2); + } + +} + diff --git a/wp-content/themes/vanilla/assets/styles/Objects/hamburger-btn.styl b/wp-content/themes/vanilla/assets/styles/Objects/hamburger-btn.styl new file mode 100644 index 0000000000000000000000000000000000000000..c67854cad540813d4e3334db0f2e9ea46e71e137 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Objects/hamburger-btn.styl @@ -0,0 +1,80 @@ +// menu Button +$hamburger-button-width:= 24px; +$hamburger-button-height:= 16px; +$hamburger-button-bar-thickness:= 2px; +$hamburger-button-pad:= 0; +$hamburger-button-trans-delay:= 0.2s; +$hamburger-button-color:= currentColor; + +.hamburger-button { + background-color: transparent; + display: block; + vertical-align: middle; + position: relative; + overflow: hidden; + margin: 0; + padding: 0; + width: $hamburger-button-width; + height: $hamburger-button-height; + font-size: 0; + text-indent: -9999px; + appearance: none; + box-shadow: none; + border-radius: 0; + border: none; + cursor: pointer; + &:focus { + outline: none; + } + + &__bars { + display: block; + position: absolute; + top: ($hamburger-button-height / 2) - ($hamburger-button-bar-thickness / 2); + left: $hamburger-button-pad; + right: $hamburger-button-pad; + height: $hamburger-button-bar-thickness; + background-color: $hamburger-button-color; + transition: background 0s $hamburger-button-trans-delay; + &::before, &::after { + position: absolute; + display: block; + left: 0; + width: 100%; + height: $hamburger-button-bar-thickness; + background-color: $hamburger-button-color; + content: ""; + transition-duration: $hamburger-button-trans-delay, $hamburger-button-trans-delay; + transition-delay: $hamburger-button-trans-delay, 0s; + } + &::before { + top: -(($hamburger-button-height / 2) - ($hamburger-button-bar-thickness / 2) - $hamburger-button-pad); + transition-property: top, transform; + } + &::after { + bottom: -(($hamburger-button-height / 2) - ($hamburger-button-bar-thickness / 2) - $hamburger-button-pad); + transition-property: bottom, transform; + } + } + + &--fixed-pad { + margin: -1 * $hamburger-button-pad; + } + + &[aria-expanded="true"] &__bars, + [aria-expanded="true"] & &__bars { + background: none; + &::before { + top: 0; + transform: rotate(45deg); + } + &::after { + bottom: 0; + transform: rotate(-45deg); + } + &::before, &::after { + transition-delay: 0s, $hamburger-button-trans-delay; + } + } + +} diff --git a/wp-content/themes/vanilla/assets/styles/Settings/setting.styl b/wp-content/themes/vanilla/assets/styles/Settings/setting.styl new file mode 100644 index 0000000000000000000000000000000000000000..938da4eb89a79a3d24e7258fca27b642e70476c1 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Settings/setting.styl @@ -0,0 +1,25 @@ +//Typography +$line-height = 1.8; +$color-black = #212121; +$base-font = 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif; + +// Gutter +$gutter = 16px; +$gutter-small = 16px; +$gutter-medium = 32px; +$gutter-large = 32px; +// Color + +// Media Queries +$screen-small-min = 600px; +$screen-medium-min = 782px; +$screen-large-min = 1000px; + + +// Boxes +$container-max-width = 1000px; +$container-gutter = $gutter; +$container-gutter-medium = 32px; + +// Grid +$grid-gutter = $gutter; diff --git a/wp-content/themes/vanilla/assets/styles/Tools/logical-props.styl b/wp-content/themes/vanilla/assets/styles/Tools/logical-props.styl new file mode 100644 index 0000000000000000000000000000000000000000..08427975e4b7cfa728bc15baf582dc3044cb3a32 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Tools/logical-props.styl @@ -0,0 +1,7 @@ +margin-inline-start( $value ) { + margin-left: $value +} + +margin-inline-end( $value ) { + margin-right: $value +} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Tools/mixin.styl b/wp-content/themes/vanilla/assets/styles/Tools/mixin.styl new file mode 100644 index 0000000000000000000000000000000000000000..9779ca37dd24e99e705692253b46147b1cb92748 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Tools/mixin.styl @@ -0,0 +1,37 @@ +fa() { + display: inline-block; + font: normal normal normal 14px/1 FontAwesome; + font-size: inherit; + text-rendering: auto; + -webkit-font-smoothing: antialiased; +} + +dashicons() { + display: inline-block; + font: normal normal normal 14px/1 dashicons; + text-decoration: inherit; + font-weight: 400; + font-style: normal; + vertical-align: top; + text-align: center; + transition: color .1s ease-in 0s; + -webkit-font-smoothing: antialiased; +} + + + +gutter( $prop, $x = 1 ) { + {$prop}: ($gutter * $x); + + @media $small-up { + {$prop}: ($gutter-small * $x); + } + + @media $medium-up { + {$prop}: ($gutter-medium * $x); + } + + @media $large-up { + {$prop}: ($gutter-large * $x); + } +} diff --git a/wp-content/themes/vanilla/assets/styles/Tools/mq.styl b/wp-content/themes/vanilla/assets/styles/Tools/mq.styl new file mode 100644 index 0000000000000000000000000000000000000000..fde47c071798335f4af4fdc7e4a013a43564d89a --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Tools/mq.styl @@ -0,0 +1,37 @@ +// Media Queries +$screen-small-min?= 600px; +$screen-medium-min?= 782px; +$screen-large-min?= 1000px; + +$screen-small-max?= $screen-medium-min - 1px; +$screen-medium-max?= $screen-large-min - 1px; + +$screen?= "only screen"; +$small-up?= $screen + " and (min-width:" + $screen-small-min + ")"; +$small-only?= $screen + " and (min-width:" + $screen-small-min + ") and (max-width:" + $screen-small-max + ")"; + +$medium-up?= $screen + " and (min-width:" + $screen-medium-min + ")"; +$medium-only?= $screen + " and (min-width:" + $screen-medium-min + ") and (max-width:" + $screen-medium-max + ")"; + +$large-up?= $screen + " and (min-width:" + $screen-large-min + ")"; +$large-only?= $screen + " and (min-width:" + $screen-large-min + ")"; + + + +small-up() { + @media $small-up { + {block} +} +} + +medium-up() { + @media $medium-up { + {block} +} +} + +large-up() { + @media $large-up { + {block} +} +} diff --git a/wp-content/themes/vanilla/assets/styles/Trumps/embed.styl b/wp-content/themes/vanilla/assets/styles/Trumps/embed.styl new file mode 100644 index 0000000000000000000000000000000000000000..1fdec91507d3452721d873cd1a39c47666cc2a68 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Trumps/embed.styl @@ -0,0 +1,8 @@ +//.twitter-tweet { +// width 100% !important; +// max-width 100% !important +//} +// +//.wp-embedded-content { +// width 100% +//} \ No newline at end of file diff --git a/wp-content/themes/vanilla/assets/styles/Trumps/text.styl b/wp-content/themes/vanilla/assets/styles/Trumps/text.styl new file mode 100644 index 0000000000000000000000000000000000000000..c4c101f4aeb2aec637c9ab8f953a1a0634ccd824 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Trumps/text.styl @@ -0,0 +1,30 @@ +.text-center { + text-align: center; +} + +.text-inherit { + color: inherit; +} + +.text-left { + text-align: left; +} + +.text-right { + text-align: right; +} + + +.text-small { + font-size: 0.8em; +} + + +.text-large { + font-size: 1.3em; +} + +.text-xlarge { + font-size: 1.5em; +} + diff --git a/wp-content/themes/vanilla/assets/styles/Trumps/visibility.styl b/wp-content/themes/vanilla/assets/styles/Trumps/visibility.styl new file mode 100644 index 0000000000000000000000000000000000000000..b0193557f7a9454590efdddc1a4751865907a963 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Trumps/visibility.styl @@ -0,0 +1,86 @@ +.visible { + display: block; + &_inline { + display: inline; + } +} + +.hidden { + display: none; +} + +.visible-small-up { + display: none; + @media $small-up { + display: block; + &_inline { + display: inline; + } + } +} + +.visible-medium-up { + display: none; + @media $medium-up { + display: block; + &_inline { + display: inline; + } + } +} + +.hidden-medium-up { + @media $medium-up { + display: none; + } +} + + +.visible-large-up { + display: none; + @media $large-up { + display: block; + &_inline { + display: inline; + } + } +} + +.hidden-large-up { + @media $large-up { + display: none; + } +} + + +.screen-reader-text { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0,0,0,0); + border: 0; +} + +.screen-reader-text:focus { + background-color: #fff; + border-radius: 2px; + -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2); + box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2); + clip: auto !important; + color: #21759b; + display: block; + font-weight: bold; + height: auto; + left: 0.5em; + line-height: normal; + padding: 1em 1.5em; + text-decoration: none; + top: 0.5em; + width: auto; + z-index: 100000; +} + + diff --git a/wp-content/themes/vanilla/assets/styles/Trumps/wp.styl b/wp-content/themes/vanilla/assets/styles/Trumps/wp.styl new file mode 100644 index 0000000000000000000000000000000000000000..f82fe0adcc314a64ef184f97e19decb9b040a327 --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/Trumps/wp.styl @@ -0,0 +1,79 @@ + +#tinymce { + padding: 20px !important; + max-width: 1200px; + margin: auto; +} + +#wpadminbar { +// position: fixed !important; +} + +.alignnone, +.alignleft, +.alignright, +.aligncenter, +.wp-post-image { + margin: 0 auto; + display: block; + float: none; + +} + +@media $small-up { + + .aligncenter { + margin-bottom: 2em; + } + + .alignleft { + float: left; + margin: 0 2em 0 0; + } + + .alignright { + float: right; + margin: 0 0 0 2em; + } + + .alignleft, + .alignright { + max-width: 50%; + } +} + +.wp-caption +.wp-caption-text, +.entry-caption, +.gallery-caption { + margin: 0.6em 0 1.7em; +} + +.wp-caption { + max-width: 100%; + width: auto !important; + background-color: transparent; + position: relative; + img { + display: block; + margin: auto; + } + text-align: center; + +} + +img.wp-smiley, +.rsswidget img { + border: 0; + border-radius: 0; + box-shadow: none; + margin-bottom: 0; + margin-top: 0; + padding: 0; +} + +.wp-caption.alignleft + { + ul, ol { + list-style-position: inside; + } +} diff --git a/wp-content/themes/vanilla/assets/styles/style.styl b/wp-content/themes/vanilla/assets/styles/style.styl new file mode 100644 index 0000000000000000000000000000000000000000..fd5c538c08dbd2c746e2ee72fefbbcae775f8f6c --- /dev/null +++ b/wp-content/themes/vanilla/assets/styles/style.styl @@ -0,0 +1,96 @@ +@charset "UTF-8" +/* +Theme Name: Vanilla +Theme URI: {{ homepage }} +Author: {{ author.name }} +Author URI: {{ author.url }} +Donate link: https://www.amazon.co.jp/registry/wishlist/COKSXS25MVQV +Description: {{ description }} +Version: {{ version }} +Tags: one-column, custom-logo, custom-colors, custom-menu, custom-background, editor-style, sticky-post, microformats, featured-images, footer-widgets, threaded-comments, translation-ready, blog, photography +License: GNU General Public License v2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html +Text Domain: vanilla +*/ + +/** + * + * ex. ITCSS + * @link https://speakerdeck.com/dafed/managing-css-projects-with-itcss + * + */ + +/** + * ============================================= + * + * Settings + * + * ============================================= + */ + +@import "Settings/*"; + +/** + * ============================================= + * + * Tools + * + * ============================================= + */ + +@import "Tools/*"; + + +/** + * ============================================= + * + * Generic + * + * ============================================= + */ + +@import "../../node_modules/normalize.css/normalize.css"; + + +/** + * ============================================= + * + * Base + * + * ============================================= + */ + +@import "Base/*"; + + +/** + * ============================================= + * + * Objects + * + * ============================================= + */ + +@import "Objects/*"; + +/** + * ============================================= + * + * Components + * + * ============================================= + */ + +@import "Components/*"; + +/** + * ============================================= + * + * Trumps + * + * ============================================= + */ + +@import "Trumps/*"; + + diff --git a/wp-content/themes/vanilla/bundle.js b/wp-content/themes/vanilla/bundle.js new file mode 100644 index 0000000000000000000000000000000000000000..f5f9bda60cce984380ac570e453719a5d271d7f0 --- /dev/null +++ b/wp-content/themes/vanilla/bundle.js @@ -0,0 +1,443 @@ +(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ +(function (global){ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _jquery = (typeof window !== "undefined" ? window['jQuery'] : typeof global !== "undefined" ? global['jQuery'] : null); + +var _jquery2 = _interopRequireDefault(_jquery); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var ContentSpacer = function () { + /** + * + * @param {jQuery} $el + */ + function ContentSpacer($el) { + _classCallCheck(this, ContentSpacer); + + this.$el = $el; + var header = $el.data('app-layout-header'); + var content = $el.data('app-layout-spacer'); + + this.$header = (0, _jquery2.default)(header); + this.$content = (0, _jquery2.default)(content); + this.on(); + } + + _createClass(ContentSpacer, [{ + key: 'on', + value: function on() { + var _this = this; + + (0, _jquery2.default)(window).on('load resize', function () { + _this.setPadding(); + }); + } + }, { + key: 'setPadding', + value: function setPadding() { + this.$content.css({ paddingTop: this.getHeaderHeight() + 'px' }); + } + }, { + key: 'getHeaderHeight', + value: function getHeaderHeight() { + + return this.$header.height(); + } + }]); + + return ContentSpacer; +}(); + +exports.default = ContentSpacer; + +}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) + +},{}],2:[function(require,module,exports){ +(function (global){ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _jquery = (typeof window !== "undefined" ? window['jQuery'] : typeof global !== "undefined" ? global['jQuery'] : null); + +var _jquery2 = _interopRequireDefault(_jquery); + +var _underscore = (typeof window !== "undefined" ? window['_'] : typeof global !== "undefined" ? global['_'] : null); + +var _underscore2 = _interopRequireDefault(_underscore); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var AppLayoutClassController = function () { + /** + * + * @param $el + * @param classString + * @param threshold クラスの設定をするためのスクロール位置 + */ + function AppLayoutClassController($el, classString, threshold) { + _classCallCheck(this, AppLayoutClassController); + + this.classString = classString; + this.threshold = threshold; + this.$el = $el; + var header = $el.data('app-layout-header'); + var content = $el.data('app-layout-scroll-area'); + this.$header = (0, _jquery2.default)(header); + if (content && content != 'window') { + this.$content = (0, _jquery2.default)(content); + } else { + this.$content = (0, _jquery2.default)(window); + } + + this.initialize(); + this.on(); + } + + _createClass(AppLayoutClassController, [{ + key: 'initialize', + value: function initialize() { + //for override + } + }, { + key: 'on', + value: function on() { + this.$content.on('scroll resize', _underscore2.default.throttle(function () { + this.toggleClass(); + }, 1).bind(this)); + } + }, { + key: 'toggleClass', + value: function toggleClass() { + if (this.isExceedsThreshold()) { + this.$header.addClass(this.classString); + } else { + this.$header.removeClass(this.classString); + } + } + }, { + key: 'getThreshold', + value: function getThreshold() { + if (typeof this.threshold == "function") { + return this.threshold(); + } else { + return this.threshold; + } + } + }, { + key: 'isExceedsThreshold', + value: function isExceedsThreshold() { + var scrollTop = this.$content.scrollTop(); + return scrollTop > this.getThreshold(); + } + }]); + + return AppLayoutClassController; +}(); + +exports.default = AppLayoutClassController; + +}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) + +},{}],3:[function(require,module,exports){ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _HeaderClassController = require('./HeaderClassController'); + +var _HeaderClassController2 = _interopRequireDefault(_HeaderClassController); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var _class = function (_HeaderClassControlle) { + _inherits(_class, _HeaderClassControlle); + + function _class() { + _classCallCheck(this, _class); + + return _possibleConstructorReturn(this, (_class.__proto__ || Object.getPrototypeOf(_class)).apply(this, arguments)); + } + + _createClass(_class, [{ + key: 'initialize', + value: function initialize() { + this.scrollPos = this.getScrollPosition(); + } + }, { + key: 'getScrollPosition', + value: function getScrollPosition() { + return this.$content.scrollTop(); + } + }, { + key: 'toggleClass', + value: function toggleClass() { + var currentPos = this.getScrollPosition(); + + if (!this.isExceedsThreshold()) { + this.$header.removeClass(this.classString); + this.$header.attr('aria-hidden', 'false'); + } else if (currentPos - this.scrollPos > 5) { + //scroll to down + this.$header.addClass(this.classString); + this.$header.attr('aria-hidden', 'true'); + } else if (currentPos - this.scrollPos < -5) { + //scroll to up + this.$header.removeClass(this.classString); + this.$header.attr('aria-hidden', 'false'); + } + + this.scrollPos = currentPos; + } + }]); + + return _class; +}(_HeaderClassController2.default); + +exports.default = _class; + +},{"./HeaderClassController":2}],4:[function(require,module,exports){ +(function (global){ +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _jquery = (typeof window !== "undefined" ? window['jQuery'] : typeof global !== "undefined" ? global['jQuery'] : null); + +var _jquery2 = _interopRequireDefault(_jquery); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var Drawer = function () { + function Drawer($el) { + _classCallCheck(this, Drawer); + + this.$el = $el; + this.$container = (0, _jquery2.default)($el.data("drawer-container-selector")); + this.id = $el.attr('id'); + this.$controller = (0, _jquery2.default)('[aria-controls="' + this.id + '" ]'); + this.$container.addClass("drawer-container"); + this.on(); + } + + _createClass(Drawer, [{ + key: 'on', + value: function on() { + var _this = this; + + this.$controller.on('click', this.toggle.bind(this)); + this.$el.on('click', this.close.bind(this)); + this.$el.children().on('click', function (event) { + event.stopPropagation(); + }); + + (0, _jquery2.default)(document).on('keyup', function (event) { + if (event.keyCode == 27) { + _this.close(); + } + }); + + this.$el.on('transitionend', this.transitionend.bind(this)); + } + }, { + key: 'transitionend', + value: function transitionend() { + this.$el.removeClass('is-animated'); + } + }, { + key: 'toggle', + value: function toggle(event) { + event.preventDefault(); + if (this.$el.attr('aria-expanded') == "false") { + this.open(); + } else { + this.close(); + } + } + }, { + key: 'open', + value: function open() { + this.$el.addClass('is-animated'); + this.$el.attr('aria-expanded', "true"); + this.$el.attr('aria-hidden', "false"); + this.$controller.attr('aria-expanded', "true"); + this.$container.addClass("is-drawer-open"); + } + }, { + key: 'close', + value: function close() { + this.$el.addClass('is-animated'); + this.$el.attr('aria-expanded', "false"); + this.$el.attr('aria-hidden', "true"); + this.$controller.attr('aria-expanded', "false"); + this.$container.removeClass("is-drawer-open"); + } + }], [{ + key: 'init', + value: function init() { + (0, _jquery2.default)("[data-drawer]").each(function () { + new Drawer((0, _jquery2.default)(this)); + }); + } + }]); + + return Drawer; +}(); + +exports.default = Drawer; + +}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) + +},{}],5:[function(require,module,exports){ +'use strict'; + +/** + * File skip-link-focus-fix.js. + * + * Helps with accessibility for keyboard only users. + * + * Learn more: https://git.io/vWdr2 + */ +(function () { + var isWebkit = navigator.userAgent.toLowerCase().indexOf('webkit') > -1, + isOpera = navigator.userAgent.toLowerCase().indexOf('opera') > -1, + isIe = navigator.userAgent.toLowerCase().indexOf('msie') > -1; + + if ((isWebkit || isOpera || isIe) && document.getElementById && window.addEventListener) { + window.addEventListener('hashchange', function () { + var id = location.hash.substring(1), + element; + + if (!/^[A-z0-9_-]+$/.test(id)) { + return; + } + + element = document.getElementById(id); + + if (element) { + if (!/^(?:a|select|input|button|textarea)$/i.test(element.tagName)) { + element.tabIndex = -1; + } + + element.focus(); + } + }, false); + } +})(); + +},{}],6:[function(require,module,exports){ +(function (global){ +'use strict'; + +var _jquery = (typeof window !== "undefined" ? window['jQuery'] : typeof global !== "undefined" ? global['jQuery'] : null); + +var _jquery2 = _interopRequireDefault(_jquery); + +var _Drawer = require('./Drawer'); + +var _Drawer2 = _interopRequireDefault(_Drawer); + +var _HeaderClassController = require('./AppLayout/HeaderClassController'); + +var _HeaderClassController2 = _interopRequireDefault(_HeaderClassController); + +var _HeaderEscaper = require('./AppLayout/HeaderEscaper'); + +var _HeaderEscaper2 = _interopRequireDefault(_HeaderEscaper); + +var _ContentSpacer = require('./AppLayout/ContentSpacer'); + +var _ContentSpacer2 = _interopRequireDefault(_ContentSpacer); + +require('./skip-link-focus-fix'); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +(0, _jquery2.default)(function () { + + (0, _jquery2.default)("[data-drawer]").each(function () { + new _Drawer2.default((0, _jquery2.default)(this)); + }); +}); + +(0, _jquery2.default)(function () { + + var $toplevelMenuItems = (0, _jquery2.default)('.primary-menu .menu-item-has-children, .primary-menu .page_item_has_children'); + // Add dropdown toggle that displays child menu items. + var $dropdownToggle = (0, _jquery2.default)('<button />', { + 'class': 'dropdown-toggle', + 'aria-expanded': false + }).append((0, _jquery2.default)('<span />', { + 'class': 'screen-reader-text', + text: screenReaderText.expand + })); + + $toplevelMenuItems.children('a').after($dropdownToggle); + + (0, _jquery2.default)(".primary-menu .sub-menu, .primary-menu .children").each(function () { + (0, _jquery2.default)(this).attr('aria-expanded', "false"); + }); + + $toplevelMenuItems.find('.dropdown-toggle').on('click', function (event) { + var self = (0, _jquery2.default)(this); + var expanded = ''; + if ('true' == self.attr('aria-expanded')) { + expanded = 'false'; + self.find('.screen-reader-text').text(screenReaderText.expand); + } else { + expanded = 'true'; + self.find('.screen-reader-text').text(screenReaderText.collapse); + } + self.attr('aria-expanded', expanded); + + self.siblings('.sub-menu,.children').attr('aria-expanded', expanded); + }); +}); + +(0, _jquery2.default)(function () { + + var $appLayout = (0, _jquery2.default)(".app-layout"); + (0, _jquery2.default)(window).on('load resize', function () { + $appLayout.removeClass("app-layout--disable"); + }); + new _HeaderClassController2.default($appLayout, "app-layout__header--fixed", 46); + new _HeaderEscaper2.default($appLayout, "app-layout__header--escape", 64); + new _ContentSpacer2.default($appLayout); +}); + +}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) + +},{"./AppLayout/ContentSpacer":1,"./AppLayout/HeaderClassController":2,"./AppLayout/HeaderEscaper":3,"./Drawer":4,"./skip-link-focus-fix":5}]},{},[6]) +//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJhc3NldHMvc2NyaXB0cy9BcHBMYXlvdXQvQ29udGVudFNwYWNlci5qcyIsImFzc2V0cy9zY3JpcHRzL0FwcExheW91dC9IZWFkZXJDbGFzc0NvbnRyb2xsZXIuanMiLCJhc3NldHMvc2NyaXB0cy9BcHBMYXlvdXQvSGVhZGVyRXNjYXBlci5qcyIsImFzc2V0cy9zY3JpcHRzL0RyYXdlci5qcyIsImFzc2V0cy9zY3JpcHRzL3NraXAtbGluay1mb2N1cy1maXguanMiLCJhc3NldHMvc2NyaXB0cy90aGVtZS5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7OztBQ0FBOzs7Ozs7OztJQUVxQixhO0FBQ3BCOzs7O0FBSUEsd0JBQWEsR0FBYixFQUFtQjtBQUFBOztBQUNsQixPQUFLLEdBQUwsR0FBVyxHQUFYO0FBQ0EsTUFBSSxTQUFTLElBQUksSUFBSixDQUFTLG1CQUFULENBQWI7QUFDQSxNQUFJLFVBQVUsSUFBSSxJQUFKLENBQVMsbUJBQVQsQ0FBZDs7QUFFQSxPQUFLLE9BQUwsR0FBZSxzQkFBRyxNQUFILENBQWY7QUFDQSxPQUFLLFFBQUwsR0FBZ0Isc0JBQUcsT0FBSCxDQUFoQjtBQUNBLE9BQUssRUFBTDtBQUNBOzs7O3VCQUVJO0FBQUE7O0FBQ0oseUJBQUUsTUFBRixFQ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cnVlJztcblx0XHRcdHNlbGYuZmluZCgnLnNjcmVlbi1yZWFkZXItdGV4dCcpLnRleHQoc2NyZWVuUmVhZGVyVGV4dC5jb2xsYXBzZSk7XG5cdFx0fVxuXHRcdHNlbGYuYXR0cignYXJpYS1leHBhbmRlZCcsIGV4cGFuZGVkKTtcblxuXHRcdHNlbGYuc2libGluZ3MoJy5zdWItbWVudSwuY2hpbGRyZW4nKS5hdHRyKCdhcmlhLWV4cGFuZGVkJywgZXhwYW5kZWQpO1xuXHR9KVxuXG59KTtcblxuXG4kKGZ1bmN0aW9uKCkge1xuXG5cdGxldCAkYXBwTGF5b3V0ID0gJChcIi5hcHAtbGF5b3V0XCIpO1xuXHQkKHdpbmRvdykub24oICdsb2FkIHJlc2l6ZScsICgpID0+IHtcblx0XHQkYXBwTGF5b3V0LnJlbW92ZUNsYXNzKFwiYXBwLWxheW91dC0tZGlzYWJsZVwiKTtcblx0fSApO1xuXHRuZXcgSGVhZGVyQ2xhc3NDb250cm9sbGVyKCAkYXBwTGF5b3V0LCBcImFwcC1sYXlvdXRfX2hlYWRlci0tZml4ZWRcIiwgNDYgKTtcblx0bmV3IEhlYWRlckVzY2FwZXIoICRhcHBMYXlvdXQsIFwiYXBwLWxheW91dF9faGVhZGVyLS1lc2NhcGVcIiwgNjQgKTtcblx0bmV3IENvbnRlbnRTcGFjZXIoICRhcHBMYXlvdXQgKTtcblxufSk7XG5cbiJdfQ== diff --git a/wp-content/themes/vanilla/comments.php b/wp-content/themes/vanilla/comments.php index e675e801bbae996dd0a5b2f8dc7ca9ba43822d42..a50e65d24b7633086f1c3542eff286f5962a0574 100644 --- a/wp-content/themes/vanilla/comments.php +++ b/wp-content/themes/vanilla/comments.php @@ -1,22 +1,77 @@ <?php +/** + * The template for displaying comments. + * + * This is the template that displays the area of the page that contains both the current comments + * and the comment form. + * + * @link https://codex.wordpress.org/Template_Hierarchy + * + * @package vanilla + */ -// This file is part of the Carrington Theme for WordPress -// http://carringtontheme.com -// -// Copyright (c) 2008 Crowd Favorite, Ltd. All rights reserved. -// http://crowdfavorite.com -// -// Released under the GPL license -// http://www.opensource.org/licenses/gpl-license.php -// -// ********************************************************************** -// This program is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -// ********************************************************************** - -if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); } - -cfct_comments(); - -?> \ No newline at end of file +/* + * If the current post is protected by a password and + * the visitor has not yet entered the password we will + * return early without loading the comments. + */ +if ( post_password_required() ) { + return; +} +?> + +<section id="comments" class="comments-area"> + + <?php + // You can start editing here -- including this comment! + if ( have_comments() ) : ?> + <h4 class="comments-area__title"> + <?php + printf( // WPCS: XSS OK. + esc_html( _nx( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', 'vanilla' ) ), + number_format_i18n( get_comments_number() ), + '<span>' . get_the_title() . '</span>' + ); + ?> + </h4> + + <div class="comment-list"> + <?php + wp_list_comments( array( + 'avatar_size' => 24, + 'style' => 'div', + 'short_ping' => true, + ) ); + ?> + </div> + + <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> + <nav id="comment-nav-above" class="navigation comment-navigation" role="navigation"> + <h2 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'vanilla' ); ?></h2> + <div class="pagination pagination--small"> + <?php + paginate_comments_links( array( + 'prev_text' => '<span class="pagination__arrow dashicons dashicons-arrow-left-alt2"></span><span class="screen-reader-text">Prev</span>', + 'next_text' => '<span class="pagination__arrow dashicons dashicons-arrow-right-alt2"></span><span class="screen-reader-text">Next</span>', + 'before_page_number' => '<span class="pagination__numbers">', + 'after_page_number' => '</span>', + ) ); + ?> + </div> + </nav> + <?php endif; // Check for comment navigation. ?> + + <?php + endif; // Check for have_comments(). + + // If comments are closed and there are comments, let's leave a little note, shall we? + if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) : ?> + + <p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'vanilla' ); ?></p> + <?php + endif; + + comment_form(); + ?> + +</section><!-- #comments --> diff --git a/wp-content/themes/vanilla/footer.php b/wp-content/themes/vanilla/footer.php index 91f4ea2341de793c778daa53c40855c87f2d5992..bdccf98d00ae39773ee2d2c14e47764070c09426 100644 --- a/wp-content/themes/vanilla/footer.php +++ b/wp-content/themes/vanilla/footer.php @@ -1,22 +1,40 @@ <?php +/** + * The template for displaying the footer. + * + * Contains the closing of the #content div and all content after. + * + * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials + * + * @package vanilla + */ -// This file is part of the Carrington Theme for WordPress -// http://carringtontheme.com -// -// Copyright (c) 2008 Crowd Favorite, Ltd. All rights reserved. -// http://crowdfavorite.com -// -// Released under the GPL license -// http://www.opensource.org/licenses/gpl-license.php -// -// ********************************************************************** -// This program is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -// ********************************************************************** +?> +</div> +</div> +<footer id="colophon" class="site-footer" role="contentinfo"> + <div class="site-footer__body"> + <div class="container"> + <?php dynamic_sidebar( 'footer-primary-widget' ); ?> -if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); } + <?php if ( is_active_sidebar( 'footer-secondary-widget' ) ) : ?> + <div class="grid"> + <?php dynamic_sidebar( 'footer-secondary-widget' ); ?> + </div> + <?php endif; ?> -cfct_footer(); + <p class="text-small"> + <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'vanilla' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'vanilla' ), 'WordPress' ); ?></a> + <span class="sep"> | </span> + <?php + printf( esc_html__( 'Theme: %1$s by %2$s.', 'vanilla' ), 'Vanilla', '<a href="' . esc_url( __( 'https://torounit.com', 'vanilla' ) ) . '" target="_blank">' . esc_html__( 'Toro_Unit', 'vanilla' ) . '</a>' ); ?> + </p> + </div> + </div> -?> \ No newline at end of file +</footer> +</div> +<?php wp_footer(); ?> + +</body> +</html> diff --git a/wp-content/themes/vanilla/functions.php b/wp-content/themes/vanilla/functions.php index 016cdd1b943345f7555d3a0d9b3900ecb04fc280..bca2cf1968dbe7c5533c50a4989ad11126f4764d 100644 --- a/wp-content/themes/vanilla/functions.php +++ b/wp-content/themes/vanilla/functions.php @@ -1,193 +1,158 @@ <?php - -// This file is part of the Carrington Theme for WordPress -// http://carringtontheme.com -// -// Copyright (c) 2008 Crowd Favorite, Ltd. All rights reserved. -// http://crowdfavorite.com -// -// Released under the GPL license -// http://www.opensource.org/licenses/gpl-license.php -// -// ********************************************************************** -// This program is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -// ********************************************************************** - -if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); } - -// ini_set('display_errors', '1'); -// ini_set('error_reporting', E_ALL); - -load_theme_textdomain('carrington'); - -define('CFCT_DEBUG', false); -define('CFCT_PATH', trailingslashit(TEMPLATEPATH)); -define('CFCT_HOME_LIST_LENGTH', 5); -define('CFCT_HOME_LATEST_LENGTH', 250); - -define('VANILLA_DEBUG', false); - -$cfct_options = array( - 'cfct_home_column_1_cat' - , 'cfct_home_column_1_content' - , 'cfct_latest_limit_1' - , 'cfct_list_limit_1' - , 'cfct_home_column_2_cat' - , 'cfct_home_column_2_content' - , 'cfct_latest_limit_2' - , 'cfct_list_limit_2' - , 'cfct_home_column_3_cat' - , 'cfct_home_column_3_content' - , 'cfct_latest_limit_3' - , 'cfct_list_limit_3' - , 'cfct_about_text' - , 'cfct_ajax_load' - , 'cfct_credit' - , 'cfct_posts_per_archive_page' - , 'cfct_wp_footer' -); - -// master template variable used by PHPTAL -$tpl = array( - "base_path" => CFCT_PATH, - "child_path" => trailingslashit(STYLESHEETPATH) -); - -/* ======================================== - PHPTAL - ======================================== */ - -define('PHPTAL_PHP_CODE_DESTINATION', CFCT_PATH."cache/"); -require_once(CFCT_PATH.'PHPTAL.php'); - -/* ======================================== - Carrington - ======================================== */ - -include_once(CFCT_PATH.'_carrington/admin.php'); -include_once(CFCT_PATH.'_carrington/templates.php'); -include_once(CFCT_PATH.'_carrington/utility.php'); -include_once(CFCT_PATH.'_carrington/ajax-load.php'); -include_once(CFCT_PATH.'_carrington/sandbox.php'); - -/* ======================================== - Vanilla - ======================================== */ - -include_once(CFCT_PATH.'_vanilla/core.php'); -include_once(CFCT_PATH.'_vanilla/grid.php'); -include_once(CFCT_PATH.'_vanilla/blocks.php'); -include_once(CFCT_PATH.'_vanilla/widgets.php'); -include_once(CFCT_PATH.'_vanilla/hooks-filters.php'); -include_once(CFCT_PATH.'_vanilla/minify-html.php'); -include_once(CFCT_PATH.'_vanilla/phptal-custom.php'); - -/* ======================================== - Custom Widgets - ======================================== */ - -include_once(CFCT_PATH.'_custom-widgets/custom_widgets.php'); - -/* ======================================== - Hybrid - ======================================== */ - -define('HYBRID_IMAGES', CFCT_PATH.'images'); -define('HYBRID_CSS', CFCT_PATH.'css'); -define('HYBRID_JS', CFCT_PATH.'js'); -define('HYBRID_SWF', CFCT_PATH.'swf'); - -include_once(CFCT_PATH.'_hybrid/breadcrumbs.php'); -include_once(CFCT_PATH.'_hybrid/comments.php'); -include_once(CFCT_PATH.'_hybrid/deprecated.php'); -include_once(CFCT_PATH.'_hybrid/filters.php'); -include_once(CFCT_PATH.'_hybrid/functions.php'); -include_once(CFCT_PATH.'_hybrid/get-the-image.php'); -include_once(CFCT_PATH.'_hybrid/get-the-video.php'); -include_once(CFCT_PATH.'_hybrid/hooks.php'); -include_once(CFCT_PATH.'_hybrid/media.php'); -include_once(CFCT_PATH.'_hybrid/primary.php'); -include_once(CFCT_PATH.'_hybrid/secondary.php'); -include_once(CFCT_PATH.'_hybrid/template-functions.php'); -include_once(CFCT_PATH.'_hybrid/widgets.php'); - -if(is_admin()) : - include_once(CFCT_PATH.'_hybrid/admin/theme-settings.php'); - include_once(CFCT_PATH.'_hybrid/admin/meta-box.php'); +/** + * Components functions and definitions. + * + * @package vanilla + */ + +if ( ! function_exists( 'vanilla_setup' ) ) : + /** + * Sets up theme defaults and registers support for various WordPress features. + */ + function vanilla_setup() { + + load_theme_textdomain( 'vanilla', get_template_directory() . '/languages' ); + add_theme_support( 'automatic-feed-links' ); + add_theme_support( 'title-tag' ); + add_theme_support( 'post-thumbnails' ); + add_editor_style( get_stylesheet_uri() ); + + add_image_size( 'vanilla-featured-image', 1920, 960, true ); + + register_nav_menus( array( + 'primary' => esc_html__( 'Primary Menu', 'vanilla' ), + ) ); + + /** + * Add support for core custom logo. + */ + add_theme_support( 'custom-logo', array( + 'height' => 150, + 'width' => 150, + 'flex-width' => true, + 'flex-height' => true, + ) ); + + add_theme_support( 'html5', array( + 'search-form', + 'comment-form', + 'comment-list', + 'gallery', + 'caption', + ) ); + + // Indicate widget sidebars can use selective refresh in the Customizer. + add_theme_support( 'customize-selective-refresh-widgets' ); + } endif; +add_action( 'after_setup_theme', 'vanilla_setup' ); -$hybrid_settings = get_option('hybrid_theme_settings'); - -/* ======================================== - Tarski - ======================================== */ - -// Path constants -define('TARSKICLASSES', CFCT_PATH.'_tarski/classes'); -define('TARSKIHELPERS', CFCT_PATH.'_tarski/helpers'); -define('TARSKIDISPLAY', CFCT_PATH.'_tarski/display'); -define('TARSKICACHE', CFCT_PATH.'_tarski/cache'); -define('TARSKIVERSIONFILE', 'http://tarskitheme.com/version.atom'); - -// Core library files -//require_once(CFCT_PATH.'_tarski/core.php'); -//require_once(CFCT_PATH.'_tarski/classes/options.php'); -//require_once(CFCT_PATH.'_tarski/classes/asset.php'); - -// Admin library files -//if (is_admin()) { -// require_once(CFCT_PATH.'_tarski/classes/version.php'); -// require_once(CFCT_PATH.'_tarski/classes/page_select.php'); -// require_once(CFCT_PATH.'_tarski/helpers/admin_helper.php'); -//} - -// Various helper libraries -//require_once(CFCT_PATH.'_tarski/helpers/template_helper.php'); -//require_once(CFCT_PATH.'_tarski/helpers/content_helper.php'); -//require_once(CFCT_PATH.'_tarski/helpers/author_helper.php'); -//require_once(CFCT_PATH.'_tarski/helpers/tag_helper.php'); -//require_once(CFCT_PATH.'_tarski/helpers/widgets.php'); - -// API files -//require_once(CFCT_PATH.'_tarski/api/hooks.php'); -//require_once(CFCT_PATH.'_tarski/api/constants_helper.php'); -//include_once(CFCT_PATH.'_tarski/api/deprecated.php'); - -// Launch -//require_once(CFCT_PATH.'_tarski/launcher.php'); - -cfct_load_plugins(); - -function cfct_init() { - cfct_admin_request_handler(); - if (cfct_get_option('cfct_ajax_load') == 'yes') { - cfct_ajax_load(); + +if ( ! function_exists( 'vanilla_excerpt_more' ) && ! is_admin() ) : + /** + * Replaces "[...]" (appended to automatically generated excerpts) with ... + * + * @return string an ellipsis. + */ + function vanilla_excerpt_more() { + return '…'; } + + add_filter( 'excerpt_more', 'vanilla_excerpt_more' ); +endif; + + +/** + * Set the content width in pixels, based on the theme's design and stylesheet. + * + * @global int $content_width + */ +function vanilla_content_width() { + $GLOBALS['content_width'] = apply_filters( 'vanilla_content_width', 1000 ); +} + +add_action( 'after_setup_theme', 'vanilla_content_width', 0 ); + + +/** + * Register widget area. + * + * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar + */ +function vanilla_widgets_init() { + + register_sidebar( array( + 'name' => esc_html__( 'The tail of site main area', 'vanilla' ), + 'id' => 'site-main-tail-widget', + 'description' => '', + 'before_widget' => '<section id="%1$s" class="widget %2$s">', + 'after_widget' => '</section>', + 'before_title' => '<h4 class="widget-title widget__title">', + 'after_title' => '</h4>', + ) ); + + register_sidebar( array( + 'name' => esc_html__( 'Footer primary widget area', 'vanilla' ), + 'id' => 'footer-primary-widget', + 'description' => '', + 'before_widget' => '<section id="%1$s" class="widget %2$s">', + 'after_widget' => '</section>', + 'before_title' => '<h4 class="widget-title widget__title">', + 'after_title' => '</h4>', + ) ); + + $column = apply_filters( 'vanilla_footer_secondary_widget_column', 1 ); + $column_small = apply_filters( 'vanilla_footer_secondary_widget_column_small', 2 ); + $column_medium = apply_filters( 'vanilla_footer_secondary_widget_column_medium', 3 ); + $column_large = apply_filters( 'vanilla_footer_secondary_widget_column_large', 4 ); + $class_name = sprintf( + 'grid__u grid__u--grow grid__u--1_%d grid__u--small--1_%d grid__u--medium--1_%d grid__u--large--1_%d', + $column, + $column_small, + $column_medium, + $column_large + ); + register_sidebar( array( + 'name' => esc_html__( 'Footer secondary widget area', 'vanilla' ), + 'id' => 'footer-secondary-widget', + 'description' => '', + 'before_widget' => '<div class="' . esc_attr( $class_name ) . '"><section id="%1$s" class="widget %2$s">', + 'after_widget' => '</section></div>', + 'before_title' => '<h4 class="widget-title widget__title">', + 'after_title' => '</h4>', + ) ); } -add_action('init', 'cfct_init'); - -/* ======================================== - Header JS Additions - ======================================== */ - -wp_enqueue_script('jquery'); -wp_enqueue_script('carrington', get_bloginfo('template_directory').'/js/carrington.js', 'jquery', '1.0'); - -/* ======================================== - Footer Additions - ======================================== */ - -function cfct_wp_footer() { - echo get_option('cfct_wp_footer'); - cfct_get_option('cfct_ajax_load') == 'no' ? $ajax_load = 'false' : $ajax_load = 'true'; - echo ' -<script type="text/javascript"> -var CFCT_URL = "'.get_bloginfo('url').'"; -var CFCT_AJAX_LOAD = '.$ajax_load.'; -</script> - '; + +add_action( 'widgets_init', 'vanilla_widgets_init' ); + +/** + * Enqueue scripts and styles. + */ +function vanilla_scripts() { + $theme = wp_get_theme( get_template() ); + $version = $theme->get( 'Version' ); + if ( is_child_theme() ) { + wp_enqueue_style( get_template() . '-style', get_template_directory_uri() . '/style.css', array( 'dashicons' ), $version ); + } + wp_enqueue_style( get_stylesheet() . '-style', get_stylesheet_uri(), array( 'dashicons' ), $version ); + wp_enqueue_script( 'vanilla-script', get_template_directory_uri() . '/bundle.js', array( + 'jquery', + 'underscore', + ), $version, true ); + wp_localize_script( 'vanilla-script', 'screenReaderText', array( + 'expand' => __( 'expand child menu', 'vanilla' ), + 'collapse' => __( 'collapse child menu', 'vanilla' ), + ) ); + + if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { + wp_enqueue_script( 'comment-reply' ); + } } -add_action('wp_footer', 'cfct_wp_footer'); -?> \ No newline at end of file + +add_action( 'wp_enqueue_scripts', 'vanilla_scripts' ); + +require dirname( __FILE__ ) . '/inc/custom-background.php'; +require dirname( __FILE__ ) . '/inc/customizer.php'; +require dirname( __FILE__ ) . '/inc/custom-header.php'; +require dirname( __FILE__ ) . '/inc/template-tags.php'; + diff --git a/wp-content/themes/vanilla/header.php b/wp-content/themes/vanilla/header.php index 8ccac47637ed053a023f16df616065398a9812d7..a14c57d3cf603a6aa1881e3bbfcaf2afdc33ea6d 100644 --- a/wp-content/themes/vanilla/header.php +++ b/wp-content/themes/vanilla/header.php @@ -1,22 +1,92 @@ <?php +/** + * The header for our theme. + * + * This is the template that displays all of the <head> section and everything up until <div id="content"> + * + * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials + * + * @package vanilla + */ + +?><!DOCTYPE html> +<html <?php language_attributes(); ?>> +<head> + <meta charset="<?php bloginfo( 'charset' ); ?>"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="profile" href="http://gmpg.org/xfn/11"> + <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> + + <?php wp_head(); ?> +</head> + +<body <?php body_class(); ?>> +<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'vanilla' ); ?></a> + +<div id="page" class="site [ app-layout <?php if ( ! is_front_page() ) : ?>app-layout--disable<?php endif;?> ]" data-app-layout-header=".app-layout__header" data-app-layout-spacer=".app-layout__spacer" data-app-layout-scroll-area="window"> + <header class="app-layout__header" aria-hidden="false" role="banner"> + <div class="navbar container"> + <div class="navbar__branding"> + <div class="site-branding"> + <div class="site-branding__logo"><?php the_custom_logo(); ?></div> + <?php if ( is_front_page() ) : ?> + <h1 class="site-branding__name site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> + <?php else : ?> + <p class="site-branding__name site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p> + <?php endif;?> + </div> + </div> + + <button class="navbar__drawer-button" aria-controls="primary-menu" aria-expanded="false" > + <span class="hamburger-button"><span class="hamburger-button__bars"></span></span> + <span class="screen-reader-text">menu</span> + </button> + </div> + + </header> + + <nav class="drawer" + role="navigation" + data-drawer + data-drawer-container-selector="body" + id="primary-menu" + aria-hidden="true" + aria-expanded="false"> + + <div class="drawer__body primary-menu"> + <div class="drawer__search"> + <?php get_search_form();?> + </div> + + + <?php wp_nav_menu( array( + 'theme_location' => 'primary', + 'menu_class' => 'primary-menu__links', + ) );?> + + + </div> + </nav> + + <div class="site-content [ app-layout__content ]"> + + <?php if ( is_front_page() and ! is_paged() ) : ?> + <div id="masthead" class="app-layout__spacer custom-header <?php if ( get_header_image() ) : ?> custom-header--has-image <?php endif;?>" role="banner"> + <div class="custom-header__media custom-header-media "> + <?php the_custom_header_markup();?> + </div> + <div class="custom-header__branding"> + <div class="container"> + <p class="site-title [ custom-header__title ]"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p> + <p class="site-description [ custom-header__description ]"><?php bloginfo( 'description' ); ?></p> + </div> + </div> + </div> + <?php else : ?> + <div class="app-layout__spacer"></div> + <?php endif;?> + <div id="content" class="content-area"> + + + -// This file is part of the Carrington Theme for WordPress -// http://carringtontheme.com -// -// Copyright (c) 2008 Crowd Favorite, Ltd. All rights reserved. -// http://crowdfavorite.com -// -// Released under the GPL license -// http://www.opensource.org/licenses/gpl-license.php -// -// ********************************************************************** -// This program is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -// ********************************************************************** - -if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); } - -cfct_header(); - -?> \ No newline at end of file diff --git a/wp-content/themes/vanilla/inc/custom-background.php b/wp-content/themes/vanilla/inc/custom-background.php new file mode 100644 index 0000000000000000000000000000000000000000..7a6081813d110d040dc3ca508e56ff8c715768ef --- /dev/null +++ b/wp-content/themes/vanilla/inc/custom-background.php @@ -0,0 +1,21 @@ +<?php +/** + * Custom background settings. + * + * @package vanilla + */ + +add_action( 'after_setup_theme', 'vanilla_custom_background' ); + +/** + * Register setting for custom background + */ +function vanilla_custom_background() { + + add_theme_support( 'custom-background', apply_filters( 'vanilla_custom_background_args', array( + 'default-color' => 'ffffff', + 'default-image' => '', + 'wp-head-callback' => '_custom_background_cb', + ) ) ); + +} diff --git a/wp-content/themes/vanilla/inc/custom-header.php b/wp-content/themes/vanilla/inc/custom-header.php new file mode 100644 index 0000000000000000000000000000000000000000..a8200cd030d4c56e9f16145d74238124ee141787 --- /dev/null +++ b/wp-content/themes/vanilla/inc/custom-header.php @@ -0,0 +1,93 @@ +<?php +/** + * Header image settings. + * + * @package vanilla + */ + +/** + * Register custom header support. + */ +function vanilla_custom_header_setup() { + + add_theme_support( 'custom-header', apply_filters( 'vanilla_custom_header_args', array( + 'default-image' => get_parent_theme_file_uri( '/assets/images/default-header.jpg' ), + 'width' => 1920, + 'height' => 1080, + 'flex-height' => true, + 'video' => true, + 'default-text-color' => '#ffffff', + 'header-text' => true, + 'wp-head-callback' => 'vanilla_header_style', + ) ) ); + + register_default_headers( array( + 'default-image' => array( + 'url' => '%s/assets/images/default-header.jpg', + 'thumbnail_url' => '%s/assets/images/default-header.jpg', + 'description' => __( 'Default Header Image', 'vanilla' ), + ), + 'vanilla' => array( + 'url' => '%s/assets/images/vanilla.jpg', + 'thumbnail_url' => '%s/assets/images/vanilla.jpg', + 'description' => __( 'Ice cream', 'vanilla' ), + ), + 'parlor' => array( + 'url' => '%s/assets/images/parlor.jpg', + 'thumbnail_url' => '%s/assets/images/parlor.jpg', + 'description' => __( 'Ice cream parlor', 'vanilla' ), + ), + ) ); +} +add_action( 'after_setup_theme', 'vanilla_custom_header_setup' ); + + +/** + * Custom header only front page. + * + * @param bool $active Whether the Customizer control is active. + * @param WP_Customize_Control $control WP_Customize_Control instance. + * + * @return bool + */ +function header_image_control_filter( $active, $control ) { + if ( 'header_image' === $control->section ) { + $active = is_front_page(); + } + return $active; +} +add_filter( 'customize_control_active', 'header_image_control_filter', 10, 2 ); + + +/** + * Custom header callback. + */ +function vanilla_header_style() { + $header_text_color = get_header_textcolor(); + + if ( get_theme_support( 'custom-header', 'default-text-color' ) === $header_text_color ) { + return; + } + + // If we get this far, we have custom styles. Let's do this. + ?> + <style id="vanilla-custom-header-styles" type="text/css"> + <?php + // Has the text been hidden? + if ( 'blank' === $header_text_color ) : + ?> + .custom-header__branding { + position: absolute; + clip: rect(1px, 1px, 1px, 1px); + } + <?php + // If the user has set a custom color for the text use that. + else : + ?> + .custom-header { + color: #<?php echo esc_attr( $header_text_color ); ?>; + } + <?php endif; ?> + </style> + <?php +} diff --git a/wp-content/themes/vanilla/inc/customizer.php b/wp-content/themes/vanilla/inc/customizer.php new file mode 100644 index 0000000000000000000000000000000000000000..e0116163a084c246300fa90b3dcd951d0ea0eb65 --- /dev/null +++ b/wp-content/themes/vanilla/inc/customizer.php @@ -0,0 +1,342 @@ +<?php +/** + * Theme customizer settings. + * + * @package vanilla + */ + +/** + * Color settings. + * + * @return array + */ +function vanilla_get_customize_color_settings() { + return array( + 'text_color' => array( + 'label' => __( 'Post text color', 'vanilla' ), + 'selector' => 'body', + 'property' => 'color', + 'default' => '#000000', + ), + 'link_color' => array( + 'label' => __( 'Link color', 'vanilla' ), + 'selector' => 'a', + 'property' => 'color', + 'default' => '#337ab7', + ), + 'navbar_textcolor' => array( + 'label' => __( 'Navigation bar text color', 'vanilla' ), + 'selector' => '.app-layout__header', + 'property' => 'color', + 'default' => '#000000', + ), + 'navbar_background_color' => array( + 'label' => __( 'Navigation bar background color', 'vanilla' ), + 'selector' => '.app-layout__header', + 'property' => 'background-color', + 'default' => '#ffffff', + ), + 'archive_header_textcolor' => array( + 'label' => __( 'Archive header text color', 'vanilla' ), + 'selector' => '.archive-header', + 'property' => 'color', + 'default' => '#ffffff', + ), + 'archive_header_background_color' => array( + 'label' => __( 'Archive header background color', 'vanilla' ), + 'selector' => '.archive-header', + 'property' => 'background-color', + 'default' => '#666666', + ), + 'post_thumbnail_background_color' => array( + 'label' => __( 'Post thumbnail background color', 'vanilla' ), + 'selector' => '.post-thumbnail', + 'property' => 'background-color', + 'default' => '#eeeeee', + ), + 'footer_textcolor' => array( + 'label' => __( 'Footer text color', 'vanilla' ), + 'selector' => '.site-footer', + 'property' => 'color', + 'default' => '#000000', + ), + 'footer_background_color' => array( + 'label' => __( 'Footer background color', 'vanilla' ), + 'selector' => '.site-footer', + 'property' => 'background-color', + 'default' => '#ffffff', + ), + ); +} + +/** + * Adds postMessage support for site title and description for the Customizer. + * + * @param WP_Customize_Manager $wp_customize The Customizer object. + */ +function vanilla_customize_register( WP_Customize_Manager $wp_customize ) { + + $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; + $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; + $wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage'; + + if ( isset( $wp_customize->selective_refresh ) ) { + $wp_customize->selective_refresh->add_partial( 'blogname', array( + 'selector' => '.site-title a', + 'container_inclusive' => false, + 'render_callback' => 'vanilla_customize_partial_blogname', + ) ); + $wp_customize->selective_refresh->add_partial( 'blogdescription', array( + 'selector' => '.site-description', + 'container_inclusive' => false, + 'render_callback' => 'vanilla_customize_partial_blogdescription', + ) ); + + } + + foreach ( vanilla_get_customize_color_settings() as $key => $param ) { + + // Add page background color setting and control. + $wp_customize->add_setting( $key, array( + 'default' => $param['default'], + 'sanitize_callback' => 'sanitize_hex_color', + 'transport' => 'postMessage', + ) ); + + $control = new WP_Customize_Color_Control( $wp_customize, $key, array( + 'label' => $param['label'], + 'section' => 'colors', + ) ); + + $wp_customize->add_control( $control ); + + } +} + +add_action( 'customize_register', 'vanilla_customize_register', 11 ); + +/** + * Add front page panel section. + * + * @param WP_Customize_Manager $wp_customize The Customizer object. + */ +function vanilla_setup_theme_options_section( WP_Customize_Manager $wp_customize ) { + /** + * Theme options. + */ + $wp_customize->add_section( 'theme_options', array( + 'title' => __( 'Theme Options', 'vanilla' ), + 'priority' => 130, // Before Additional CSS. + ) ); + + /** + * Filter number of front page sections in Twenty Seventeen. + * + * @since Twenty Seventeen 1.0 + * + * @param $num_sections integer + */ + $num_sections = apply_filters( 'vanilla_front_page_sections', 4 ); + + // Create a setting and control for each of the sections available in the theme. + for ( $i = 1; $i < ( 1 + $num_sections ); $i ++ ) { + $wp_customize->add_setting( 'panel_' . $i, array( + 'default' => false, + 'sanitize_callback' => 'absint', + 'transport' => 'postMessage', + ) ); + + $wp_customize->add_control( 'panel_' . $i, array( + /* translators: %d is the front page section number */ + 'label' => sprintf( __( 'Front Page Section %d Content', 'vanilla' ), $i ), + 'description' => ( 1 !== $i ? '' : __( 'Select pages to feature in each area from the dropdowns. Add an image to a section by setting a featured image in the page editor. Empty sections will not be displayed.', 'vanilla' ) ), + 'section' => 'theme_options', + 'type' => 'dropdown-pages', + 'allow_addition' => true, + 'active_callback' => 'vanilla_is_static_front_page', + ) ); + + $wp_customize->selective_refresh->add_partial( 'panel_' . $i, array( + 'selector' => '#panel' . $i, + 'render_callback' => 'vanilla_front_page_section', + 'container_inclusive' => true, + ) ); + } + + $wp_customize->add_setting( 'posts_layout_on_front_page', array( + 'default' => 'list', + 'sanitize_callback' => 'vanilla_sanitize_posts_layout_on_front_page', + 'transport' => 'postMessage', + ) ); + + $wp_customize->add_control( 'posts_layout_on_front_page', array( + 'label' => __( 'Posts Layout on Front Page', 'vanilla' ), + 'description' => __( 'Select style for posts list', 'vanilla' ), + 'section' => 'theme_options', + 'type' => 'radio', + 'choices' => array( + 'list' => __( 'list', 'vanilla' ), + 'block' => __( 'block', 'vanilla' ), + ), + 'active_callback' => 'vanilla_is_static_front_page', + ) ); + +} + +add_action( 'customize_register', 'vanilla_setup_theme_options_section', 12 ); + +/** + * Return whether we're previewing the front page and it's a static page. + * + * @return bool + */ +function vanilla_is_static_front_page() { + return ( is_front_page() && ! is_home() ); +} + +/** + * Create css block. + * + * @param string $selector CSS selector. + * @param string $property CSS property name. + * @param string $value CSS value. + * + * @return string + */ +function vanilla_create_css( $selector, $property, $value ) { + return sprintf( + '%1$s { %2$s: %3$s; }', + $selector, + $property, + $value + ); +} + +/** + * Sanitize the posts_layout_on_front_page options. + * + * @param string $input input value. + * + * @return string + */ +function vanilla_sanitize_posts_layout_on_front_page( $input ) { + $valid = array( + 'list' => __( 'list', 'vanilla' ), + 'block' => __( 'block', 'vanilla' ), + ); + + if ( array_key_exists( $input, $valid ) ) { + return $input; + } + + return ''; +} + + +/** + * Register custom inline css. + */ +function vanilla_color_css() { + + foreach ( vanilla_get_customize_color_settings() as $key => $param ) { + if ( $value = get_theme_mod( $key ) ) { + $css = vanilla_create_css( $param['selector'], $param['property'], $value ); + } else { + $css = vanilla_create_css( $param['selector'], $param['property'], $param['default'] ); + } + + wp_add_inline_style( 'vanilla-style', $css ); + } + +} + +add_action( 'wp_enqueue_scripts', 'vanilla_color_css', 11 ); + +/** + * Customizer default value. + */ +function vanilla_customize_partial_blogname() { + bloginfo( 'name' ); +} + +/** + * Customizer default value. + */ +function vanilla_customize_partial_blogdescription() { + bloginfo( 'description' ); +} + +/** + * Register script for customizer. + */ +function vanilla_customize_preview_js() { + wp_enqueue_script( 'vanilla-customize-preview', get_template_directory_uri() . '/assets/scripts/customizer/preview.js', array( 'customize-preview' ), '1.0.0', true ); +} + +add_action( 'customize_preview_init', 'vanilla_customize_preview_js' ); + +/** + * Load dynamic logic for the customizer controls area. + */ +function vanilla_customize_controls_js() { + wp_enqueue_script( 'vanilla-customize-controls', get_template_directory_uri() . '/assets/scripts/customizer/controls.js', array(), '1.0.0', true ); +} + +add_action( 'customize_controls_enqueue_scripts', 'vanilla_customize_controls_js' ); + + +/** + * Customizer default value. + */ +function vanilla_customize_control_js() { + wp_enqueue_script( 'vanilla-customize-color', get_template_directory_uri() . '/assets/scripts/customizer/color.js', array( + 'customize-controls', + 'customize-preview', + 'iris', + 'underscore', + 'wp-util', + ), '1.0.0', true ); +} + +add_action( 'customize_controls_enqueue_scripts', 'vanilla_customize_control_js' ); + + +/** + * Render script for customizer preview + */ +function vanilla_color_scheme_css_template() { + + $settings = vanilla_get_customize_color_settings(); + ?> + <script type="text/html" id="tmpl-vanilla-color"> + <?php + foreach ( $settings as $key => $setting ) { + echo '<# if ( data.' . esc_js( $key ) . ' ) { #>'; + echo esc_js( vanilla_create_css( $setting['selector'], $setting['property'], '{{ data.' . $key . ' }}' ) ); + echo '<# } #>'; + } + ?> + </script> + <?php +} + +add_action( 'customize_controls_print_footer_scripts', 'vanilla_color_scheme_css_template' ); + +/** + * Add body class for customizer. + * + * @param String $classes body_class parts. + * + * @return array + */ +function vanilla_customizer_body_class( $classes ) { + if ( 'block' == get_theme_mod( 'posts_layout_on_front_page' ) ) { + $classes[] = 'postlist-style-block'; + } else { + $classes[] = 'postlist-style-list'; + } + + return $classes; +} + +add_filter( 'body_class', 'vanilla_customizer_body_class' ); diff --git a/wp-content/themes/vanilla/inc/template-tags.php b/wp-content/themes/vanilla/inc/template-tags.php new file mode 100644 index 0000000000000000000000000000000000000000..bbc6574d5726cdfcd44e51684f807eaf0adebd60 --- /dev/null +++ b/wp-content/themes/vanilla/inc/template-tags.php @@ -0,0 +1,118 @@ +<?php +/** + * Custom template tags. + * + * @package vanilla + */ + +if ( ! function_exists( 'vanilla_entry_meta' ) ) : + /** + * Prints HTML with meta information for the current post-date/time and author. + */ + function vanilla_entry_meta() { + echo '<p class="entry-meta">'; + + $format = get_post_format(); + if ( current_theme_supports( 'post-formats', $format ) ) { + printf( '<span class="entry-format entry-meta__item">%1$s<a href="%2$s">%3$s</a></span>', + sprintf( '<span>%s </span>', esc_html_x( 'Format', 'Used before post format.', 'vanilla' ) ), + esc_url( get_post_format_link( $format ) ), + esc_html( get_post_format_string( $format ) ) + ); + } + + if ( 'post' == get_post_type() ) { + if ( is_singular() || is_multi_author() ) { + printf( '<span class="byline entry-meta__item"><span class="author vcard"><span class="entry-meta__icon dashicons dashicons-admin-users"></span><span class="screen-reader-text">%1$s </span><a class="url fn n" href="%2$s">%3$s</a></span></span>', + esc_html_x( 'Author', 'Used before post author name.', 'vanilla' ), + esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), + get_the_author() + ); + } + + $categories_list = get_the_category_list( esc_html_x( ', ', 'Used between list items, there is a space after the comma.', 'vanilla' ) ); + if ( $categories_list ) { + printf( '<span class="cat-links entry-meta__item"><span class="entry-meta__icon dashicons dashicons-category"></span><span class="screen-reader-text">%1$s </span>%2$s</span>', + esc_html_x( 'Categories', 'Used before category names.', 'vanilla' ), + wp_kses( $categories_list, wp_kses_allowed_html( 'post' ) ) + ); + } + + $tags_list = get_the_tag_list( '', esc_html_x( ', ', 'Used between list items, there is a space after the comma.', 'vanilla' ) ); + if ( $tags_list ) { + printf( '<span class="tags-links entry-meta__item"><span class="entry-meta__icon dashicons dashicons-tag"></span><span class="screen-reader-text">%1$s </span>%2$s</span>', + esc_html_x( 'Tags', 'Used before tag names.', 'vanilla' ), + wp_kses( $tags_list, wp_kses_allowed_html( 'post' ) ) + ); + } + } + + if ( is_attachment() && wp_attachment_is_image() ) { + // Retrieve attachment metadata. + $metadata = wp_get_attachment_metadata(); + + printf( '<span class="full-size-link entry-meta__item"><span class="screen-reader-text">%1$s </span><a href="%2$s">%3$s × %4$s</a></span>', + esc_html_x( 'Full size', 'Used before full size attachment link.', 'vanilla' ), + esc_url( wp_get_attachment_url() ), + esc_html( $metadata['width'] ), + esc_html( $metadata['height'] ) + ); + } + + if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) { + echo '<span class="comments-link entry-meta__item">'; + echo '<span class="entry-meta__icon dashicons dashicons-admin-comments"></span>'; + comments_popup_link( sprintf( __( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'vanilla' ), get_the_title() ) ); + echo '</span>'; + } + + echo '</p>'; + } +endif; + +if ( ! function_exists( 'vanilla_entry_footer' ) ) : + /** + * Prints HTML with meta information for the categories, tags and comments. + */ + function vanilla_entry_footer() { + edit_post_link( sprintf( esc_html__( 'Edit %s', 'vanilla' ), the_title( '<span class="screen-reader-text">"', '"</span>', false ) ), '<span class="edit-link">', '</span>' ); + } +endif; + + +/** + * Show front page section. + * + * @param WP_Customize_Partial|null $partial WP_Customize_Partial object. + * @param int $id panel ID. + */ +function vanilla_front_page_section( $partial = null, $id = 0 ) { + + if ( is_a( $partial, 'WP_Customize_Partial' ) ) { + // Find out the id and set it up during a selective refresh. + global $vanillacounter; + $id = str_replace( 'panel_', '', $partial->id ); + $vanillacounter = $id; + } + + if ( get_theme_mod( 'panel_' . $id ) ) { + global $post; + $panel_post = get_post( get_theme_mod( 'panel_' . $id ) ); + // @codingStandardsIgnoreStart + $post = $panel_post; + // @codingStandardsIgnoreEnd + setup_postdata( $post ); + get_template_part( 'template-parts/content', 'front-page-panels' ); + + wp_reset_postdata(); + } elseif ( is_customize_preview() ) { + // The output placeholder anchor. + ?> + <article class="entry panel panel--placeholder" id="panel<?php echo esc_attr( $id );?>"> + <div class="entry__body container"> + <div class="panel__content"><?php echo esc_html( sprintf( __( 'Front Page Section %1$s Placeholder', 'vanilla' ), $id ) );?></div> + </div> + </article> + <?php + } +} diff --git a/wp-content/themes/vanilla/index.php b/wp-content/themes/vanilla/index.php index 7ac452cea89ee37021522ae6b4b96a28d1ed3aba..95c04763ea37d95d4a8ffd12f160ab6170a9edb5 100644 --- a/wp-content/themes/vanilla/index.php +++ b/wp-content/themes/vanilla/index.php @@ -1,22 +1,62 @@ <?php +/** + * The main template file. + * + * @link https://codex.wordpress.org/Template_Hierarchy + * + * @package vanilla + */ -// This file is part of the Carrington Theme for WordPress -// http://carringtontheme.com -// -// Copyright (c) 2008 Crowd Favorite, Ltd. All rights reserved. -// http://crowdfavorite.com -// -// Released under the GPL license -// http://www.opensource.org/licenses/gpl-license.php -// -// ********************************************************************** -// This program is distributed in the hope that it will be useful, but -// WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -// ********************************************************************** - -if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); } - -cfct_posts(); - -?> \ No newline at end of file +get_header(); ?> + <div id="primary"> + <main id="main" class="site-main" role="main"> + <?php do_action( 'vanilla_site_main_prepend' ); ?> + + <?php + if ( have_posts() ) :?> + <?php if ( ! is_front_page() ) : ?> + <header class="archive-header"> + <div class="container"> + <?php if ( is_search() ) : ?> + <h1 class="archive-header__title"><?php printf( esc_html__( 'Search Results for: %s', 'vanilla' ), '<span>' . get_search_query() . '</span>' ); ?></h1> + <?php elseif ( is_home() ) : ?> + <h1 class="archive-header__title"><?php single_post_title(); ?></h1> + <?php else : ?> + <h1 class="archive-header__title"><?php the_archive_title(); ?></h1> + <?php echo term_description(); ?> + <?php endif; ?> + + </div> + </header> + <?php endif; ?> + + <?php + while ( have_posts() ) : the_post(); + get_template_part( 'template-parts/content' ); + endwhile; + + the_posts_pagination( array( + 'prev_text' => '<span class="pagination__arrow dashicons dashicons-arrow-left-alt2"></span><span class="screen-reader-text">Prev</span>', + 'next_text' => '<span class="pagination__arrow dashicons dashicons-arrow-right-alt2"></span><span class="screen-reader-text">Next</span>', + 'before_page_number' => '<span class="pagination__numbers">', + 'after_page_number' => '</span>', + + ) ); ?> + + <?php + + else : + get_template_part( 'template-parts/content', 'none' ); + endif; ?> + + <?php if ( is_active_sidebar( 'site-main-tail-widget' ) ) : ?> + <div class="container"> + <?php dynamic_sidebar( 'site-main-tail-widget' ); ?> + </div> + <?php endif; ?> + + <?php do_action( 'vanilla_site_main_append' ); ?> + </main> + </div> +<?php +get_footer(); diff --git a/wp-content/themes/vanilla/readme.txt b/wp-content/themes/vanilla/readme.txt new file mode 100644 index 0000000000000000000000000000000000000000..2257fefa85a4803a477783e87bdd6a68565693b6 --- /dev/null +++ b/wp-content/themes/vanilla/readme.txt @@ -0,0 +1,148 @@ +=== Vanilla === +Contributors: Toro_Unit +Donate link: https://www.amazon.co.jp/registry/wishlist/COKSXS25MVQV +Tags: one-column, custom-logo, custom-colors, custom-header, custom-menu, custom-background, editor-style, sticky-post, microformats, featured-image-header, featured-images, footer-widgets, threaded-comments, translation-ready, blog, news, photography, portfolio, food-and-drink +Requires at least: 4.7 +Tested up to: 4.7 +Stable tag: 1.6.3 +License: GPLv2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html + +== Description == + +Vanilla is the simple theme for blogging. And for single column modern websites. + +* Mobile-first, Responsive Layout +* Custom Drawer Menu +* Custom Header +* Custom Colors +* Custom Background +* Custom Logo + +== Copyright == + +Vanilla WordPress Theme, Copyright 2016 Toro_Unit +Vanilla is distributed under the terms of the GNU GPL + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + += Third-party resources = + +=== Bundled header images === + +License: CC0 Public Domain + +* https://pixabay.com/photo-706092/ +* https://pixabay.com/photo-476361/ +* https://pixabay.com/photo-1575101/ + +=== skip-link-focus-fix.js ( from _s ) === + +License: GPL2.0+ + +* https://github.com/Automattic/_s/blob/master/js/skip-link-focus-fix.js + + +== Installation == + += Installation using "Add New Theme" = +1. From your Admin UI (Dashboard), go to Appearance => Themes. Click the "Add New" button. +2. Search for theme, or click the "Upload" button, and then select the theme you want to install. +3. Click the "Install Now" button. + += Manual installation = +1. Upload the "vanilla" folder to the "/wp-content/themes/" directory. + += Activiation and Use = +1. Activate the Theme through the "Themes" menu in WordPress. + + +== Changelog == + += 1.6.3 = +* Update theme homepage. + += 1.6.2 = +* Accordion button bug fix. + += 1.6.1 = +* Add sanitize for posts_layout_on_front_page. + += 1.6.0 = +* Add blocked style for posts in front page. + += 1.5.1 = +* remove widget site main head. + += 1.5.0 = +* Add widget area in site main area. +* Fix navbar. +* fixed custom header style on loading. + += 1.4.3 = +* Fix header image size for mobile. + += 1.4.2 = +* Fix default font weight. + += 1.4.0 = +* Fix submenu for accessibility. + += 1.3.8 = +* Fix comments style bug. + += 1.3.6 = +* reset button support. + += 1.3.5 = +* Add search form in menu. + += 1.3.4 = +* Bug fix. +* Custom header only not paged. + += 1.3.3 = +* Bug fix. + += 1.3.2 = +* Show search query. + += 1.3.1 = +* Bug fix. + += 1.3.0 = +* Fix for accessibility. +* Form styles. +* Add searchform.php + += 1.2.3 = +* Fix header video style. +* Fix screenshot. +* Change custom header size. + += 1.2.0 = +* Customizer fix. + += 1.1.2 = +* Add default custom header images. + += 1.1.0 = +* Add support custom header. + += 1.0.5 = +* Bug Fix. + += 1.0.3 = +* Bug Fix. +* Enqueue theme style for child theme. + += 1.0.0 = +* Initial Release. diff --git a/wp-content/themes/vanilla/screenshot.png b/wp-content/themes/vanilla/screenshot.png new file mode 100644 index 0000000000000000000000000000000000000000..7c6fe0be0e68c7ee02b328c10a2623d428b4162e Binary files /dev/null and b/wp-content/themes/vanilla/screenshot.png differ diff --git a/wp-content/themes/vanilla/searchform.php b/wp-content/themes/vanilla/searchform.php new file mode 100644 index 0000000000000000000000000000000000000000..706113101fb9dc3e9eb35dff6a097c553d24c69b --- /dev/null +++ b/wp-content/themes/vanilla/searchform.php @@ -0,0 +1,23 @@ +<?php +/** + * Search form for our theme. + * + * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials + * + * @package vanilla + */ + +?> + +<form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>"> + <label> + <span class="screen-reader-text"><?php esc_attr_e( 'Search for:', 'vanilla' ) ?></span> + <input type="search" class="search-field" + placeholder="<?php esc_attr_e( 'Search …', 'vanilla' ) ?>" value="<?php echo get_search_query() ?>" + name="s" title="<?php esc_attr_e( 'Search for:', 'vanilla' ) ?>"/> + </label> + <button type="submit" class="search-submit"> + <span class="dashicons dashicons-search"></span> + <span class="screen-reader-text"><?php esc_html_e( 'Search', 'vanilla' ) ?></span> + </button> +</form> diff --git a/wp-content/themes/vanilla/singular.php b/wp-content/themes/vanilla/singular.php new file mode 100644 index 0000000000000000000000000000000000000000..d6fa3bd242d2b281c8d20434e0404170dad3f484 --- /dev/null +++ b/wp-content/themes/vanilla/singular.php @@ -0,0 +1,55 @@ +<?php +/** + * The main template file. + * + * @link https://codex.wordpress.org/Template_Hierarchy + * + * @package vanilla + */ + +get_header(); ?> + <div id="primary"> + <main id="main" class="site-main" role="main"> + <?php do_action( 'vanilla_site_main_prepend' ); ?> + + <?php + if ( have_posts() ) : + while ( have_posts() ) : the_post(); + + get_template_part( 'template-parts/content' ); + + endwhile; + + endif; ?> + + <?php if ( is_front_page() ) : ?> + <?php + /** + * Filter number of front page sections in Twenty Seventeen. + * + * @since Twenty Seventeen 1.0 + * + * @param $num_sections integer + */ + $num_sections = apply_filters( 'vanilla_front_page_sections', 4 ); + global $vanillacounter; + + // Create a setting and control for each of the sections available in the theme. + for ( $i = 1; $i < ( 1 + $num_sections ); $i ++ ) { + $vanillacounter = $i; + vanilla_front_page_section( null, $i ); + } + ?> + <?php endif; ?> + + <?php if ( is_active_sidebar( 'site-main-tail-widget' ) ) : ?> + <div class="container"> + <?php dynamic_sidebar( 'site-main-tail-widget' ); ?> + </div> + <?php endif; ?> + + <?php do_action( 'vanilla_site_main_append' ); ?> + </main> + </div> +<?php +get_footer(); diff --git a/wp-content/themes/vanilla/style.css b/wp-content/themes/vanilla/style.css index 50596f89afa2f1c2200671c7cfe262df4cbb5a78..421a3aa75fec03a947bb6675d5ffd37c20816030 100644 --- a/wp-content/themes/vanilla/style.css +++ b/wp-content/themes/vanilla/style.css @@ -1,59 +1,2867 @@ +@charset "UTF-8"; /* - -Theme Name: Vanilla Theme -Theme URI: http://vanillatheme.com/ -Description: The great, the only... Vanilla theme! -Version: 1.0 -Author: Alister Cameron, Australis Media Pty Ltd -Author URI: http://www.australismedia.com -Tags: widgets, customizable, 3-column, framework, semantic, white, red, gray, carrington -Template: vanilla +Theme Name: Vanilla +Theme URI: https://vanilla.torounit.com +Author: Toro_Unit +Author URI: https://torounit.com +Donate link: https://www.amazon.co.jp/registry/wishlist/COKSXS25MVQV +Description: Vanilla is the simple theme for blogging. And for single column modern websites. +Version: 1.6.3 +Tags: one-column, custom-logo, custom-colors, custom-menu, custom-background, editor-style, sticky-post, microformats, featured-images, footer-widgets, threaded-comments, translation-ready, blog, photography +License: GNU General Public License v2 or later +License URI: http://www.gnu.org/licenses/gpl-2.0.html +Text Domain: vanilla */ +/** + * + * ex. ITCSS + * @link https://speakerdeck.com/dafed/managing-css-projects-with-itcss + * + */ +/** + * ============================================= + * + * Settings + * + * ============================================= + */ +/** + * ============================================= + * + * Tools + * + * ============================================= + */ +/** + * ============================================= + * + * Generic + * + * ============================================= + */ +/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */ -/* Reset browser defaults */ -@import url('http://yui.yahooapis.com/3.0.0pr1/build/cssreset/reset.css'); -@import url('http://yui.yahooapis.com/3.0.0pr1/build/cssfonts/fonts.css'); -@import url('http://yui.yahooapis.com/3.0.0pr1/build/cssgrids/grids.css'); +/** + * 1. Change the default font family in all browsers (opinionated). + * 2. Correct the line height in all browsers. + * 3. Prevent adjustments of font size after orientation changes in IE and iOS. + */ -@import url(css/carrington-blog.css); +html { + font-family: sans-serif; /* 1 */ + line-height: 1.15; /* 2 */ + -ms-text-size-adjust: 100%; /* 3 */ + -webkit-text-size-adjust: 100%; /* 3 */ +} -/* including for compatibility */ +/** + * Remove the margin in all browsers (opinionated). + */ -.alignleft { - float:left; - margin-right:1em; - margin-bottom:1em; +body { + margin: 0; } -.alignright { - float:right; - margin-left:1em; - margin-bottom:1em; + +/* HTML5 display definitions + ========================================================================== */ + +/** + * Add the correct display in IE 9-. + * 1. Add the correct display in Edge, IE, and Firefox. + * 2. Add the correct display in IE. + */ + +article, +aside, +details, /* 1 */ +figcaption, +figure, +footer, +header, +main, /* 2 */ +menu, +nav, +section, +summary { /* 1 */ + display: block; } -.aligncenter { - display: block; - margin-left: auto; - margin-right: auto; + +/** + * Add the correct display in IE 9-. + */ + +audio, +canvas, +progress, +video { + display: inline-block; } -.wp-caption { - border: 1px solid #ddd; - text-align: center; - background-color: #f3f3f3; - padding-top: 4px; - margin: 10px; - /* optional rounded corners for browsers that support it */ - -moz-border-radius: 3px; - -khtml-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; + +/** + * Add the correct display in iOS 4-7. + */ + +audio:not([controls]) { + display: none; + height: 0; } -.wp-caption img { - margin: 0; - padding: 0; - border: 0 none; -} -.wp-caption p.wp-caption-text { - font-size: 11px; - line-height: 17px; - padding: 0 4px 5px; - margin: 0; -} \ No newline at end of file + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + vertical-align: baseline; +} + +/** + * Add the correct display in IE 10-. + * 1. Add the correct display in IE. + */ + +template, /* 1 */ +[hidden] { + display: none; +} + +/* Links + ========================================================================== */ + +/** + * 1. Remove the gray background on active links in IE 10. + * 2. Remove gaps in links underline in iOS 8+ and Safari 8+. + */ + +a { + background-color: transparent; /* 1 */ + -webkit-text-decoration-skip: objects; /* 2 */ +} + +/** + * Remove the outline on focused links when they are also active or hovered + * in all browsers (opinionated). + */ + +a:active, +a:hover { + outline-width: 0; +} + +/* Text-level semantics + ========================================================================== */ + +/** + * 1. Remove the bottom border in Firefox 39-. + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Prevent the duplicate application of `bolder` by the next rule in Safari 6. + */ + +b, +strong { + font-weight: inherit; +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + +b, +strong { + font-weight: bolder; +} + +/** + * Add the correct font style in Android 4.3-. + */ + +dfn { + font-style: italic; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/** + * Add the correct background and color in IE 9-. + */ + +mark { + background-color: #ff0; + color: #000; +} + +/** + * Add the correct font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove the border on images inside links in IE 10-. + */ + +img { + border-style: none; +} + +/** + * Hide the overflow in IE. + */ + +svg:not(:root) { + overflow: hidden; +} + +/* Grouping content + ========================================================================== */ + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +code, +kbd, +pre, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct margin in IE 8. + */ + +figure { + margin: 1em 40px; +} + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/* Forms + ========================================================================== */ + +/** + * 1. Change font properties to `inherit` in all browsers (opinionated). + * 2. Remove the margin in Firefox and Safari. + */ + +button, +input, +optgroup, +select, +textarea { + font: inherit; /* 1 */ + margin: 0; /* 2 */ +} + +/** + * Restore the font weight unset by the previous rule. + */ + +optgroup { + font-weight: bold; +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + +button, +input { /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { /* 1 */ + text-transform: none; +} + +/** + * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` + * controls in Android 4. + * 2. Correct the inability to style clickable types in iOS and Safari. + */ + +button, +html [type="button"], /* 1 */ +[type="reset"], +[type="submit"] { + -webkit-appearance: button; /* 2 */ +} + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Change the border, margin, and padding in all browsers (opinionated). + */ + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * Remove the default vertical scrollbar in IE. + */ + +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10-. + * 2. Remove the padding in IE 10-. + */ + +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + +[type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding and cancel buttons in Chrome and Safari on OS X. + */ + +[type="search"]::-webkit-search-cancel-button, +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * Correct the text style of placeholders in Chrome, Edge, and Safari. + */ + +::-webkit-input-placeholder { + color: inherit; + opacity: 0.54; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/** + * ============================================= + * + * Base + * + * ============================================= + */ +img, +svg { + max-width: 100%; + height: auto; +} +iframe { + max-width: 100%; +} +video { + margin-bottom: 1em; +} +figure { + margin: 1em 0; +} +figure figcaption { + text-align: center; + font-size: 1em; +} +select { + line-height: inherit; + box-sizing: border-box; + padding: 6px 12px; + color: #555; + background-image: none; + border: none; + border-radius: 4px; + box-shadow: inset 0 1px 1px rgba(0,0,0,0.075); + -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; +} +select { + height: 1.75em; +} +select, +input[type="text"], +input[type="date"], +input[type="tel"], +input[type="url"], +input[type="email"], +input[type="search"], +input[type="datetime"], +input[type="image"], +input[type="password"], +input[type="submit"], +input[type="button"], +input[type="reset"], +button, +textarea { + box-sizing: border-box; + padding: 0.25em 1em; + font-size: 1em; + line-height: 1.75; + background-color: inherit; + border: 1px solid rgba(0,0,0,0.15); +} +select:focus, +input[type="text"]:focus, +input[type="date"]:focus, +input[type="tel"]:focus, +input[type="url"]:focus, +input[type="email"]:focus, +input[type="search"]:focus, +input[type="datetime"]:focus, +input[type="image"]:focus, +input[type="password"]:focus, +input[type="submit"]:focus, +input[type="button"]:focus, +input[type="reset"]:focus, +button:focus, +textarea:focus { + outline: thin dotted; +} +select, +input[type="text"], +input[type="date"], +input[type="tel"], +input[type="url"], +input[type="email"], +input[type="search"], +input[type="datetime"], +input[type="image"], +input[type="password"], +textarea { + max-width: 100%; + background-color: #fff; + background-image: none; + -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; + transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s; +} +textarea { + height: auto; +} +input[type="submit"], +input[type="button"], +input[type="reset"], +button { + text-align: center; + white-space: nowrap; + -ms-touch-action: manipulation; + touch-action: manipulation; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + background-image: none; +} +h1 { + font-weight: 600; + font-size: 2em; + margin: 0.5em 0; +} +h2 { + font-weight: 600; + clear: both; + box-sizing: border-box; + font-size: 1.7em; + margin: 1em 0; + border-top: 1px solid rgba(0,0,0,0.1); + padding-top: 1em; +} +h3 { + font-weight: 600; + font-size: 1.38em; + border-top: 1px solid rgba(0,0,0,0.05); + padding-top: 1em; +} +h4 { + font-weight: 600; + font-size: 1.15em; +} +h5 { + font-weight: 600; + font-size: 1em; +} +h6 { + font-weight: normal; + font-size: 1em; + margin: 1.67em 0; +} +hr { + border: none; + border-top: #666 3px solid; + width: 80%; + margin: 20px auto; + clear: both; +} +a { + color: #337ab7; + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a:hover img { + opacity: 0.8; +} +a:focus { + outline: thin dotted; +} +ol, +ul { + padding-left: 1.5em; +} +dd { + margin-left: 1.5em; +} +table { + width: 100%; +} +thead { + background-color: #999; + color: #fff; +} +tr:nth-child(2n) { + background-color: #f2f2f2; +} +th, +td { + padding: 1em; + text-align: center; + white-space: nowrap; + border: 1px solid #fff; +} +th { + font-weight: bold; +} +html { + font-size: 62.5%; + min-height: 100%; +} +body { + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Helvetica', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Roboto', 'Droid Sans', '游ゴシック Medium', meiryo, sans-serif; + font-size: 1.4em; + color: #000; + background-color: #fff; + line-height: 1.75; + overflow-wrap: break-word; + word-wrap: break-word; + -webkit-font-smoothing: subpixel-antialiased; +} +strong { + font-weight: bold; +} +p { + margin: 1em 0; +} +pre { + overflow: scroll; + background: #eee; + margin: 1.2em 0; + padding: 1em; + line-height: 1.5; +} +/** + * ============================================= + * + * Objects + * + * ============================================= + */ +.app-layout { + background-color: inherit; +} +.app-layout.app-layout--disable .app-layout__header { + position: relative !important; + top: 0 !important; + padding-top: 0px !important; +} +.app-layout__header { + background-color: #fff; + -webkit-overflow-scrolling: touch; + position: fixed; + left: 0; + top: 0; + z-index: 2; + pointer-events: visible; + overflow: hidden; + width: 100%; + box-shadow: 0 1px 2px 0 rgba(51,51,51,0.14), 0 3px 1px -2px rgba(51,51,51,0.2), 0 0px 5px 0 rgba(51,51,51,0.12); + -webkit-transition-delay: 0ms; + transition-delay: 0ms; + -webkit-transition-duration: 0.24s; + transition-duration: 0.24s; + -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + -webkit-transition-property: height, box-shadow, -webkit-transform; + transition-property: height, box-shadow, -webkit-transform; + transition-property: transform, height, box-shadow; + transition-property: transform, height, box-shadow, -webkit-transform; +} +.admin-bar .app-layout__header { + padding-top: 46px; + position: absolute; +} +.admin-bar .app-layout__header--fixed { + padding-top: 0px; + position: fixed; +} +.app-layout__header a, +.app-layout__header button { + pointer-events: auto; +} +.app-layout__content { + box-sizing: border-box; + background-color: inherit; +} +.app-layout .app-layout__header--escape { + -webkit-transform: translateY(-100%); + transform: translateY(-100%); +} +.container { + box-sizing: content-box; + margin: 0 auto; + padding: 0 16px; + max-width: 1000px; + padding-left: 16px; + padding-right: 16px; +} +.drawer::before { + content: ""; + display: none; + position: fixed; + z-index: 10; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: rgba(0,0,0,0.4); +} +.drawer__search .search-form .search-submit, +.drawer__search .search-form .search-field { + border: none; + padding: 1em; +} +.drawer__body { + visibility: hidden; + box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12); + position: fixed; + background-color: #fff; + z-index: 100; + top: 0; + right: 0; + overflow-y: auto; + width: 280px; + height: 100vh; + box-sizing: border-box; + -webkit-transform: translate(100%, 0); + transform: translate(100%, 0); + -webkit-transition: -webkit-transform 0.2s ease-out 0s; + transition: -webkit-transform 0.2s ease-out 0s; + transition: transform 0.2s ease-out 0s; + transition: transform 0.2s ease-out 0s, -webkit-transform 0.2s ease-out 0s; +} +.admin-bar .drawer__body { + padding-top: 46px; +} +.drawer[aria-expanded="true"] .drawer__body { + visibility: visible; + -webkit-transform: translate(0, 0); + transform: translate(0, 0); +} +.drawer.is-animated .drawer__body { + visibility: visible !important; +} +.drawer[aria-expanded="true"]::before { + display: block; +} +body.is-drawer-open { + overflow: hidden; +} +.grid { + clear: both; + margin: -8px; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; +} +.grid__u { + box-sizing: border-box; + width: 100%; + position: relative; + -webkit-box-flex: 0; + -ms-flex-positive: 0; + flex-grow: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + padding: 8px; +} +.grid__u--grow { + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; +} +.grid__u--1_1 { + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; +} +.grid__u--1_2 { + width: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; +} +.grid__u--2_2 { + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; +} +.grid__u--1_3 { + width: 33.33333333333333%; + -ms-flex-preferred-size: 33.33333333333333%; + flex-basis: 33.33333333333333%; +} +.grid__u--2_3 { + width: 66.66666666666666%; + -ms-flex-preferred-size: 66.66666666666666%; + flex-basis: 66.66666666666666%; +} +.grid__u--3_3 { + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; +} +.grid__u--1_4 { + width: 25%; + -ms-flex-preferred-size: 25%; + flex-basis: 25%; +} +.grid__u--2_4 { + width: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; +} +.grid__u--3_4 { + width: 75%; + -ms-flex-preferred-size: 75%; + flex-basis: 75%; +} +.grid__u--4_4 { + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; +} +.grid__u--1_5 { + width: 20%; + -ms-flex-preferred-size: 20%; + flex-basis: 20%; +} +.grid__u--2_5 { + width: 40%; + -ms-flex-preferred-size: 40%; + flex-basis: 40%; +} +.grid__u--3_5 { + width: 60%; + -ms-flex-preferred-size: 60%; + flex-basis: 60%; +} +.grid__u--4_5 { + width: 80%; + -ms-flex-preferred-size: 80%; + flex-basis: 80%; +} +.grid__u--5_5 { + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; +} +.grid__u--1_6 { + width: 16.666666666666664%; + -ms-flex-preferred-size: 16.666666666666664%; + flex-basis: 16.666666666666664%; +} +.grid__u--2_6 { + width: 33.33333333333333%; + -ms-flex-preferred-size: 33.33333333333333%; + flex-basis: 33.33333333333333%; +} +.grid__u--3_6 { + width: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; +} +.grid__u--4_6 { + width: 66.66666666666666%; + -ms-flex-preferred-size: 66.66666666666666%; + flex-basis: 66.66666666666666%; +} +.grid__u--5_6 { + width: 83.33333333333334%; + -ms-flex-preferred-size: 83.33333333333334%; + flex-basis: 83.33333333333334%; +} +.grid__u--6_6 { + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; +} +.grid__u--1_7 { + width: 14.285714285714285%; + -ms-flex-preferred-size: 14.285714285714285%; + flex-basis: 14.285714285714285%; +} +.grid__u--2_7 { + width: 28.57142857142857%; + -ms-flex-preferred-size: 28.57142857142857%; + flex-basis: 28.57142857142857%; +} +.grid__u--3_7 { + width: 42.857142857142854%; + -ms-flex-preferred-size: 42.857142857142854%; + flex-basis: 42.857142857142854%; +} +.grid__u--4_7 { + width: 57.14285714285714%; + -ms-flex-preferred-size: 57.14285714285714%; + flex-basis: 57.14285714285714%; +} +.grid__u--5_7 { + width: 71.42857142857143%; + -ms-flex-preferred-size: 71.42857142857143%; + flex-basis: 71.42857142857143%; +} +.grid__u--6_7 { + width: 85.71428571428571%; + -ms-flex-preferred-size: 85.71428571428571%; + flex-basis: 85.71428571428571%; +} +.grid__u--7_7 { + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; +} +.grid__u--1_12 { + width: 8.333333333333332%; + -ms-flex-preferred-size: 8.333333333333332%; + flex-basis: 8.333333333333332%; +} +.grid__u--2_12 { + width: 16.666666666666664%; + -ms-flex-preferred-size: 16.666666666666664%; + flex-basis: 16.666666666666664%; +} +.grid__u--3_12 { + width: 25%; + -ms-flex-preferred-size: 25%; + flex-basis: 25%; +} +.grid__u--4_12 { + width: 33.33333333333333%; + -ms-flex-preferred-size: 33.33333333333333%; + flex-basis: 33.33333333333333%; +} +.grid__u--5_12 { + width: 41.66666666666667%; + -ms-flex-preferred-size: 41.66666666666667%; + flex-basis: 41.66666666666667%; +} +.grid__u--6_12 { + width: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; +} +.grid__u--7_12 { + width: 58.333333333333336%; + -ms-flex-preferred-size: 58.333333333333336%; + flex-basis: 58.333333333333336%; +} +.grid__u--8_12 { + width: 66.66666666666666%; + -ms-flex-preferred-size: 66.66666666666666%; + flex-basis: 66.66666666666666%; +} +.grid__u--9_12 { + width: 75%; + -ms-flex-preferred-size: 75%; + flex-basis: 75%; +} +.grid__u--10_12 { + width: 83.33333333333334%; + -ms-flex-preferred-size: 83.33333333333334%; + flex-basis: 83.33333333333334%; +} +.grid__u--11_12 { + width: 91.66666666666666%; + -ms-flex-preferred-size: 91.66666666666666%; + flex-basis: 91.66666666666666%; +} +.grid__u--12_12 { + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; +} +.grid--center { + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; +} +.grid--middle { + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} +.grid--bottom { + -webkit-box-align: end; + -ms-flex-align: end; + align-items: flex-end; +} +.grid--reverse { + -webkit-box-orient: horizontal; + -webkit-box-direction: reverse; + -ms-flex-direction: row-reverse; + flex-direction: row-reverse; +} +.grid--collapse { + margin: 0; +} +.grid--collapse > .grid__u { + padding: 0; +} +.grid--loose { + margin: -12px; +} +.grid--loose > .grid__u { + padding: 12px; +} +.hamburger-button { + background-color: transparent; + display: block; + vertical-align: middle; + position: relative; + overflow: hidden; + margin: 0; + padding: 0; + width: 24px; + height: 16px; + font-size: 0; + text-indent: -9999px; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + box-shadow: none; + border-radius: 0; + border: none; + cursor: pointer; +} +.hamburger-button:focus { + outline: none; +} +.hamburger-button__bars { + display: block; + position: absolute; + top: 7px; + left: 0; + right: 0; + height: 2px; + background-color: currentColor; + -webkit-transition: background 0s 0.2s; + transition: background 0s 0.2s; +} +.hamburger-button__bars::before, +.hamburger-button__bars::after { + position: absolute; + display: block; + left: 0; + width: 100%; + height: 2px; + background-color: currentColor; + content: ""; + -webkit-transition-duration: 0.2s, 0.2s; + transition-duration: 0.2s, 0.2s; + -webkit-transition-delay: 0.2s, 0s; + transition-delay: 0.2s, 0s; +} +.hamburger-button__bars::before { + top: -7px; + -webkit-transition-property: top, -webkit-transform; + transition-property: top, -webkit-transform; + transition-property: top, transform; + transition-property: top, transform, -webkit-transform; +} +.hamburger-button__bars::after { + bottom: -7px; + -webkit-transition-property: bottom, -webkit-transform; + transition-property: bottom, -webkit-transform; + transition-property: bottom, transform; + transition-property: bottom, transform, -webkit-transform; +} +.hamburger-button--fixed-pad { + margin: 0; +} +.hamburger-button[aria-expanded="true"] .hamburger-button__bars, +[aria-expanded="true"] .hamburger-button .hamburger-button__bars { + background: none; +} +.hamburger-button[aria-expanded="true"] .hamburger-button__bars::before, +[aria-expanded="true"] .hamburger-button .hamburger-button__bars::before { + top: 0; + -webkit-transform: rotate(45deg); + transform: rotate(45deg); +} +.hamburger-button[aria-expanded="true"] .hamburger-button__bars::after, +[aria-expanded="true"] .hamburger-button .hamburger-button__bars::after { + bottom: 0; + -webkit-transform: rotate(-45deg); + transform: rotate(-45deg); +} +.hamburger-button[aria-expanded="true"] .hamburger-button__bars::before, +[aria-expanded="true"] .hamburger-button .hamburger-button__bars::before, +.hamburger-button[aria-expanded="true"] .hamburger-button__bars::after, +[aria-expanded="true"] .hamburger-button .hamburger-button__bars::after { + -webkit-transition-delay: 0s, 0.2s; + transition-delay: 0s, 0.2s; +} +/** + * ============================================= + * + * Components + * + * ============================================= + */ +.archive-header { + padding-top: 16px; + padding-bottom: 16px; +} +.archive-header__title { + font-size: 1em; + font-weight: bold; + margin: 0; +} +.archive-header p { + margin: 0; + font-size: 0.8em; +} +.comment-form .required { + font-weight: bold; +} +.comment-form-comment label, +.comment-form-author label, +.comment-form-email label, +.comment-form-url label { + display: block; + font-weight: bold; + margin-bottom: 0.1em; +} +.comment::before, +.pingback::before { + display: block; + content: ''; + border-top: 1px solid currentColor; + opacity: 0.2; +} +.comment > .comment, +.pingback > .pingback { + margin-left: 32px; +} +.comment.depth-1, +.pingback.depth-1 { + overflow: hidden; +} +.comment .says, +.pingback .says { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} +.comment .comment-body, +.pingback .comment-body { + margin: 16px 0; + position: relative; + padding-left: 32px; +} +.comment .comment-author, +.pingback .comment-author { + font-size: 0.9em; +} +.comment .comment-author .fn, +.pingback .comment-author .fn, +.comment .comment-author .avatar, +.pingback .comment-author .avatar { + vertical-align: bottom; +} +.comment .comment-author .avatar, +.pingback .comment-author .avatar { + position: absolute; + left: 0; +} +.comment .bypostauthor .fn::after, +.pingback .bypostauthor .fn::after { + content: "\f110"; + font-family: "Dashicons"; + font-size: 0.9em; + margin-left: 0.1em; + opacity: 0.6; + vertical-align: middle; +} +.comment .comment-metadata, +.pingback .comment-metadata { + font-size: 0.8em; +} +.comment .comment-content *:first-child, +.pingback .comment-content *:first-child { + margin-top: 0; +} +.comment .comment-content *:last-child, +.pingback .comment-content *:last-child { + margin-bottom: 0; +} +.comment .reply, +.pingback .reply { + font-size: 0.8em; +} +.pingback .comment-body { + padding-left: 0; + font-size: 0.9em; +} +.content-area { + position: relative; + background-color: inherit; +} +.custom-header { + box-sizing: border-box; + position: relative; + overflow: hidden; + color: #fff; + text-shadow: 1px 1px 6px rgba(0,0,0,0.3); +} +.custom-header .customize-partial-edit-shortcut-custom_header { + top: 64px; +} +.custom-header--has-image { + height: 75vh; +} +.admin-bar .custom-header--has-image { + height: calc(75vh - 46px); +} +.custom-header--has-image .custom-header__media { + position: fixed; + top: 0; + left: 0; + height: inherit; +} +.custom-header__media { + width: 100%; + height: 100%; +} +.custom-header__media .wp-custom-header { + width: 100%; + height: 100%; +} +.custom-header__media iframe, +.custom-header__media video, +.custom-header__media img { + display: block; + height: 100%; + width: 100%; + left: 0; + -o-object-fit: cover; + object-fit: cover; +} +.admin-bar .custom-header__media iframe, +.admin-bar .custom-header__media video, +.admin-bar .custom-header__media img { + height: calc(100% + 46px); +} +.custom-header__branding { + width: 100%; + padding-top: 32px; + padding-bottom: 32px; +} +.custom-header--has-image .custom-header__branding { + position: absolute; + bottom: 0; + background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%); + background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%); +} +.custom-header__title { + font-size: 2em; + font-weight: bold; + margin: 0; +} +.custom-header__title a { + color: inherit; + text-decoration: none; +} +.custom-header__description { + margin-top: 0; + margin-bottom: 0; + font-size: 1em; +} +.dashicons { + line-height: inherit; + font-size: 1em; + width: auto; + height: auto; +} +.entry-meta { + font-size: 0.8em; +} +.entry-meta__item { + margin-right: 0.5em; +} +.entry-meta__icon { + opacity: 0.7; + font-size: 1em; + width: 1.5em; + margin-right: 0.1em; + line-height: inherit; +} +.sticky .posted-on { + display: none; +} +.entry { + overflow: hidden; + padding-top: 16px; + padding-bottom: 16px; + border-bottom: 1px solid rgba(128,128,128,0.2); +} +.entry.has-post-thumbnail { + padding-top: 0; +} +.entry__featured-image { + margin-bottom: 32px; +} +.entry__body { + padding-left: 16px; + padding-right: 16px; +} +.entry__posted-on { + margin-top: 0; + margin-bottom: 0; +} +.entry__header { + margin-bottom: 1em; + margin-top: 16px; +} +.entry__title { + border: none; + font-size: 2em; + line-height: 1.6; + margin: 0; + padding: 0; +} +.entry__content { + margin-bottom: 16px; +} +.gallery { + clear: both; + margin: -8px; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-direction: row; + flex-direction: row; + -ms-flex-pack: distribute; + justify-content: space-around; +} +.gallery-item { + margin: 0 0 16px; + box-sizing: border-box; + position: relative; + -webkit-box-flex: 0; + -ms-flex-positive: 0; + flex-grow: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + padding: 0 8px; +} +.gallery-icon img { + display: block; + margin: 0 auto; +} +.navbar { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 100%; + -ms-flex: 100% 1 0px; + flex: 100% 1 0; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + padding-top: 16px; + padding-bottom: 16px; +} +.navbar__branding { + height: auto; +} +.navbar__branding img { + display: block; +} +.navbar__logo { + width: 48px; +} +.navbar__drawer-button { + white-space: nowrap; + -webkit-box-ordinal-group: 21; + -ms-flex-order: 20; + order: 20; + padding: 8px; + color: inherit; + font-size: 1.6rem; + border: none; + font-weight: normal; +} +.pagination { + margin: 3em 0; + text-align: center; +} +.pagination--small { + font-size: 0.8em; +} +.pagination a { + background-image: none; +} +.pagination .page-numbers { + display: inline-block; +} +.pagination .dots, +.pagination .prev, +.pagination .next, +.pagination .pagination__numbers { + border: none; + width: 2em; + height: 2em; + line-height: 2em; + text-align: center; + display: inline-block; + font-weight: bold; + color: inherit; + overflow: hidden; +} +.pagination .prev, +.pagination .next { + background: none; + margin: 0 1em; + display: inline-block; +} +.pagination__arrow { + background-origin: content-box; + width: 100%; + height: 100%; + display: inline-block; + font-size: 1em; + line-height: 2em; +} +.pagination .current { + border-bottom: 3px solid currentColor; +} +.panel { + position: relative; +} +.panel__content { + padding: 20px; +} +.customize-partial-edit-shortcuts-shown .panel .customize-partial-edit-shortcut button { + top: 0; + left: 1em; +} +.highlight-front-sections .panel::after { + border: 2px dashed #0085ba; + bottom: 0.5em; + content: ""; + display: block; + left: 0.5em; + position: absolute; + right: 0.5em; + top: 0.5em; + z-index: 1; +} +.postlist { + padding-left: 1.5em; +} +.postlist__pubdate { + font-family: monospace; +} +.postlist__item { + display: list-item; +} +.postlist__title { + display: inline; + font-weight: normal; + margin: 0; +} +.postlist-style-block .postlist { + padding-left: 0; +} +.postlist-style-block .postlist .postlist__item { + display: block; + margin-bottom: 0.5em; +} +.postlist-style-block .postlist .postlist__title { + display: block; + font-weight: normal; + font-size: 1.2em; +} +.primary-menu__links { + padding: 0; + margin: 0; + border-bottom: 1px solid rgba(0,0,0,0.1); +} +.primary-menu__links > ul { + margin: 0; + padding: 0; +} +.primary-menu__links ul, +.primary-menu__links li { + padding: 0; + list-style: none; +} +.primary-menu__links a { + color: inherit; + display: block; + padding: 1em; + text-decoration: none; + border-top: 1px solid rgba(0,0,0,0.12); +} +.primary-menu__links .dropdown-toggle { + position: absolute; + border: none; + top: 1px; + right: 0; + padding: 1em; + cursor: pointer; +} +.primary-menu__links .dropdown-toggle::before { + opacity: 0.6; + font-family: "dashicons"; + display: block; + text-align: center; + line-height: 1.1666666667em; + width: 1.1666666667em; + height: 1.1666666667em; + font-size: 1.5em; + content: "\f140"; +} +.primary-menu__links .dropdown-toggle::after { + content: ""; + position: absolute; + left: 0; + top: 1em; + border-left: 1px solid rgba(0,0,0,0.16); + height: 1.75em; +} +.primary-menu__links .dropdown-toggle[aria-expanded="true"]::before { + content: "\f142"; +} +.primary-menu__links li { + position: relative; +} +.primary-menu__links li .sub-menu, +.primary-menu__links li .children { + overflow: hidden; + -webkit-transition: height 0.2s ease-out 0s; + transition: height 0.2s ease-out 0s; +} +.primary-menu__links li .sub-menu li, +.primary-menu__links li .children li { + padding-left: 1em; +} +.primary-menu__links li .sub-menu[aria-expanded="false"], +.primary-menu__links li .children[aria-expanded="false"] { + height: 0 !important; + visibility: hidden; +} +.primary-menu__links li .sub-menu[aria-expanded="true"], +.primary-menu__links li .children[aria-expanded="true"] { + height: auto; + overflow: visible; + visibility: visible; +} +.search-form { + position: relative; + width: 100%; +} +.search-form .search-field { + width: 100%; + padding-right: 3em; +} +.search-form .search-submit { + border-color: transparent; + position: absolute; + top: 0; + right: 0; +} +.site-branding { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} +.site-branding__logo .custom-logo { + display: block; + margin-right: 16px; + max-width: 32px; +} +.site-branding__name { + font-size: 1em; + color: currentColor; + -webkit-box-flex: 1; + -ms-flex-positive: 1; + flex-grow: 1; + margin: 0; + font-weight: bold; + text-align: left; +} +.site-branding__name a { + color: inherit; +} +.site-footer { + overflow: hidden; + position: relative; + background-color: inherit; + border-top: 1px solid rgba(128,128,128,0.2); +} +.site-footer__body { + padding-top: 16px; +} +.site-main { + padding: 0; + overflow: hidden; +} +.widget { + margin-bottom: 16px; + margin-top: 16px; +} +.widget__title { + margin-top: 0; + margin-bottom: 16px; +} +/** + * ============================================= + * + * Trumps + * + * ============================================= + */ +.text-center { + text-align: center; +} +.text-inherit { + color: inherit; +} +.text-left { + text-align: left; +} +.text-right { + text-align: right; +} +.text-small { + font-size: 0.8em; +} +.text-large { + font-size: 1.3em; +} +.text-xlarge { + font-size: 1.5em; +} +.visible { + display: block; +} +.visible_inline { + display: inline; +} +.hidden { + display: none; +} +.visible-small-up { + display: none; +} +.visible-medium-up { + display: none; +} +.visible-large-up { + display: none; +} +.screen-reader-text { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + border: 0; +} +.screen-reader-text:focus { + background-color: #fff; + border-radius: 2px; + box-shadow: 0 0 2px 2px rgba(0,0,0,0.2); + clip: auto !important; + color: #21759b; + display: block; + font-weight: bold; + height: auto; + left: 0.5em; + line-height: normal; + padding: 1em 1.5em; + text-decoration: none; + top: 0.5em; + width: auto; + z-index: 100000; +} +#tinymce { + padding: 20px !important; + max-width: 1200px; + margin: auto; +} +.alignnone, +.alignleft, +.alignright, +.aligncenter, +.wp-post-image { + margin: 0 auto; + display: block; + float: none; +} +.wp-caption, +.wp-caption-text, +.entry-caption, +.gallery-caption { + margin: 0.6em 0 1.7em; +} +.wp-caption { + max-width: 100%; + width: auto !important; + background-color: transparent; + position: relative; + text-align: center; +} +.wp-caption img { + display: block; + margin: auto; +} +img.wp-smiley, +.rsswidget img { + border: 0; + border-radius: 0; + box-shadow: none; + margin-bottom: 0; + margin-top: 0; + padding: 0; +} +.wp-caption.alignleft + ul, +.wp-caption.alignleft + ol { + list-style-position: inside; +} +@media only screen and (min-width: 782px){ + + body{ + font-size: 1.6em; + } + + .admin-bar .app-layout__header{ + position: fixed; + padding-top: 32px !important; + } + + .container{ + padding-left: 32px; + } + + .container{ + padding-right: 32px; + } + + .admin-bar .drawer__body{ + position: fixed; + padding-top: 32px; + } + + .grid__u--medium--1_1{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--medium--1_2{ + width: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; + } + + .grid__u--medium--2_2{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--medium--1_3{ + width: 33.33333333333333%; + -ms-flex-preferred-size: 33.33333333333333%; + flex-basis: 33.33333333333333%; + } + + .grid__u--medium--2_3{ + width: 66.66666666666666%; + -ms-flex-preferred-size: 66.66666666666666%; + flex-basis: 66.66666666666666%; + } + + .grid__u--medium--3_3{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--medium--1_4{ + width: 25%; + -ms-flex-preferred-size: 25%; + flex-basis: 25%; + } + + .grid__u--medium--2_4{ + width: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; + } + + .grid__u--medium--3_4{ + width: 75%; + -ms-flex-preferred-size: 75%; + flex-basis: 75%; + } + + .grid__u--medium--4_4{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--medium--1_5{ + width: 20%; + -ms-flex-preferred-size: 20%; + flex-basis: 20%; + } + + .grid__u--medium--2_5{ + width: 40%; + -ms-flex-preferred-size: 40%; + flex-basis: 40%; + } + + .grid__u--medium--3_5{ + width: 60%; + -ms-flex-preferred-size: 60%; + flex-basis: 60%; + } + + .grid__u--medium--4_5{ + width: 80%; + -ms-flex-preferred-size: 80%; + flex-basis: 80%; + } + + .grid__u--medium--5_5{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--medium--1_6{ + width: 16.666666666666664%; + -ms-flex-preferred-size: 16.666666666666664%; + flex-basis: 16.666666666666664%; + } + + .grid__u--medium--2_6{ + width: 33.33333333333333%; + -ms-flex-preferred-size: 33.33333333333333%; + flex-basis: 33.33333333333333%; + } + + .grid__u--medium--3_6{ + width: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; + } + + .grid__u--medium--4_6{ + width: 66.66666666666666%; + -ms-flex-preferred-size: 66.66666666666666%; + flex-basis: 66.66666666666666%; + } + + .grid__u--medium--5_6{ + width: 83.33333333333334%; + -ms-flex-preferred-size: 83.33333333333334%; + flex-basis: 83.33333333333334%; + } + + .grid__u--medium--6_6{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--medium--1_7{ + width: 14.285714285714285%; + -ms-flex-preferred-size: 14.285714285714285%; + flex-basis: 14.285714285714285%; + } + + .grid__u--medium--2_7{ + width: 28.57142857142857%; + -ms-flex-preferred-size: 28.57142857142857%; + flex-basis: 28.57142857142857%; + } + + .grid__u--medium--3_7{ + width: 42.857142857142854%; + -ms-flex-preferred-size: 42.857142857142854%; + flex-basis: 42.857142857142854%; + } + + .grid__u--medium--4_7{ + width: 57.14285714285714%; + -ms-flex-preferred-size: 57.14285714285714%; + flex-basis: 57.14285714285714%; + } + + .grid__u--medium--5_7{ + width: 71.42857142857143%; + -ms-flex-preferred-size: 71.42857142857143%; + flex-basis: 71.42857142857143%; + } + + .grid__u--medium--6_7{ + width: 85.71428571428571%; + -ms-flex-preferred-size: 85.71428571428571%; + flex-basis: 85.71428571428571%; + } + + .grid__u--medium--7_7{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--medium--1_12{ + width: 8.333333333333332%; + -ms-flex-preferred-size: 8.333333333333332%; + flex-basis: 8.333333333333332%; + } + + .grid__u--medium--2_12{ + width: 16.666666666666664%; + -ms-flex-preferred-size: 16.666666666666664%; + flex-basis: 16.666666666666664%; + } + + .grid__u--medium--3_12{ + width: 25%; + -ms-flex-preferred-size: 25%; + flex-basis: 25%; + } + + .grid__u--medium--4_12{ + width: 33.33333333333333%; + -ms-flex-preferred-size: 33.33333333333333%; + flex-basis: 33.33333333333333%; + } + + .grid__u--medium--5_12{ + width: 41.66666666666667%; + -ms-flex-preferred-size: 41.66666666666667%; + flex-basis: 41.66666666666667%; + } + + .grid__u--medium--6_12{ + width: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; + } + + .grid__u--medium--7_12{ + width: 58.333333333333336%; + -ms-flex-preferred-size: 58.333333333333336%; + flex-basis: 58.333333333333336%; + } + + .grid__u--medium--8_12{ + width: 66.66666666666666%; + -ms-flex-preferred-size: 66.66666666666666%; + flex-basis: 66.66666666666666%; + } + + .grid__u--medium--9_12{ + width: 75%; + -ms-flex-preferred-size: 75%; + flex-basis: 75%; + } + + .grid__u--medium--10_12{ + width: 83.33333333333334%; + -ms-flex-preferred-size: 83.33333333333334%; + flex-basis: 83.33333333333334%; + } + + .grid__u--medium--11_12{ + width: 91.66666666666666%; + -ms-flex-preferred-size: 91.66666666666666%; + flex-basis: 91.66666666666666%; + } + + .grid__u--medium--12_12{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .archive-header{ + padding-top: 32px; + } + + .archive-header{ + padding-bottom: 32px; + } + + .custom-header--has-image{ + height: 100vh; + } + + .admin-bar .custom-header--has-image{ + height: calc(100vh - 32px); + } + + .admin-bar .custom-header__media iframe, + .admin-bar .custom-header__media video, + .admin-bar .custom-header__media img{ + height: 100%; + padding-top: 32px; + } + + .custom-header__branding{ + padding-top: 64px; + } + + .custom-header__branding{ + padding-bottom: 64px; + } + + .custom-header__title{ + font-size: 2.4em; + margin-bottom: 0; + } + + .custom-header__description{ + font-size: 1.2em; + } + + .entry{ + padding-top: 32px; + } + + .entry{ + padding-bottom: 32px; + } + + .entry__featured-image{ + margin-bottom: 64px; + } + + .entry__body{ + padding-left: 32px; + } + + .entry__body{ + padding-right: 32px; + } + + .entry__header{ + margin-top: 32px; + } + + .entry__content{ + margin-bottom: 32px; + } + + .gallery.gallery-columns-1 .gallery-item{ + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .gallery.gallery-columns-2 .gallery-item{ + -ms-flex-preferred-size: 50%; + flex-basis: 50%; + } + + .gallery.gallery-columns-3 .gallery-item{ + -ms-flex-preferred-size: 33.33333333333333%; + flex-basis: 33.33333333333333%; + } + + .gallery.gallery-columns-4 .gallery-item{ + -ms-flex-preferred-size: 25%; + flex-basis: 25%; + } + + .gallery.gallery-columns-5 .gallery-item{ + -ms-flex-preferred-size: 20%; + flex-basis: 20%; + } + + .gallery.gallery-columns-6 .gallery-item{ + -ms-flex-preferred-size: 16.666666666666664%; + flex-basis: 16.666666666666664%; + } + + .gallery.gallery-columns-7 .gallery-item{ + -ms-flex-preferred-size: 14.285714285714285%; + flex-basis: 14.285714285714285%; + } + + .gallery.gallery-columns-8 .gallery-item{ + -ms-flex-preferred-size: 12.5%; + flex-basis: 12.5%; + } + + .gallery.gallery-columns-9 .gallery-item{ + -ms-flex-preferred-size: 11.11111111111111%; + flex-basis: 11.11111111111111%; + } + + .site-branding__logo .custom-logo{ + max-width: 48px; + } + + .site-footer__body{ + padding-top: 32px; + } + + .widget{ + margin-bottom: 32px; + } + + .widget{ + margin-top: 32px; + } + + .visible-medium-up{ + display: block; + } + + .visible-medium-up_inline{ + display: inline; + } + + .hidden-medium-up{ + display: none; + } +} +@media only screen and (min-width: 600px){ + + .admin-bar .app-layout__header{ + position: fixed; + padding-top: 46px; + } + + .container{ + padding-left: 16px; + } + + .container{ + padding-right: 16px; + } + + .grid__u--small--1_1{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--small--1_2{ + width: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; + } + + .grid__u--small--2_2{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--small--1_3{ + width: 33.33333333333333%; + -ms-flex-preferred-size: 33.33333333333333%; + flex-basis: 33.33333333333333%; + } + + .grid__u--small--2_3{ + width: 66.66666666666666%; + -ms-flex-preferred-size: 66.66666666666666%; + flex-basis: 66.66666666666666%; + } + + .grid__u--small--3_3{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--small--1_4{ + width: 25%; + -ms-flex-preferred-size: 25%; + flex-basis: 25%; + } + + .grid__u--small--2_4{ + width: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; + } + + .grid__u--small--3_4{ + width: 75%; + -ms-flex-preferred-size: 75%; + flex-basis: 75%; + } + + .grid__u--small--4_4{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--small--1_5{ + width: 20%; + -ms-flex-preferred-size: 20%; + flex-basis: 20%; + } + + .grid__u--small--2_5{ + width: 40%; + -ms-flex-preferred-size: 40%; + flex-basis: 40%; + } + + .grid__u--small--3_5{ + width: 60%; + -ms-flex-preferred-size: 60%; + flex-basis: 60%; + } + + .grid__u--small--4_5{ + width: 80%; + -ms-flex-preferred-size: 80%; + flex-basis: 80%; + } + + .grid__u--small--5_5{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--small--1_6{ + width: 16.666666666666664%; + -ms-flex-preferred-size: 16.666666666666664%; + flex-basis: 16.666666666666664%; + } + + .grid__u--small--2_6{ + width: 33.33333333333333%; + -ms-flex-preferred-size: 33.33333333333333%; + flex-basis: 33.33333333333333%; + } + + .grid__u--small--3_6{ + width: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; + } + + .grid__u--small--4_6{ + width: 66.66666666666666%; + -ms-flex-preferred-size: 66.66666666666666%; + flex-basis: 66.66666666666666%; + } + + .grid__u--small--5_6{ + width: 83.33333333333334%; + -ms-flex-preferred-size: 83.33333333333334%; + flex-basis: 83.33333333333334%; + } + + .grid__u--small--6_6{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--small--1_7{ + width: 14.285714285714285%; + -ms-flex-preferred-size: 14.285714285714285%; + flex-basis: 14.285714285714285%; + } + + .grid__u--small--2_7{ + width: 28.57142857142857%; + -ms-flex-preferred-size: 28.57142857142857%; + flex-basis: 28.57142857142857%; + } + + .grid__u--small--3_7{ + width: 42.857142857142854%; + -ms-flex-preferred-size: 42.857142857142854%; + flex-basis: 42.857142857142854%; + } + + .grid__u--small--4_7{ + width: 57.14285714285714%; + -ms-flex-preferred-size: 57.14285714285714%; + flex-basis: 57.14285714285714%; + } + + .grid__u--small--5_7{ + width: 71.42857142857143%; + -ms-flex-preferred-size: 71.42857142857143%; + flex-basis: 71.42857142857143%; + } + + .grid__u--small--6_7{ + width: 85.71428571428571%; + -ms-flex-preferred-size: 85.71428571428571%; + flex-basis: 85.71428571428571%; + } + + .grid__u--small--7_7{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--small--1_12{ + width: 8.333333333333332%; + -ms-flex-preferred-size: 8.333333333333332%; + flex-basis: 8.333333333333332%; + } + + .grid__u--small--2_12{ + width: 16.666666666666664%; + -ms-flex-preferred-size: 16.666666666666664%; + flex-basis: 16.666666666666664%; + } + + .grid__u--small--3_12{ + width: 25%; + -ms-flex-preferred-size: 25%; + flex-basis: 25%; + } + + .grid__u--small--4_12{ + width: 33.33333333333333%; + -ms-flex-preferred-size: 33.33333333333333%; + flex-basis: 33.33333333333333%; + } + + .grid__u--small--5_12{ + width: 41.66666666666667%; + -ms-flex-preferred-size: 41.66666666666667%; + flex-basis: 41.66666666666667%; + } + + .grid__u--small--6_12{ + width: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; + } + + .grid__u--small--7_12{ + width: 58.333333333333336%; + -ms-flex-preferred-size: 58.333333333333336%; + flex-basis: 58.333333333333336%; + } + + .grid__u--small--8_12{ + width: 66.66666666666666%; + -ms-flex-preferred-size: 66.66666666666666%; + flex-basis: 66.66666666666666%; + } + + .grid__u--small--9_12{ + width: 75%; + -ms-flex-preferred-size: 75%; + flex-basis: 75%; + } + + .grid__u--small--10_12{ + width: 83.33333333333334%; + -ms-flex-preferred-size: 83.33333333333334%; + flex-basis: 83.33333333333334%; + } + + .grid__u--small--11_12{ + width: 91.66666666666666%; + -ms-flex-preferred-size: 91.66666666666666%; + flex-basis: 91.66666666666666%; + } + + .grid__u--small--12_12{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .archive-header{ + padding-top: 16px; + } + + .archive-header{ + padding-bottom: 16px; + } + + .custom-header__branding{ + padding-top: 32px; + } + + .custom-header__branding{ + padding-bottom: 32px; + } + + .entry{ + padding-top: 16px; + } + + .entry{ + padding-bottom: 16px; + } + + .entry__featured-image{ + margin-bottom: 32px; + } + + .entry__body{ + padding-left: 16px; + } + + .entry__body{ + padding-right: 16px; + } + + .entry__header{ + margin-top: 16px; + } + + .entry__content{ + margin-bottom: 16px; + } + + .site-branding__logo .custom-logo{ + max-width: 32px; + } + + .site-footer__body{ + padding-top: 16px; + } + + .widget{ + margin-bottom: 16px; + } + + .widget{ + margin-top: 16px; + } + + .visible-small-up{ + display: block; + } + + .visible-small-up_inline{ + display: inline; + } + + .aligncenter{ + margin-bottom: 2em; + } + + .alignleft{ + float: left; + margin: 0 2em 0 0; + } + + .alignright{ + float: right; + margin: 0 0 0 2em; + } + + .alignleft, + .alignright{ + max-width: 50%; + } +} +@media only screen and (min-width: 1000px){ + + .container{ + padding-left: 32px; + } + + .container{ + padding-right: 32px; + } + + .grid__u--large--1_1{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--large--1_2{ + width: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; + } + + .grid__u--large--2_2{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--large--1_3{ + width: 33.33333333333333%; + -ms-flex-preferred-size: 33.33333333333333%; + flex-basis: 33.33333333333333%; + } + + .grid__u--large--2_3{ + width: 66.66666666666666%; + -ms-flex-preferred-size: 66.66666666666666%; + flex-basis: 66.66666666666666%; + } + + .grid__u--large--3_3{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--large--1_4{ + width: 25%; + -ms-flex-preferred-size: 25%; + flex-basis: 25%; + } + + .grid__u--large--2_4{ + width: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; + } + + .grid__u--large--3_4{ + width: 75%; + -ms-flex-preferred-size: 75%; + flex-basis: 75%; + } + + .grid__u--large--4_4{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--large--1_5{ + width: 20%; + -ms-flex-preferred-size: 20%; + flex-basis: 20%; + } + + .grid__u--large--2_5{ + width: 40%; + -ms-flex-preferred-size: 40%; + flex-basis: 40%; + } + + .grid__u--large--3_5{ + width: 60%; + -ms-flex-preferred-size: 60%; + flex-basis: 60%; + } + + .grid__u--large--4_5{ + width: 80%; + -ms-flex-preferred-size: 80%; + flex-basis: 80%; + } + + .grid__u--large--5_5{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--large--1_6{ + width: 16.666666666666664%; + -ms-flex-preferred-size: 16.666666666666664%; + flex-basis: 16.666666666666664%; + } + + .grid__u--large--2_6{ + width: 33.33333333333333%; + -ms-flex-preferred-size: 33.33333333333333%; + flex-basis: 33.33333333333333%; + } + + .grid__u--large--3_6{ + width: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; + } + + .grid__u--large--4_6{ + width: 66.66666666666666%; + -ms-flex-preferred-size: 66.66666666666666%; + flex-basis: 66.66666666666666%; + } + + .grid__u--large--5_6{ + width: 83.33333333333334%; + -ms-flex-preferred-size: 83.33333333333334%; + flex-basis: 83.33333333333334%; + } + + .grid__u--large--6_6{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--large--1_7{ + width: 14.285714285714285%; + -ms-flex-preferred-size: 14.285714285714285%; + flex-basis: 14.285714285714285%; + } + + .grid__u--large--2_7{ + width: 28.57142857142857%; + -ms-flex-preferred-size: 28.57142857142857%; + flex-basis: 28.57142857142857%; + } + + .grid__u--large--3_7{ + width: 42.857142857142854%; + -ms-flex-preferred-size: 42.857142857142854%; + flex-basis: 42.857142857142854%; + } + + .grid__u--large--4_7{ + width: 57.14285714285714%; + -ms-flex-preferred-size: 57.14285714285714%; + flex-basis: 57.14285714285714%; + } + + .grid__u--large--5_7{ + width: 71.42857142857143%; + -ms-flex-preferred-size: 71.42857142857143%; + flex-basis: 71.42857142857143%; + } + + .grid__u--large--6_7{ + width: 85.71428571428571%; + -ms-flex-preferred-size: 85.71428571428571%; + flex-basis: 85.71428571428571%; + } + + .grid__u--large--7_7{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .grid__u--large--1_12{ + width: 8.333333333333332%; + -ms-flex-preferred-size: 8.333333333333332%; + flex-basis: 8.333333333333332%; + } + + .grid__u--large--2_12{ + width: 16.666666666666664%; + -ms-flex-preferred-size: 16.666666666666664%; + flex-basis: 16.666666666666664%; + } + + .grid__u--large--3_12{ + width: 25%; + -ms-flex-preferred-size: 25%; + flex-basis: 25%; + } + + .grid__u--large--4_12{ + width: 33.33333333333333%; + -ms-flex-preferred-size: 33.33333333333333%; + flex-basis: 33.33333333333333%; + } + + .grid__u--large--5_12{ + width: 41.66666666666667%; + -ms-flex-preferred-size: 41.66666666666667%; + flex-basis: 41.66666666666667%; + } + + .grid__u--large--6_12{ + width: 50%; + -ms-flex-preferred-size: 50%; + flex-basis: 50%; + } + + .grid__u--large--7_12{ + width: 58.333333333333336%; + -ms-flex-preferred-size: 58.333333333333336%; + flex-basis: 58.333333333333336%; + } + + .grid__u--large--8_12{ + width: 66.66666666666666%; + -ms-flex-preferred-size: 66.66666666666666%; + flex-basis: 66.66666666666666%; + } + + .grid__u--large--9_12{ + width: 75%; + -ms-flex-preferred-size: 75%; + flex-basis: 75%; + } + + .grid__u--large--10_12{ + width: 83.33333333333334%; + -ms-flex-preferred-size: 83.33333333333334%; + flex-basis: 83.33333333333334%; + } + + .grid__u--large--11_12{ + width: 91.66666666666666%; + -ms-flex-preferred-size: 91.66666666666666%; + flex-basis: 91.66666666666666%; + } + + .grid__u--large--12_12{ + width: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + } + + .archive-header{ + padding-top: 32px; + } + + .archive-header{ + padding-bottom: 32px; + } + + .custom-header__branding{ + padding-top: 64px; + } + + .custom-header__branding{ + padding-bottom: 64px; + } + + .entry{ + padding-top: 32px; + } + + .entry{ + padding-bottom: 32px; + } + + .entry__featured-image{ + margin-bottom: 64px; + } + + .entry__body{ + padding-left: 32px; + } + + .entry__body{ + padding-right: 32px; + } + + .entry__header{ + margin-top: 32px; + } + + .entry__content{ + margin-bottom: 32px; + } + + .site-footer__body{ + padding-top: 32px; + } + + .widget{ + margin-bottom: 32px; + } + + .widget{ + margin-top: 32px; + } + + .visible-large-up{ + display: block; + } + + .visible-large-up_inline{ + display: inline; + } + + .hidden-large-up{ + display: none; + } +} + +/*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlLnN0eWwiLCJzdHlsZS5jc3MiLCIuLi8uLi9ub2RlX21vZHVsZXMvbm9ybWFsaXplLmNzcy9ub3JtYWxpemUuY3NzIiwiQmFzZS9lbWJlZC5zdHlsIiwiQmFzZS9mb3JtLnN0eWwiLCJCYXNlL2hlYWRpbmcuc3R5bCIsIkJhc2UvaHIuc3R5bCIsIkJhc2UvbGlua3Muc3R5bCIsIkJhc2UvbGlzdC5zdHlsIiwiQmFzZS90YWJsZS5zdHlsIiwiQmFzZS90eXBvZ3JhcGh5LnN0eWwiLCJPYmplY3RzL2FwcC1sYXlvdXQuc3R5bCIsIk9iamVjdHMvY29udGFpbmVyLnN0eWwiLCJUb29scy9taXhpbi5zdHlsIiwiT2JqZWN0cy9kcmF3ZXIuc3R5bCIsIk9iamVjdHMvZ3JpZC5zdHlsIiwiT2JqZWN0cy9oYW1idXJnZXItYnRuLnN0eWwiLCJDb21wb25lbnRzL2FyY2hpdmUtaGVhZGVyLnN0eWwiLCJDb21wb25lbnRzL2NvbW1lbnQtZm9ybS5zdHlsIiwiQ29tcG9uZW50cy9jb21tZW50LnN0eWwiLCJUb29scy9sb2dpY2FsLXByb3BzLnN0eWwiLCJDb21wb25lbnRzL2NvbnRlbnQtYXJlYS5zdHlsIiwiQ29tcG9uZW50cy9jdXN0b20taGVhZGVyLnN0eWwiLCJDb21wb25lbnRzL2Rhc2hpY29ucy5zdHlsIiwiQ29tcG9uZW50cy9lbnRyeS1tZXRhLnN0eWwiLCJDb21wb25lbnRzL2VudHJ5LnN0eWwiLCJDb21wb25lbnRzL2dhbGxlcnkuc3R5bCIsIkNvb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O0daKzZETDs7RVloN0RjO0lBQ1Qsb0JBQUE7R1p3OERMOztFWXo4RGM7SUFDVCxrQkFBQTtHWjR2RUw7O0VZN3ZFYztJQUNULG9CQUFBO0dabXhFTDs7RVlweEVjO0lBQ1QsaUJBQUE7R1preUVMOztFcUM1eEVjO0lBQ2YsZUFBQTtHckN1MkVDOztFcUN0MkVEO0lBQ0MsZ0JBQUE7R3JDdzJFQTs7RXFDbDJFYztJQUNmLGNBQUE7R3JDczJFQztDQXZwREYiLCJmaWxlIjoic3R5bGUuY3NzIiwic291cmNlUm9vdCI6Ii4vYXNzZXRzL3N0eWxlcyJ9 */ diff --git a/wp-content/themes/vanilla/template-parts/content-front-page-panels.php b/wp-content/themes/vanilla/template-parts/content-front-page-panels.php new file mode 100644 index 0000000000000000000000000000000000000000..0242ae16f484cd773ac6a1b3653ece4a4c611700 --- /dev/null +++ b/wp-content/themes/vanilla/template-parts/content-front-page-panels.php @@ -0,0 +1,77 @@ +<?php +/** + * Template part for content. + * + * @package vanilla + */ + +global $vanillacounter; + +?> + +<article id="panel<?php echo esc_attr( $vanillacounter ); ?>" <?php post_class( 'entry panel' ); ?>> + <?php if ( get_the_post_thumbnail() ) : ?> + <div class="post-thumbnail entry__featured-image"> + <?php if ( is_singular() ) : ?> + <?php the_post_thumbnail( 'vanilla-featured-image' ); ?> + <?php else : ?> + <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'vanilla-featured-image' ); ?></a> + <?php endif;?> + + </div> + <?php endif; ?> + + <div class="entry__body container"> + + <header class="entry-header entry__header"> + <h2 class="entry-title entry__title"><?php the_title(); ?></h2> + </header> + <div class="entry-content entry__content"> + + <?php + // Show recent blog posts if is blog posts page (Note that get_option returns a string, so we're casting the result as an int). + if ( get_the_ID() === (int) get_option( 'page_for_posts' ) ) : ?> + + <?php // Show four most recent posts. + $recent_posts = new WP_Query( array( + 'post_status' => 'publish', + 'ignore_sticky_posts' => true, + 'no_found_rows' => true, + ) ); + ?> + + <?php if ( $recent_posts->have_posts() ) : ?> + + <div class="postlist"> + <?php + while ( $recent_posts->have_posts() ) : $recent_posts->the_post(); + ?> + <article class="postlist__item" itemscope + itemtype="http://schema.org/Article"> + <time class="postlist__pubdate" + itemprop="datePublished" content="<?php the_time( 'c' ); ?>"><?php the_time( 'Y.m.d' ); ?></time> + <meta itemprop="dateModified" content="<?php the_modified_date( 'c' );?>"> + <h5 class="postlist__title"><a href="<?php the_permalink(); ?>"><span itemprop="headline"><?php the_title(); ?></span></a></h5> + </article> + <?php + endwhile; + wp_reset_postdata(); + ?> + </div> + <?php endif; ?> + + <?php else : ?> + <?php + /* translators: %s: Name of current post */ + the_content( sprintf( + __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'vanilla' ), + get_the_title() + ) ); + ?> + <?php endif; ?> + + </div> + </div> + + +</article><!-- #post-## --> diff --git a/wp-content/themes/vanilla/template-parts/content-none.php b/wp-content/themes/vanilla/template-parts/content-none.php new file mode 100644 index 0000000000000000000000000000000000000000..e48dc40603bcc3441948b56f7c868f2396987de3 --- /dev/null +++ b/wp-content/themes/vanilla/template-parts/content-none.php @@ -0,0 +1,39 @@ +<?php +/** + * Template part for displaying a message that posts cannot be found. + * + * @link https://codex.wordpress.org/Template_Hierarchy + * + * @package vanilla + */ + +?> + +<section class="entry"> + <div class="entry__body container"> + <header class="entry-header entry__header"> + <h1 class="entry-title entry__title"><?php esc_html_e( 'Nothing Found', 'vanilla' ); ?></h1> + </header> + + <div class="entry-content entry__content"> + <?php + if ( is_home() && current_user_can( 'publish_posts' ) ) : ?> + + <p><?php printf( wp_kses( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'vanilla' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p> + + <?php elseif ( is_search() ) : ?> + + <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'vanilla' ); ?></p> + <?php + get_search_form(); + + else : ?> + + <p><?php esc_html_e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'vanilla' ); ?></p> + <?php + get_search_form(); + + endif; ?> + </div> + </div> +</section> diff --git a/wp-content/themes/vanilla/template-parts/content.php b/wp-content/themes/vanilla/template-parts/content.php new file mode 100644 index 0000000000000000000000000000000000000000..4f90bf476339e5dea22793076bd896818e9cc428 --- /dev/null +++ b/wp-content/themes/vanilla/template-parts/content.php @@ -0,0 +1,87 @@ +<?php +/** + * Template part for content. + * + * @package vanilla + */ + +?> + +<article id="post-<?php the_ID(); ?>" <?php post_class( 'entry' ); ?>> + <?php if ( get_the_post_thumbnail() ) : ?> + <div class="post-thumbnail entry__featured-image"> + <?php if ( is_singular() ) : ?> + <?php the_post_thumbnail( 'vanilla-featured-image' ); ?> + <?php else : ?> + <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'vanilla-featured-image' ); ?></a> + <?php endif;?> + + </div> + <?php endif; ?> + + <div class="entry__body container"> + + <header class="entry-header entry__header"> + <?php + if ( is_sticky() && is_home() && ! is_paged() ) :?> + <div class="sticky-post"> + <span class="dashicons dashicons-admin-post"></span> + <?php esc_html_e( 'Featured', 'vanilla' ); ?> + </div> + + <?php + elseif ( in_array( get_post_type(), array( 'post', 'attachment' ) ) ) : ?> + + <p class="entry__posted-on posted-on"> + <span class="dashicons dashicons-calendar"></span> + <span class="screen-reader-text"><?php echo esc_html_x( 'Posted on', 'Used before publish date.', 'vanilla' ); ?></span> + <time class="entry-date published" datetime="<?php the_time( 'c' ); ?>"><?php echo get_the_date(); ?></time> + </p> + + <?php + endif; ?> + + <?php if ( is_singular() && ! is_front_page() ) : ?> + <h1 class="entry-title entry__title"><?php the_title(); ?></h1> + <?php elseif ( is_singular() && is_front_page() ) : ?> + <h2 class="entry-title entry__title"><?php the_title(); ?></h2> + <?php else : ?> + <h2 class="entry-title entry__title"><?php the_title( '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a>' ); ?></h2> + <?php endif;?> + + <div class="entry__meta"> + <?php vanilla_entry_meta(); ?> + </div> + </header> + + <div class="entry-content entry__content"> + <?php + if ( is_singular() ) : + the_content(); + + wp_link_pages( array( + 'before' => '<div class="page-links pagination">', + 'after' => '</div>', + 'link_before' => '<span class="pagination__numbers">', + 'link_after' => '</span>', + + ) ); + else : + the_excerpt(); + ?> + <p><a href="<?php the_permalink();?>" class="read-more"><?php printf( wp_kses_post( __( 'Continue reading <span class="screen-reader-text">%1$s</span>', 'vanilla' ) ), esc_attr( strip_tags( get_the_title() ) ) );?></a></p> + <?php + endif; + ?> + + <?php vanilla_entry_footer();?> + </div> + <?php + if ( is_singular() and ( comments_open() || get_comments_number() ) ) : ?> + <?php comments_template(); ?> + <?php endif; ?> + + </div> + + +</article><!-- #post-## -->