fix(theme-check): perbaiki kapitalisasi WordPress, dimensi screenshot 1200x900, dan kompresi aset gambar
This commit is contained in:
@@ -3,9 +3,15 @@ Theme Name: EduKarsa
|
||||
Theme URI: https://edukarsa.masbudi.my.id
|
||||
Author: masbudikusuma
|
||||
Author URI: https://masbudi.my.id
|
||||
Description: Tema WordPress profesional untuk sekolah dan kampus (Gaya Modern Card Layout).<br><br><strong>Fitur Unggulan Tema:</strong><ul><li><strong>Zero Plugin Dependency:</strong> Berjalan optimal tanpa ketergantungan plugin pihak ketiga (tanpa ACF, Elementor, atau plugin galeri).</li><li><strong>Modular Architecture:</strong> Berkas functions.php berfungsi murni sebagai pemanggil (router), seluruh fungsionalitas diisolasi di folder inc/.</li><li><strong>Hardened Security Native:</strong> Pengecekan eksekusi langsung, HTTP security headers, penonaktifan author enumeration, dan proteksi REST API.</li><li><strong>WCAG 2.1 Accessibility:</strong> Widget aksesibilitas bawaan dengan Web Speech API (suara baca audio) dan kontras tinggi.</li><li><strong>Multilingual Terpadu:</strong> Penerjemah instan sisi depan (ID, EN, AR, ZH, JA) serta panel admin dwibahasa.</li><li><strong>SEO & Structured Data:</strong> Skema data terstruktur JSON-LD native untuk visibilitas mesin pencari.</li></ul>
|
||||
Version: 1.1.5
|
||||
Tags: pendidikan, sekolah, universitas, custom-menu, custom-logo, modern-layout, responsive-layout, translation-ready, accessibility-ready, seo-friendly
|
||||
Description: Tema WordPress native profesional untuk institusi pendidikan, sekolah, madrasah, dan perguruan tinggi dengan arsitektur modern card layout, aksesibilitas WCAG 2.1, serta kecepatan tinggi tanpa plugin pihak ketiga.
|
||||
Version: 1.1.6
|
||||
Tested up to: 6.7
|
||||
Requires at least: 6.0
|
||||
Requires PHP: 7.4
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: edukarsa
|
||||
Tags: education, grid-layout, custom-menu, custom-logo, featured-images, translation-ready, wide-blocks, block-styles, full-width-template, theme-options
|
||||
*/
|
||||
|
||||
:root {
|
||||
@@ -17,17 +23,17 @@ Tags: pendidikan, sekolah, universitas, custom-menu, custom-logo, modern-layout,
|
||||
--bg-light-blue: #f8fafc;
|
||||
--bg-white: #ffffff;
|
||||
--radius: 14px;
|
||||
--shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
|
||||
--shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
|
||||
--font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
|
||||
}
|
||||
|
||||
/* 1. RESET & DASAR */
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
body {
|
||||
font-family: var(--font-main);
|
||||
color: var(--text-color);
|
||||
background-color: var(--bg-white);
|
||||
line-height: 1.7;
|
||||
body {
|
||||
font-family: var(--font-main);
|
||||
color: var(--text-color);
|
||||
background-color: var(--bg-white);
|
||||
line-height: 1.7;
|
||||
font-size: 16px;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
@@ -38,6 +44,48 @@ img { max-width: 100%; height: auto; display: block; }
|
||||
a { text-decoration: none; color: var(--primary-color); transition: 0.3s; }
|
||||
h1, h2, h3, h4, h5, h6 { color: var(--heading-color); font-weight: 800; line-height: 1.3; }
|
||||
|
||||
/* Standar Kelas Wajib WordPress Theme Check */
|
||||
.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: #f1f5f9;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.2);
|
||||
clip: auto !important;
|
||||
clip-path: none;
|
||||
color: var(--primary-color);
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
height: auto;
|
||||
left: 8px;
|
||||
line-height: normal;
|
||||
padding: 12px 20px;
|
||||
text-decoration: none;
|
||||
top: 8px;
|
||||
width: auto;
|
||||
z-index: 100000;
|
||||
}
|
||||
.alignleft { float: left; margin: 0.5em 1.5em 1.5em 0; }
|
||||
.alignright { float: right; margin: 0.5em 0 1.5em 1.5em; }
|
||||
.aligncenter { display: block; margin-left: auto; margin-right: auto; clear: both; }
|
||||
.wp-caption { margin-bottom: 1.5em; max-width: 100%; text-align: center; }
|
||||
.wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; }
|
||||
.wp-caption-text { font-size: 13px; color: var(--text-muted); margin-top: 6px; font-style: italic; }
|
||||
.sticky { border-left: 4px solid var(--secondary-color); padding-left: 10px; }
|
||||
.gallery-caption { font-size: 12px; color: var(--text-muted); text-align: center; }
|
||||
.bypostauthor { font-weight: inherit; }
|
||||
|
||||
/* 2. LAYOUT UTAMA */
|
||||
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
|
||||
.text-center { text-align: center; }
|
||||
@@ -111,11 +159,9 @@ h1, h2, h3, h4, h5, h6 { color: var(--heading-color); font-weight: 800; line-hei
|
||||
.stat-card-modern .stat-number { font-size: 40px; font-weight: 800; color: var(--primary-color); margin-bottom: 4px; line-height: 1; }
|
||||
.stat-card-modern .stat-title { font-size: 17px; font-weight: 800; color: var(--heading-color); margin-bottom: 6px; }
|
||||
.stat-card-modern .stat-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }
|
||||
|
||||
.edukarsa-sambutan { padding: 45px 0 50px; }
|
||||
.sambutan-grid { display: grid; grid-template-columns: 360px 1fr; gap: 50px; align-items: start; }
|
||||
.sambutan-text { color: #475569; font-size: 15px; line-height: 1.8; margin-bottom: 25px; }
|
||||
|
||||
.milestone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
|
||||
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
|
||||
.program-card { padding: 30px 22px; }
|
||||
@@ -137,15 +183,15 @@ h1, h2, h3, h4, h5, h6 { color: var(--heading-color); font-weight: 800; line-hei
|
||||
|
||||
/* FLOATING CTA */
|
||||
.edukarsa-cta-floating-section { position: relative; z-index: 15; margin-top: -45px; margin-bottom: 20px; }
|
||||
.cta-floating-card {
|
||||
background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
|
||||
border-radius: 20px;
|
||||
padding: 35px 45px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
box-shadow: 0 18px 40px rgba(0,0,0,0.18);
|
||||
border: 1px solid rgba(255,255,255,0.2);
|
||||
.cta-floating-card {
|
||||
background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
|
||||
border-radius: 20px;
|
||||
padding: 35px 45px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
box-shadow: 0 18px 40px rgba(0,0,0,0.18);
|
||||
border: 1px solid rgba(255,255,255,0.2);
|
||||
}
|
||||
.cta-floating-title { font-size: 26px; font-weight: 800; color: #ffffff; margin: 0; letter-spacing: -0.5px; }
|
||||
.cta-btn-custom { padding: 14px 34px; font-size: 15px; font-weight: 800; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
|
||||
@@ -186,24 +232,20 @@ h1, h2, h3, h4, h5, h6 { color: var(--heading-color); font-weight: 800; line-hei
|
||||
.footer-brand-desc { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 20px; }
|
||||
.footer-hours-box { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.06); padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); }
|
||||
.hours-icon { font-size: 22px; }
|
||||
|
||||
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
|
||||
.footer-contact-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.6; }
|
||||
.footer-contact-list li a { color: rgba(255,255,255,0.9); }
|
||||
.footer-contact-list li a:hover { color: #f39c12; }
|
||||
.f-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
|
||||
|
||||
.footer-links-custom { list-style: none; padding: 0; margin: 0; }
|
||||
.footer-links-custom li { margin-bottom: 12px; }
|
||||
.footer-links-custom li a { color: rgba(255,255,255,0.82); font-size: 14px; transition: all 0.25s ease; display: inline-flex; align-items: center; gap: 8px; }
|
||||
.footer-links-custom li a::before { content: '›'; font-size: 16px; color: var(--secondary-color); font-weight: bold; transition: transform 0.2s; }
|
||||
.footer-links-custom li a::before { content: ' '; font-size: 16px; color: var(--secondary-color); font-weight: bold; transition: transform 0.2s; }
|
||||
.footer-links-custom li a:hover { color: #ffffff; padding-left: 5px; }
|
||||
.footer-links-custom li a:hover::before { transform: translateX(3px); color: #f39c12; }
|
||||
|
||||
.footer-social-icons { display: flex; gap: 10px; flex-wrap: wrap; }
|
||||
.social-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08); color: #ffffff !important; border: 1px solid rgba(255,255,255,0.15); transition: all 0.25s ease; }
|
||||
.social-btn:hover { background: var(--secondary-color); transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,0.25); border-color: transparent; }
|
||||
|
||||
.footer-bottom-bar { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; background: rgba(0,0,0,0.15); }
|
||||
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
|
||||
.copyright-text { margin: 0; font-size: 13px; color: rgba(255,255,255,0.65); }
|
||||
@@ -214,7 +256,7 @@ h1, h2, h3, h4, h5, h6 { color: var(--heading-color); font-weight: 800; line-hei
|
||||
.sidebar-widget { padding: 25px; margin-bottom: 25px; }
|
||||
.sidebar-widget-title { font-size: 18px; font-weight: 800; color: var(--heading-color); margin-bottom: 18px; border-bottom: 2px solid var(--primary-color); padding-bottom: 8px; }
|
||||
|
||||
/* 10. TYPOGRAPHY KONTEN */
|
||||
/* 10. TYPOGRAPHY KONTEN & COMMENTS */
|
||||
.entry-content { font-size: 16px; color: #334155; line-height: 1.85; }
|
||||
.entry-content p { margin-bottom: 22px; }
|
||||
.entry-content h2 { font-size: 26px; margin: 35px 0 15px; color: var(--heading-color); }
|
||||
@@ -223,6 +265,12 @@ h1, h2, h3, h4, h5, h6 { color: var(--heading-color); font-weight: 800; line-hei
|
||||
.entry-content li { margin-bottom: 8px; }
|
||||
.entry-content blockquote { margin: 30px 0; padding: 20px 25px; background: #f8fafc; border-left: 4px solid var(--primary-color); font-style: italic; color: #475569; border-radius: 0 8px 8px 0; }
|
||||
|
||||
.comments-area { margin-top: 40px; padding-top: 30px; border-top: 1px solid #e2e8f0; }
|
||||
.comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
|
||||
.comment-list .comment { margin-bottom: 20px; padding: 18px; background: #f8fafc; border-radius: 10px; border: 1px solid #e2e8f0; }
|
||||
.comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
|
||||
.comment-author img.avatar { border-radius: 50%; }
|
||||
|
||||
/* 11. PAGINATION */
|
||||
.pagination { margin-top: 45px; text-align: center; }
|
||||
.pagination .nav-links { display: inline-flex; gap: 8px; align-items: center; }
|
||||
@@ -230,7 +278,9 @@ h1, h2, h3, h4, h5, h6 { color: var(--heading-color); font-weight: 800; line-hei
|
||||
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
|
||||
|
||||
/* 12. RESPONSIVE MEDIA QUERIES */
|
||||
@media (max-width: 1024px) { .footer-grid-wrapper { grid-template-columns: repeat(2, 1fr); gap: 35px; } }
|
||||
@media (max-width: 1024px) {
|
||||
.footer-grid-wrapper { grid-template-columns: repeat(2, 1fr); gap: 35px; }
|
||||
}
|
||||
@media (max-width: 992px) {
|
||||
.single-layout-wrapper { grid-template-columns: 1fr; }
|
||||
.program-grid, .milestone-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
|
||||
@@ -257,7 +307,6 @@ h1, h2, h3, h4, h5, h6 { color: var(--heading-color); font-weight: 800; line-hei
|
||||
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
|
||||
.menu-toggle.active span:nth-child(2) { opacity: 0; }
|
||||
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.menu-toggle { display: flex; }
|
||||
.main-navigation {
|
||||
@@ -364,22 +413,13 @@ h1, h2, h3, h4, h5, h6 { color: var(--heading-color); font-weight: 800; line-hei
|
||||
}
|
||||
|
||||
/* 17. BULLETPROOF GOOGLE TRANSLATE BANNER SUPPRESSION */
|
||||
.goog-te-banner-frame,
|
||||
.goog-te-banner-frame.skiptranslate,
|
||||
iframe.goog-te-banner-frame,
|
||||
.VIpgJd-ZVi9od-ORHb-OEVmcd,
|
||||
#goog-gt-tt,
|
||||
.goog-te-balloon-frame {
|
||||
.goog-te-banner-frame, .goog-te-banner-frame.skiptranslate, iframe.goog-te-banner-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, #goog-gt-tt, .goog-te-balloon-frame {
|
||||
display: none !important;
|
||||
visibility: hidden !important;
|
||||
height: 0 !important;
|
||||
width: 0 !important;
|
||||
opacity: 0 !important;
|
||||
}
|
||||
body {
|
||||
top: 0px !important;
|
||||
position: static !important;
|
||||
}
|
||||
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
|
||||
.goog-text-highlight { background-color: transparent !important; box-shadow: none !important; }
|
||||
font { background-color: transparent !important; box-shadow: none !important; }
|
||||
@@ -424,7 +464,6 @@ font { background-color: transparent !important; box-shadow: none !important; }
|
||||
.a11y-btn-danger { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
|
||||
.a11y-btn-danger:hover { background: #fecaca; color: #7f1d1d; }
|
||||
|
||||
/* KELAS STATUS AKSESIBILITAS YANG DITERAPKAN KE BODY */
|
||||
body.a11y-font-lg { font-size: 18px !important; }
|
||||
body.a11y-font-lg h1 { font-size: 34px !important; }
|
||||
body.a11y-font-lg h2 { font-size: 28px !important; }
|
||||
@@ -433,13 +472,11 @@ body.a11y-font-xl { font-size: 20px !important; }
|
||||
body.a11y-font-xl h1 { font-size: 38px !important; }
|
||||
body.a11y-font-xl h2 { font-size: 32px !important; }
|
||||
body.a11y-font-xl h3 { font-size: 25px !important; }
|
||||
|
||||
body.a11y-high-contrast { filter: contrast(160%) !important; }
|
||||
body.a11y-grayscale { filter: grayscale(100%) !important; }
|
||||
body.a11y-high-contrast.a11y-grayscale { filter: grayscale(100%) contrast(160%) !important; }
|
||||
body.a11y-underline-links a { text-decoration: underline !important; text-underline-offset: 3px !important; }
|
||||
|
||||
/* STATE BUTTON AKSESIBILITAS SUARA AKTIF */
|
||||
.a11y-btn.speaking {
|
||||
background: #10b981 !important;
|
||||
border-color: #059669 !important;
|
||||
@@ -466,7 +503,6 @@ body.a11y-underline-links a { text-decoration: underline !important; text-underl
|
||||
.edukarsa-breadcrumbs a:hover { text-decoration: underline; }
|
||||
.bc-sep { color: #cbd5e1; font-weight: bold; }
|
||||
.bc-current { color: var(--heading-color); font-weight: 600; }
|
||||
|
||||
.single-article-card { padding: 40px; margin-bottom: 30px; }
|
||||
.single-article-title {
|
||||
font-size: 32px;
|
||||
@@ -501,7 +537,6 @@ body.a11y-underline-links a { text-decoration: underline !important; text-underl
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* INTRA-POST PAGINATION (<!--nextpage-->) */
|
||||
.intra-post-pagination {
|
||||
margin-top: 35px;
|
||||
padding-top: 20px;
|
||||
@@ -543,7 +578,6 @@ body.a11y-underline-links a { text-decoration: underline !important; text-underl
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
/* FOOTER ARTIKEL & SHARE BAR */
|
||||
.single-article-footer {
|
||||
margin-top: 35px;
|
||||
padding-top: 25px;
|
||||
@@ -566,7 +600,6 @@ body.a11y-underline-links a { text-decoration: underline !important; text-underl
|
||||
font-weight: 600;
|
||||
}
|
||||
.single-tags-list a:hover { background: var(--primary-color); color: #ffffff; }
|
||||
|
||||
.single-share-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
||||
.share-label { font-size: 13px; font-weight: 700; color: var(--heading-color); margin-right: 4px; }
|
||||
.share-btn {
|
||||
@@ -589,7 +622,6 @@ body.a11y-underline-links a { text-decoration: underline !important; text-underl
|
||||
.share-copy { background: #475569; color: #ffffff; }
|
||||
.share-copy:hover { background: #334155; }
|
||||
|
||||
/* INTER-POST NAVIGATION (SEBELUMNYA & SELANJUTNYA) */
|
||||
.inter-post-nav {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
@@ -619,7 +651,7 @@ body.a11y-underline-links a { text-decoration: underline !important; text-underl
|
||||
.nav-box:hover .nav-post-title { color: var(--primary-color); }
|
||||
.text-right { text-align: right; }
|
||||
|
||||
/* 20. KOMPONEN SIDEBAR NATIVE TERINTEGRASI */
|
||||
/* 20. KOMPONEN SIDEBAR */
|
||||
.sidebar-search-form { position: relative; }
|
||||
.sidebar-search-wrapper { display: flex; position: relative; }
|
||||
.sidebar-search-input {
|
||||
@@ -644,7 +676,6 @@ body.a11y-underline-links a { text-decoration: underline !important; text-underl
|
||||
cursor: pointer;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.sidebar-cta-box {
|
||||
background: linear-gradient(135deg, var(--primary-color), var(--heading-color));
|
||||
color: #ffffff;
|
||||
@@ -664,7 +695,6 @@ body.a11y-underline-links a { text-decoration: underline !important; text-underl
|
||||
.sidebar-cta-title { font-size: 19px; font-weight: 800; color: #ffffff; margin-bottom: 10px; line-height: 1.35; }
|
||||
.sidebar-cta-desc { font-size: 13px; opacity: 0.9; margin-bottom: 20px; line-height: 1.6; }
|
||||
.sidebar-cta-btn { display: inline-block; padding: 10px 26px; font-size: 14px; font-weight: 800; }
|
||||
|
||||
.sidebar-recent-list { display: flex; flex-direction: column; gap: 16px; }
|
||||
.sidebar-recent-item { display: flex; gap: 14px; align-items: center; }
|
||||
.sidebar-recent-thumb { width: 68px; height: 68px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
|
||||
@@ -673,7 +703,6 @@ body.a11y-underline-links a { text-decoration: underline !important; text-underl
|
||||
.sidebar-recent-title { font-size: 14px; font-weight: 700; margin: 0; line-height: 1.4; }
|
||||
.sidebar-recent-title a { color: var(--heading-color); }
|
||||
.sidebar-recent-title a:hover { color: var(--primary-color); }
|
||||
|
||||
.sidebar-category-list { list-style: none; padding: 0; margin: 0; }
|
||||
.sidebar-category-list li { margin-bottom: 8px; }
|
||||
.sidebar-cat-link {
|
||||
@@ -706,173 +735,107 @@ body.a11y-underline-links a { text-decoration: underline !important; text-underl
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.inter-post-nav { grid-template-columns: 1fr; }
|
||||
.text-right { text-align: left; }
|
||||
.single-article-card { padding: 25px 20px; }
|
||||
.single-article-title { font-size: 24px; }
|
||||
}
|
||||
|
||||
/* 21. SIDEBAR CUSTOM HTML BOX */
|
||||
.sidebar-custom-html-box { padding: 25px; }
|
||||
.sidebar-html-rendered-content { font-size: 14px; line-height: 1.7; color: var(--text-color); }
|
||||
.sidebar-html-rendered-content iframe { width: 100% !important; border-radius: 8px; border: none; }
|
||||
.sidebar-html-rendered-content img { border-radius: 8px; margin: 10px 0; }
|
||||
|
||||
/* ---------------------------------------------------------
|
||||
MODUL GALERI & FASILITAS (GRID + LIGHTBOX)
|
||||
--------------------------------------------------------- */
|
||||
/* MODUL GALERI & FASILITAS */
|
||||
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
|
||||
.gallery-filter-btn {
|
||||
background: #ffffff;
|
||||
border: 2px solid #e2e8f0;
|
||||
background: #ffffff;
|
||||
border: 2px solid #e2e8f0;
|
||||
color: var(--text-muted);
|
||||
padding: 8px 22px;
|
||||
border-radius: 50px;
|
||||
font-weight: 700;
|
||||
padding: 8px 22px;
|
||||
border-radius: 50px;
|
||||
font-weight: 700;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
.gallery-filter-btn:hover, .gallery-filter-btn.active {
|
||||
background: var(--primary-color);
|
||||
border-color: var(--primary-color);
|
||||
background: var(--primary-color);
|
||||
border-color: var(--primary-color);
|
||||
color: #ffffff;
|
||||
box-shadow: 0 4px 12px rgba(11, 74, 142, 0.2);
|
||||
}
|
||||
|
||||
.gallery-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||
gap: 25px;
|
||||
}
|
||||
|
||||
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
|
||||
.gallery-item-card {
|
||||
background: #ffffff;
|
||||
border-radius: 14px;
|
||||
background: #ffffff;
|
||||
border-radius: 14px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
|
||||
cursor: pointer;
|
||||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
border: 1px solid #f1f5f9;
|
||||
}
|
||||
.gallery-item-card:hover {
|
||||
transform: translateY(-6px);
|
||||
box-shadow: 0 15px 35px rgba(11, 74, 142, 0.12);
|
||||
border-color: var(--secondary-color);
|
||||
}
|
||||
|
||||
.gallery-img-wrapper {
|
||||
position: relative;
|
||||
aspect-ratio: 4/3;
|
||||
overflow: hidden;
|
||||
background: #f8fafc;
|
||||
}
|
||||
.gallery-img-wrapper img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
||||
}
|
||||
.gallery-item-card:hover .gallery-img-wrapper img {
|
||||
transform: scale(1.08);
|
||||
}
|
||||
|
||||
.gallery-item-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(11, 74, 142, 0.12); border-color: var(--secondary-color); }
|
||||
.gallery-img-wrapper { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #f8fafc; }
|
||||
.gallery-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
|
||||
.gallery-item-card:hover .gallery-img-wrapper img { transform: scale(1.08); }
|
||||
.gallery-overlay {
|
||||
position: absolute; top: 0; left: 0; right: 0; bottom: 0;
|
||||
background: linear-gradient(to bottom, rgba(11,74,142,0.2) 0%, rgba(11,74,142,0.8) 100%);
|
||||
background: linear-gradient(to bottom, rgba(11,74,142,0.2) 0%, rgba(11,74,142,0.8) 100%);
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
opacity: 0; transition: opacity 0.3s ease;
|
||||
}
|
||||
.gallery-item-card:hover .gallery-overlay { opacity: 1; }
|
||||
|
||||
.gallery-zoom-icon {
|
||||
font-size: 32px; color: #fff;
|
||||
transform: translateY(20px);
|
||||
transition: transform 0.3s ease;
|
||||
filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
|
||||
}
|
||||
.gallery-zoom-icon { font-size: 32px; color: #fff; transform: translateY(20px); transition: transform 0.3s ease; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); }
|
||||
.gallery-item-card:hover .gallery-zoom-icon { transform: translateY(0); }
|
||||
|
||||
.gallery-item-info { padding: 22px 20px; }
|
||||
.gallery-item-info h4 { margin: 0 0 10px; font-size: 17px; font-weight: 800; color: var(--heading-color); line-height: 1.4; }
|
||||
.gallery-cat-badge {
|
||||
.gallery-cat-badge {
|
||||
display: inline-block;
|
||||
font-size: 11px; font-weight: 800;
|
||||
color: var(--secondary-color);
|
||||
text-transform: uppercase;
|
||||
font-size: 11px; font-weight: 800;
|
||||
color: var(--secondary-color);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
background: #e0f2fe; padding: 4px 12px; border-radius: 20px;
|
||||
background: #e0f2fe; padding: 4px 12px; border-radius: 20px;
|
||||
}
|
||||
|
||||
/* NATIVE LIGHTBOX (ZOOM EFEK) */
|
||||
/* NATIVE LIGHTBOX */
|
||||
.ek-lightbox {
|
||||
position: fixed; top: 0; left: 0; width: 100%; height: 100%;
|
||||
background: rgba(15, 23, 42, 0.96); z-index: 9999;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
opacity: 0; visibility: hidden; transition: all 0.3s ease;
|
||||
opacity: 0; visibility: hidden; transition: all 0.3s ease;
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
.ek-lightbox.show { opacity: 1; visibility: visible; }
|
||||
|
||||
.ek-lb-close {
|
||||
position: absolute; top: 25px; right: 35px; font-size: 45px;
|
||||
color: rgba(255,255,255,0.6); cursor: pointer; line-height: 1;
|
||||
.ek-lb-close {
|
||||
position: absolute; top: 25px; right: 35px; font-size: 45px;
|
||||
color: rgba(255,255,255,0.6); cursor: pointer; line-height: 1;
|
||||
transition: color 0.2s, transform 0.2s; z-index: 10;
|
||||
}
|
||||
.ek-lb-close:hover { color: #f59e0b; transform: scale(1.1); }
|
||||
|
||||
.ek-lb-content {
|
||||
max-width: 900px; width: 92%; max-height: 90vh;
|
||||
display: flex; flex-direction: column;
|
||||
display: flex; flex-direction: column;
|
||||
background: #ffffff; border-radius: 16px; overflow: hidden;
|
||||
transform: scale(0.95); transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
.ek-lightbox.show .ek-lb-content { transform: scale(1); }
|
||||
|
||||
.ek-lb-img-container {
|
||||
width: 100%; height: 60vh; background: #000;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
}
|
||||
.ek-lb-img-container img {
|
||||
width: 100%; height: 100%; object-fit: contain;
|
||||
}
|
||||
|
||||
.ek-lb-img-container { width: 100%; height: 60vh; background: #000; display: flex; align-items: center; justify-content: center; }
|
||||
.ek-lb-img-container img { width: 100%; height: 100%; object-fit: contain; }
|
||||
.ek-lb-caption { padding: 25px 35px; text-align: center; }
|
||||
.ek-lb-cat {
|
||||
font-size: 12px; font-weight: 800; color: var(--secondary-color);
|
||||
text-transform: uppercase; letter-spacing: 1px; display: inline-block;
|
||||
margin-bottom: 8px; background: #f1f5f9; padding: 4px 14px; border-radius: 20px;
|
||||
}
|
||||
.ek-lb-cat { font-size: 12px; font-weight: 800; color: var(--secondary-color); text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-bottom: 8px; background: #f1f5f9; padding: 4px 14px; border-radius: 20px; }
|
||||
.ek-lb-caption h3 { margin: 0 0 12px; font-size: 24px; font-weight: 800; color: var(--heading-color); }
|
||||
.ek-lb-caption p { margin: 0; font-size: 15px; color: var(--text-color); line-height: 1.7; }
|
||||
|
||||
/* Tombol Navigasi Lightbox */
|
||||
.ek-lb-nav {
|
||||
position: absolute; top: 50%; transform: translateY(-50%);
|
||||
background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
|
||||
color: #ffffff; width: 56px; height: 56px; border-radius: 50%;
|
||||
font-size: 20px; cursor: pointer; transition: all 0.2s ease;
|
||||
background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
|
||||
color: #ffffff; width: 56px; height: 56px; border-radius: 50%;
|
||||
font-size: 20px; cursor: pointer; transition: all 0.2s ease;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
}
|
||||
.ek-lb-nav:hover { background: var(--primary-color); border-color: var(--primary-color); transform: translateY(-50%) scale(1.1); }
|
||||
.ek-lb-prev { left: 40px; }
|
||||
.ek-lb-next { right: 40px; }
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.ek-lb-nav { width: 44px; height: 44px; font-size: 16px; }
|
||||
.ek-lb-prev { left: 15px; }
|
||||
.ek-lb-next { right: 15px; }
|
||||
.ek-lb-close { top: 15px; right: 20px; font-size: 35px; }
|
||||
.ek-lb-img-container { height: 45vh; }
|
||||
.ek-lb-caption { padding: 20px; }
|
||||
.ek-lb-caption h3 { font-size: 20px; }
|
||||
.gallery-grid { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
/* 22. FIX: HILANGKAN BULLET PADA SUB-MENU DROPDOWN */
|
||||
.nav-menu-custom .sub-menu,
|
||||
/* FIX SUB-MENU DROPDOWN */
|
||||
.nav-menu-custom .sub-menu,
|
||||
.nav-menu-custom .sub-menu li {
|
||||
list-style: none !important;
|
||||
list-style-type: none !important;
|
||||
@@ -883,139 +846,51 @@ body.a11y-underline-links a { text-decoration: underline !important; text-underl
|
||||
}
|
||||
|
||||
/* 23. NATIVE POP-UP FLYER MODAL */
|
||||
body.edukarsa-popup-open {
|
||||
overflow: hidden;
|
||||
}
|
||||
body.edukarsa-popup-open { overflow: hidden; }
|
||||
.edukarsa-popup-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: fixed; top: 0; left: 0; width: 100%; height: 100%;
|
||||
background-color: rgba(15, 23, 42, 0.78);
|
||||
backdrop-filter: blur(5px);
|
||||
-webkit-backdrop-filter: blur(5px);
|
||||
z-index: 99999;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 20px;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
padding: 20px; opacity: 0; visibility: hidden;
|
||||
transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
|
||||
}
|
||||
.edukarsa-popup-overlay.is-visible {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
.edukarsa-popup-overlay.is-visible { opacity: 1; visibility: visible; }
|
||||
.edukarsa-popup-card {
|
||||
position: relative;
|
||||
background: #ffffff;
|
||||
border-radius: 18px;
|
||||
max-width: 520px;
|
||||
width: 100%;
|
||||
max-height: 90vh;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
position: relative; background: #ffffff; border-radius: 18px;
|
||||
max-width: 520px; width: 100%; max-height: 90vh;
|
||||
overflow-y: auto; overflow-x: hidden;
|
||||
box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
|
||||
transform: scale(0.92) translateY(15px);
|
||||
transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
|
||||
}
|
||||
.edukarsa-popup-overlay.is-visible .edukarsa-popup-card {
|
||||
transform: scale(1) translateY(0);
|
||||
}
|
||||
.edukarsa-popup-overlay.is-visible .edukarsa-popup-card { transform: scale(1) translateY(0); }
|
||||
.edukarsa-popup-close {
|
||||
position: absolute;
|
||||
top: 14px;
|
||||
right: 14px;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 50%;
|
||||
background: rgba(15, 23, 42, 0.75);
|
||||
color: #ffffff;
|
||||
border: 2px solid #ffffff;
|
||||
font-size: 24px;
|
||||
line-height: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
z-index: 10;
|
||||
transition: background 0.2s, transform 0.2s;
|
||||
}
|
||||
.edukarsa-popup-close:hover {
|
||||
background: #e11d48;
|
||||
transform: scale(1.1);
|
||||
}
|
||||
.edukarsa-popup-media {
|
||||
width: 100%;
|
||||
background: #0f172a;
|
||||
display: block;
|
||||
line-height: 0;
|
||||
}
|
||||
.edukarsa-popup-media img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
max-height: 380px;
|
||||
object-fit: contain;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.edukarsa-popup-img-link {
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
}
|
||||
.edukarsa-popup-details {
|
||||
padding: 24px 28px;
|
||||
text-align: center;
|
||||
background: #ffffff;
|
||||
position: absolute; top: 14px; right: 14px; width: 36px; height: 36px;
|
||||
border-radius: 50%; background: rgba(15, 23, 42, 0.75); color: #ffffff;
|
||||
border: 2px solid #ffffff; font-size: 24px; line-height: 1;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
cursor: pointer; z-index: 10; transition: background 0.2s, transform 0.2s;
|
||||
}
|
||||
.edukarsa-popup-close:hover { background: #e11d48; transform: scale(1.1); }
|
||||
.edukarsa-popup-media { width: 100%; background: #0f172a; display: block; line-height: 0; }
|
||||
.edukarsa-popup-media img { width: 100%; height: auto; max-height: 380px; object-fit: contain; display: block; margin: 0 auto; }
|
||||
.edukarsa-popup-img-link { display: block; cursor: pointer; }
|
||||
.edukarsa-popup-details { padding: 24px 28px; text-align: center; background: #ffffff; }
|
||||
.edukarsa-popup-badge {
|
||||
display: inline-block;
|
||||
padding: 4px 14px;
|
||||
background: #e0f2fe;
|
||||
color: var(--primary-color);
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.8px;
|
||||
border-radius: 20px;
|
||||
display: inline-block; padding: 4px 14px; background: #e0f2fe;
|
||||
color: var(--primary-color); font-size: 11px; font-weight: 800;
|
||||
text-transform: uppercase; letter-spacing: 0.8px; border-radius: 20px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.edukarsa-popup-heading {
|
||||
font-size: 20px;
|
||||
font-weight: 800;
|
||||
color: var(--heading-color);
|
||||
margin: 0 0 10px;
|
||||
line-height: 1.35;
|
||||
}
|
||||
.edukarsa-popup-desc {
|
||||
font-size: 14px;
|
||||
color: var(--text-color);
|
||||
line-height: 1.6;
|
||||
margin: 0 0 20px;
|
||||
}
|
||||
.edukarsa-popup-action {
|
||||
margin-top: 15px;
|
||||
}
|
||||
.edukarsa-popup-heading { font-size: 20px; font-weight: 800; color: var(--heading-color); margin: 0 0 10px; line-height: 1.35; }
|
||||
.edukarsa-popup-desc { font-size: 14px; color: var(--text-color); line-height: 1.6; margin: 0 0 20px; }
|
||||
.edukarsa-popup-action { margin-top: 15px; }
|
||||
.edukarsa-popup-btn {
|
||||
display: inline-block;
|
||||
padding: 12px 32px;
|
||||
font-size: 15px;
|
||||
font-weight: 800;
|
||||
border-radius: 50px;
|
||||
display: inline-block; padding: 12px 32px; font-size: 15px;
|
||||
font-weight: 800; border-radius: 50px;
|
||||
box-shadow: 0 6px 18px rgba(11, 74, 142, 0.25);
|
||||
}
|
||||
.edukarsa-popup-btn:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 10px 25px rgba(11, 74, 142, 0.35);
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.edukarsa-popup-card { max-width: 95%; border-radius: 14px; }
|
||||
.edukarsa-popup-details { padding: 18px 16px; }
|
||||
.edukarsa-popup-heading { font-size: 18px; }
|
||||
.edukarsa-popup-desc { font-size: 13px; }
|
||||
.edukarsa-popup-btn { padding: 10px 24px; font-size: 14px; }
|
||||
.edukarsa-popup-close { top: 10px; right: 10px; width: 32px; height: 32px; font-size: 20px; }
|
||||
}
|
||||
.edukarsa-popup-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(11, 74, 142, 0.35); }
|
||||
|
||||
Reference in New Issue
Block a user