Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Jemaleddin (talk | contribs) |
Jemaleddin (talk | contribs) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
html { | |||
scroll-behavior: smooth; | |||
} | |||
@view-transition { navigation: auto; } | |||
body { | body { | ||
counter-reset: raw; | counter-reset: raw; | ||
Line 6: | Line 10: | ||
counter-increment: raw; | counter-increment: raw; | ||
content: counter(raw) " - "; | content: counter(raw) " - "; | ||
} | |||
.the-list li:nth-child(25n) { | |||
border-bottom: 1px dashed #aaa; | |||
padding-bottom: 5px; | |||
margin-bottom: 5px; | |||
} | |||
.the-list li:nth-child(50n) { | |||
border-bottom: 1px dotted #999; | |||
padding-bottom: 5px; | |||
margin-bottom: 5px; | |||
} | |||
.the-list li:nth-child(100n) { | |||
border-bottom: 1px solid #888; | |||
padding-bottom: 5px; | |||
margin-bottom: 5px; | |||
} | |||
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 */ | |||
} | } |
Latest revision as of 09:41, 3 March 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) " - "; } .the-list li:nth-child(25n) { border-bottom: 1px dashed #aaa; padding-bottom: 5px; margin-bottom: 5px; } .the-list li:nth-child(50n) { border-bottom: 1px dotted #999; padding-bottom: 5px; margin-bottom: 5px; } .the-list li:nth-child(100n) { border-bottom: 1px solid #888; padding-bottom: 5px; margin-bottom: 5px; } 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 */ }