MediaWiki:Common.css: Perbedaan antara revisi
Tampilan
Use inline internal UI instead of ResourceLoader styling Tanda: Penggantian |
Menambahkan native infobox styling Wiki Unissula V1 |
||
| Baris 9: | Baris 9: | ||
#pt-createaccount-2 { | #pt-createaccount-2 { | ||
display:none !important; | display:none !important; | ||
} | |||
/* | |||
* ========================================================== | |||
* WIKI_UNISSULA_NATIVE_INFOBOX_CSS_V1 | |||
* Native structured infobox for encyclopedia articles. | |||
* ========================================================== | |||
*/ | |||
.wu-native-infobox { | |||
float: right; | |||
clear: right; | |||
box-sizing: border-box; | |||
width: 320px; | |||
max-width: 38%; | |||
margin: 0 0 1.4rem 1.6rem !important; | |||
border: 1px solid #cfdcd4 !important; | |||
border-collapse: separate !important; | |||
border-spacing: 0 !important; | |||
border-radius: 8px; | |||
overflow: hidden; | |||
background: #fff; | |||
color: #26352c; | |||
font-size: 90%; | |||
line-height: 1.45; | |||
box-shadow: 0 1px 3px rgba(0,0,0,.06); | |||
} | |||
.wu-native-infobox th, | |||
.wu-native-infobox td { | |||
padding: 7px 9px !important; | |||
border: 0 !important; | |||
border-top: 1px solid #e5ece8 !important; | |||
vertical-align: top; | |||
} | |||
.wu-native-infobox th { | |||
width: 39%; | |||
background: #f5f8f6; | |||
color: #30463a; | |||
text-align: left; | |||
font-weight: 650; | |||
} | |||
.wu-native-infobox .wu-infobox-title { | |||
width: auto; | |||
padding: 11px 10px !important; | |||
border-top: 0 !important; | |||
background: #e8f3ec; | |||
color: #064d2c; | |||
text-align: center; | |||
font-size: 128%; | |||
font-weight: 750; | |||
} | |||
.wu-native-infobox .wu-infobox-image { | |||
padding: 14px 10px !important; | |||
background: #fff; | |||
text-align: center; | |||
} | |||
.wu-native-infobox .wu-infobox-image img { | |||
max-width: 180px; | |||
height: auto; | |||
} | |||
.wu-native-infobox .wu-infobox-status { | |||
font-weight: 650; | |||
} | |||
@media (max-width: 720px) { | |||
.wu-native-infobox { | |||
float: none; | |||
clear: both; | |||
width: 100%; | |||
max-width: 100%; | |||
margin: 0 0 1.3rem 0 !important; | |||
} | |||
} | } | ||
Revisi per 26 Agustus 2026 01.24
/*
* Wiki Unissula
*
* Main internal styling is injected directly by LocalSettings.php
* to avoid dependency on ResourceLoader cache.
*/
#pt-createaccount,
#pt-createaccount-2 {
display:none !important;
}
/*
* ==========================================================
* WIKI_UNISSULA_NATIVE_INFOBOX_CSS_V1
* Native structured infobox for encyclopedia articles.
* ==========================================================
*/
.wu-native-infobox {
float: right;
clear: right;
box-sizing: border-box;
width: 320px;
max-width: 38%;
margin: 0 0 1.4rem 1.6rem !important;
border: 1px solid #cfdcd4 !important;
border-collapse: separate !important;
border-spacing: 0 !important;
border-radius: 8px;
overflow: hidden;
background: #fff;
color: #26352c;
font-size: 90%;
line-height: 1.45;
box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.wu-native-infobox th,
.wu-native-infobox td {
padding: 7px 9px !important;
border: 0 !important;
border-top: 1px solid #e5ece8 !important;
vertical-align: top;
}
.wu-native-infobox th {
width: 39%;
background: #f5f8f6;
color: #30463a;
text-align: left;
font-weight: 650;
}
.wu-native-infobox .wu-infobox-title {
width: auto;
padding: 11px 10px !important;
border-top: 0 !important;
background: #e8f3ec;
color: #064d2c;
text-align: center;
font-size: 128%;
font-weight: 750;
}
.wu-native-infobox .wu-infobox-image {
padding: 14px 10px !important;
background: #fff;
text-align: center;
}
.wu-native-infobox .wu-infobox-image img {
max-width: 180px;
height: auto;
}
.wu-native-infobox .wu-infobox-status {
font-weight: 650;
}
@media (max-width: 720px) {
.wu-native-infobox {
float: none;
clear: both;
width: 100%;
max-width: 100%;
margin: 0 0 1.3rem 0 !important;
}
}