MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Created page with "→CSS placed here will be applied to all skins: →Aturan CSS Umum untuk Tampilan Mobile: @media all and (max-width: 768px) { →Sembunyikan sidebar di mobile: #mw-navigation { display: none; } →Lebarkan konten utama: #content { margin-left: 0 !important; } →Sesuaikan ukuran font untuk body: body { font-size: 16px; } →Pastikan gambar tidak meluap: img { max-width: 100%;..." |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Aturan CSS Umum untuk Tampilan Mobile */ | /* Aturan CSS Umum untuk Tampilan Mobile */ | ||
@media all and (max-width: 768px) { | @media all and (max-width: 768px) { | ||
Revision as of 19:36, 5 June 2025
/* Aturan CSS Umum untuk Tampilan Mobile */
@media all and (max-width: 768px) {
/* Sembunyikan sidebar di mobile */
#mw-navigation {
display: none;
}
/* Lebarkan konten utama */
#content {
margin-left: 0 !important;
}
/* Sesuaikan ukuran font untuk body */
body {
font-size: 16px;
}
/* Pastikan gambar tidak meluap */
img {
max-width: 100%;
height: auto;
}
/* Buat tabel responsif */
table {
display: block;
overflow-x: auto;
white-space: nowrap;
}
}