MediaWiki:Common.css: Difference between revisions
Appearance
Jemaleddin (talk | contribs) No edit summary |
Jemaleddin (talk | contribs) No edit summary |
||
| Line 11: | Line 11: | ||
content: counter(raw) " - "; | content: counter(raw) " - "; | ||
} | } | ||
.the-list li:nth-child(25n) { | @media screen { | ||
border-bottom: 1px dashed #aaa; | div.the-list ol li:nth-child(25n) { | ||
padding-bottom: 5px; | border-bottom: 1px dashed #aaa !important; | ||
margin-bottom: 5px; | padding-bottom: 5px !important; | ||
margin-bottom: 5px !important; | |||
} | } | ||
.the-list li:nth-child(50n) { | div.the-list ol li:nth-child(50n) { | ||
border-bottom: 1px dotted #999; | border-bottom: 1px dotted #999 !important; | ||
padding-bottom: 5px; | padding-bottom: 5px !important; | ||
margin-bottom: 5px; | margin-bottom: 5px !important; | ||
} | |||
div.the-list ol li:nth-child(100n) { | |||
border-bottom: 1px solid #888 !important; | |||
padding-bottom: 5px !important; | |||
margin-bottom: 5px !important; | |||
} | } | ||
} | } | ||
td { | td { | ||
Revision as of 07:39, 4 November 2025
/* CSS placed here will be applied to all skins */
/*html {
scroll-behavior: smooth;
}
@view-transition { navigation: auto; }
body {
counter-reset: raw;
}
.episode::before {
counter-increment: raw;
content: counter(raw) " - ";
}
@media screen {
div.the-list ol li:nth-child(25n) {
border-bottom: 1px dashed #aaa !important;
padding-bottom: 5px !important;
margin-bottom: 5px !important;
}
div.the-list ol li:nth-child(50n) {
border-bottom: 1px dotted #999 !important;
padding-bottom: 5px !important;
margin-bottom: 5px !important;
}
div.the-list ol li:nth-child(100n) {
border-bottom: 1px solid #888 !important;
padding-bottom: 5px !important;
margin-bottom: 5px !important;
}
}
td {
vertical-align:top;
}
.fixed-edit-button {
position: fixed;
top: 10px; /* Adjust as needed */
right: 10px; /* Adjust as needed */
z-index: 100; /* Ensure it's above other elements */
background-color: white; /* Optional: if background needed */
padding: 5px; /* Optional: padding */
border: 1px solid #ccc; /* Optional: border */
} */