:root {
--primary-color: #fecc16;
--secondary-color: black;
--highlighting-color: #0073aa;
--very-highlighting-color: #cf2e2e;
--light-color: white;
}
* {
box-sizing: border-box;
}
.mobile-menu-toggle .icon,
.social-icons .icon {
font-size: 25px;
width: auto;
height: auto;
margin: 3px;
cursor: pointer;
}
.search-input:focus-visible {
outline: none;
}
.search-input::placeholder {
color: red;
opacity: 0.75;
color: var(--primary-color);
}
.search-input {
border: none;
background-color: var(--secondary-color);
color: var(--primary-color);
width: 100%;
padding: 8px;
}
body {
font-size: 20px;
background-color: var(--light-color);
}
body.openMenu {
overflow: hidden;
}
.wpTemplateSimple body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
.wpTemplateSimple a {
text-decoration: none;
color: var(--secondary-color);
}
.wpTemplateSimple .main-content a {
color: var(--highlighting-color);
}
.wpTemplateSimple .main-content a:hover {
color: var(--very-highlighting-color);
}
.main-content {
background-color: var(--light-color);
flex: 1;
}
body {
background-color: var(--primary-color);
color: var(--secondary-color);
}
header h1 {
visibility: hidden;
}
header h1,
header h2 {
margin: 0px;
}
h1 {
font-size: 0px;
}
h2 {
font-size: 0px;
}
h3 {
font-size: 23px;
}
h4 {
font-size: 22px;
}
footer {
padding: 20px 0;
}
footer {
text-align: center;
}
.nav-menu {
list-style: none;
padding: 0;
}
.left-sidebar,
.right-sidebar,
.main-content {
padding: 30px;
}
.category-reportaze .main-content,
.home .main-content {
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.wpTemplateSimple .pagination a,
.wpTemplateSimple .menu-item a,
.wpTemplateSimple a.button {
color: var(--secondary-color);
background-color: var(--primary-color);
padding: 0.5ex 1ex;
}
.wpTemplateSimple .pagination a:hover,
.wpTemplateSimple .menu-item a:hover,
.wpTemplateSimple a.button:hover {
color: var(--primary-color);
background-color: var(--secondary-color);
}
.wpTemplateSimple .pagination {
width: 100%;
text-align: center;
}
.wpTemplateSimple .pagination a {
margin: 2px;
}
.wpTemplateSimple footer li {
margin-right: 1ex;
margin-left: 1ex;
}
.mobile-menu-toggle {
display: none;
}
.nav-menu li,
.nav-menu a {
display: block;
text-transform: uppercase;
}
.main-nav {
z-index: 1000;
top: 0;
}
#myOverlay {
display: none;
}
.overlay {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 999;
}
.fullWidth {
width: 100%;
}
.postPreview {
flex: 1 1 calc(50% - 50px);
box-sizing: border-box;
}
.postPreview.highlighted {
flex: 1 1 100%;
margin-bottom: 20px;
}
.main-content h4,
.main-content h3 {
text-transform: uppercase;
font-weight: 900;
}
header .social-icons {
padding: 10px 0;
}
.wp-post-image {
margin-bottom: 1ex;
}
.carousel-container {
position: relative;
width: 100%;
margin: 0 auto;
overflow: hidden;
}
.carousel {
display: flex;
transition: transform 0.5s ease-in-out;
}
.carousel-slide {
min-width: 100%;
box-sizing: border-box;
}
.carousel-button {
position: absolute;
top: 50%;
background-color: var(--primary-color);
color: var(--secondary-color);
border: none;
padding: 10px;
cursor: pointer;
z-index: 10;
font-size: 30px;
}
.prev-btn {
left: 10px;
transform: translateY(-50%);
}
.next-btn {
right: 10px;
transform: translateY(-50%);
}
.carousel-pagination {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
display: flex;
justify-content: center;
}
.carousel-pagination span {
width: 10px;
height: 10px;
margin: 0 5px;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 50%;
cursor: pointer;
transition: background-color 0.3s;
}
.carousel-pagination span.active {
background-color: var(--highlighting-color);
}
@media (max-width: 767px) {
.postPreview {
flex: 1 1 100%;
}
header .social-icons {
padding-right: 5px;
}
.search-form {
display: none;
}
header {
text-align: center;
}
.openMenu #myOverlay,
.openMenu .main-nav,
.mobile-menu-toggle {
display: block;
}
.mobile-menu-toggle {
background: var(--primary-color);
position: absolute;
top: 1ex;
right: 1ex;
font-size: 30px;
}
.main-nav .menu-item {
padding: 1ex;
}
.main-nav {
background: var(--primary-color);
position: fixed;
display: none;
height: 100vh;
width: 75vw;
left: 0;
}
.wp-post-image {
width: 100%;
height: auto;
}
.main-content p {
text-align: justify;
}
.widget .hideSmall,
.hideSmall {
display: none;
}
}
@media (min-width: 768px) {
.postPreview img {
width: 65%;
height: auto;
}
.postPreview.highlighted img {
width: 50%;
height: auto;
}
.postPreview {
clear: both;
}
.wp-post-image {
float: left;
margin-right: 1em;
}
.search-form {
margin-right: 5px;
}
.main-nav {
background-color: var(--secondary-color);
position: sticky;
}
.main-nav ul {
padding: 0px 0px 4px 0px;
margin: 0px;
}
.main-nav li {
background-color: var(--secondary-color);
}
.last-in-header {
margin: 1ex;
text-align: right;
}
body.admin-bar nav {
top: 32px;
}
header,
.columns {
display: flex;
}
header {
align-items: center;
}
.right-sidebar,
.left-sidebar {
flex: 0 0 200px;
max-width: 200px;
background-color: var(--primary-color);
}
.columns {
align-items: stretch;
}
.nav-menu {
gap: 4px;
display: flex;
justify-content: center;
}
.site-name {
margin-left: 1em;
flex: 1;
}
}
@media (min-width: 1100px) {
.right-sidebar,
.left-sidebar {
flex: 0 0 250px;
max-width: 250px;
}
}
@media (min-width: 1400px) {
.right-sidebar,
.left-sidebar {
flex: 0 0 300px;
max-width: 300px;
}
}