/* Theme Name: bellabena Author: Benachi Theme URI: Benachi.com/Bella/ Author URI: Benachi.com Version: 1.0.4 Description: Bellabena is a responsive, minimalist Wordpress theme. A clean, elegant design is perfect for bloggers who want to share cooking, fashion, and parenting tips or just sharing personal recipes. The main feature of this template is the masonry style to showcase posts at a glance. License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: bellabena Tags: three-columns, right-sidebar, threaded-comments This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. Bellabena is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc. Underscores is distributed under the terms of the GNU GPL v2 or later. Normalizing styles have been helped along thanks to the fine work of Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/ */ /*-------------------------------------------------------------- >>> TABLE OF CONTENTS: ---------------------------------------------------------------- # Normalize # Typography # Elements # Forms # Navigation ## Links ## Menus ## Pagination # Accessibility # Alignments # Clearings # Widgets # Content ## Header ## Posts and pages ## Search ## Comments # Footer # Infinite scroll # Media ## Captions ## Galleries # Responsive --------------------------------------------------------------*/ /*-------------------------------------------------------------- # Normalize --------------------------------------------------------------*/ html { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } body { margin: 0; } article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary { display: block; } audio, canvas, progress, video { display: inline-block; vertical-align: baseline; } audio:not([controls]) { display: none; height: 0; } [hidden], template { display: none; } a { background-color: transparent; } a:active, a:hover { outline: 0; } abbr[title] { border-bottom: 1px dotted; } b, strong { font-weight: bold; } dfn { font-style: italic; } h1, h2, h3, h4, h5, h6 { text-align:left; } mark { background: #ff0; color: #000; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } img { border: 0; } svg:not(:root) { overflow: hidden; } figure { margin: 1em 40px; } hr { box-sizing: content-box; height: 0; } pre { overflow: auto; } code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; } button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; } button { overflow: visible; } button, select { text-transform: none; } button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; } button[disabled], html input[disabled] { cursor: default; } button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } input { line-height: normal; } input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; } input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; } input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } legend { border: 0; padding: 0; } textarea { overflow: auto; } optgroup { font-weight: bold; } table { border-collapse: collapse; border-spacing: 0; } td, th { padding: 0; } /*-------------------------------------------------------------- # Typography --------------------------------------------------------------*/ html { font-size: 100%; } body, button, input, select, optgroup, textarea { color: #000; font-family: 'Lato', sans-serif; font-size: 16px; line-height: 1.5em; } h1, h2, h3, h4, h5, h6 { clear: both; margin:0 0 1.5em 0; } h1 { font-size:22px; } h2 { font-size:20px; } h3 { font-size:19px; } h4 { font-size:18px; } h5 { font-size:17px; } h6 { font-size:16px; } p { margin:0 0 1.5em 0; } dfn, cite, em, i { font-style: italic; } blockquote { margin: 0 1.5em; } address { margin: 0 0 1.5em; font-style:italic; } pre { background: #eee; font-family: "Courier 10 Pitch", Courier, monospace; font-size: 15px; font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em; white-space: pre-wrap; } code, tt, var { font-family: monospace; line-height:1.5em; color:#000; font-weight:600; } code { overflow-x: auto; background: #FFF; word-wrap: break-word; } kbd { font-family: monospace; font-size: 15px; font-size: 0.9375rem; color:#FFF; padding:0.3em; background-color:#000; } abbr, acronym { border-bottom: 1px dotted #666; cursor: help; } mark, ins { background: #C3E4DB; text-decoration: none; } big { font-size: 125%; } /*-------------------------------------------------------------- # Elements --------------------------------------------------------------*/ html { box-sizing: border-box; } *, *:before, *:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ box-sizing: inherit; } body { background: #fff; /* Fallback for when there is no custom background color defined. */ } q:before, q:after { content:"\""; } blockquote, q { quotes: "" ""; } blockquote { border: none; background-color:#F8F8F8 ; padding:1em; margin-bottom:1em; border-left:2px solid #000; } blockquote:before { font-family: FontAwesome; content: " \f10d"; color: #B8B8B8 ; } blockquote:after{ font-family: FontAwesome; content: " \f10e"; color: #B8B8B8 ; } hr { background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em; } ul, ol { margin: 0 0 1.5em 1em; } ul { list-style: disc; } ol { list-style: decimal; } ol li , ul li{ margin-left:0.5em; } dt { font-weight: bold; } dd { margin: 0 0 1.5em; } img { height: auto; /* Make sure images are scaled correctly. */ max-width: 100%; /* Adhere to container width. */ } figure { margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */ } table { width: 100%; border-radius: 0; margin: 0 0 1.5em; } table th { } th, td { border:1px solid #FFF; padding: 0.8em; background: #F2F2F2; } td { background-color: #F8F8F8; } /*-------------------------------------------------------------- # Forms --------------------------------------------------------------*/ button, input[type="button"], input[type="reset"], input[type="submit"] { border: none; background-color:#E8E8E8; color: rgba(232, 232, 232, 1); display:block; color:#787878 ; font-size:0.8em; text-transform:uppercase; padding: 0.7em; text-align:center; transition: all 0.6s ease; -webkit-transition: all 0.6s ease; -moz-transition: all 0.6s ease; -o-transition: all 0.6s ease; -ms-transition: all 0.6s ease; } button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { background: #E8E8E8; } button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, button:active, input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active { } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea { color: #000; border: 1px solid #E0E0E0; padding: 3px; } .search-box { background-color:#F8F8F8; } input[type="search"].search-field, button[type="submit"].search-submit { display: table-cell; font-size:15px; padding:5px 3px; border: none; background-color:#F8F8F8; } input[type="search"].search-field { width:90%; } input[type="search"].search-field:after { font-family: FontAwesome; content: " \f002"; } button[type="submit"].search-submit { } select { border: 1px solid #ccc; } input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus { color: #111; } textarea { width: 100%; } /*-------------------------------------------------------------- # Navigation --------------------------------------------------------------*/ /*-------------------------------------------------------------- ## Links --------------------------------------------------------------*/ a { color: #989898 ; } a:visited { color: #989898 ; } a:hover, a:focus, a:active { color: #ccc; text-decoration:none; } a:focus { outline: none; } a:hover, a:active { outline: 0; } /*-------------------------------------------------------------- ## Menus --------------------------------------------------------------*/ #top-bar { background-color:#eee; } .main-navigation { display: block; padding: 0 1em; } .main-navigation ul { display: none; margin: 0; text-align: center; position:relative; z-index:9999; } .main-navigation a { display: block; font-family: 'Lato', sans-serif; font-size: 13px; font-size: 0.875rem; color: #000; outline: none; padding: 1em; text-transform: uppercase; } .main-navigation ul li { display: inline-block; padding: 0; } .main-navigation ul ul { background-color:#eee; border: 1px solid rgba(255, 255, 255, 0.5); border-top: none; display: none; position:absolute; left: auto; padding: 0; text-align:left; } .main-navigation ul ul:hover { display: block; } .main-navigation ul ul li { border-top: 0; display:block; width: auto; padding-left:20px; padding-right:20px; } .main-navigation ul ul a { color: #000; border-bottom: 1px solid rgba(255, 255, 255, 0.5); min-width:150px; } .main-navigation ul ul li.page_item_has_children a:after{ font-family: FontAwesome; content: " \f105"; position: absolute; right:20px; } .main-navigation ul ul li.page_item_has_children li a:after{ content: " "; } .main-navigation ul ul ul a { padding-left: 1em; } .main-navigation ul ul ul ul a { padding-left: 1em; } .main-navigation a:hover, .main-navigation ul > :hover > a, .main-navigation ul > .focus > a { opacity: 0.5; } .main-navigation ul ul a:hover, .main-navigation ul ul li.focus > a { opacity: 0.5; } .main-navigation ul ul ul { margin-bottom: 0; position:absolute; left: 100%; margin-top:-27%; width: auto; } .main-navigation ul ul ul li { border-top: 0; } .main-navigation a:hover, .main-navigation ul > :hover > a, .main-navigation ul > .focus > a { opacity: 0.6; } .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul { display: block; } .main-navigation li.current_page_item > a, .main-navigation li.current-menu-item > a, .main-navigation li.current_page_ancestor > a, .main-navigation li.current-menu-ancestor > a { opacity: 0.6; } @media screen and (min-width: 991px) { .menu-toggle { display: none; } .main-navigation ul { display: block; } } .site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation { margin: 0 0 3em 0; overflow: hidden; font-size:13px; border-bottom:1px solid #eee; border-top:1px solid #eee; padding:20px 0; } .comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous { float: left; width: 50%; } .comment-navigation .nav-previous:before, .posts-navigation .nav-previous:before, .post-navigation .nav-previous:before{ font-family: FontAwesome; content:"\f100"; padding-right:10px; } .comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next { float: right; text-align: right; width: 50%; } .comment-navigation .nav-next:after, .posts-navigation .nav-next:after, .post-navigation .nav-next:after{ font-family: FontAwesome; content:"\f101"; padding-left:10px; } /*-------------------------------------------------------------- ## Pagination --------------------------------------------------------------*/ .pagination, .page-links { text-align:center; width:100%; clear:both; } .pagination .nav-links { text-align:center; } .custom-page-links{ padding:0.8em; font-size:0.9em; color: #D0D0D0 ; background-color:#FAFAFA; } .page-numbers, a .custom-page-links{ padding:0.8em; font-size:0.9em; background-color:#FAFAFA; color:#787878; transition: all 0.6s ease; -webkit-transition: all 0.6s ease; -moz-transition: all 0.6s ease; -o-transition: all 0.6s ease; -ms-transition: all 0.6s ease; } .page-numbers.current, .page-numbers:hover { color: #eee; } /*-------------------------------------------------------------- # 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; word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */ } .screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; color: #21759b; 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 { margin: 0 0 1.5em; } .widget a { color:#000; } /* Make sure select elements fit in widgets. */ .widget select { max-width: 100%; } h2.widget-title { background-color:#000; color:#fff; padding:0.8em 1em; text-align:center; font-size:1em; text-transform:uppercase; } .widget-area ul { margin:1.5em 0; padding:0; } .widget-area ul li, .widget-area p{ list-style:none; line-height:1.5em; margin: 0.75em 0 0 0; padding:0 0 0.75em 0; border-bottom:1px dashed #eee; } .widget_tag_cloud a { padding-right:12px; font-size:14px; } .tagcloud a { line-height:1em !important } /*-------------------------------------------------------------- # Content --------------------------------------------------------------*/ .container { max-width:1000px; } /*-------------------------------------------------------------- ## Header --------------------------------------------------------------*/ .site-branding { text-align:center; margin:3.5em auto; } .site-branding .site-title { font-size:3.5em; line-height:1.2em; margin-bottom:0; margin-top:0; text-align:center; } .site-branding a { color:#000; } p.site-description { color: #999; } #site-header { text-align:center; } /*-------------------------------------------------------------- ## Posts and pages --------------------------------------------------------------*/ .sticky { display: block; } .hentry { margin: 0 0 1.5em; } .updated:not(.published) { display: none; } .page-content, .entry-content, .entry-summary { margin: 1.5em 0 0; } .page-links { clear: both; margin: 0 0 1.5em; } header.entry-header { text-align:left; } h1.entry-title, h2.entry-title { text-align: center; margin-bottom:0; } h2.entry-title a { color:#000; -ms-word-wrap: break-word; word-wrap: break-word; } h2.entry-title a:hover { color: #ccc; } header.search, header.page-header, header.entry-header{ margin:0 0 10px 0; padding:0 0 10px 0; } .cat-links { margin-top:0.5em; } .entry-meta, .cat-links { text-align:center; } .cat-links a, .tags-links a { display: inline-block; background-color:#F0F0F0; color:#787878 ; font-size:0.7em; text-transform:uppercase; padding: 0.5em .9em; text-align:center; width: auto; margin:5px 3px; transition: all 0.6s ease; -webkit-transition: all 0.6s ease; -moz-transition: all 0.6s ease; -o-transition: all 0.6s ease; -ms-transition: all 0.6s ease; line-height:1.5em; } .cat-links a:hover, .tags-links a:hover { background-color:#B8B8B8 ; color:#787878; } .cat-links a:visited, .tags-links a:visited { color:#787878; } .tags-links a.post-edit-link { background-color: transparent; color:#000; } .tags-links:before { font-family: FontAwesome; content: " \f02c"; padding-right:3px; color:#000; } .tags-links a.post-edit-link:before { font-family: FontAwesome; content: " \f040"; padding-right:3px; } header.entry-header span, footer.entry-footer, header.entry-header span a, footer.entry-footer a { font-size:12px; font-size: 0.75rem; text-transform:capitalize; color: #999; } header.entry-header span a:hover, footer.entry-footer a:hover { color: #ccc; } footer.entry-footer { margin:4em 0; } .divider { padding:0 5px; color: #ccc; font-size:10px; line-height:12px; } /* Blog main page with a sticky post*/ .grid-masonry { -moz-column-width: 18em; -webkit-column-width: 18em; -moz-column-gap: 1em; -webkit-column-gap: 1em; } .grid-masonry .article-item { display: inline-block; margin: 0.25rem; padding: 0; width: 100%; background-color:#FAFAFA; } .grid-masonry .article-item article { padding:1rem; } .site-main .article-item article.sticky{ border:2px solid #000; margin: 0rem; } .post-thumb { margin-bottom:1em; } .read-more { clear: both; text-align:center; width:100%; display:block; margin:1.5em auto; } .read-more a { display: inline; background-color:#E0E0E0; color:#787878; font-size:0.7em; text-transform:uppercase; padding: .9em; text-align:center; width:auto; white-space: nowrap; margin:20px auto 0 auto; transition: all 0.6s ease; -webkit-transition: all 0.6s ease; -moz-transition: all 0.6s ease; -o-transition: all 0.6s ease; -ms-transition: all 0.6s ease; } .read-more a:hover{ background-color:#B8B8B8 ; color:#787878; } .read-more a:visited { color:#787878; } /*-------------------------------------------------------------- ## Search --------------------------------------------------------------*/ .search-result { margin-bottom: 2em; padding:1em; background-color:#FAFAFA; } .search-result footer.entry-footer { margin-bottom:0; } /*-------------------------------------------------------------- ## Comments --------------------------------------------------------------*/ .comments-area { font-size:14px; margin-top:3em; background-color:#FAFAFA; padding:1em 2em; } .comments-area h3 { font-size:1.2em; font-weight:600; text-transform:uppercase; } .comment-content a { word-wrap: break-word; } .bypostauthor { display: block; } .reply { margin-top:2em; } ol.comment-list, ol.comment-list ol{ margin:0.5em 0 ; padding:0; list-style:none; } ol.comment-list li { margin:0 0 1.5em 0; padding:1em; background-color:#FFF; } .comment-list img.avatar { border-radius: 50%; } .comment-author { font-size:1.1em; } .comment-metadata { font-size:0.8em; line-height:2em; } a.comment-reply-link { color:#000; text-transform:uppercase; font-size:11px; font-weight:600; background-color: #E8E8E8 ; padding:1em; } /*-------------------------------------------------------------- # Footer --------------------------------------------------------------*/ footer.site-footer { margin-top:3em; background-color:#000; padding:20px 0; color:#FFF; font-size:13px; font-family: 'Lato', sans-serif; text-align:center; } footer.site-footer a { color: #ccc; } footer.site-footer a:hover { color: #eee; } /*-------------------------------------------------------------- # Infinite scroll --------------------------------------------------------------*/ /* Globally hidden elements when Infinite Scroll is supported and in use. */ .infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */ .infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */ display: none; } /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */ .infinity-end.neverending .site-footer { 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%; } /* Make sure logo link wraps around logo image. */ .custom-logo-link { display: inline-block; } /*-------------------------------------------------------------- ## 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.33333%; } .gallery-columns-4 .gallery-item { max-width: 25%; } .gallery-columns-5 .gallery-item { max-width: 20%; } .gallery-columns-6 .gallery-item { max-width: 16.66667%; } .gallery-columns-7 .gallery-item { max-width: 14.28571%; } .gallery-columns-8 .gallery-item { max-width: 12.5%; } .gallery-columns-9 .gallery-item { max-width: 11.11111%; } .gallery-caption { display: block; font-size:0.9em; margin:0.5em 0; } /*-------------------------------------------------------------- ## Responsive --------------------------------------------------------------*/ @media only screen and (max-width: 991px){ .main-navigation { border-bottom: none; display: block; padding: 0 1em; } .main-navigation ul { display: none; margin: 0; text-align: left; } .main-navigation a { color: #000; display: block; font-size: 15px; letter-spacing: 1px; outline: none; padding: .8em; border-bottom: 1px solid rgba(255, 255, 255, 0.5); } .main-navigation ul li { display: block; padding: 0; } .main-navigation ul li:first-child { border-top: 0; } .main-navigation ul ul { display: block; position: relative; left: auto; top: auto; padding:0 0 0 1em; border:none; } .main-navigation ul li.page_item_has_children li a:after, .main-navigation ul li.page_item_has_children li.page_item_has_children li a:after { content: " "; } .main-navigation ul li.page_item_has_children a:after, .main-navigation ul ul li.page_item_has_children a:after, .main-navigation ul li.page_item_has_children li.page_item_has_children a:after { font-family: FontAwesome; content: "\f107"; position:relative; right:auto; padding-left:20px; } .main-navigation ul ul a { color: #000; padding-left: 1.6em; } .main-navigation ul ul ul a { padding-left: 3.2em; } .main-navigation ul ul ul ul a { padding-left: 4.8em; } .main-navigation a:hover, .main-navigation ul > :hover > a, .main-navigation ul > .focus > a { opacity: 0.5; } .main-navigation ul ul a:hover, .main-navigation ul ul li.focus > a { opacity: 0.5; } .main-navigation ul ul ul { margin-bottom: 0; margin-top:0; position: relative; left: 0; top: 0; width:auto; } .main-navigation ul ul ul li { border-top: 0; } .menu-toggle { box-shadow: none; color: #000; background-color: transparent; display: block; margin: 0; padding:0.5em 0.5em 0.5em 0; text-align: center; font-size:22px; } .menu-toggle:hover, .menu-toggle:focus { color: #ccc; background: none; } .menu-toggle:before { line-height: 1; margin-right: 8px; position: relative; top: 2px; } .menu-toggle, .main-navigation.toggled .nav-menu { display: block; } aside { margin-top:2em; padding-top:2em; border-top:1px solid #eee; } } @media only screen and (max-width: 768px){ .article-item { width:96% !important; margin:1em; display: block; float: none; } .article-item:nth-child(2n+0) { margin-right:0%; } }