/* Theme Name: First Theme URI: http://themehaus.net/themes/first/ Author: Takao Utsumi Author URI: http://themehaus.net/ Description: First is a simple yet flexible WordPress theme for blogs. From beginner bloggers to pro bloggers, it has features for everyone. First is made using responsive design, so it offers a pleasant reading experience even on tablets and smartphones. First comes with 4 widgets and 3 menus. Because the Customizer also allows you to set up custom headers and backgrounds, you can set your blog up just the way you want it. Version: 2.0.4 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: first Tags: one-column, two-columns, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready */ /* TABLE OF CONTENTS ------------------------------------------------------------ * Global * Repeatable Patterns * Layout * Header * Menu * Content * Navigations * Comments * Widgets * Footer * Plugins * Print ------------------------------------------------------------ */ /* Global ------------------------------------------------------------ */ /* Root This values are used for adjusting headings size (not for body size) */ html { font-size: 90%; } @media screen and (min-width: 783px) { html { font-size: 100%; } } /* Base */ body { color: #333; font-family: 'Source Sans Pro', sans-serif; font-size: 17px; line-height: 1.5; word-wrap: break-word; } ::selection { background-color: #fffad3; color: #333; } ::-moz-selection { background-color: #fffad3; color: #333; } @media screen and (min-width: 783px) { body { font-size: 18px; } } /* Heading */ h1, h2, h3, h4, h5, h6 { clear: both; color: #111; font-family: 'Source Sans Pro', sans-serif; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; } h1 { font-size: 36px; font-size: 2.25rem; margin-bottom: 1em; margin-top: 2em; } h2 { font-size: 28px; font-size: 1.75rem; margin-bottom: 1em; margin-top: 2em; } h3 { font-size: 24px; font-size: 1.5rem; margin-bottom: 1em; margin-top: 1.5em; } h4 { font-size: 20px; font-size: 1.25rem; margin-bottom: 1em; margin-top: 1.5em; } h5 { font-size: 18px; font-size: 1.125rem; margin-bottom: 0.5em; margin-top: 1em; } h6 { font-size: 17px; font-size: 1.063rem; margin-bottom: 0.5em; margin-top: 1em; } /* Link */ a { color: inherit; text-decoration: none; transition: background-color .2s ease-in-out, border-color .2s ease-in-out, color .2s ease-in-out, opacity .2s ease-in-out; } .entry-content a, .entry-summary a, .page-content a, .comment-content a, .post-navigation a { color: #3872b8; text-decoration: underline; } a:hover { color: #5687c3; } /* Text */ p { margin: 0 0 1.5em; } b, strong { font-weight: 700; } dfn, q, cite, em, i { font-style: italic; } q { quotes: "" ""; } cite { border-bottom: dotted 1px #999; } code, kbd, tt, var { color: #666; border-bottom: solid 1px #ccc; font-family: Consolas, 'Courier New', monospace; font-size: 87.5%; } abbr, acronym { border-bottom: 1px dotted #999; cursor: help; } mark, ins { background-color: #fffad3; color: #333; text-decoration: none; } /* List */ ul, ol { margin: 0 0 1.5em 2em; padding: 0; } li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; } dl { margin: 0; } dt { font-weight: 600; margin-bottom: 0.4em; } dd { margin: 0 0 1.5em 1.5em; } /* Table */ table { border-top: solid 1px #e6e6e6; font-size: 93.8%; margin: 0 0 1.6em; width: 100%; } caption { margin-bottom: 0.6em; } table th, table td { border-bottom: solid 1px #e6e6e6; padding: 0.8em 1.2em 0.8em 0; } th { font-weight: 600; text-align: left; } /* Elements */ blockquote { color: #888; font-style: italic; margin: 0 0 2.4em; padding: 12px 0 0 44px; position: relative; } blockquote:before { color: #ddd; content: "\201C"; font-family: Georgia, serif; font-size: 84px; left: -5px; line-height: 1; position: absolute; top: -5px; } address { margin: 0 0 1.5em; } pre { border-bottom: solid 1px #ccc; border-top: solid 1px #ccc; color: #666; font-family: Consolas, 'Courier New', monospace; font-size: 87.5%; line-height: 1.4; margin: 0 0 1.7em; max-width: 100%; padding: 1.4em 0; word-wrap: normal; } hr { background-color: #eee; border: 0; height: 1px; margin: 0 0 1.5em; } /* Media */ img { height: auto; max-width: 100%; vertical-align: middle; } figure { margin: 0; } embed, iframe, object { max-width: 100%; } /* Form */ button, input, input[type="search"], select, textarea { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; max-width: 100%; } button, input[type="button"], input[type="reset"], input[type="submit"] { background-color: #222; border: none; border-radius: 4px; color: #eee; font-size: 87.5%; line-height: 1; padding: 1em 1.5em; text-transform: uppercase; transition: .3s ease-in-out; } button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { background-color: #555; } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea { border: solid 1px #e6e6e6; color: #666; margin-top: 0.4em; padding: 0.6em; } input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, textarea:focus { color: #333; } textarea { max-width: 644px; width: 100%; } /* Repeatable Patterns ------------------------------------------------------------ */ /* Alignments */ .aligncenter, .alignleft, .alignright { margin-bottom: 1.5em; } .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; } /* Caption */ .wp-caption { color: #777; font-size: 93.8%; font-style: italic; margin-bottom: 1.6em; max-width: 100%; } .wp-caption img[class*="wp-image-"] { display: block; margin: 0.4em auto 0; } .wp-caption-text { text-align: center; } .wp-caption .wp-caption-text { margin: 0.8em 0; } /* WP Smiley */ .page-content img.wp-smiley, .entry-content img.wp-smiley, .comment-content img.wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; } /* Text meant only for screen readers */ .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden; position: absolute !important; width: 1px; } .screen-reader-text:hover, .screen-reader-text:active, .screen-reader-text:focus { background-color: #f8f8f8; background-color: rgba(255, 255, 255, 0.9); box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2); clip: auto !important; color: #06c; display: block; font-size: 14px; font-weight: 600; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar */ } /* Clearing */ .clear:before, .clear:after, .site-header:before, .site-header:after, .site-top:before, .site-top:after, .site-content:before, .site-content:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .comment-navigation:before, .comment-navigation:after, .post-navigation:before, .post-navigation:after, .site-footer:before, .site-footer:after, .footer-widget:before, .footer-widget:after, .site-bottom:before, .site-bottom:after { content: ''; display: table; } .clear:after, .site-header:after, .site-top:after, .site-content:after, .entry-content:after, .comment-content:after, .comment-navigation:after, .post-navigation:after, .site-footer:after, .footer-widget:after, .site-bottom:after { clear: both; } /* Layout ------------------------------------------------------------ */ body { background-color: #f5f4f2; } .site { background-color: #fff; margin-left: auto; margin-right: auto; } .boxed .site { max-width: 1220px; } .site-top, .site-content, .footer-widget, .site-bottom { margin-left: auto; margin-right: auto; max-width: 644px; padding: 0 20px; } .site-top, .site-bottom { text-align: center; } .site-logo { padding-bottom: 8px; } .header-navigation { margin-top: 18px; } .site-content { margin-bottom: 24px; } .sidebar-area { border-top: solid 3px #eee; padding-top: 56px; } .footer-navigation { margin-bottom: 22px; } @media screen and (min-width: 783px) { .site-top, .main-navigation, .site-bottom { margin-left: auto; margin-right: auto; max-width: 1000px; padding: 0 45px; } } @media screen and (min-width: 960px) { .site-content, .footer-widget { max-width: 1000px; padding: 0 45px; } .header-side .site-top, .footer-side .site-bottom { text-align: left; } .header-side .site-top-table { display: table; width: 100%; } .header-side .site-branding { display: table-cell; vertical-align: middle; } .header-side .site-logo, .header-side .site-title { display: inline-block; } .header-side .site-logo { padding-bottom: 0; padding-right: 8px; padding-top: 8px; } .header-side .header-navigation { display: table-cell; margin-top: 0; text-align: right; vertical-align: middle; } .content-area { float: left; width: 64.4%; } .no-sidebar .content-area, .full-width .content-area { border-right: none; float: none; margin-left: auto; margin-right: auto; padding-right: 0; width: 644px; } .full-width .content-area { width: auto; } .sidebar-area { border-top: none; float: right; padding-top: 0; width: 26%; } .footer-widget .widget-area { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; float: left; padding-left: 48px; } .footer-widget .widget-area:first-child { padding-left: 0; } .footer-3 .footer-widget .widget-area { width: 33.3% } .footer-2 .footer-widget .widget-area { width: 50%; } .footer-1 .footer-widget .widget-area { width: 100%; } .footer-side .footer-navigation { float: left; margin-bottom: 6px; } .footer-side .site-info { float: right; text-align: right; } } /* Header ------------------------------------------------------------ */ .site-header { border-bottom: solid 1px #eee; margin-bottom: 56px; } .site-top { margin-bottom: 34px; margin-top: 22px; } .site-logo { line-height: 1; margin-bottom: 0; margin-top: 0; vertical-align: middle; } .site-logo a:hover { opacity: 0.8; transition: opacity .15s ease-in-out; } .site-logo img { zoom: 90%; } .site-title { font-size: 36px; line-height: 1.2; margin-bottom: 0; margin-top: 0; vertical-align: middle; } .site-title a, .site-title a:hover { color: #111; } .site-title a:hover { opacity: 0.8; transition: opacity .15s ease-in-out; } .site-description { color: #777; font-size: 93.8%; line-height: 1.4; } .header-image { max-height: 480px; overflow: hidden; } .header-image img { width: 100%; } @media screen and (min-width: 783px) { .site-logo img { zoom: 1; } .site-title { font-size: 40px; } } /* Menus ------------------------------------------------------------ */ /* Navigation Bar */ .site-bar, .main-navigation ul ul { background-color: #222; } .site-bar, .menu-toggle, .main-navigation a { line-height: 60px; } .main-navigation { font-size: 93.8%; position: relative; } .menu-toggle { cursor: pointer; text-transform: uppercase; } .menu-toggle:before { content: '\f419'; display: inline-block; font: normal 14px/1 Genericons; -webkit-font-smoothing: antialiased; margin-right: 10px; position: relative; top: -1px; vertical-align: middle; } .main-navigation ul { display: none; list-style: none; margin: 0; } .main-navigation.toggled ul { display: block; } .menu-toggle, .main-navigation a { color: #ddd; color: rgba( 255, 255, 255, 0.8 ); padding: 0 20px; } .menu-toggle:hover, .main-navigation a:hover { background-color: #444; background-color: rgba( 255, 255, 255, 0.1 ); color: #fff; } .main-navigation a { border-top: solid 1px #555; border-color: rgba( 255, 255, 255, 0.2 ); display: block; } .main-navigation .current_page_item > a, .main-navigation .current-menu-item > a, .main-navigation .current_page_ancestor > a { color: #fff; } .main-navigation ul ul a { padding-left: 30px; } .main-navigation ul ul ul a { padding-left: 45px; } .main-navigation ul ul ul ul a { padding-left: 60px; } .main-navigation .search-form { position: absolute; right: 20px; top: 0; } .main-navigation .search-field { background: url( "images/search-icon.png" ) 5px center no-repeat; background-size: 24px 24px; border: none; cursor: pointer; height: 36px; margin-top: 10px; padding: 0 0 0 34px; position: relative; width: 1px; } .main-navigation .search-field:focus { background-color: #fff; background-image: url( "images/search-icon-ov.png" ); cursor: text; max-width: 100%; outline: 0; width: 240px; } @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { .main-navigation .search-field { background-image: url( "images/search-icon@2x.png" ); } .main-navigation .search-field:focus { background-image: url( "images/search-icon-ov@2x.png" ); } } .main-navigation .search-submit { display: none; } .ie8 .site-header .search-field { padding-top: 6px; } @media screen and (min-width: 783px) { .menu-toggle { display: none; } .main-navigation ul { display: block; } .main-navigation a { border-top: none; padding: 0 18px; } .main-navigation a:hover { background-color: transparent; } .main-navigation ul ul a, .main-navigation ul ul ul a, .main-navigation ul ul ul ul a { padding-left: 18px; } .main-navigation li { position: relative; } .main-navigation div.menu > ul, .main-navigation ul.menu { letter-spacing: -0.4em; padding-right: 30px; text-align: center; text-transform: uppercase; } .header-side .main-navigation div.menu > ul, .header-side .main-navigation ul.menu { text-align: left; } .main-navigation div.menu > ul > li, .main-navigation ul.menu > li { display: inline-block; letter-spacing: normal; white-space: nowrap; text-align: left; } .main-navigation div.menu > ul > li:first-child > a, .main-navigation ul.menu > li:first-child > a { padding-left: 0; } .main-navigation div.menu > ul > li.page_item_has_children > a, .main-navigation ul.menu > li.page_item_has_children > a, .main-navigation div.menu > ul > li.menu-item-has-children > a, .main-navigation ul.menu > li.menu-item-has-children > a { padding-right: 28px; } .main-navigation div.menu > ul > li.page_item_has_children > a:after, .main-navigation ul.menu > li.page_item_has_children > a:after, .main-navigation div.menu > ul > li.menu-item-has-children > a:after, .main-navigation ul.menu > li.menu-item-has-children > a:after { content: '\f431'; font: normal 16px/1 Genericons; -webkit-font-smoothing: antialiased; position: absolute; right: 5px; top: 22px; } .main-navigation ul ul { left: -9999px; opacity: 0; position: absolute; text-transform: none; top: 100%; transition: opacity .2s ease-in-out; white-space: normal; width: 180px; z-index: 99999; } .main-navigation ul ul ul { top: 0; } .main-navigation ul li:hover > ul { left: 0; opacity: 1; } .main-navigation div.menu > ul > li:first-child:hover > ul, .main-navigation ul.menu > li:first-child:hover > ul { left: -18px; } .main-navigation ul ul li:hover > ul { left: 100%; opacity: 1; } .main-navigation ul ul li a { border-top: 1px solid #555; border-color: rgba( 255, 255, 255, 0.2 ); line-height: 1.5; padding-bottom: 14px; padding-top: 14px; } .main-navigation ul ul li.page_item_has_children > a, .main-navigation ul ul li.menu-item-has-children > a { padding-right: 24px; } .main-navigation ul ul li.page_item_has_children > a:after, .main-navigation ul ul li.menu-item-has-children > a:after { content: ">"; position: absolute; right: 8px; top: 14px; } .main-navigation .search-form { right: 45px; } .main-navigation .search-field { transition: width .4s ease, background .4s ease; } } /* Header Navigation */ .header-navigation { font-size: 93.8%; } .header-navigation ul { list-style: none; margin: 0; } .header-navigation li { color: #555; line-height: 36px; position: relative; text-align: left; } .header-navigation li a { display: block; } .header-navigation .current-menu-item > a, .header-navigation .current_page_ancestor > a { color: #111; } .header-navigation ul.menu > li { display: inline-block; padding-left: 18px; text-transform: uppercase; } .header-navigation ul.menu > li:first-child { padding-left: 0; } .header-navigation ul.menu > li.menu-item-has-children { padding-right: 22px; } .header-navigation ul.menu > li.menu-item-has-children:after { content: '\f431'; font: normal 16px/1 Genericons; -webkit-font-smoothing: antialiased; position: absolute; right: 0; top: 10px; } .header-navigation ul ul { background-color: #fff; border: solid 1px #eee; box-shadow: 0 0 3px #ddd; left: -9999px; opacity: 0; position: absolute; text-transform: none; top: 100%; transition: opacity .2s ease-in-out; white-space: normal; width: 180px; z-index: 99999; } .header-navigation ul li:hover > ul { left: 4px; opacity: 1; } .header-navigation ul li:first-child:hover > ul { left: -14px; } .header-navigation ul li:last-child:hover > ul { left: auto; opacity: 1; right: -14px; } .header-navigation ul ul li a { border-top: solid 1px #eee; line-height: 1.5; padding: 10px 14px; } .header-navigation ul ul li:first-child a { border-top: none; } /* Footer Navigation */ .footer-navigation { color: #555; } .footer-navigation ul { list-style: none; margin: 0; } .footer-navigation li { display: inline-block; padding-right: 16px; } /* Social Link This section is based on code from Stargazer. http://wordpress.org/themes/stargazer */ .menu a:before { border: solid 1px #ddd; border-radius: 50%; color: #999; display: inline-block; font: normal 18px/1 Genericons; -webkit-font-smoothing: antialiased; margin-right: 8px; padding: 6px; position: relative; vertical-align: middle; } .menu a:hover:before { border-color: #bbb; color: #666; } .main-navigation a:before, .footer-widget .menu a:before { border-color: #666; border-color: rgba( 255, 255, 255, 0.3 ); color: #bbb; color: rgba( 255, 255, 255, 0.7 ); } .main-navigation a:hover:before, .footer-widget .menu a:hover:before { border-color: #999; border-color: rgba( 255, 255, 255, 0.5 ); color: #eee; color: rgba( 255, 255, 255, 0.9 ); } .widget .menu a:before { font-size: 22px; padding: 7px; } .menu a[href*="codepen.io"]:before { content: "\f216"; } .menu a[href*="digg.com"]:before { content: "\f221"; } .menu a[href*="dribbble.com"]:before { content: "\f201"; } .menu a[href*="dropbox.com"]:before { content: "\f225"; } .menu a[href*="facebook.com"]:before { content: "\f204"; } .menu a[href*="flickr.com"]:before { content: "\f211"; } .menu a[href*="plus.google.com"]:before { content: "\f218"; } .menu a[href*="github.com"]:before { content: "\f200"; } .menu a[href*="instagram.com"]:before { content: "\f215"; } .menu a[href*="linkedin.com"]:before { content: "\f207"; } .menu a[href*="pinterest.com"]:before { content: "\f209"; } .menu a[href*="polldaddy.com"]:before { content: "\f217"; } .menu a[href*="getpocket.com"]:before { content: "\f224"; } .menu a[href*="reddit.com"]:before { content: "\f222"; } .menu a[href*="skype.com"]:before, .menu a[href*="skype:"]:before { content: "\f220"; } .menu a[href*="stumbleupon.com"]:before { content: "\f223"; } .menu a[href*="tumblr.com"]:before { content: "\f214"; } .menu a[href*="twitter.com"]:before { content: "\f202"; } .menu a[href*="vimeo.com"]:before { content: "\f212"; } .menu a[href*="wordpress.org"]:before, .menu a[href*="wordpress.com"]:before { content: "\f205"; } .menu a[href*="youtube.com"]:before { content: "\f213"; } .menu a[href$="/feed/"]:before { content: "\f413"; } /* Content ------------------------------------------------------------ */ /* Entry */ .hentry { border-bottom: solid 1px #eee; margin-bottom: 48px; } .single .hentry { margin-bottom: 60px; } .page .hentry { border-bottom: none; } /* Entry Header */ .entry-header { margin-bottom: 36px; } .entry-title { font-size: 36px; font-size: 2.25rem; line-height: 1.2; margin-bottom: 8px; margin-top: 0; } .entry-header-meta { color: #999; font-size: 93.8%; margin-bottom: 36px; text-transform: uppercase; } .entry-header-meta a:hover { color: #666; } .meta-sep { color: #ccc; margin: 0 8px; } .post-thumbnail { margin-bottom: 36px; transition: opacity .15s ease-in-out; } .post-thumbnail a:hover { opacity: 0.8; } /* Entry Content */ .entry-content { margin-bottom: 24px; } .entry-content cite a { text-decoration: none; } /* Entry Footer */ .entry-footer { margin-bottom: 24px; } .entry-footer-meta { color: #999; font-size: 93.8%; } .cat-links { margin-right: 24px; } .cat-links:before, .tags-links:before { color: #ccc; display: inline-block; font: normal 24px/1 Genericons; -webkit-font-smoothing: antialiased; position: relative; top: -2px; vertical-align: middle; } .cat-links:before { content: "\f301"; } .tags-links:before { content: "\f302"; } /* Entry Summary */ .entry-summary { margin-bottom: 48px; } .continue-reading { text-transform: uppercase; } /* Sticky Post */ .sticky { } .featured { background-color: #ff810c; border-radius: 3px; color: #fff; font-size: 87.5%; margin-left: 12px; padding: 3px 9px; } /* Page Links */ .page-links { clear: both; margin: 0 0 24px; } /* Archive */ .page-header { border-bottom: solid 1px #eee; margin-bottom: 48px; padding-bottom: 24px; } .page-title { font-size: 22px; font-size: 1.38rem; margin-bottom: 12px; margin-top: 0; } .page-content { } /* Hide Title */ .format-aside .entry-title, .format-image .entry-title, .format-link .entry-title, .format-quote .entry-title, .format-status .entry-title { display: none; } /* Link */ .format-link .entry-content a { font-style: italic; } /* Quote */ .format-quote .entry-content blockquote { font-size: 1.5em; } /* Status */ .format-status .entry-content { font-size: 112.5%; } /* Gallery */ .gallery { margin-bottom: 24px; } .gallery-item { display: inline-block; line-height: 1; text-align: center; vertical-align: top; width: 100%; } .gallery .gallery-caption { display: none; } .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%; } /* Navigations ------------------------------------------------------------ */ /* Pagination */ .pagination { color: #eee; font-size: 93.8%; margin-bottom: 60px; } .pagination a { text-decoration: none; } .pagination .page-numbers { background-color: #222; border: solid 1px #222; display: none; padding: 8px 19px; margin-right: 4px; } .pagination .prev, .pagination .next { display: inline-block; } .pagination .dots { background-color: transparent; border-color: transparent; color: #555; padding-left: 10px; padding-right: 10px; } .pagination a.page-numbers:hover { background-color: #555; border-color: #555; color: #fff; } .pagination .current { background-color: #fff; border: solid 1px #ccc; color: #333; font-weight: 700; } @media screen and (min-width: 640px) { .pagination .page-numbers { display: inline-block; } } /* Page Links */ .page-links { color: #777; clear: both; font-size: 93.8%; margin-bottom: 30px; margin-top: 48px; } .page-links .page-numbers { background-color: #eee; border: solid 1px #ccc; color: #333; font-weight: 700; padding: 6px 16px; margin-left: 4px; } .page-links a { text-decoration: none; } .page-links a .page-numbers { background-color: transparent; border: solid 1px #ddd; color: #777; font-weight: normal; } .page-links a .page-numbers:hover { border: solid 1px #ccc; color: #333; } /* Post Navigation */ .post-nav-title { color: #777; font-size: 93.8%; text-transform: uppercase; margin-bottom: 5px; } .post-navigation { margin-bottom: 60px; } .post-navigation .nav-previous { float: left; width: 48%; } .post-navigation .nav-next { float: right; text-align: right; width: 48%; } /* Comment Navigation */ .comment-navigation { margin-bottom: 24px; text-transform: uppercase; } .comment-navigation .nav-previous { float: left; width: 48%; } .comment-navigation .nav-next { float: right; text-align: right; width: 48%; } .comment-navigation a { color: #777; text-decoration: underline; } .comment-navigation a:hover { color: #333; } /* Comments ------------------------------------------------------------ */ /* Base */ .comments-area { font-size: 93.8%; margin-bottom: 60px; } /* Comment Header */ .comments-title, .comment-reply-title { font-size: 24px; font-size: 1.5rem; margin-bottom: 24px; margin-top: 0; } .comments-title { padding-top: 12px; } .comment-reply-title { margin-top: 48px; } .comment-respond:only-child .comment-reply-title, .comment-list .comment-reply-title { margin-top: 0; } /* Comment Structure */ .comment-list { border-bottom: solid 1px #eee; list-style: none; margin: 0 0 24px 0; } .comment-list .children { list-style: none; margin-left: 24px; } .comment-list .comment-body { border-top: solid 1px #eee; padding-bottom: 24px; padding-top: 24px; position: relative; } /* Comment Meta */ .comment-author { font-size: 106.7%; font-weight: 600; margin-bottom: 2px; } .comment-author a { border-bottom: dotted 1px #999; color: #333; } .comment-author a:hover { color: #666; } .comment-author .avatar { height: 42px; left: 0; position: absolute; top: 28px; width: 42px; } .has-avatars .comment .comment-meta { margin-left: 57px; } .bypostauthor > .comment-body .comment-author:after { background-color: #222; border-radius: 50%; color: #fff; content: '\f408'; display: inline-block; font: normal 16px/1 Genericons; -webkit-font-smoothing: antialiased; margin-left: 3px; padding: 3px; } .comment-author .says { display: none; } .comment-metadata { font-size: 93.3%; margin-bottom: 24px; text-transform: uppercase; } .comment-metadata a, a.comment-edit-link { color: #999; } .comment-metadata a:hover, a.comment-edit-link:hover { color: #666; } .comment-edit-link { margin-left: 15px; } /* Comment Body */ .comment-content cite a { text-decoration: none; } .comment-body .reply a { color: #999; font-size: 93.3%; } .comment-body .reply a:hover { color: #666; } .comment-body .reply a:before { color: #ccc; content: "\f412"; display: inline-block; font: normal 14px/1 Genericons; -webkit-font-smoothing: antialiased; margin-right: 3px; position: relative; text-decoration: inherit; top: -1px; vertical-align: middle; } .comment-awaiting-moderation { color: #666; } /* Pingback */ .pingback a { color: #666; text-decoration: underline; } .pingback a:hover { color: #999; } /* Comment Form */ .comment-respond a { color: #666; text-decoration: underline; } .comment-respond a:hover { color: #333; } #commentform label { display: block; } /* Widgets ------------------------------------------------------------ */ /* Base */ .widget { color: #555; font-size: 93.8%; margin-bottom: 48px; } .footer-widget .widget { color: #ccc; color: rgba( 255, 255, 255, 0.7 ); } .footer-widget .widget select { color: #555; } /* Heading */ .widget-title { font-size: 17px; font-size: 1.063rem; letter-spacing: 0; margin-bottom: 16px; margin-top: 0; text-transform: uppercase; } .footer-widget .widget-title { color: #eee; color: rgba( 255, 255, 255, 0.9 ); } /* Link */ .widget a { text-decoration: underline; } .widget li a { text-decoration: none; } .footer-widget .widget a { color: #ccc; color: rgba( 255, 255, 255, 0.7 ); } .footer-widget .widget a:hover { color: #eee; color: rgba( 255, 255, 255, 0.9 ); } /* List */ .widget ul { list-style: none; margin-bottom: 0; margin-left: 0; } .widget ul li { border-top: solid 1px #eee; line-height: 1.4; padding-bottom: 12px; padding-top: 12px; } .widget > ul > li:first-child, .widget > div > ul > li:first-child { border-top: none; padding-top: 8px; } .widget ul ul { margin-left: 12px; margin-top: 12px; } .widget ul ul li:last-child { padding-bottom: 0; } .footer-widget .widget ul li { border-color: #555; border-color: rgba( 255, 255, 255, 0.15 ); } /* Form */ .footer-widget button, .footer-widget input[type="button"], .footer-widget input[type="reset"], .footer-widget input[type="submit"] { background-color: #666; background: rgba( 255, 255, 255, 0.3 ); } .footer-widget button:hover, .footer-widget input[type="button"]:hover, .footer-widget input[type="reset"]:hover, .footer-widget input[type="submit"]:hover { background-color: #888; background-color: rgba( 255, 255, 255, 0.4 ); } /* Recent Posts */ .widget_recent_entries .post-date { color: #999; display: block; font-size: 86.7%; margin-top: 4px; text-transform: uppercase; } .footer-widget .widget_recent_entries .post-date { color: rgba( 255, 255, 255, 0.5 ); } /* Recent Comments */ .widget_recent_comments li a { text-decoration: underline; } /* Search */ .widget_search input[type="search"] { max-width: 300px; width: 100%; } .widget_search .search-submit { display: none; } /* Tag Cloud */ .widget_tag_cloud a { text-decoration: none; } /* Calendar */ .widget_calendar table { font-size: 93.3%; line-height: 32px; margin-bottom: 0; max-width: 300px; } .widget_calendar caption { text-transform: uppercase; } .widget_calendar td, .widget_calendar th { padding: 0; text-align: center; } .widget_calendar thead th { border-bottom: solid 1px #e6e6e6; padding: 2px 0; } .widget_calendar tbody td { border-bottom: solid 1px #e6e6e6; } .widget_calendar tbody td a { background-color: #e6e6e6; display: block; text-decoration: underline; } .widget_calendar tbody td a:hover { color: #555; background-color: #f0f0f0; } .widget_calendar tfoot td { border-bottom: none; padding-top: 8px; } .widget_calendar tfoot td a { text-decoration: underline; text-transform: uppercase; } .widget_calendar tfoot td#prev { text-align: left; } .widget_calendar tfoot td#next { text-align: right; } .footer-widget .widget_calendar table, .footer-widget .widget_calendar thead th, .footer-widget .widget_calendar tbody td { border-color: #666; border-color: rgba( 255, 255, 255, 0.3 ); } .footer-widget .widget_calendar caption { color: #ccc; color: rgba( 255, 255, 255, 0.7 ); } .footer-widget .widget_calendar tbody td a { background-color: #666; background-color: rgba( 255, 255, 255, 0.3 ); } .footer-widget .widget_calendar tbody td a:hover { background-color: #555; background-color: rgba( 255, 255, 255, 0.2 ); } /* RSS */ .widget_rss li { line-height: 1.4; margin-bottom: 6px; } .widget_rss li .rsswidget { display: block; margin-top: 6px; } .widget_rss .rss-date, .widget_rss .rssSummary, .widget_rss cite { color: #999; font-size: 86.7%; } .widget_rss .rss-date { display: block; margin-bottom: 4px; margin-top: 4px; text-transform: uppercase; } .widget_rss .rssSummary { margin-bottom: 4px; } .footer-widget .widget_rss .rss-date, .footer-widget .widget_rss .rssSummary, .footer-widget .widget_rss cite { color: rgba( 255, 255, 255, 0.5 ); } /* Footer ------------------------------------------------------------ */ /* Base */ .site-footer { border-top: solid 1px #eee; } /* Footer Widget */ .footer-area { background-color: #222; padding-bottom: 24px; padding-top: 60px; } /* Footer */ .site-bottom { color: #999; font-size: 87.5%; margin-bottom: 22px; margin-top: 28px; } .site-bottom a { color: #666; } .site-bottom a:hover, .site-bottom .current-menu-item > a { color: #111; } .site-copyright, .site-credit { margin-bottom: 6px; } .sep { color: #ccc; margin: 0 4px; } /* Plugins ------------------------------------------------------------ */ /* Jetpack Infinite Scroll */ .infinite-scroll .pagination { display: none; } .infinite-loader { margin-bottom: 60px; margin-left: auto; margin-right: auto; padding: 16px 0; width: 25px; } #infinite-handle { margin-bottom: 60px; text-align:center; } #infinite-handle span { background-color: #222; border-radius: 0; color: #eee; cursor: pointer; display: block; font-size: 93.8%; margin-left: auto; margin-right: auto; padding: 18px 0; text-align: center; text-transform: uppercase; transition: .3s ease-in-out; } #infinite-handle span:hover { background-color: #555; } /* Jetpack Widgets */ #subscribe-email input { margin-top: 0; max-width: 300px; padding: 0.6em !important; width: 100% !important; } .jetpack-display-remote-posts h4, .jetpack-display-remote-posts p { font-size: 100% !important; } .jetpack-display-remote-posts h4 { margin-top: 24px !important; } .widget_jetpack_display_posts_widget img { margin: 12px 0; } .grofile-thumbnail { max-width: 300px !important; } .widget-grofile h4 { font-size: 100%; font-weight: 600; } ul.grofile-urls { margin-bottom: 1.5em; margin-top: 0; } /* Jetpack Comments */ .comment-subscription-form { margin-bottom: 0.6em; } /* Jetpack Stats */ #wpstats { display: none; } /* Contact Form 7 */ .wpcf7-list-item-label { font-size: 93.8%; } .wpcf7-file { border: solid 1px #e6e6e6; padding: 5px; } /* Print ------------------------------------------------------------ */ @media print { html, body { background: none !important; color: #000; font-size: 10pt; } .header-navigation, .site-bar, .comments-area .comment-edit-link, .comments-area .reply, .comment-respond, .navigation, #infinite-handle, .sidebar-area, .footer-area, .footer-navigation { display: none; } .site { max-width: none; } .site-top, .site-content, .footer-widget, .site-bottom { max-width: none; padding: 0; } .content-area { border-bottom: none; margin-bottom: 0; padding-bottom: 0; } .site-bottom, .site-bottom a { color: #000; } } /* 追加 ------------------------------------------------------------ */ .site-bar, .main-navigation ul ul { background-color: #3E302F; } .site-top { margin-bottom: 0px; margin-top: 0px; } .entry-title { font-weight: bold; font-size: 20px; position: relative; padding: 1em 0; } .entry-title::before, .entry-title::after { position: absolute; left: 0; content: ''; width: 100%; height: 6px; box-sizing: border-box; } .entry-title::before { top: 0; border-top: 2px solid #ccc; border-bottom: 1px solid #ccc; } .entry-title::after { bottom: 0; border-top: 1px solid #ccc; border-bottom: 2px solid #ccc; } .entry-content h3{ padding: .5em .75em; background-color: #fffad3; border-left: 6px solid #ccc; } @media screen and (min-width: 960px){ .header-side .site-logo { padding-top: 0px; width: 70%; } .header-side .site-branding { text-align: center; } }