/* Theme Name: Borderliner Theme URI: http://borderliner.beek.jp/ Author: Satoshi Yoshida Author URI: http://beek.jp/ Description: Borderliner offers a simple and minimal design. Difficult setting is not required. Lets build beautiful site. Version: 1.0.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: borderliner Tags: white, blue, light */ /*-------------------------------------------------------------- # Variables and Mixins --------------------------------------------------------------*/ @import url(https://fonts.googleapis.com/css?family=Lato); /*-------------------------------------------------------------- # Typography --------------------------------------------------------------*/ h1, h2, h3, h4, h5, h6 { clear: both; } .site-footer { border-top: 1px solid #dddddd; margin-top: 20px; padding: 20px 0; text-align: center; } html * { font-family: "FontAwesome", "Lato", "hiragino kaku gothic pro", meiryo, "ms pgothic", helvetica, arial, sans-serif; } html div, html h1, html h2, html h3, html h4, html h5, html p, html span { color: #333333; } html a { color: #009ae1; } html #content { border-left: 1px solid #dddddd; border-right: 1px solid #dddddd; } @media screen and (max-width: 768px) { html #content { border-left: none; border-right: none; } } /*-------------------------------------------------------------- # Forms --------------------------------------------------------------*/ .search-field, #comment { border: 1px solid #dddddd; font-weight: normal; padding: 5px 10px; } .search-field { width: 100%; } #comment { width: 100%; } /*-------------------------------------------------------------- # Navigation --------------------------------------------------------------*/ /*-------------------------------------------------------------- ## Menus --------------------------------------------------------------*/ #masthead { padding-bottom: 50px; } #masthead .site-title { text-align: center; margin-top: 10px; } #masthead .site-title a { color: #009ae1; text-decoration: none; } #masthead .site-description { text-align: center; font-size: 1.4rem; margin: 0; color: #666666; } #masthead #site-navigation { z-index: 999; } #masthead #site-navigation, #masthead #site-navigation ul, #masthead #site-navigation ul li, #masthead #site-navigation ul li a, #masthead #site-navigation #menu-button { margin: 0; padding: 0; border: 0; list-style: none; line-height: 1; display: block; position: relative; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } #masthead #site-navigation:after, #masthead #site-navigation > ul:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } #masthead #site-navigation #menu-button { display: none; } #masthead #site-navigation { width: auto; line-height: 1; background: #ffffff; } #masthead #site-navigation > ul > li { float: left; } #masthead #site-navigation.align-center > ul { font-size: 0; text-align: center; } #masthead #site-navigation.align-center > ul > li { display: inline-block; float: none; } #masthead #site-navigation.align-center ul ul { text-align: left; } #masthead #site-navigation.align-right > ul > li { float: right; } #masthead #site-navigation.align-right ul ul { text-align: right; } #masthead #site-navigation > ul > li > a { padding: 20px; font-size: 1.4rem; text-decoration: none; text-transform: uppercase; color: #000000; -webkit-transition: color .2s ease; -moz-transition: color .2s ease; -ms-transition: color .2s ease; -o-transition: color .2s ease; transition: color .2s ease; } #masthead #site-navigation > ul > li:hover > a, #masthead #site-navigation > ul > li.active > a { color: #009ae1; } #masthead #site-navigation > ul > li.menu-item-has-children > a { padding-right: 25px; } #masthead #site-navigation > ul > li.menu-item-has-children > a::after { position: absolute; top: 24px; right: 10px; width: 4px; height: 4px; border-bottom: 1px solid #333333; border-right: 1px solid #333333; content: ""; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); -webkit-transition: border-color 0.2s ease; -moz-transition: border-color 0.2s ease; -ms-transition: border-color 0.2s ease; -o-transition: border-color 0.2s ease; transition: border-color 0.2s ease; } #masthead #site-navigation > ul > li.menu-item-has-children:hover > a::after { border-color: #009ae1; } #masthead #site-navigation ul ul { position: absolute; left: -9999px; } #masthead #site-navigation li:hover > ul { left: auto; } #masthead #site-navigation.align-right li:hover > ul { right: 0; } #masthead #site-navigation ul ul ul { margin-left: 100%; top: 0; } #masthead #site-navigation.align-right ul ul ul { margin-left: 0; margin-right: 100%; } #masthead #site-navigation ul ul li { height: 0; -webkit-transition: height .2s ease; -moz-transition: height .2s ease; -ms-transition: height .2s ease; -o-transition: height .2s ease; transition: height .2s ease; } #masthead #site-navigation ul li:hover > ul > li { height: 32px; } #masthead #site-navigation ul ul li a { padding: 10px 20px; width: 160px; font-size: 12px; background: #fafafa; text-decoration: none; color: #333; -webkit-transition: color .2s ease; -moz-transition: color .2s ease; -ms-transition: color .2s ease; -o-transition: color .2s ease; transition: color .2s ease; } #masthead #site-navigation ul ul li:hover > a, #masthead #site-navigation ul ul li a:hover { color: #009ae1; } #masthead #site-navigation ul ul li.menu-item-has-children > a::after { position: absolute; top: 13px; right: 10px; width: 4px; height: 4px; border-bottom: 1px solid #333; border-right: 1px solid #333; content: ""; -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); -webkit-transition: border-color 0.2s ease; -moz-transition: border-color 0.2s ease; -ms-transition: border-color 0.2s ease; -o-transition: border-color 0.2s ease; transition: border-color 0.2s ease; } #masthead #site-navigation.align-right ul ul li.menu-item-has-children > a::after { right: auto; left: 10px; border-bottom: 0; border-right: 0; border-top: 1px solid #dddddd; border-left: 1px solid #dddddd; } #masthead #site-navigation ul ul li.menu-item-has-children:hover > a::after { border-color: #009ae1; } @media screen and (max-width: 768px) { #masthead #site-navigation { width: 100%; } #masthead #site-navigation #primary-menu { background-color: #fafafa; } #masthead #site-navigation ul { width: 100%; display: none; } #masthead #site-navigation.align-center > ul, #masthead #site-navigation.align-right ul ul { text-align: left; } #masthead #site-navigation ul li, #masthead #site-navigation ul ul li, #masthead #site-navigation ul li:hover > ul > li { width: 100%; height: auto; border-top: 1px solid rgba(120, 120, 120, 0.15); } #masthead #site-navigation ul li a, #masthead #site-navigation ul ul li a { width: 100%; } #masthead #site-navigation > ul > li, #masthead #site-navigation.align-center > ul > li, #masthead #site-navigation.align-right > ul > li { float: none; display: block; } #masthead #site-navigation ul ul li a { padding: 20px 20px 20px 30px; font-size: 12px; color: #000000; background: none; } #masthead #site-navigation ul ul li:hover > a, #masthead #site-navigation ul ul li a:hover { color: #000000; } #masthead #site-navigation ul ul ul li a { padding-left: 40px; } #masthead #site-navigation ul ul, #masthead #site-navigation ul ul ul { position: relative; left: 0; right: auto; width: 100%; margin: 0; } #masthead #site-navigation > ul > li.menu-item-has-children > a::after, #masthead #site-navigation ul ul li.menu-item-has-children > a::after { display: none; } #masthead #site-navigation #menu-button { margin-top: 20px; display: block; padding: 20px; color: #000000; cursor: pointer; font-size: 12px; text-transform: uppercase; background-color: #eee; } #masthead #site-navigation #menu-button::after { content: ''; position: absolute; top: 20px; right: 20px; display: block; width: 15px; height: 2px; background: #000000; } #masthead #site-navigation #menu-button::before { content: ''; position: absolute; top: 25px; right: 20px; display: block; width: 15px; height: 7px; border-top: 2px solid #000000; border-bottom: 2px solid #000000; } #masthead #site-navigation .submenu-button { position: absolute; z-index: 10; right: 0; top: 0; display: block; border-left: 1px solid rgba(120, 120, 120, 0.15); height: 52px; width: 52px; cursor: pointer; } #masthead #site-navigation .submenu-button::after { content: ''; position: absolute; top: 21px; left: 26px; display: block; width: 1px; height: 11px; background: #000000; z-index: 99; } #masthead #site-navigation .submenu-button::before { content: ''; position: absolute; left: 21px; top: 26px; display: block; width: 11px; height: 1px; background: #000000; z-index: 99; } #masthead #site-navigation .submenu-button.submenu-opened:after { display: none; } } @media screen and (max-width: 768px) { #masthead { padding-bottom: 20px; } #masthead .site-title { margin-top: 20px; } } /*-------------------------------------------------------------- # Accessibility --------------------------------------------------------------*/ /* Text meant only for screen readers. */ .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; } .screen-reader-text:focus { border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; display: block; font-size: 14px; font-size: 0.875rem; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar. */ } /* Do not show the outline on the skip link target. */ #content[tabindex="-1"]:focus { outline: 0; } /*-------------------------------------------------------------- # Alignments --------------------------------------------------------------*/ .alignleft { display: inline; float: left; margin-right: 1.5em; } .alignright { display: inline; float: right; margin-left: 1.5em; } .aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; } /*-------------------------------------------------------------- # Clearings --------------------------------------------------------------*/ .clear:before, .clear:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after { content: ""; display: table; table-layout: fixed; } .clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after { clear: both; } /*-------------------------------------------------------------- # Widgets --------------------------------------------------------------*/ .widget { border-bottom: 1px solid #dddddd; padding-bottom: 20px; margin-bottom: 20px; } .widget:last-child { border-bottom: none; } .widget .widget-title { margin-top: 0; font-size: 2.0rem; font-weight: normal; } .widget.widget_search .search-form label { width: 100%; margin: 0; } .widget.widget_search .search-form label .screen-reader-text { display: none; } .widget.widget_search .search-form .search-submit { display: none; } .widget ul { list-style: none; padding-left: 10px; } /*-------------------------------------------------------------- # Content --------------------------------------------------------------*/ /*-------------------------------------------------------------- ## Posts and pages --------------------------------------------------------------*/ #primary { border-right: 1px solid #dddddd; } #primary .sticky { display: block; } #primary .hentry { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid #dddddd; } #primary .hentry:last-child { border-bottom: none; } #primary .hentry .entry-header .thumbnail-anchor { display: block; } #primary .hentry .entry-header .thumbnail-anchor img { width: 100%; } #primary .hentry .entry-header .entry-title { margin-bottom: 0; } #primary .hentry .entry-header .entry-title a { font-size: 2.8rem; } #primary .hentry .entry-header .entry-meta .posted-on { display: inline-block; margin-right: 10px; } #primary .hentry .entry-header .entry-meta .byline { display: inline-block; } #primary .hentry .entry-content { padding: 10px; font-size: 1.6rem; margin: 10px 0; } #primary .hentry .entry-content img { max-width: 100%; height: auto; } #primary .hentry .entry-footer .cat-links { display: block; } #primary .hentry .entry-footer .tags-links { display: block; } #primary .hentry .entry-footer .comments-link { display: block; } #primary .hentry .entry-footer .edit-link { display: block; } #primary .navigation { padding-bottom: 10px; } #primary .navigation .previous { text-align: left; } #primary .navigation .next { text-align: right; } #primary .navigation div a { display: inline-block; padding: 5px 10px; border: 1px solid #009ae1; color: #009ae1; text-decoration: none; } @media screen and (max-width: 768px) { #primary { border-right: none; } #primary .navigation { padding-bottom: 30px; } } .page #primary .entry-header .entry-title { font-size: 2.8rem; } .archive #primary .page-header { margin-top: 0; } .archive #primary .page-header .page-title { font-size: 2.8rem; } .search #primary .page-header { margin-top: 0; } .search #primary .page-header .page-title { font-size: 2.8rem; } .error404 #primary .page-header { margin-top: 0; } .error404 #primary .page-header .page-title { font-size: 2.8rem; } .error404 #primary .page-content { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #dddddd; } .error404 #primary .page-content .error404-archive { list-style: none; margin-bottom: 0; padding-left: 10px; } .error404 #primary .page-content .error404-archive li { font-size: 1.6rem; } .error404 #primary .page-content .error404-tags { padding-left: 10px; } .error404 #primary .page-content .error404-tags a { display: inline-block; margin-right: 10px; margin-bottom: 10px; font-size: 1.4rem !important; text-decoration: none; padding: 5px 10px; border: 1px solid #009ae1; } .error404 #primary .page-content .error404-tags a:hover { color: #009ae1; } #primary.nosidebar { border-right: none; } /*-------------------------------------------------------------- ## Comments --------------------------------------------------------------*/ .comments-area .comments-title { font-size: 2.0rem; } .comments-area .comment-list .parent { margin-bottom: 20px; } .comments-area .comment-respond .comment-reply-title { font-size: 2.0rem; } .comments-area .comment-respond .comment-form .comment-form-comment label { display: none; } .comments-area .comment-respond .comment-form .form-submit input { background-color: #fff; display: inline-block; padding: 5px 10px; border: 1px solid #009ae1; color: #009ae1; text-decoration: none; } .bypostauthor { display: block; } /*-------------------------------------------------------------- # Media --------------------------------------------------------------*/ .page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; } /* Make sure embeds and iframes fit their containers. */ embed, iframe, object { max-width: 100%; } /*-------------------------------------------------------------- ## Captions --------------------------------------------------------------*/ .wp-caption { margin-bottom: 1.5em; max-width: 100%; } .wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; } .wp-caption .wp-caption-text { margin: 0.8075em 0; } .wp-caption-text { text-align: center; } /*-------------------------------------------------------------- ## Galleries --------------------------------------------------------------*/ .gallery { margin-bottom: 1.5em; } .gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%; } .gallery-columns-2 .gallery-item { max-width: 50%; } .gallery-columns-3 .gallery-item { max-width: 33.33%; } .gallery-columns-4 .gallery-item { max-width: 25%; } .gallery-columns-5 .gallery-item { max-width: 20%; } .gallery-columns-6 .gallery-item { max-width: 16.66%; } .gallery-columns-7 .gallery-item { max-width: 14.28%; } .gallery-columns-8 .gallery-item { max-width: 12.5%; } .gallery-columns-9 .gallery-item { max-width: 11.11%; } .gallery-caption { display: block; } /*# sourceMappingURL=style.css.map */