feat(i18n): integrasi tombol bilingual native ID/EN dan skrip translasi instan otomatis
This commit is contained in:
@@ -378,3 +378,46 @@ h1, h2, h3, h4, h5, h6 { color: var(--heading-color); font-weight: 800; line-hei
|
||||
.faq-body-content p { margin-bottom: 0; }
|
||||
.faq-body-content p + p { margin-top: 10px; }
|
||||
.faq-item.active .faq-body { max-height: 400px; padding: 0 26px 22px; }
|
||||
|
||||
/* 17. BILINGUAL LANGUAGE SWITCHER & GOOGLE RESET */
|
||||
.header-nav-wrap { display: flex; align-items: center; gap: 20px; }
|
||||
.edukarsa-lang-switcher {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
background: rgba(255, 255, 255, 0.12);
|
||||
border: 1px solid rgba(255, 255, 255, 0.25);
|
||||
padding: 3px 8px;
|
||||
border-radius: 20px;
|
||||
backdrop-filter: blur(4px);
|
||||
}
|
||||
.lang-btn {
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.5px;
|
||||
cursor: pointer;
|
||||
padding: 3px 6px;
|
||||
border-radius: 12px;
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
.lang-btn:hover { color: #ffffff; }
|
||||
.lang-btn.active {
|
||||
background: #ffffff;
|
||||
color: var(--primary-color) !important;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
.lang-divider {
|
||||
color: rgba(255, 255, 255, 0.3);
|
||||
font-size: 11px;
|
||||
user-select: none;
|
||||
margin: 0 1px;
|
||||
}
|
||||
|
||||
/* HILANGKAN TOOLBAR BANNER ASLI GOOGLE AGAR HEADER TETAP BERSIH */
|
||||
.goog-te-banner-frame.skiptranslate, .goog-te-banner-frame { display: none !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; }
|
||||
#goog-gt-tt { display: none !important; }
|
||||
|
||||
Reference in New Issue
Block a user