/* Theme Name: BensTheme Theme URI: https://benpinales.com/wordpressinfo Author: Ben Pinales Author URI: https://benpinales.com Description: This is a basic theme I've developed for a school project. It includes all of the basic function and some slightly more advance as well. Version: 1.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: blog, one-column, full-width-template, block-styles Text Domain: BensTheme */ /*====================================================== ================== BASIC OVERALL STYLES ================ =======================================================*/ .wp-caption{ text-align: center; } .wp-caption-text{ text-align: center; } .sticky{ position: sticky; } .screen-reader-text{ text-align: center; } .gallery-caption{ text-align: center; } .bypostauthor{ text-align: center; } .alignright{ text-align: right; } .alignleft{ text-align: left; } .aligncenter{ text-align: center; } a { color: rgb(150, 10, 20); text-decoration: none; background: transparent; text-shadow: 1px 1px 2px rgba(0, 0, 0, .5); transition-duration: .3s; } li{ list-style-type: none; } .left-list li{ float: left; padding: 0 2%; } a:hover{ text-shadow: 3px 3px 4px rgba(0, 0, 0, .5); } .content-wrap{ padding: 10% 10%; max-width: 100%; } /*====================================================== ==================== NAVIGATION MENU =================== =======================================================*/ /* -- Side menu -- */ #nav-icon{ display: none; position: fixed; z-index: 9999999; padding: 13px; top: 0px; right: 10px; } #nav-icon:hover { cursor: pointer; } #icon-container{ display: none; width: 100%; height: 60px; position: fixed; top: 0; z-index: 10; background: rgba(0, 0, 0, .3); } #side-menu{ display: none; background: rgb(50, 50, 50); width: 60%; height: 100%; position: fixed; top: 0; right: 0; z-index: 99999; border-radius: 3px; transition-duration: .5s; } #side-menu li{ width: 100%; } /* -- Top Menu -- */ @media only screen and(max-width: 900px){ #top-menu .nav-menu{ width: 50% !important; } } .main-menu-container{ padding: 0; } #top-menu{ width: 95%; max-width: 90%; position: fixed; padding-right: 10%; top: -2px; left: 0px; background: rgba(0, 0, 0, .3); } #top-menu .nav-menu{ width: auto; float: right; margin: 0; z-index: 9999; min-height: 60px; } .nav-menu li a{ color: red; text-decoration: none; font-size: 15pt; font-weight: bolder; text-shadow: .5px .5px 3px rgba(0, 0, 0, .5); } .nav-menu li{ float: left; padding: 20px; background: transparent; list-style-type: none; cursor: pointer; transition-duration: .3s; } .nav-menu li:hover{ background: rgba(0, 0, 0, .4); list-style-type: none; color: red; border-radius: 5px; box-shadow: 0px 35px 15px -25px black; } /*====================================================== ========================= HEADER ======================= =======================================================*/ @media only screen and (max-width: 600px) { #front-page-header-pic{ margin-top: 0% !important; } } @media only screen and (max-width: 800px) { .head-pic{ max-height: 300px; } .header-title{ font-size: 30pt !important; } #front-page-header-pic{ margin-top: -20% !important; } } .head-pic{ border: none; padding: 0; width: 100%; height: 800px; position: relative; margin: auto; overflow: hidden; border-radius: 3px; align-content: center; } .header-title{ font-size: 80pt; width: 80%; margin: auto; position: relative; z-index: 2; text-align: center; color: rgba(200, 200, 200, 1); text-shadow: 2px 3px 5px black; } .front-page-header-pic{ width: 150%; margin-left: -10%; margin-top: -30%; } /*====================================================== ==================== CATEGORIES PAGE =================== =======================================================*/ .cat-2{ width: 100%; text-align: center; font-size: 40pt; } .cat-3{ font-size: 30pt; } /*====================================================== ======================== fOOTER ======================== =======================================================*/ footer{ max-width: 100%; padding: 30px 50px; position: relative; background: rgba(100, 100, 100, .8); } .footer-link{ text-decoration: none; font-style: bold; color: rgb(150, 0, 50); transition-duration: .5s; } h2 .footer-link:hover{ transform: scale(1.5); }