MediaWiki:Common.css: Perbedaan antara revisi
Tampilan
Refresh ResourceLoader CSS Wiki Unissula |
Modern portal UI Wiki Unissula V2 |
||
| Baris 1: | Baris 1: | ||
/* ============================================================ | /* ============================================================ | ||
WIKI UNISSULA | WIKI UNISSULA PORTAL V2 | ||
============================================================ */ | ============================================================ */ | ||
:root { | :root { | ||
-- | --wu2-green:#08783e; | ||
-- | --wu2-green-dark:#045c30; | ||
-- | --wu2-green-deep:#034424; | ||
-- | --wu2-mint:#edf8f2; | ||
--wu2-gold:#d9aa2b; | |||
-- | --wu2-bg:#f5f7f6; | ||
-- | --wu2-border:#e0e7e3; | ||
--wu2-text:#19231e; | |||
-- | --wu2-muted:#69756f; | ||
-- | --wu2-white:#fff; | ||
-- | |||
-- | |||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
DESTROY VECTOR CHROME ONLY ON HOMEPAGE | |||
============================================================ */ | ============================================================ */ | ||
body.page-Halaman_Utama { | |||
body { | background:var(--wu2-bg) !important; | ||
background: var(-- | |||
} | } | ||
body | body.page-Halaman_Utama .vector-header-container, | ||
body.page-Halaman_Utama .vector-sticky-header-container, | |||
body.page-Halaman_Utama .mw-footer-container, | |||
body.page-Halaman_Utama .vector-column-start, | |||
body.page-Halaman_Utama .vector-column-end, | |||
body.page-Halaman_Utama .mw-body-header, | |||
body.page-Halaman_Utama .vector-page-toolbar, | |||
body.page-Halaman_Utama #siteSub, | |||
body.page-Halaman_Utama #contentSub, | |||
body.page-Halaman_Utama #siteNotice { | |||
display:none !important; | |||
} | } | ||
body.page-Halaman_Utama .mw-page-container, | |||
body.page-Halaman_Utama .mw-page-container-inner, | |||
body.page-Halaman_Utama .mw-content-container, | |||
body.page-Halaman_Utama .mw-body, | |||
body.page-Halaman_Utama #bodyContent, | |||
body.page-Halaman_Utama .mw-body-content, | |||
body.page-Halaman_Utama .mw-parser-output { | |||
width:100% !important; | |||
max-width:none !important; | |||
margin:0 !important; | |||
padding:0 !important; | |||
} | } | ||
body.page-Halaman_Utama .mw-page-container { | |||
border:0 !important; | |||
background:var(--wu2-bg) !important; | |||
. | |||
border | |||
} | } | ||
.mw- | body.page-Halaman_Utama .mw-page-container-inner { | ||
display: | display:block !important; | ||
} | } | ||
/* ============================================================ | |||
PORTAL | |||
============================================================ */ | |||
. | .wu2 { | ||
width:100%; | |||
min-height:100vh; | |||
background:var(--wu2-bg); | |||
color:var(--wu2-text); | |||
font-family: | font-family: | ||
system-ui, | system-ui, | ||
| Baris 102: | Baris 74: | ||
BlinkMacSystemFont, | BlinkMacSystemFont, | ||
"Segoe UI", | "Segoe UI", | ||
sans-serif | Arial, | ||
sans-serif; | |||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
CUSTOM HEADER | |||
============================================================ */ | ============================================================ */ | ||
. | .wu2-navbar { | ||
background: #fff; | height:72px; | ||
background:#fff; | |||
border-bottom:1px solid var(--wu2-border); | |||
} | } | ||
. | .wu2-navbar-inner { | ||
max-width:1240px; | |||
height:72px; | |||
margin:0 auto; | |||
padding:0 28px; | |||
display:flex; | |||
align-items:center; | |||
gap:38px; | |||
} | } | ||
. | .wu2-brand { | ||
display:flex; | |||
align-items:center; | |||
gap:11px; | |||
flex:0 0 auto; | |||
} | } | ||
. | .wu2-brandmark { | ||
width:40px; | |||
height:40px; | |||
display:flex; | |||
align-items:center; | |||
justify-content:center; | |||
border-radius:11px; | |||
background:var(--wu2-green); | |||
color:#fff; | |||
font-size:11px; | |||
font-weight:900; | |||
letter-spacing:.5px; | |||
} | } | ||
. | .wu2-brandname { | ||
font-size:22px; | |||
line-height:1; | |||
font-weight:850; | |||
color:var(--wu2-green); | |||
white-space:nowrap; | |||
} | } | ||
. | .wu2-brandname span { | ||
color:#161d19; | |||
} | } | ||
. | .wu2-nav { | ||
flex:1; | |||
display:flex; | |||
align-items:center; | |||
justify-content:center; | |||
gap:31px; | |||
} | } | ||
. | .wu2-nav a { | ||
color:#26332c !important; | |||
text-decoration:none !important; | |||
font-size:14px; | |||
font-weight:650; | |||
} | } | ||
. | .wu2-nav a:hover { | ||
color:var(--wu2-green) !important; | |||
} | } | ||
.wu2-login a { | |||
display:block; | |||
padding:10px 19px; | |||
border:1px solid #d9e3dd; | |||
border-radius:9px; | |||
color:var(--wu2-green-dark) !important; | |||
text-decoration:none !important; | |||
font- | font-size:13px; | ||
font-weight:750; | |||
} | } | ||
| Baris 206: | Baris 177: | ||
============================================================ */ | ============================================================ */ | ||
. | .wu2-hero { | ||
position: relative; | position:relative; | ||
overflow: hidden; | overflow:hidden; | ||
min-height:390px; | |||
display:flex; | |||
align-items:center; | |||
background: | background: | ||
linear-gradient( | linear-gradient( | ||
120deg, | |||
# | #034c2b 0%, | ||
#08783e | #08783e 57%, | ||
# | #0b8548 100% | ||
); | ); | ||
} | |||
.wu2-hero::before { | |||
content:""; | |||
position:absolute; | |||
left:-130px; | |||
bottom:-190px; | |||
width:420px; | |||
height:420px; | |||
border-radius:50%; | |||
background:rgba(217,170,43,.17); | |||
} | } | ||
. | .wu2-hero::after { | ||
content: ""; | content:""; | ||
position:absolute; | |||
right:-80px; | |||
top:-155px; | |||
width:390px; | |||
height:390px; | |||
border-radius:50%; | |||
background:rgba(255,255,255,.09); | |||
} | |||
position: absolute; | .wu2-shape-b { | ||
right: | position:absolute; | ||
bottom: - | right:110px; | ||
bottom:-110px; | |||
width: | width:240px; | ||
height: | height:240px; | ||
border: 1px solid rgba(255,255,255,. | border:1px solid rgba(255,255,255,.16); | ||
border-radius: 50%; | border-radius:50%; | ||
} | } | ||
. | .wu2-hero-inner { | ||
position: relative; | position:relative; | ||
z-index: | z-index:3; | ||
width:100%; | |||
max-width:1060px; | |||
padding: | margin:0 auto; | ||
padding:65px 30px; | |||
text-align: center; | text-align:center; | ||
} | } | ||
. | .wu2-kicker { | ||
margin-bottom: | margin-bottom:14px; | ||
color:#f4ce63; | |||
font-size:11px; | |||
font-weight:850; | |||
letter-spacing:2px; | |||
} | } | ||
. | .wu2-title { | ||
color:white; | |||
font- | font-size:52px; | ||
line-height:1.08; | |||
font-weight:850; | |||
letter-spacing:-2px; | |||
} | } | ||
. | .wu2-subtitle { | ||
max-width: | max-width:780px; | ||
margin: | margin:18px auto 30px; | ||
color: rgba(255,255,255,. | color:rgba(255,255,255,.87); | ||
font-size: 17px; | font-size:17px; | ||
line-height: 1.65; | line-height:1.65; | ||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
SEARCH | |||
============================================================ */ | ============================================================ */ | ||
. | .wu2-search { | ||
max-width: | max-width:800px; | ||
margin: 0 auto | margin:0 auto; | ||
} | } | ||
. | .wu2-search form { | ||
display: flex !important; | display:flex !important; | ||
overflow:hidden; | |||
width:100%; | |||
margin:0 !important; | |||
padding:6px !important; | |||
border-radius: 13px; | border-radius:13px; | ||
background:white; | |||
box-shadow:0 18px 40px rgba(0,0,0,.17); | |||
} | } | ||
. | .wu2-search input[type="text"], | ||
. | .wu2-search input[type="search"] { | ||
flex: 1; | flex:1 !important; | ||
width:auto !important; | |||
min-width: 0; | min-width:0; | ||
height: | height:52px !important; | ||
margin: 0 !important; | margin:0 !important; | ||
padding: 0 | padding:0 18px !important; | ||
border: 0 !important; | border:0 !important; | ||
outline: 0 !important; | outline:0 !important; | ||
box-shadow:none !important; | |||
background:white !important; | |||
color:#29342f; | |||
font-size:14px !important; | |||
} | } | ||
. | .wu2-search input[type="submit"], | ||
. | .wu2-search button { | ||
height: | width:105px !important; | ||
height:52px !important; | |||
margin:0 !important; | |||
border:0 !important; | |||
border-radius:9px !important; | |||
background:#efc64f !important; | |||
color:#41330c !important; | |||
font-weight:850 !important; | |||
cursor:pointer; | |||
cursor: pointer; | |||
} | } | ||
. | .wu2-popular { | ||
margin-top:17px; | |||
display:flex; | |||
justify-content:center; | |||
flex-wrap:wrap; | |||
gap:7px; | |||
gap: | |||
font-size: | font-size:11px; | ||
} | } | ||
. | .wu2-popular > span { | ||
display: | display:flex; | ||
align-items: center; | align-items:center; | ||
color: rgba(255,255,255,. | color:rgba(255,255,255,.66); | ||
margin-right: | margin-right:3px; | ||
} | } | ||
. | .wu2-popular a { | ||
padding:5px 10px; | |||
border:1px solid rgba(255,255,255,.18); | |||
border-radius:20px; | |||
background:rgba(2,50,28,.21); | |||
text-decoration: none !important; | color:white !important; | ||
text-decoration:none !important; | |||
} | |||
/* ============================================================ | |||
MAIN CONTAINER | |||
============================================================ */ | |||
.wu2-container { | |||
width:calc(100% - 48px); | |||
max-width:1240px; | |||
margin:0 auto; | |||
} | } | ||
| Baris 420: | Baris 397: | ||
============================================================ */ | ============================================================ */ | ||
. | .wu2-shortcuts { | ||
position:relative; | |||
z-index:5; | |||
margin: | margin-top:-36px; | ||
margin-bottom:28px; | |||
padding: | padding:24px 18px; | ||
display: grid; | display:grid; | ||
grid-template-columns: | grid-template-columns:repeat(6,minmax(0,1fr)); | ||
background:#fff; | |||
border: 1px solid var(-- | border:1px solid var(--wu2-border); | ||
border-radius: | border-radius:17px; | ||
box-shadow:0 12px 35px rgba(23,64,43,.07); | |||
box-shadow: 0 | |||
} | } | ||
. | .wu2-shortcut { | ||
padding:13px 13px 12px; | |||
text-align:center; | |||
border- | border-right:1px solid #edf1ef; | ||
} | } | ||
. | .wu2-shortcut:last-child { | ||
border-right:0; | |||
} | } | ||
. | .wu2-shortcut-icon { | ||
width:47px; | |||
height:47px; | |||
width: | |||
height: | |||
margin: 0 auto 11px; | margin:0 auto 11px; | ||
display:flex; | |||
align-items:center; | |||
justify-content:center; | |||
background:var(--wu2-mint); | |||
border-radius:12px; | |||
color:var(--wu2-green); | |||
letter-spacing: .5px; | font-size:11px; | ||
font-weight:900; | |||
letter-spacing:.5px; | |||
} | } | ||
. | .wu2-shortcut-title { | ||
margin-bottom: | margin-bottom:5px; | ||
font-size: 14px; | font-size:14px; | ||
font-weight: 800; | font-weight:800; | ||
} | } | ||
. | .wu2-shortcut-text { | ||
min-height: | min-height:35px; | ||
color:var(--wu2-muted); | |||
font-size:11px; | |||
line-height:1.45; | |||
} | |||
.wu2-shortcut a { | |||
display:inline-block; | |||
margin-top:7px; | |||
text-decoration: none !important; | color:var(--wu2-green) !important; | ||
text-decoration:none !important; | |||
font-size: 11px; | font-size:11px; | ||
font-weight: 750; | font-weight:750; | ||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
TRUE TWO COLUMN LAYOUT | |||
============================================================ */ | ============================================================ */ | ||
. | .wu2-grid { | ||
display:grid !important; | |||
grid-template-columns: | |||
minmax(0,1fr) | |||
350px !important; | |||
gap:24px; | |||
align-items:start; | |||
} | |||
.wu2-left, | |||
.wu2-right { | |||
min-width:0; | |||
display:flex; | |||
flex-direction:column; | |||
gap: | gap:24px; | ||
} | } | ||
/* ============================================================ | |||
CARDS | |||
============================================================ */ | |||
.wu2-card { | |||
width:auto !important; | |||
padding:26px; | |||
padding: | |||
border: 1px solid var(-- | border:1px solid var(--wu2-border); | ||
border-radius: | border-radius:16px; | ||
background: white; | background:white; | ||
box-shadow: | box-shadow:0 5px 20px rgba(26,65,45,.035); | ||
} | } | ||
. | .wu2-section-label { | ||
margin-bottom: | margin-bottom:20px; | ||
color: var(-- | color:var(--wu2-green-dark); | ||
font-size: | font-size:16px; | ||
font-weight: 800; | font-weight:800; | ||
} | } | ||
. | .wu2-star { | ||
color:var(--wu2-gold); | |||
margin-right:7px; | |||
} | } | ||
. | .wu2-hot { | ||
margin-right: 7px; | color:#e1544d; | ||
margin-right:7px; | |||
} | |||
color: var(-- | .wu2-section-head { | ||
margin-bottom:20px; | |||
display:flex; | |||
justify-content:space-between; | |||
align-items:center; | |||
color:var(--wu2-green-dark); | |||
font-size:16px; | |||
font-weight:800; | |||
} | } | ||
. | .wu2-section-action { | ||
font-size: | font-size:11px; | ||
font-weight: | font-weight:700; | ||
} | } | ||
. | .wu2-section-action a { | ||
color: var(-- | color:var(--wu2-green) !important; | ||
text-decoration: none !important; | text-decoration:none !important; | ||
} | } | ||
| Baris 578: | Baris 571: | ||
============================================================ */ | ============================================================ */ | ||
. | .wu2-feature { | ||
min-height:290px; | |||
} | |||
grid-template-columns: | .wu2-feature-grid { | ||
display:grid; | |||
grid-template-columns:minmax(0,1fr) 230px; | |||
gap:34px; | |||
align-items:center; | |||
align-items: center; | |||
} | } | ||
. | .wu2-feature-title { | ||
margin-bottom: | margin-bottom:13px; | ||
color: var(-- | color:var(--wu2-green-dark); | ||
font-size: | font-size:26px; | ||
line-height: 1. | line-height:1.25; | ||
font-weight: 850; | font-weight:850; | ||
letter-spacing:-.5px; | |||
} | } | ||
. | .wu2-feature-copy { | ||
color: # | color:#53615a; | ||
font-size: 14px; | font-size:14px; | ||
line-height: 1. | line-height:1.75; | ||
} | } | ||
. | .wu2-tags { | ||
display: flex; | display:flex; | ||
flex-wrap:wrap; | |||
gap:7px; | |||
margin:18px 0; | |||
} | |||
.wu2-tags span { | |||
padding:5px 9px; | |||
border-radius:6px; | |||
background:var(--wu2-mint); | |||
color: | color:var(--wu2-green-dark); | ||
font-size: | font-size:10px; | ||
font-weight: | font-weight:750; | ||
} | } | ||
. | .wu2-read a { | ||
color:var(--wu2-green) !important; | |||
text-decoration:none !important; | |||
font-size:12px; | |||
font-weight:800; | |||
} | |||
.wu2-feature-art { | |||
height:190px; | |||
display:flex; | |||
flex-direction:column; | |||
align-items:center; | |||
justify-content:center; | |||
border-radius: | border-radius:28px; | ||
background: | background: | ||
linear-gradient( | |||
145deg, | |||
#d8f0e2, | |||
#f5fbf7 | |||
); | |||
color: | color:#8bc3a4; | ||
transform:rotate(-3deg); | |||
} | } | ||
. | .wu2-feature-art-small { | ||
font-size:11px; | |||
font-weight:900; | |||
letter-spacing:3px; | |||
} | |||
.wu2-feature-art-big { | |||
margin-top:4px; | |||
font-size: | font-size:27px; | ||
font-weight: | font-weight:900; | ||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
EMPTY | EMPTY STATE | ||
============================================================ */ | ============================================================ */ | ||
. | .wu2-empty { | ||
padding: | padding:24px; | ||
display:flex; | |||
align-items:center; | |||
gap:17px; | |||
border: 1px dashed # | border:1px dashed #cedbd4; | ||
border-radius: 12px; | border-radius:12px; | ||
background:#fafcfb; | |||
} | } | ||
. | .wu2-empty-mark { | ||
flex:0 0 auto; | |||
width:44px; | |||
height:44px; | |||
display:flex; | |||
align-items:center; | |||
justify-content:center; | |||
border-radius:11px; | |||
background:var(--wu2-mint); | |||
color: var(-- | color:var(--wu2-green); | ||
font-size: | font-size:24px; | ||
font-weight:500; | |||
} | } | ||
. | .wu2-empty-title { | ||
font-size:13px; | |||
font-weight:800; | |||
} | |||
.wu2-empty-text { | |||
margin-top:4px; | |||
color:var(--wu2-muted); | |||
font-size:11px; | |||
font- | |||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
EXPLORE | |||
============================================================ */ | ============================================================ */ | ||
. | .wu2-explore { | ||
display: | display:grid; | ||
grid-template-columns: | |||
repeat(2,minmax(0,1fr)); | |||
gap:12px; | |||
} | } | ||
. | .wu2-explore-item { | ||
padding:16px; | |||
display:flex; | |||
align-items:center; | |||
gap:12px; | |||
border | border:1px solid var(--wu2-border); | ||
border-radius:11px; | |||
} | |||
.wu2-explore-icon { | |||
flex:0 0 auto; | |||
width:39px; | |||
height:39px; | |||
display:flex; | |||
align-items:center; | |||
justify-content:center; | |||
border-radius:9px; | |||
background:var(--wu2-mint); | |||
color:var(--wu2-green); | |||
font-size:9px; | |||
font-weight:900; | |||
} | |||
.wu2-explore-item strong { | |||
display:block; | |||
font-size: | font-size:12px; | ||
} | } | ||
. | .wu2-explore-item span { | ||
display:block; | |||
margin-top:2px; | |||
color:var(--wu2-muted); | |||
font-size:10px; | |||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
TOPICS | |||
============================================================ */ | ============================================================ */ | ||
. | .wu2-topics > div { | ||
min-height:47px; | |||
display:flex; | |||
align-items:center; | |||
gap:11px; | |||
border-bottom:1px solid #edf1ef; | |||
} | |||
.wu2-topics > div:last-child { | |||
border-bottom:0; | |||
} | } | ||
. | .wu2-topics span { | ||
flex:0 0 auto; | |||
width:24px; | |||
height:24px; | |||
display:flex; | |||
align-items:center; | |||
justify-content:center; | |||
border-radius:50%; | |||
background:var(--wu2-green); | |||
color:#fff; | |||
font-size: | font-size:10px; | ||
font-weight: | font-weight:850; | ||
} | } | ||
. | .wu2-topics a { | ||
color:#25312b !important; | |||
text-decoration:none !important; | |||
font-size:12px; | |||
font-weight:650; | |||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
GREEN CARD | |||
============================================================ */ | ============================================================ */ | ||
. | .wu2-green-card { | ||
background: | |||
linear-gradient( | |||
145deg, | |||
#eff8f3, | |||
#fff | |||
); | |||
} | } | ||
. | .wu2-green-text { | ||
margin-bottom:18px; | |||
color:#596760; | |||
font-size:12px; | |||
line-height:1.65; | |||
} | |||
.wu2-outline-button a { | |||
display:block; | |||
padding:11px; | |||
text- | text-align:center; | ||
border:1px solid var(--wu2-green); | |||
border-radius:8px; | |||
color:var(--wu2-green) !important; | |||
text-decoration:none !important; | |||
font-size:11px; | |||
font-weight:800; | |||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
QUICK LINKS | |||
============================================================ */ | ============================================================ */ | ||
. | .wu2-quick { | ||
display: | display:flex; | ||
flex-direction:column; | |||
} | |||
.wu2-quick a { | |||
position:relative; | |||
padding:11px 20px 11px 0; | |||
padding: | |||
border-bottom:1px solid #edf1ef; | |||
color:#344139 !important; | |||
text-decoration:none !important; | |||
font-size:12px; | |||
} | } | ||
. | .wu2-quick a::after { | ||
content:"›"; | |||
position:absolute; | |||
right:2px; | |||
color:#8b9690; | |||
} | } | ||
. | .wu2-quick a:last-child { | ||
border-bottom:0; | |||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
STATS | |||
============================================================ */ | ============================================================ */ | ||
. | .wu2-stats { | ||
display: grid; | display:grid; | ||
grid-template-columns: | grid-template-columns:repeat(3,1fr); | ||
gap: | gap:8px; | ||
} | } | ||
. | .wu2-stats > div { | ||
padding:14px 4px; | |||
text-align:center; | |||
border-radius:9px; | |||
background:#f8faf9; | |||
} | } | ||
. | .wu2-stats strong { | ||
display:block; | |||
display: | |||
color:var(--wu2-green); | |||
font-size:21px; | |||
font-weight:850; | |||
font-size: | |||
font-weight: 850 | |||
} | } | ||
. | .wu2-stats span { | ||
color: var(-- | color:var(--wu2-muted); | ||
font-size: | font-size:9px; | ||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
FOOTER | |||
============================================================ */ | ============================================================ */ | ||
. | .wu2-footer { | ||
margin-top:45px; | |||
background:#fff; | |||
border-top:1px solid var(--wu2-border); | |||
} | |||
.wu2-footer-inner { | |||
max-width:1240px; | |||
margin:0 auto; | |||
padding:25px 28px; | |||
display:flex; | |||
align-items:center; | |||
justify-content:space-between; | |||
color:var(--wu2-muted); | |||
font-size:11px; | |||
font-size: | |||
} | } | ||
.wu2-footer strong { | |||
display:block; | |||
margin-bottom:3px; | |||
color:var(--wu2-green-dark); | |||
font-size:13px; | |||
} | } | ||
.wu2-footer span { | |||
display:block; | |||
display: | |||
} | } | ||
| Baris 1.013: | Baris 989: | ||
============================================================ */ | ============================================================ */ | ||
@media (max-width: | @media (max-width:1000px) { | ||
.wu2-nav { | |||
gap:18px; | |||
} | |||
. | .wu2-shortcuts { | ||
grid-template-columns: | grid-template-columns:repeat(3,1fr); | ||
} | |||
.wu2-shortcut:nth-child(3) { | |||
border-right:0; | |||
} | } | ||
. | .wu2-grid { | ||
grid-template-columns:minmax(0,1fr) 300px !important; | |||
} | } | ||
} | } | ||
@media (max-width:760px) { | |||
.wu2-nav { | |||
display:none; | |||
. | |||
} | } | ||
. | .wu2-navbar-inner { | ||
justify-content:space-between; | |||
} | } | ||
. | .wu2-title { | ||
font-size:38px; | |||
} | } | ||
.wu2-hero { | |||
min-height:360px; | |||
. | |||
} | } | ||
. | .wu2-grid { | ||
grid-template-columns:1fr !important; | |||
} | } | ||
. | .wu2-feature-grid { | ||
grid-template-columns:1fr; | |||
} | } | ||
. | .wu2-feature-art { | ||
display:none; | |||
} | } | ||
} | |||
@media (max-width:560px) { | |||
.wu2-container { | |||
width:calc(100% - 28px); | |||
} | } | ||
. | .wu2-shortcuts { | ||
grid-template-columns:repeat(2,1fr); | |||
} | |||
border- | .wu2-shortcut { | ||
border-right:0; | |||
} | } | ||
. | .wu2-explore { | ||
grid-template-columns:1fr; | |||
} | |||
.wu2-title { | |||
font-size:32px; | |||
} | |||
.wu2-subtitle { | |||
font-size:15px; | |||
} | } | ||
. | .wu2-search form { | ||
display:block !important; | |||
padding:6px !important; | |||
} | } | ||
. | .wu2-search input[type="text"], | ||
.wu2-search input[type="search"], | |||
.wu2-search input[type="submit"], | |||
.wu2-search button { | |||
width:100% !important; | |||
} | } | ||
. | .wu2-search input[type="submit"], | ||
margin-top: | .wu2-search button { | ||
margin-top:6px !important; | |||
} | } | ||
} | } | ||
/* | |||
/* Hide public create-account UI */ | |||
#pt-createaccount, | |||
#pt-createaccount-2 { | |||
display:none !important; | |||
} | |||
Revisi per 21 Agustus 2026 08.59
/* ============================================================
WIKI UNISSULA PORTAL V2
============================================================ */
:root {
--wu2-green:#08783e;
--wu2-green-dark:#045c30;
--wu2-green-deep:#034424;
--wu2-mint:#edf8f2;
--wu2-gold:#d9aa2b;
--wu2-bg:#f5f7f6;
--wu2-border:#e0e7e3;
--wu2-text:#19231e;
--wu2-muted:#69756f;
--wu2-white:#fff;
}
/* ============================================================
DESTROY VECTOR CHROME ONLY ON HOMEPAGE
============================================================ */
body.page-Halaman_Utama {
background:var(--wu2-bg) !important;
}
body.page-Halaman_Utama .vector-header-container,
body.page-Halaman_Utama .vector-sticky-header-container,
body.page-Halaman_Utama .mw-footer-container,
body.page-Halaman_Utama .vector-column-start,
body.page-Halaman_Utama .vector-column-end,
body.page-Halaman_Utama .mw-body-header,
body.page-Halaman_Utama .vector-page-toolbar,
body.page-Halaman_Utama #siteSub,
body.page-Halaman_Utama #contentSub,
body.page-Halaman_Utama #siteNotice {
display:none !important;
}
body.page-Halaman_Utama .mw-page-container,
body.page-Halaman_Utama .mw-page-container-inner,
body.page-Halaman_Utama .mw-content-container,
body.page-Halaman_Utama .mw-body,
body.page-Halaman_Utama #bodyContent,
body.page-Halaman_Utama .mw-body-content,
body.page-Halaman_Utama .mw-parser-output {
width:100% !important;
max-width:none !important;
margin:0 !important;
padding:0 !important;
}
body.page-Halaman_Utama .mw-page-container {
border:0 !important;
background:var(--wu2-bg) !important;
}
body.page-Halaman_Utama .mw-page-container-inner {
display:block !important;
}
/* ============================================================
PORTAL
============================================================ */
.wu2 {
width:100%;
min-height:100vh;
background:var(--wu2-bg);
color:var(--wu2-text);
font-family:
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Arial,
sans-serif;
}
/* ============================================================
CUSTOM HEADER
============================================================ */
.wu2-navbar {
height:72px;
background:#fff;
border-bottom:1px solid var(--wu2-border);
}
.wu2-navbar-inner {
max-width:1240px;
height:72px;
margin:0 auto;
padding:0 28px;
display:flex;
align-items:center;
gap:38px;
}
.wu2-brand {
display:flex;
align-items:center;
gap:11px;
flex:0 0 auto;
}
.wu2-brandmark {
width:40px;
height:40px;
display:flex;
align-items:center;
justify-content:center;
border-radius:11px;
background:var(--wu2-green);
color:#fff;
font-size:11px;
font-weight:900;
letter-spacing:.5px;
}
.wu2-brandname {
font-size:22px;
line-height:1;
font-weight:850;
color:var(--wu2-green);
white-space:nowrap;
}
.wu2-brandname span {
color:#161d19;
}
.wu2-nav {
flex:1;
display:flex;
align-items:center;
justify-content:center;
gap:31px;
}
.wu2-nav a {
color:#26332c !important;
text-decoration:none !important;
font-size:14px;
font-weight:650;
}
.wu2-nav a:hover {
color:var(--wu2-green) !important;
}
.wu2-login a {
display:block;
padding:10px 19px;
border:1px solid #d9e3dd;
border-radius:9px;
color:var(--wu2-green-dark) !important;
text-decoration:none !important;
font-size:13px;
font-weight:750;
}
/* ============================================================
HERO
============================================================ */
.wu2-hero {
position:relative;
overflow:hidden;
min-height:390px;
display:flex;
align-items:center;
background:
linear-gradient(
120deg,
#034c2b 0%,
#08783e 57%,
#0b8548 100%
);
}
.wu2-hero::before {
content:"";
position:absolute;
left:-130px;
bottom:-190px;
width:420px;
height:420px;
border-radius:50%;
background:rgba(217,170,43,.17);
}
.wu2-hero::after {
content:"";
position:absolute;
right:-80px;
top:-155px;
width:390px;
height:390px;
border-radius:50%;
background:rgba(255,255,255,.09);
}
.wu2-shape-b {
position:absolute;
right:110px;
bottom:-110px;
width:240px;
height:240px;
border:1px solid rgba(255,255,255,.16);
border-radius:50%;
}
.wu2-hero-inner {
position:relative;
z-index:3;
width:100%;
max-width:1060px;
margin:0 auto;
padding:65px 30px;
text-align:center;
}
.wu2-kicker {
margin-bottom:14px;
color:#f4ce63;
font-size:11px;
font-weight:850;
letter-spacing:2px;
}
.wu2-title {
color:white;
font-size:52px;
line-height:1.08;
font-weight:850;
letter-spacing:-2px;
}
.wu2-subtitle {
max-width:780px;
margin:18px auto 30px;
color:rgba(255,255,255,.87);
font-size:17px;
line-height:1.65;
}
/* ============================================================
SEARCH
============================================================ */
.wu2-search {
max-width:800px;
margin:0 auto;
}
.wu2-search form {
display:flex !important;
overflow:hidden;
width:100%;
margin:0 !important;
padding:6px !important;
border-radius:13px;
background:white;
box-shadow:0 18px 40px rgba(0,0,0,.17);
}
.wu2-search input[type="text"],
.wu2-search input[type="search"] {
flex:1 !important;
width:auto !important;
min-width:0;
height:52px !important;
margin:0 !important;
padding:0 18px !important;
border:0 !important;
outline:0 !important;
box-shadow:none !important;
background:white !important;
color:#29342f;
font-size:14px !important;
}
.wu2-search input[type="submit"],
.wu2-search button {
width:105px !important;
height:52px !important;
margin:0 !important;
border:0 !important;
border-radius:9px !important;
background:#efc64f !important;
color:#41330c !important;
font-weight:850 !important;
cursor:pointer;
}
.wu2-popular {
margin-top:17px;
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:7px;
font-size:11px;
}
.wu2-popular > span {
display:flex;
align-items:center;
color:rgba(255,255,255,.66);
margin-right:3px;
}
.wu2-popular a {
padding:5px 10px;
border:1px solid rgba(255,255,255,.18);
border-radius:20px;
background:rgba(2,50,28,.21);
color:white !important;
text-decoration:none !important;
}
/* ============================================================
MAIN CONTAINER
============================================================ */
.wu2-container {
width:calc(100% - 48px);
max-width:1240px;
margin:0 auto;
}
/* ============================================================
SHORTCUTS
============================================================ */
.wu2-shortcuts {
position:relative;
z-index:5;
margin-top:-36px;
margin-bottom:28px;
padding:24px 18px;
display:grid;
grid-template-columns:repeat(6,minmax(0,1fr));
background:#fff;
border:1px solid var(--wu2-border);
border-radius:17px;
box-shadow:0 12px 35px rgba(23,64,43,.07);
}
.wu2-shortcut {
padding:13px 13px 12px;
text-align:center;
border-right:1px solid #edf1ef;
}
.wu2-shortcut:last-child {
border-right:0;
}
.wu2-shortcut-icon {
width:47px;
height:47px;
margin:0 auto 11px;
display:flex;
align-items:center;
justify-content:center;
background:var(--wu2-mint);
border-radius:12px;
color:var(--wu2-green);
font-size:11px;
font-weight:900;
letter-spacing:.5px;
}
.wu2-shortcut-title {
margin-bottom:5px;
font-size:14px;
font-weight:800;
}
.wu2-shortcut-text {
min-height:35px;
color:var(--wu2-muted);
font-size:11px;
line-height:1.45;
}
.wu2-shortcut a {
display:inline-block;
margin-top:7px;
color:var(--wu2-green) !important;
text-decoration:none !important;
font-size:11px;
font-weight:750;
}
/* ============================================================
TRUE TWO COLUMN LAYOUT
============================================================ */
.wu2-grid {
display:grid !important;
grid-template-columns:
minmax(0,1fr)
350px !important;
gap:24px;
align-items:start;
}
.wu2-left,
.wu2-right {
min-width:0;
display:flex;
flex-direction:column;
gap:24px;
}
/* ============================================================
CARDS
============================================================ */
.wu2-card {
width:auto !important;
padding:26px;
border:1px solid var(--wu2-border);
border-radius:16px;
background:white;
box-shadow:0 5px 20px rgba(26,65,45,.035);
}
.wu2-section-label {
margin-bottom:20px;
color:var(--wu2-green-dark);
font-size:16px;
font-weight:800;
}
.wu2-star {
color:var(--wu2-gold);
margin-right:7px;
}
.wu2-hot {
color:#e1544d;
margin-right:7px;
}
.wu2-section-head {
margin-bottom:20px;
display:flex;
justify-content:space-between;
align-items:center;
color:var(--wu2-green-dark);
font-size:16px;
font-weight:800;
}
.wu2-section-action {
font-size:11px;
font-weight:700;
}
.wu2-section-action a {
color:var(--wu2-green) !important;
text-decoration:none !important;
}
/* ============================================================
FEATURED
============================================================ */
.wu2-feature {
min-height:290px;
}
.wu2-feature-grid {
display:grid;
grid-template-columns:minmax(0,1fr) 230px;
gap:34px;
align-items:center;
}
.wu2-feature-title {
margin-bottom:13px;
color:var(--wu2-green-dark);
font-size:26px;
line-height:1.25;
font-weight:850;
letter-spacing:-.5px;
}
.wu2-feature-copy {
color:#53615a;
font-size:14px;
line-height:1.75;
}
.wu2-tags {
display:flex;
flex-wrap:wrap;
gap:7px;
margin:18px 0;
}
.wu2-tags span {
padding:5px 9px;
border-radius:6px;
background:var(--wu2-mint);
color:var(--wu2-green-dark);
font-size:10px;
font-weight:750;
}
.wu2-read a {
color:var(--wu2-green) !important;
text-decoration:none !important;
font-size:12px;
font-weight:800;
}
.wu2-feature-art {
height:190px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
border-radius:28px;
background:
linear-gradient(
145deg,
#d8f0e2,
#f5fbf7
);
color:#8bc3a4;
transform:rotate(-3deg);
}
.wu2-feature-art-small {
font-size:11px;
font-weight:900;
letter-spacing:3px;
}
.wu2-feature-art-big {
margin-top:4px;
font-size:27px;
font-weight:900;
}
/* ============================================================
EMPTY STATE
============================================================ */
.wu2-empty {
padding:24px;
display:flex;
align-items:center;
gap:17px;
border:1px dashed #cedbd4;
border-radius:12px;
background:#fafcfb;
}
.wu2-empty-mark {
flex:0 0 auto;
width:44px;
height:44px;
display:flex;
align-items:center;
justify-content:center;
border-radius:11px;
background:var(--wu2-mint);
color:var(--wu2-green);
font-size:24px;
font-weight:500;
}
.wu2-empty-title {
font-size:13px;
font-weight:800;
}
.wu2-empty-text {
margin-top:4px;
color:var(--wu2-muted);
font-size:11px;
}
/* ============================================================
EXPLORE
============================================================ */
.wu2-explore {
display:grid;
grid-template-columns:
repeat(2,minmax(0,1fr));
gap:12px;
}
.wu2-explore-item {
padding:16px;
display:flex;
align-items:center;
gap:12px;
border:1px solid var(--wu2-border);
border-radius:11px;
}
.wu2-explore-icon {
flex:0 0 auto;
width:39px;
height:39px;
display:flex;
align-items:center;
justify-content:center;
border-radius:9px;
background:var(--wu2-mint);
color:var(--wu2-green);
font-size:9px;
font-weight:900;
}
.wu2-explore-item strong {
display:block;
font-size:12px;
}
.wu2-explore-item span {
display:block;
margin-top:2px;
color:var(--wu2-muted);
font-size:10px;
}
/* ============================================================
TOPICS
============================================================ */
.wu2-topics > div {
min-height:47px;
display:flex;
align-items:center;
gap:11px;
border-bottom:1px solid #edf1ef;
}
.wu2-topics > div:last-child {
border-bottom:0;
}
.wu2-topics span {
flex:0 0 auto;
width:24px;
height:24px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
background:var(--wu2-green);
color:#fff;
font-size:10px;
font-weight:850;
}
.wu2-topics a {
color:#25312b !important;
text-decoration:none !important;
font-size:12px;
font-weight:650;
}
/* ============================================================
GREEN CARD
============================================================ */
.wu2-green-card {
background:
linear-gradient(
145deg,
#eff8f3,
#fff
);
}
.wu2-green-text {
margin-bottom:18px;
color:#596760;
font-size:12px;
line-height:1.65;
}
.wu2-outline-button a {
display:block;
padding:11px;
text-align:center;
border:1px solid var(--wu2-green);
border-radius:8px;
color:var(--wu2-green) !important;
text-decoration:none !important;
font-size:11px;
font-weight:800;
}
/* ============================================================
QUICK LINKS
============================================================ */
.wu2-quick {
display:flex;
flex-direction:column;
}
.wu2-quick a {
position:relative;
padding:11px 20px 11px 0;
border-bottom:1px solid #edf1ef;
color:#344139 !important;
text-decoration:none !important;
font-size:12px;
}
.wu2-quick a::after {
content:"›";
position:absolute;
right:2px;
color:#8b9690;
}
.wu2-quick a:last-child {
border-bottom:0;
}
/* ============================================================
STATS
============================================================ */
.wu2-stats {
display:grid;
grid-template-columns:repeat(3,1fr);
gap:8px;
}
.wu2-stats > div {
padding:14px 4px;
text-align:center;
border-radius:9px;
background:#f8faf9;
}
.wu2-stats strong {
display:block;
color:var(--wu2-green);
font-size:21px;
font-weight:850;
}
.wu2-stats span {
color:var(--wu2-muted);
font-size:9px;
}
/* ============================================================
FOOTER
============================================================ */
.wu2-footer {
margin-top:45px;
background:#fff;
border-top:1px solid var(--wu2-border);
}
.wu2-footer-inner {
max-width:1240px;
margin:0 auto;
padding:25px 28px;
display:flex;
align-items:center;
justify-content:space-between;
color:var(--wu2-muted);
font-size:11px;
}
.wu2-footer strong {
display:block;
margin-bottom:3px;
color:var(--wu2-green-dark);
font-size:13px;
}
.wu2-footer span {
display:block;
}
/* ============================================================
RESPONSIVE
============================================================ */
@media (max-width:1000px) {
.wu2-nav {
gap:18px;
}
.wu2-shortcuts {
grid-template-columns:repeat(3,1fr);
}
.wu2-shortcut:nth-child(3) {
border-right:0;
}
.wu2-grid {
grid-template-columns:minmax(0,1fr) 300px !important;
}
}
@media (max-width:760px) {
.wu2-nav {
display:none;
}
.wu2-navbar-inner {
justify-content:space-between;
}
.wu2-title {
font-size:38px;
}
.wu2-hero {
min-height:360px;
}
.wu2-grid {
grid-template-columns:1fr !important;
}
.wu2-feature-grid {
grid-template-columns:1fr;
}
.wu2-feature-art {
display:none;
}
}
@media (max-width:560px) {
.wu2-container {
width:calc(100% - 28px);
}
.wu2-shortcuts {
grid-template-columns:repeat(2,1fr);
}
.wu2-shortcut {
border-right:0;
}
.wu2-explore {
grid-template-columns:1fr;
}
.wu2-title {
font-size:32px;
}
.wu2-subtitle {
font-size:15px;
}
.wu2-search form {
display:block !important;
padding:6px !important;
}
.wu2-search input[type="text"],
.wu2-search input[type="search"],
.wu2-search input[type="submit"],
.wu2-search button {
width:100% !important;
}
.wu2-search input[type="submit"],
.wu2-search button {
margin-top:6px !important;
}
}
/* Hide public create-account UI */
#pt-createaccount,
#pt-createaccount-2 {
display:none !important;
}