/* Theme Name: Canon Hash Theme URI: https://hashtheme.com/theme Author: Hash Theme Author URI: https://hashtheme.com/ Description: Canon Hash is a clean, modern and fully responsive WordPress theme. Canon Hash theme is excellent for a simple blog site. Version: 1.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: canon-hash Tags: two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, sticky-post, threaded-comments, translation-ready */ /*-------------------------------------------------------------- >>> TABLE OF CONTENTS: ---------------------------------------------------------------- 01. GENERAL STYLE 02. HEADER STYLE 03. BOOTSTRAP NAVIGATION OVERRIDES 04. PAGE BREADCRUMBS STYLE 05. FOOTER STYLE 06. BLOG CUSTOM CSS 07. ANIMATION & KEYFRAMES 08. RESPONSIVE MEDIA QUIRIES --------------------------------------------------------------*/ /* * ---------------------------------------------------------------------------------------- * 01. GENERAL STYLE * ---------------------------------------------------------------------------------------- */ body { font-family: Raleway, sans-serif; color: #59595b; font-size: 15px; overflow-x: hidden; margin: auto; } html, body { height: 100% } h1, h2, h3, h4, h5, h6 { font-family: Poppins, sans-serif; font-weight: 700; } a { text-decoration: none; -webkit-transition: all 0.2s; transition: all 0.2s; } a:focus, a:hover { text-decoration: none; } a:focus { outline: none; text-decoration: none; } a, a:focus, a:hover { color: #337ab7; } p { line-height: 26px; } fieldset { border: 0 none; margin: 0 auto; padding: 0; } img { max-width: 100%; height: auto; } .content-area .post .entry-content blockquote, .content-area .page .entry-content blockquote { margin: 0 0 1.5em 65px; font-size: 20px; line-height: 30px; font-style: italic; color: #939393; border-left: 5px solid #ddd; padding: 0 0 0 21px; position: relative; } blockquote::before, blockquote::after, q::before, q::after { content: ""; } .content-area .post .entry-content blockquote::after, .content-area .page .entry-content blockquote::after { background: url(assets/img/bg-quote.png) no-repeat; width: 48px; height: 36px; position: absolute; top: 0; left: -69px; content: ''; } .content-area .post .entry-content p, .content-area .page .entry-content p { margin-top: 0; } /*START SCROLL TO TOP*/ .topcontrol { color: #fff; background: #337ab7; font-size: 26px; cursor: pointer; height: 40px; width: 40px; position: fixed; bottom: 5px; right: 5px; z-index: 999; text-align: center; line-height: 40px; box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.2); opacity: 1; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); -webkit-transition: all 0.2s ease 0s; transition: all 0.2s ease 0s; } .topcontrol:hover { background: #333; color: #fff; } /* * ---------------------------------------------------------------------------------------- * 01. END GENERAL STYLE * ---------------------------------------------------------------------------------------- */ /* * ---------------------------------------------------------------------------------------- * 02. HEADER STYLE * ---------------------------------------------------------------------------------------- */ .blog-header h2 { font-size: 36px; color: #fff; } .blog-header .archive-description { color: #fff; margin-bottom: 15px; } /* * ---------------------------------------------------------------------------------------- * 02. END HEADER STYLE * ---------------------------------------------------------------------------------------- */ /* * ---------------------------------------------------------------------------------------- * 03. BOOTSTRAP NAVIGATION OVERRIDES * ---------------------------------------------------------------------------------------- */ #mainNav { padding: 20px; z-index: 9999; border-color: transparent; background-color: transparent; -webkit-transition: all .35s; -moz-transition: all .35s; transition: all .35s; } #mainNav .site-branding a { color: #fff; font-size: 20px; display: inline-block; padding-top: .3125rem; padding-bottom: .3125rem; margin-right: 1rem; line-height: inherit; white-space: nowrap; } #mainNav .navbar-nav ul li { display: inline-block; } #mainNav .navbar-nav li a { font-size: 13px; color: #fff; font-weight: 600; letter-spacing: 2px; display: block; text-transform: uppercase; padding: 8px 12px; position: relative; } #mainNav .navbar-nav li { position: relative; } #mainNav .navbar-nav li ul { position: absolute; left: 0; top: 50px; background: #2b3339; padding: 0; z-index: 9; width: 250px; opacity: 0; visibility: hidden; transition: all 0.4s ease-in-out; -webkit-transition: all 0.4s ease-in-out; -moz-transition: all 0.4s ease-in-out; -o-transition: all 0.4s ease-in-out; -ms-transition: all 0.4s ease-in-out; } #mainNav .navbar-nav li ul li { display: block; } #mainNav .navbar-nav li li a, #mainNav .navbar-nav li:first-child li a, #mainNav .navbar-nav li li:first-child a { padding: 15px; text-transform: none; } #mainNav .navbar-nav li li:not(:last-child)>a { border-bottom: 1px solid #555; } #mainNav .navbar-nav li a:hover, #mainNav .navbar-nav li li:hover>a { color: #337ab7; } #mainNav .navbar-nav li:hover ul { opacity: 1; visibility: visible; } #mainNav .navbar-nav li ul ul { left: 250px; } #mainNav .navbar-nav li:hover>ul li:hover>ul { top: 20px; opacity: 1; visibility: visible; } #mainNav .navbar-nav li:hover ul li ul { opacity: 0; visibility: hidden; } #mainNav .navbar-nav ul ul ul ul ul { left: auto; right: 250px; } #mainNav .navbar-nav ul ul ul ul ul ul ul ul { right: auto; left: 250px; } #mainNav.navbar-light .navbar-toggler { color: #fff; border-color: #fff; font-size: 20px; padding: 4px 14px; border-radius: 0; outline: 0; } .site-branding { float: left; display: flex; align-items: center; flex-wrap: wrap; } .site-branding img { width: 200px; } .site-branding .site-description { margin: 0; font-size: 14px; line-height: 27px; color: #fff; letter-spacing: 0.03em; } .site-title { margin: 0; } /* menu scroll animnation */ #mainNav.navbar-shrink { border-bottom: 1px solid #ddd; background-color: #fff; padding: 10px 0; } #mainNav.navbar-shrink .site-branding a { color: #333; } #mainNav.navbar-shrink .navbar-nav li a { color: #333; } #mainNav.navbar-shrink .navbar-nav li a:hover, #mainNav.navbar-shrink .navbar-nav li li:hover>a { color: #337ab7; } #mainNav.navbar-shrink.navbar-light .navbar-toggler { color: #333; border-color: #333; } .site-header { position: absolute; left: 0; width: 100%; top: 0; background: transparent; } #mainNav.navbar-shrink .site-branding .site-description { color: #333; } #mainNav.navbar-shrink .navbar-nav li li a { color: #fff; } /* * ---------------------------------------------------------------------------------------- * 03. END BOOTSTRAP NAVIGATION OVERRIDES * ---------------------------------------------------------------------------------------- */ /* * ---------------------------------------------------------------------------------------- * 04. PAGE BREADCRUMBS STYLE * ---------------------------------------------------------------------------------------- */ .canon-page-title-area .entry-meta { margin-top: 30px; font-size: 80%; } .canon-page-title-area, .blog-header { padding: 170px 0 120px; background: #333; background-size: cover; background-position: center; position: relative; font-size: 16px; } .canon-page-title-area, .canon-page-title-area a { color: #fff; } .canon-page-title-area h2, .blog-header h2 { font-size: 36px; color: #fff; } .canon-page-custom-title p { margin-bottom: 0; font-weight: 400; } .canon-page-custom-title { line-height: 45px; margin-bottom: 20px; } /* * ---------------------------------------------------------------------------------------- * 04. END PAGE BREADCRUMBS STYLE * ---------------------------------------------------------------------------------------- */ /* * ---------------------------------------------------------------------------------------- * 05. START FOOTER STYLE * ---------------------------------------------------------------------------------------- */ .footer-top { background-color: #232328; padding: 55px 0 20px; line-height: 1.8; } .footer-logo .site-title a { color: #fff; font-size: 35px; display: inline-block; padding-top: .3125rem; padding-bottom: .3125rem; margin-right: 1rem; line-height: inherit; white-space: nowrap; } .footer-social ul li { display: inline-block } .footer-social ul li a { border: 1px solid #555; color: #fff; float: left; font-size: 18px; height: 40px; width: 40px; line-height: 40px; text-align: center; margin-right: 10px; -webkit-transition: all 0.4s ease 0s; transition: all 0.4s ease 0s; } .footer-social ul li a:hover { color: #fff; } .footer-social ul li a:hover i { -webkit-animation: toLeftFromRight 0.4s forwards; -moz-animation: toLeftFromRight 0.4s forwards; animation: toLeftFromRight 0.4s forwards; } .site-footer .site-info { background: #222; padding: 30px 0; } .site-info { color: #fff; } .site-footer .site-info a { text-decoration: underline; } .footer-top .widget { background: transparent; float: left; box-shadow: none; width: 25%; } .footer-top, .footer-top a { color: #ddd; } .footer-top ul { margin: 0; padding: 0; list-style: none; } .footer-top h2.widget-title { color: #fff; font-size: 20px; margin-bottom: 20px; text-transform: uppercase; } /* * ---------------------------------------------------------------------------------------- * 05. END FOOTER STYLE * ---------------------------------------------------------------------------------------- */ /* * ---------------------------------------------------------------------------------------- * 06. BLOG CUSTOM CSS * ---------------------------------------------------------------------------------------- */ .canon-content-area-padding { padding: 80px 0; } .canon-content-area-padding article.sticky { background-color: #fdfbf2; } .canon-single-page h1, h2, h3, h4, h5, h6 { color: #333; } .canon-article-list a.blog-rm-btn { display: inline-block; color: #fff; background: #337ab7; padding: 7px 20px; border-radius: 2px; margin: 20px 0 0 0; } .canon-article-list a.blog-rm-btn:hover { background: #333; } .canon-content-area-padding article a {} .canon-article-list article, .widget-area .widget { background: #fff; border: 1px solid #f1f1f1; margin-bottom: 50px; box-shadow: 0px 0px 5px #f1f1f1; } .canon-article-list .entry-header { padding: 20px 20px 10px; } .canon-article-list .entry-content { padding: 0 20px; } .canon-article-list .entry-footer { background: #f5f5f5; padding: 10px 20px; } .canon-article-list a { color: #333; } .canon-article-list h2, .widget-area .widget h2 { font-size: 25px; margin-bottom: 10px; color: #333; } .widget-area .widget h2 { background: #f5f5f5; padding: 20px 0; text-align: center; margin: -25px -25px 25px; position: relative; display: block; text-transform: uppercase; } .widget-area .widget h2::before { content: ""; position: absolute; background-color: #337ab7; height: 15px; width: 5px; top: 50%; bottom: auto; left: 0; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -o-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); } .canon-featured-content { margin-bottom: 20px; } /*single post author box css*/ .canon-author-bio { float: left; width: 100%; background: #f9f9f9; padding: 20px; } .canon-authorimage,.canon-author-dec { float: left; } .canon-authorimage { margin-right: 20px; } .canon-author-dec { width: 82%; } .canon-authorimage img { height: 100px; width: 100px; border-radius: 50%; } .canon-author-dec h4 { text-transform: capitalize; } .post-author-social ul { list-style: none; padding: 0; margin: 0; } .post-author-social ul li a { float: left; display: inline-block; margin-right: 12px; font-size: 16px; } /* * ---------------------------------------------------------------------------------------- * 06. END BLOG CUSTOM CSS * ---------------------------------------------------------------------------------------- */ /* * ---------------------------------------------------------------------------------------- * 07. ANIMATION & KEYFRAMES * ---------------------------------------------------------------------------------------- */ @-webkit-keyframes toLeftFromRight { 49% { -webkit-transform: translate(-100%); } 50% { opacity: 0; -webkit-transform: translate(100%); } 51% { opacity: 1; } } @-moz-keyframes toLeftFromRight { 49% { -moz-transform: translate(-100%); } 50% { opacity: 0; -moz-transform: translate(100%); } 51% { opacity: 1; } } @keyframes toLeftFromRight { 49% { transform: translate(-100%); } 50% { opacity: 0; transform: translate(100%); } 51% { opacity: 1; } } /* * ---------------------------------------------------------------------------------------- * 07.END ANIMATION & KEYFRAMES * ---------------------------------------------------------------------------------------- */ /* * ---------------------------------------------------------------------------------------- * 08. RESPONSIVE MEDIA QUIRIES * ---------------------------------------------------------------------------------------- */ @media only screen and (min-width: 992px) and (max-width: 1280px) {} /* Tablet Layout: 768px. */ @media only screen and (min-width: 768px) and (max-width: 991px) { .calendar_wrap table th, .calendar_wrap table td { padding: 2px; } .site-branding { display: block; } } /* Mobile Layout: 320px. */ @media only screen and (max-width: 767px) { #mainNav { padding: 0; } #mainNav.navbar-light .navbar-toggler { font-size: 15px; padding: 4px 9px; margin-right: 20px; } .footer-top .widget { width: 100%; } .footer-top .widget:nth-child(1) {width: 100%;} .comment-list li ol.children { padding-left: 20px; } .comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous { float: none; width: 100%; margin-bottom: 20px; } .comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next { float: none; width: 100%; } .site-branding { display: block; } } /* Wide Mobile Layout: 480px. */ @media only screen and (min-width: 480px) and (max-width: 767px) {} /* * ---------------------------------------------------------------------------------------- * 08. END RESPONSIVE MEDIA QUIRIES * ---------------------------------------------------------------------------------------- */