MediaWiki:Common.css
Tampilan
Catatan: Setelah menerbitkan, Anda mungkin perlu melewati tembolok peramban web Anda untuk melihat perubahan.
- Firefox/Safari: Tekan dan tahan Shift sembari mengeklik Reload, atau tekan Ctrl-F5 atau Ctrl-R (⌘-R di Mac)
- Google Chrome: Tekan Ctrl-Shift-R (⌘-Shift-R di Mac)
- Edge: Tahan Ctrl sembari mengeklik Refresh, atau tekan Ctrl-F5
/* ============================================================
WIKI UNISSULA MODERN UI V1
Text-first / lightweight / no external assets
============================================================ */
:root {
--wu-green: #08783e;
--wu-green-2: #075f35;
--wu-green-3: #044d2c;
--wu-green-soft: #edf8f2;
--wu-gold: #d6a62c;
--wu-gold-soft: #fff7df;
--wu-text: #1d2522;
--wu-muted: #66736d;
--wu-border: #e3e9e6;
--wu-bg: #f6f8f7;
--wu-white: #ffffff;
--wu-radius: 16px;
}
/* ============================================================
GLOBAL
============================================================ */
html,
body {
background: var(--wu-bg);
}
body {
font-family:
Inter,
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Arial,
sans-serif;
color: var(--wu-text);
}
a {
transition:
color .15s ease,
background .15s ease,
border-color .15s ease;
}
/* ============================================================
MEDIAWIKI HEADER
============================================================ */
.vector-header {
border-bottom: 1px solid var(--wu-border);
background: #fff;
}
.mw-logo-icon {
display: none !important;
}
.mw-logo-container {
position: relative;
padding-left: 46px;
}
.mw-logo-container::before {
content: "WU";
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
background: var(--wu-green);
color: white;
border-radius: 10px;
font-size: 11px;
font-weight: 800;
letter-spacing: .4px;
}
.mw-logo-wordmark {
font-family:
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
sans-serif !important;
font-size: 21px !important;
font-weight: 800 !important;
color: var(--wu-green-2) !important;
}
/* ============================================================
ARTICLE DEFAULT
============================================================ */
.mw-page-container {
background: #fff;
}
.mw-body {
color: var(--wu-text);
}
.mw-body h1,
.mw-body h2,
.mw-body h3 {
letter-spacing: -.02em;
}
.mw-body h2 {
border-bottom-color: var(--wu-border);
}
.mw-parser-output a {
color: #0b639d;
}
.mw-parser-output a.new {
color: #9c3645;
}
/* ============================================================
HOMEPAGE - REMOVE OLD MEDIAWIKI CHROME
============================================================ */
.page-Halaman_Utama.action-view .vector-column-start,
.page-Halaman_Utama.action-view .vector-column-end {
display: none !important;
}
.page-Halaman_Utama.action-view .mw-page-container-inner {
display: block !important;
}
.page-Halaman_Utama.action-view .mw-content-container {
width: 100% !important;
max-width: none !important;
margin: 0 !important;
}
.page-Halaman_Utama.action-view .mw-body {
padding: 0 !important;
max-width: none !important;
}
.page-Halaman_Utama.action-view .mw-body-header,
.page-Halaman_Utama.action-view .vector-page-toolbar,
.page-Halaman_Utama.action-view #siteSub,
.page-Halaman_Utama.action-view #contentSub {
display: none !important;
}
.page-Halaman_Utama.action-view #bodyContent {
margin: 0 !important;
}
.page-Halaman_Utama.action-view .mw-body-content {
font-size: 1rem;
}
/* ============================================================
HOMEPAGE WRAPPER
============================================================ */
.wu-home {
margin: 0;
padding: 0 0 40px;
background: var(--wu-bg);
font-family:
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Arial,
sans-serif;
}
/* ============================================================
HERO
============================================================ */
.wu-hero {
position: relative;
overflow: hidden;
margin: 0;
background:
radial-gradient(
circle at 85% 10%,
rgba(255,255,255,.11) 0,
rgba(255,255,255,.11) 150px,
transparent 151px
),
radial-gradient(
circle at 13% 110%,
rgba(214,166,44,.16) 0,
rgba(214,166,44,.16) 220px,
transparent 221px
),
linear-gradient(
135deg,
#064d2e 0%,
#08783e 55%,
#076536 100%
);
color: white;
}
.wu-hero::after {
content: "";
position: absolute;
right: -70px;
bottom: -70px;
width: 260px;
height: 260px;
border: 1px solid rgba(255,255,255,.12);
border-radius: 50%;
}
.wu-hero-inner {
position: relative;
z-index: 2;
max-width: 1180px;
margin: 0 auto;
padding: 62px 42px 60px;
text-align: center;
}
.wu-eyebrow {
margin-bottom: 13px;
font-size: 12px;
font-weight: 800;
letter-spacing: 2.5px;
color: #f4cf68;
}
.wu-hero-title {
margin: 0 auto 14px;
font-size: clamp(36px, 4vw, 52px);
line-height: 1.08;
font-weight: 850;
letter-spacing: -1.6px;
color: white;
}
.wu-hero-subtitle {
max-width: 820px;
margin: 0 auto 30px;
color: rgba(255,255,255,.88);
font-size: 17px;
line-height: 1.65;
}
/* ============================================================
HERO SEARCH - INPUTBOX
============================================================ */
.wu-search {
max-width: 820px;
margin: 0 auto 18px;
}
.wu-search form {
display: flex !important;
width: 100%;
padding: 0 !important;
margin: 0 !important;
background: white;
border-radius: 13px;
box-shadow:
0 12px 35px rgba(0,0,0,.15);
overflow: hidden;
}
.wu-search input[type="text"],
.wu-search input[type="search"] {
flex: 1;
min-width: 0;
height: 56px;
margin: 0 !important;
padding: 0 20px !important;
border: 0 !important;
outline: 0 !important;
background: white !important;
color: #26332d;
font-size: 15px;
box-shadow: none !important;
}
.wu-search input[type="submit"],
.wu-search button {
height: 56px;
min-width: 100px;
margin: 0 !important;
padding: 0 25px !important;
border: 0 !important;
border-radius: 0 !important;
background: #edc24e !important;
color: #3e3213 !important;
font-size: 14px;
font-weight: 800;
cursor: pointer;
}
.wu-search input[type="submit"]:hover,
.wu-search button:hover {
background: #f4cf68 !important;
}
/* ============================================================
POPULAR SEARCHES
============================================================ */
.wu-popular {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px;
font-size: 12px;
}
.wu-popular-label {
display: inline-flex;
align-items: center;
color: rgba(255,255,255,.72);
margin-right: 5px;
}
.wu-popular a {
display: inline-block;
padding: 5px 11px;
color: white !important;
text-decoration: none !important;
border: 1px solid rgba(255,255,255,.2);
border-radius: 20px;
background: rgba(0,0,0,.08);
}
.wu-popular a:hover {
background: rgba(255,255,255,.14);
}
/* ============================================================
SHORTCUTS
============================================================ */
.wu-shortcuts {
max-width: 1180px;
margin: 30px auto 0;
padding: 20px;
display: grid;
grid-template-columns:
repeat(6, minmax(0, 1fr));
gap: 8px;
border: 1px solid var(--wu-border);
border-radius: var(--wu-radius);
background: white;
box-shadow: 0 5px 25px rgba(24,65,45,.04);
}
.wu-shortcut {
text-align: center;
padding: 18px 10px 14px;
border-radius: 12px;
}
.wu-shortcut:hover {
background: #f8fbf9;
}
.wu-icon {
display: flex;
align-items: center;
justify-content: center;
width: 46px;
height: 46px;
margin: 0 auto 11px;
background: var(--wu-green-soft);
border-radius: 12px;
color: var(--wu-green);
font-size: 12px;
font-weight: 850;
letter-spacing: .5px;
}
.wu-shortcut-title {
margin-bottom: 4px;
font-size: 14px;
font-weight: 800;
}
.wu-shortcut-desc {
min-height: 36px;
margin-bottom: 7px;
color: var(--wu-muted);
font-size: 11px;
line-height: 1.45;
}
.wu-shortcut a {
color: var(--wu-green-2) !important;
text-decoration: none !important;
font-size: 11px;
font-weight: 750;
}
/* ============================================================
MAIN LAYOUT
============================================================ */
.wu-layout {
max-width: 1180px;
margin: 22px auto 0;
display: grid;
grid-template-columns:
minmax(0, 2fr)
minmax(280px, .95fr);
gap: 20px;
}
.wu-main,
.wu-side {
display: flex;
flex-direction: column;
gap: 20px;
}
.wu-panel {
padding: 23px;
border: 1px solid var(--wu-border);
border-radius: var(--wu-radius);
background: white;
box-shadow:
0 4px 18px rgba(20,60,40,.035);
}
.wu-panel-heading {
margin-bottom: 19px;
color: var(--wu-green-2);
font-size: 17px;
font-weight: 800;
}
.wu-heading-flex {
display: flex;
align-items: center;
justify-content: space-between;
}
.wu-heading-symbol {
margin-right: 7px;
color: var(--wu-gold);
}
.wu-heading-link {
font-size: 12px;
font-weight: 650;
}
.wu-heading-link a {
color: var(--wu-green) !important;
text-decoration: none !important;
}
/* ============================================================
FEATURED
============================================================ */
.wu-featured-content {
display: grid;
grid-template-columns:
minmax(0, 1fr)
170px;
gap: 28px;
align-items: center;
}
.wu-featured-title {
margin-bottom: 11px;
color: var(--wu-green-2);
font-size: 23px;
line-height: 1.3;
font-weight: 850;
}
.wu-featured-description {
color: #525f59;
font-size: 14px;
line-height: 1.7;
}
.wu-feature-mark {
display: flex;
align-items: center;
justify-content: center;
width: 145px;
height: 145px;
margin: auto;
background:
linear-gradient(
145deg,
#dff2e6,
#f4faf6
);
border-radius: 35px;
color: rgba(8,120,62,.28);
font-size: 42px;
font-weight: 900;
}
.wu-tags {
display: flex;
flex-wrap: wrap;
gap: 7px;
margin: 17px 0;
}
.wu-tags span {
padding: 4px 9px;
border-radius: 6px;
background: var(--wu-green-soft);
color: var(--wu-green-2);
font-size: 10px;
font-weight: 700;
}
.wu-more a {
color: var(--wu-green) !important;
text-decoration: none !important;
font-size: 13px;
font-weight: 800;
}
/* ============================================================
EMPTY / RECENT ARTICLES
============================================================ */
.wu-empty-content {
padding: 25px 20px;
text-align: center;
background: #fafcfa;
border: 1px dashed #d9e4de;
border-radius: 12px;
}
.wu-empty-title {
margin-bottom: 6px;
font-weight: 800;
}
.wu-empty-desc {
max-width: 560px;
margin: auto;
color: var(--wu-muted);
font-size: 13px;
line-height: 1.6;
}
.wu-empty-actions {
margin-top: 15px;
font-size: 12px;
}
.wu-empty-actions a {
color: var(--wu-green) !important;
font-weight: 750;
text-decoration: none !important;
}
/* ============================================================
TOPICS
============================================================ */
.wu-topic-list {
display: flex;
flex-direction: column;
}
.wu-topic {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 0;
border-bottom: 1px solid #edf1ef;
font-size: 12px;
}
.wu-topic:last-child {
border-bottom: 0;
}
.wu-rank {
flex: 0 0 auto;
display: flex;
align-items: center;
justify-content: center;
width: 23px;
height: 23px;
border-radius: 50%;
background: var(--wu-green);
color: white;
font-size: 10px;
font-weight: 800;
}
.wu-topic a {
color: #29322e !important;
text-decoration: none !important;
font-weight: 650;
}
.wu-topic a:hover {
color: var(--wu-green) !important;
}
/* ============================================================
CONTRIBUTE
============================================================ */
.wu-contribute {
background:
linear-gradient(
145deg,
#f1f9f4,
#ffffff
);
}
.wu-contribute-text {
margin-bottom: 17px;
color: var(--wu-muted);
font-size: 13px;
line-height: 1.6;
}
.wu-button a {
display: block;
padding: 11px 13px;
border: 1px solid var(--wu-green);
border-radius: 9px;
color: var(--wu-green) !important;
text-decoration: none !important;
text-align: center;
font-size: 12px;
font-weight: 800;
}
.wu-button a:hover {
background: var(--wu-green);
color: white !important;
}
/* ============================================================
QUICK LINKS
============================================================ */
.wu-quicklinks {
display: flex;
flex-direction: column;
}
.wu-quicklinks a {
position: relative;
display: block;
padding: 10px 20px 10px 0;
border-bottom: 1px solid #edf1ef;
color: #3b4641 !important;
text-decoration: none !important;
font-size: 12px;
}
.wu-quicklinks a::after {
content: "›";
position: absolute;
right: 3px;
color: #88938e;
}
.wu-quicklinks a:last-child {
border-bottom: 0;
}
/* ============================================================
STATS
============================================================ */
.wu-stats {
display: grid;
grid-template-columns:
repeat(3, 1fr);
gap: 8px;
}
.wu-stats > div {
padding: 12px 5px;
text-align: center;
background: #fafcfa;
border-radius: 9px;
}
.wu-stat-number {
display: block;
color: var(--wu-green);
font-size: 19px;
font-weight: 850;
}
.wu-stat-label {
display: block;
margin-top: 2px;
color: var(--wu-muted);
font-size: 9px;
}
/* ============================================================
EXPLORE
============================================================ */
.wu-explore-grid {
display: grid;
grid-template-columns:
repeat(2, minmax(0, 1fr));
gap: 10px;
}
.wu-explore {
display: flex;
align-items: center;
gap: 10px;
padding: 13px;
border: 1px solid var(--wu-border);
border-radius: 10px;
}
.wu-explore-code {
flex: 0 0 auto;
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
background: var(--wu-green-soft);
border-radius: 9px;
color: var(--wu-green);
font-size: 10px;
font-weight: 850;
}
.wu-explore strong {
font-size: 12px;
}
.wu-explore span {
color: var(--wu-muted);
font-size: 10px;
}
/* ============================================================
BOTTOM
============================================================ */
.wu-bottom {
max-width: 1180px;
margin: 25px auto 0;
padding: 20px 5px;
display: flex;
justify-content: space-between;
color: var(--wu-muted);
border-top: 1px solid var(--wu-border);
font-size: 11px;
}
.wu-bottom strong {
display: block;
margin-bottom: 3px;
color: var(--wu-green-2);
font-size: 13px;
}
/* ============================================================
FOOTER / MEDIAWIKI BRANDING
============================================================ */
.page-Halaman_Utama #footer {
max-width: 1180px;
margin: 0 auto;
}
#footer-poweredbyico {
display: none !important;
}
/* ============================================================
DISABLE CREATE ACCOUNT VISUAL LINK
Actual permission is disabled in LocalSettings.
============================================================ */
#pt-createaccount,
#pt-createaccount-2 {
display: none !important;
}
/* ============================================================
RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
.wu-shortcuts {
grid-template-columns:
repeat(3, minmax(0, 1fr));
margin-left: 20px;
margin-right: 20px;
}
.wu-layout,
.wu-bottom {
margin-left: 20px;
margin-right: 20px;
}
}
@media (max-width: 850px) {
.wu-layout {
grid-template-columns: 1fr;
}
.wu-featured-content {
grid-template-columns: 1fr;
}
.wu-feature-mark {
display: none;
}
}
@media (max-width: 650px) {
.wu-hero-inner {
padding: 42px 20px;
}
.wu-hero-title {
font-size: 34px;
}
.wu-hero-subtitle {
font-size: 15px;
}
.wu-shortcuts {
grid-template-columns:
repeat(2, minmax(0, 1fr));
}
.wu-search form {
display: block !important;
overflow: visible;
background: transparent;
box-shadow: none;
}
.wu-search input[type="text"],
.wu-search input[type="search"] {
width: 100% !important;
border-radius: 10px !important;
}
.wu-search input[type="submit"],
.wu-search button {
width: 100%;
margin-top: 8px !important;
border-radius: 10px !important;
}
.wu-explore-grid {
grid-template-columns: 1fr;
}
.wu-bottom {
display: block;
}
.wu-bottom > div + div {
margin-top: 10px;
}
}
/* Wiki Unissula ResourceLoader refresh 2026-08-21T15:54:44+07:00 */