MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 24: | Line 24: | ||
font-family: sans-serif; | font-family: sans-serif; | ||
padding: 10px; | padding: 10px; | ||
} | |||
/* Wide multi-column Table of Contents */ | |||
#toc { | |||
width: 800px; | |||
max-width: 100%; | |||
box-sizing: border-box; | |||
} | |||
#toc > ul { | |||
column-count: 4; | |||
column-gap: 30px; | |||
} | |||
#toc > ul > li { | |||
break-inside: avoid; | |||
page-break-inside: avoid; | |||
} | |||
/* Responsive layout */ | |||
@media screen and (max-width: 700px) { | |||
#toc > ul { | |||
column-count: 2; | |||
} | |||
} | |||
@media screen and (max-width: 400px) { | |||
#toc > ul { | |||
column-count: 1; | |||
} | |||
} | } | ||
Revision as of 08:24, 13 August 2026
a {
text-decoration: none !important;
}
a:hover {
text-decoration: underline; /* optional hover effect */
}
#f-poweredbyico img {
display: none !important;
}
#f-poweredbyico::after {
content: "";
display: inline-block;
width: 88px;
height: 31px;
background-image: url("/resources/assets/poweredby_asxresearch_88x31.png");
background-size: contain;
background-repeat: no-repeat;
}
#mw-panel-right {
font-family: sans-serif;
padding: 10px;
}
/* Wide multi-column Table of Contents */
#toc {
width: 800px;
max-width: 100%;
box-sizing: border-box;
}
#toc > ul {
column-count: 4;
column-gap: 30px;
}
#toc > ul > li {
break-inside: avoid;
page-break-inside: avoid;
}
/* Responsive layout */
@media screen and (max-width: 700px) {
#toc > ul {
column-count: 2;
}
}
@media screen and (max-width: 400px) {
#toc > ul {
column-count: 1;
}
}