/* # # Theme Blog Build # Default style for Blog Build */ /*-------------------------------------------------------------- >>> TABLE OF CONTENTS: ---------------------------------------------------------------- # Components - Media - Captions - Galleries # plugins - Jetpack infinite scroll # Utilities - Accessibility - Alignments # Comments --------------------------------------------------------------*/ /*-------------------------------------------------------------- # Components --------------------------------------------------------------*/ /* Form style --------------------------------------------- */ /* Target all common form elements directly */ input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="url"], input[type="tel"], input[type="search"], input[type="date"], input[type="time"], input[type="datetime-local"], input[type="month"], input[type="week"], select, textarea { display: block; width: 100%; padding: 0.375rem 0.75rem; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #212529; background-color: #fff; background-clip: padding-box; border: 1px solid #ced4da; border-radius: 0.25rem; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; } /* Focus states for all form inputs */ input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="url"]:focus, input[type="tel"]:focus, input[type="search"]:focus, input[type="date"]:focus, input[type="time"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="week"]:focus, select:focus, textarea:focus { color: #212529; background-color: #fff; border-color: #86b7fe; outline: 0; box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); } /* Disabled and readonly states */ input:disabled, input[readonly], select:disabled, textarea:disabled, textarea[readonly] { background-color: #e9ecef; opacity: 1; } /* Color input specific */ input[type="color"] { height: 2.25rem; padding: 0.25rem; border: 1px solid #ced4da; border-radius: 0.25rem; } /* Range input specific */ input[type="range"] { width: 100%; padding: 0; background-color: transparent; border: none; } /* Checkbox and radio */ input[type="checkbox"], input[type="radio"] { width: auto; margin-right: 0.5rem; } /* Select dropdown */ select { padding-right: 2rem; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 16px 12px; appearance: none; } select[multiple] { padding-right: 0.75rem; background-image: none; } /* Textarea */ textarea { min-height: 100px; resize: vertical; } /* File input */ input[type="file"] { width: 100%; padding: 0.375rem 0; } /* Placeholder styling */ input::placeholder, textarea::placeholder { color: #6c757d; opacity: 0.5; } /* Form labels */ label { display: inline-block; margin-bottom: 0.5rem; font-weight: 500; } /* Submit and button inputs */ input[type="submit"], input[type="button"], input[type="reset"], button { display: inline-block; font-weight: 400; line-height: 1.5; text-align: center; text-decoration: none; vertical-align: middle; cursor: pointer; user-select: none; padding: 0.375rem 0.75rem; font-size: 1rem; border-radius: 0.25rem; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; color: #fff; background-color: #0d6efd; border: 1px solid #0d6efd; } input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover, button:hover { color: #fff; background-color: #0b5ed7; border-color: #0a58ca; } /* Form element spacing */ form>*+* { margin-top: 1rem; } .search-form input.search-submit { margin: 0; } /* Media --------------------------------------------- */ .page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; } img{ max-width: 100%; height: auto; } /* Make sure logo link wraps around logo image. */ .custom-logo-link { display: inline-block; } /* Captions --------------------------------------------- */ iframe { border: 0; max-width: 100%; } .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; display: grid; grid-gap: 1.5em; } .gallery-item { display: inline-block; text-align: center; width: 100%; } .gallery-columns-2 { grid-template-columns: repeat(2, 1fr); } .gallery-columns-3 { grid-template-columns: repeat(3, 1fr); } .gallery-columns-4 { grid-template-columns: repeat(4, 1fr); } .gallery-columns-5 { grid-template-columns: repeat(5, 1fr); } .gallery-columns-6 { grid-template-columns: repeat(6, 1fr); } .gallery-columns-7 { grid-template-columns: repeat(7, 1fr); } .gallery-columns-8 { grid-template-columns: repeat(8, 1fr); } .gallery-columns-9 { grid-template-columns: repeat(9, 1fr); } .gallery-caption { display: block; } /* Table --------------------------------------------- */ .entry-content table, .comment-content table { border-left: 1px solid #ccc; border-bottom: 1px solid #ccc; } .entry-content table td, .entry-content table th, .comment-content table td, .comment-content table th { border-right: 1px solid #ccc; border-top: 1px solid #ccc; padding: 10px; } .entry-content table th, .comment-content table th { background: #ccc; } /*-------------------------------------------------------------- # Plugins --------------------------------------------------------------*/ /* Jetpack infinite scroll --------------------------------------------- */ /* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */ .infinite-scroll .posts-navigation, .infinite-scroll.neverending .site-footer { display: none; } /* Re-display the Theme Footer when Infinite Scroll has reached its end. */ .infinity-end.neverending .site-footer { display: block; } /*-------------------------------------------------------------- # Utilities --------------------------------------------------------------*/ /* Accessibility --------------------------------------------- */ /* Text meant only for screen readers. */ .screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; } .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; clip-path: none; color: #21759b; display: block; font-size: 0.875rem; font-weight: 700; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; } /* Do not show the outline on the skip link target. */ #primary[tabindex="-1"]:focus { outline: 0; } /* Alignments --------------------------------------------- */ .alignleft { /*rtl:ignore*/ float: left; /*rtl:ignore*/ margin-right: 1.5em; margin-bottom: 1.5em; } .alignright { /*rtl:ignore*/ float: right; /*rtl:ignore*/ margin-left: 1.5em; margin-bottom: 1.5em; } .aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; margin-bottom: 1.5em; } /* Comments --------------------------------------------- */ .comment-content a { word-wrap: break-word; } .comments-area { margin-top: 4.6rem; } .bypostauthor { display: block; } .comment-respond { margin-top: 4rem; margin-bottom: 4rem; border: solid thin #eaeaea; padding: 1.75rem; } .comment-notes { font-size: medium; margin: 0px 0; } .comment-list { padding: 0; } .comment-meta { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; align-items: center; margin-bottom: 1rem; } .comment-author img { border-radius: 50%; margin-right: 0.5rem; } .comment-metadata a { color: #c1c1c1; } .says { display: none; } .comment-reply-link { border: solid thin #eaeaea; padding: 0.2rem 0.5rem; } .comment-form-cookies-consent { font-size: medium; font-weight: normal; display: flex; align-items: center; } p.comment-form-cookies-consent>input { margin-right: 5px; } .comments-area ol { list-style: none; } .comment-body { border: solid thin #e2e8f0; padding: 1rem; margin-bottom: 2rem; font-size: medium; word-wrap: break-word; } ol.children { margin-bottom: 0; margin-left: 0; } div.comments-area label { display: inline-block; margin-bottom: 0; color: #757575; } p.logged-in-as { font-size: medium; margin: 0px 0; } span.nav-subtitle { color: #999; } form#commentform input:not([type="checkbox"]) { display: block; width: 100%; } /* Comments Header */ .comment-reply-title, .comments-title { font-size: clamp(24px, 4vw, 40px); line-height: clamp(32px, 5vw, 48px); margin-bottom: 20px; color: var(--color-secondary); } /* Individual Comment */ .comment-list { list-style: none; padding: 0; } .comment { margin-bottom: 20px; } .comment-body { background-color: var(--color-section-bg); border-radius: 8px; padding: 15px; margin-bottom: 15px; } /* Comment Author */ .comment-author { display: flex; align-items: center; margin-bottom: 5px; } .comment-author img { width: 40px; height: 40px; border-radius: 50%; margin-right: 10px; } .comment-author .fn { font-weight: 600; color: var(--color-secondary); } /* Comment Metadata */ .comment-metadata { font-size: 12px; color: var(--color-desc-one); margin-bottom: 10px; } /* Comment Content */ .comment-content { margin-top: 10px; color: var(--color-desc-one); line-height: 1.5; } /* Reply Button */ .reply { margin-top: 8px; } .reply a { color: var(--color-desc-one); text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; } .reply a:hover { color: var(--color-primary-100); text-decoration: underline; } .reply a::before { content: ""; display: inline-block; width: 16px; height: 16px; background-image: url('data:image/svg+xml;utf8,'); background-size: contain; margin-right: 5px; } /* Comment Form */ .comment-respond { margin-top: 30px; background-color: var(--color-section-bg); border-radius: 8px; padding: 20px; } .comment-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; } .comment-form-comment, .form-submit, .comment-form-cookies-consent { grid-column: 1 / -1; } /* Form Fields */ .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form input[type="tel"], .comment-form textarea { width: 100%; padding: 10px 15px; border: 1px solid var(--color-border); border-radius: 4px; font-size: 16px; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; } .comment-form input[type="text"]:focus, .comment-form input[type="email"]:focus, .comment-form input[type="tel"]:focus, .comment-form textarea:focus { border-color: var(--color-primary-70); outline: 0; box-shadow: 0 0 0 0.25rem var(--color-primary-50); } .comment-form textarea { resize: vertical; } /* Submit Button */ .form-submit input[type="submit"] { background-color: var(--color-primary-100); color: var(--color-white); font-weight: 500; padding: 10px 15px; font-size: 16px; border: none; border-radius: 4px; cursor: pointer; width: 100%; transition: background-color 0.2s ease; } .form-submit input[type="submit"]:hover { background-color: var(--color-primary-110); } /* Required Fields */ .required { color: var(--color-primary-110); } /* Comment Notes */ .comment-notes { font-size: 14px; color: var(--color-desc-one); margin-bottom: 15px; grid-column: 1 / -1; } /* Responsive Adjustments */ @media (max-width: 768px) { .comment-form { grid-template-columns: 1fr; } } @media only screen and (max-width: 991px) { .has-thumbnail .blog-rich-text.text-center.p-3 { margin-bottom: 2rem; } } /* Sidebar widget style */ /* Calender widget style */ /* Calendar Widget Styling */ .widget_calendar { width: 100%; margin-bottom: 1.5rem; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; } .widget_calendar table { width: 100%; border-collapse: collapse; table-layout: fixed; } .widget_calendar thead { background: var(--color-section-bg); } .widget_calendar caption { margin-bottom: 0.5rem; font-size: 1.1rem; text-align: left; color: var(--color-white); caption-side: top; background: var(--color-desc-one); text-align: center; padding: 10px; } nav.wp-calendar-nav { background: var(--color-section-bg); padding: 10px; margin-top: 10px; } .widget_calendar th { padding: 0.3rem 0; text-align: center; font-weight: bold; color: var(--color-secondary); font-size: 0.9rem; } .widget_calendar td { padding: 0.3rem 0; text-align: center; font-size: 0.95rem; color: #333; } .widget_calendar tbody tr { line-height: 2; } .widget_calendar td a { display: block; text-align: center; text-decoration: none; color: var(--color-desc-one); border-radius: 50%; } .widget_calendar td a:hover { background-color: var(--color-white); } .widget_calendar td.today a { background-color: var(--color-white); font-weight: bold; } .widget_calendar .prev-month, .widget_calendar .next-month { padding-top: 1rem; } .widget_calendar .prev-month a, .widget_calendar .next-month a { color: var(--color-desc-one); text-decoration: none; } .widget_calendar .prev-month { float: left; } .widget_calendar .next-month { float: right; } /* Month navigation */ .calendar-month-navigation { margin-top: 0.5rem; display: flex; justify-content: space-between; } .calendar-month-navigation a { color: var(--color-desc-one); text-decoration: none; font-size: 0.9rem; } /* Specific styling to match screenshot */ .widget_calendar tfoot { border-top: none; } .widget_calendar #prev { text-align: left; padding-top: 0.8rem; } .widget_calendar #next { text-align: right; padding-top: 0.8rem; } /* The month and year display styling */ .widget_calendar .calendar-month-year { font-size: 1rem; color: var(--color-desc-one); margin-bottom: 0.8rem; } /* Adjust the cell spacing to match screenshot */ .widget_calendar tbody td { padding: 0; line-height: 1.6; } /* Calendar days with no posts */ .widget_calendar tbody td:not(.has-posts) { color: var(--color-desc-one); } /* Match the tight spacing seen in the screenshot */ .widget_calendar { line-height: 1.2; } /* Remove any cell borders */ .widget_calendar th, .widget_calendar td { border: none; } /*title catgory widget style*/ h2.widget-title, .widget h2.wp-block-heading { font-size: 32px; line-height: 48px; } .widget-sidebar section.widget { margin-bottom: 2rem; } .widget-area ol, .widget-area ul { margin: 0; padding: 0; list-style: none; } .widget-area ol li, .widget-area ul li { border: 1px solid var(--color-border); margin-bottom: 10px; background: var(--color-section-bg); border-radius: 6px; padding: 20px; overflow: hidden; } .widget-area .widget_categories ul li, .widget-area .widget_pages ul li, .widget-area ul.menu li, .widget-area ul.wp-block-categories-list li, .widget-area ul.wp-block-archives-list li { background: var(--color-section-bg); display: flex; align-items: center; justify-content: space-between; } .widget-area .widget_categories ul li a, .widget-area .widget_pages ul li a, .widget-area ul.menu li a, .widget-area ul.wp-block-categories-list li a, .widget-area ul.wp-block-archives-list li a { display: block; font-size: 20px; line-height: 26px; font-weight: 600; } .tagcloud a, .wp-block-tag-cloud a { font-size: 20px !important; line-height: 26px; font-weight: 600; border: 1px solid var(--color-border); border-radius: 6px; padding: 10px 20px; margin: 0 10px 10px 0; display: inline-block; } .widget-area .widget_categories ul li a, .widget-area .widget_pages ul li a, .widget-area ul.menu li a, .widget-area ul.wp-block-categories-list li a, .widget-area ul.wp-block-archives-list li a { display: block; font-size: 20px; line-height: 26px; font-weight: 600; } .widget-area .widget_categories ul li:hover, .widget-area .widget_pages ul li:hover, .widget-area ul.menu li:hover, .widget-area ul.wp-block-categories-list li:hover, .widget-area ul.wp-block-archives-list li:hover, .tagcloud a:hover, .wp-block-tag-cloud a:hover { background: var(--color-primary-100); color: var(--color-white); text-decoration: none; } .widget-area .widget_categories ul li:hover a, .widget-area .widget_pages ul li:hover a, .widget-area ul.menu li:hover a, .widget-area ul.wp-block-categories-list li:hover a, .widget-area ul.wp-block-archives-list li:hover a { color: var(--color-white); text-decoration: none; } a.wp-block-latest-posts__post-title { font-weight: 700; line-height: 20px; font-size: 14px; } .wp-block-latest-posts__featured-image.alignleft, .wp-block-latest-posts__featured-image.alignright{ margin-bottom: 0; } /* Custom Scrollbar */ ::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: var(--white); } ::-webkit-scrollbar-thumb { background-color: var(--color-primary); }