/* Theme Name: AffiliatePress Theme URI: https://www.bigtechies.com/affiliatepress-free-download/ Author: Big Techies Author URI: https://bigtechies.com/ Requires at least: 5.3 Tested up to: 6.1 Requires PHP: 5.6 Version: 1.3.2 License: GNU General Public License v2 or later License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html Text Domain: affiliatepress Description: Affiliatepress is a powerful WordPress theme designed specifically for affiliate marketers who want to create a professional-looking website to promote products and earn commissions. With its clean and modern design, Affiliatepress is packed with features that make it easy for affiliates to showcase products and services they recommend and maximize their earnings potential. Tags: blog */ :root { --white: #fff; --black: #000; --primary: #2871de; --dark: #32373c; --indigo-500: #3f51b5; --blue-grey-500: #34515e; --grey-400: #bdbdbd; --grey-500: #9e9e9e; --grey-600: #757575; --grey-900: #212121; --green: #43a047; --red: #ef5350; --yellow: #f4b400; --box-shadow-color: #6b6b6b; --box-shadow-1: 0 0 3px -1px #6b6b6b; } html { line-height: 1.15; } main { display: block; } h1 { font-size: 2em; margin: 0.67em 0; } hr { box-sizing: content-box; height: 0; overflow: visible; } pre { font-family: monospace, monospace; font-size: 1em; } a { background-color: transparent; } abbr[title] { border-bottom: none; text-decoration: underline; text-decoration: underline dotted; } b, strong { font-weight: bolder; } code, kbd, samp { font-family: monospace, monospace; font-size: 1em; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } img { border-style: none; max-width: 100%; height: auto; } button { all: unset; } button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; } button, input { overflow: visible; } button, select { text-transform: none; } [type="button"], [type="reset"], [type="submit"], button { -webkit-appearance: button; } [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner, button::-moz-focus-inner { border-style: none; padding: 0; } [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring, button:-moz-focusring { outline: 1px dotted ButtonText; } fieldset { padding: 0.35em 0.75em 0.625em; } legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; } progress { vertical-align: baseline; } textarea { overflow: auto; } [type="checkbox"], [type="radio"] { box-sizing: border-box; padding: 0; } [type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; } [type="search"] { -webkit-appearance: textfield; outline-offset: -2px; } [type="search"]::-webkit-search-decoration { -webkit-appearance: none; } ::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; } details { display: block; } summary { display: list-item; } template { display: none; } [hidden] { display: none; } *, *::after, *::before { box-sizing: border-box; } body { margin: 0; font-family: "Roboto", sans-serif; font-size: 18px; line-height: 1.6; color: var(--grey-900); display: flex; flex-direction: column; min-height: 100vh; } .site-content { flex: 1; } a { color: var(--primary); transition: all 0.3s ease-out; text-decoration: none; } a:hover { text-decoration: underline; } h1, h2, h3, h4, h5, h6 { line-height: 1.2; } h2 { position: relative; font-size: 30px; margin-bottom: 15px; } h3 { position: relative; font-size: 26px; margin-bottom: 15px; } h4 { position: relative; font-size: 20px; margin-bottom: 5px; } p { margin-top: 0; } p:last-child { margin-bottom: 0; } hr { border-style: solid; color: var(--grey-400); border-top-width: 1px; border-bottom-width: 0; } figure.wp-block-table { margin-left: 0; margin-right: 0; } ::-webkit-scrollbar { width: 11px; } ::-webkit-scrollbar-track { background: #f1f1f1; } ::-webkit-scrollbar-thumb { background: var(--grey-400); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #2871debf; } figure.wp-block-embed.alignleft { text-align: left; max-width: 100%; } figure.wp-block-embed.aligncenter { text-align: center; max-width: 100%; } figure.wp-block-embed.alignright { text-align: right; max-width: 100%; } .container { max-width: 1300px; margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px; } .wp-block-table.aligncenter, .wp-block-table.alignleft, .wp-block-table.alignright { width: 100%; } .published { display: none; } .hover__opacity:hover, .hover__opacity:focus { opacity: 0.6; } .header { margin-bottom: 20px; box-shadow: 0 1px 5px -4px var(--black); position: relative; } .topnav-inner { display: flex; justify-content: space-between; } .logo h1 { display: none; } .footer__logo-container { text-align: center; } .footer__company-text { margin-bottom: 5px; margin-top: 10px; text-align: center; font-size: 15px; } .footer__social { display: flex; justify-content: center; } .footer__social-icon { width: 45px; height: 45px; margin: 10px; padding: 10px; background: var(--white); color: var(--icon-color); border-radius: 5px; display: flex; } .footer__social .icon { width: 100%; } .footer__social-icon:hover { color: var(--white); background-color: var(--icon-color); } .footer__menu ul { list-style: none; display: flex; justify-content: center; padding: 0; margin: 15px 0; } .footer__menu .page_item { margin: 0 10px; } .footer__copyright { text-align: center; } .footer { padding-top: 20px; padding-bottom: 20px; margin-top: 35px; background-color: var(--dark); color: var(--white); } .facebook { --icon-color: #4367b2; } .youtube { --icon-color: #ff0000; } .twitter { --icon-color: #1da1f2; } .tumblr { --icon-color: #37474f; } .linkedin { --icon-color: #0766c2; } .footer__menu a { color: var(--white); } .logo { margin: 8px 0; } .navigation { display: flex; align-items: center; z-index: 1; } .custom-logo-link { line-height: 0; display: block; max-width: 240px; } .header .menu { display: flex; padding-left: 0; margin-top: 0; margin-bottom: 0; } .header .menu li { display: block; white-space: nowrap; } .header .menu li a { display: block; text-decoration: none; font-size: 18px; color: var(--grey-600); transition: color 0.3s ease-out; padding: 8px 10px; flex: 1; } .header .menu li a:hover { color: var(--primary); } .header .menu li a:after { display: block; content: ""; border-bottom: solid 2px var(--primary); transform: scaleX(0); transition: transform 250ms ease-in-out; } .header .menu li a:hover:after { transform: scaleX(1); } .breadcrumb__list { padding-left: 0; list-style: none; display: flex; margin-top: 0; } .breadcrumb__list-item { font-size: 12px; display: flex; align-items: center; } .breadcrumb__list-item__link { text-decoration: none; white-space: nowrap; color: var(--grey-600); } .breadcrumb__list-item .icon { min-width: 25px; width: 25px; padding-left: 5px; padding-right: 5px; color: var(--grey-500); } .breadcrumb__list-item > .breadcrumb__list-item__name { color: var(--primary); } .footer__menu li { margin: 0 8px; } .footer__copyright { display: flex; align-items: center; justify-content: center; } .footer__copyright__dmca { margin-right: 15px; text-align: center; } .footer__copyright__dmca a { display: flex; } .footer__copyright__text { display: inline-block; } .sub-menu { display: none; } .menu-item-has-children { position: relative; } .menu-item-has-children:hover .sub-menu { background: var(--white); border-radius: 5px; box-shadow: 0 0 3px -1px #000; display: grid; grid-template-rows: repeat(6, auto) 1fr; padding-left: 0; position: absolute; right: 0; grid-auto-flow: column; top: 42px; } .menu-item__open-btn { display: none; } .menu-item-has-children > .menu-item__open-btn { display: grid; place-items: center; height: 100%; cursor: pointer; } .header .menu > .menu-item-has-children > a { padding-right: 0; } .menu-item__open-btn .icon { width: 35px; transform: rotate(90deg); transition: transform 0.3s ease-out; color: var(--grey-600); pointer-events: none; } .menu-item-has-children:hover .menu-item__open-btn .icon { transform: rotate(270deg); } .header .menu > .menu-item-has-children { display: flex; align-items: center; justify-content: space-between; } .header .menu .sub-menu li { min-width: 230px; } .button-cookie { background: var(--primary); color: var(--white); padding: 10px 20px; border-radius: 5px; cursor: pointer; } .cookie-consent.show { display: block; } .cookie-consent { display: none; box-shadow: 0 -1px 5px -4px var(--black); background: #ffffff; bottom: 0; color: var(--black); left: 0; position: fixed; width: 100%; z-index: 999; } .cookie-consent__container { display: flex; justify-content: space-between; align-items: center; max-width: 1300px; margin: auto; padding: 15px; } .cookie-consent__container p { margin-bottom: 0; } @media (min-width: 1025px) { .hamburger { display: none; } } @media (max-width: 1024px) { h2 { font-size: 24px; } h3 { font-size: 21px; } h4 { font-size: 18px; } body { font-size: 17px; line-height: 1.5; } .menu-item-has-children > .sub-menu { display: none !important; } .header .menu > .menu-item-has-children a { padding-right: 10px; } .menu-item-has-children .menu-item__open-btn .icon { transform: rotate(90deg) !important; } .menu-item-has-children.open .menu-item__open-btn .icon { transform: rotate(270deg) !important; } .menu-item-has-children.open > .sub-menu { display: block !important; margin-bottom: 5px; margin-left: 30px; margin-right: 10px; position: relative; min-width: auto; top: 0; width: 100%; background: var(--white); border-radius: 5px; box-shadow: 0 0 3px -1px #000; grid-auto-flow: column; grid-template-rows: repeat(6, auto) 1fr; padding-left: 0; right: 0; } .header .menu > .menu-item-has-children { flex-wrap: wrap; } .footer__copyright__dmca { margin-bottom: 15px; margin-right: 0; } .footer__copyright { flex-direction: column; } .footer__menu ul { flex-wrap: wrap; } .navigation { display: block; position: absolute; top: 115%; left: 50%; width: 95%; box-shadow: 0px 0 4px var(--grey-400); border-radius: 5px; overflow: hidden; transform: translateX(-200%); transition: 0.3s transform ease-out; } .logo { display: flex; justify-content: space-between; flex: 1; align-items: center; } .hamburger span { width: 100%; height: 4px; background: var(--primary); display: block; border-radius: 2px; transition: transform 0.3s ease-out; } .hamburger { width: 30px; height: 24px; border-radius: 4px; display: flex; flex-direction: column; justify-content: space-between; padding: 8px 7px; background: none; border: none; box-shadow: 0px 0px 3px var(--grey-400); } .header.active .hamburger span:nth-child(1) { transform: translateY(10px) rotate(45deg); } .header.active .hamburger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); } .header.active .hamburger span:nth-child(2) { display: none; } .header.active .navigation { transform: translateX(-50%); } .header .menu { flex-direction: column; background: var(--white); } .header .menu li { border-bottom: 1px solid var(--grey-400); } .header .menu li:last-child { border-bottom: 0; } } @media (max-width: 767px) { h2 { font-size: 21px; } h3 { font-size: 19px; } h4 { font-size: 17px; margin-top: 15px; } body { font-size: 16px; line-height: 1.5; } }