Forums > Administrators' noticeboard archive > NB:Use CSS to reduce page size
The amount of inline CSS in Timeline of canon media and Timeline of Legends media make for some pretty hefty page sizes. I'd love to help improve things if I can find someone who can perform a SysOps task.
I just want to add the following CSS to the HEAD of Timeline of canon media:
.page-Timeline_of_canon_media .file { background-color: #92CDDC; text-align: center; }
.page-Timeline_of_canon_media .novel { background-color: #8DB3E2; text-align: center; }
.page-Timeline_of_canon_media .comic { background-color: #CCC1D9; text-align: center; }
.page-Timeline_of_canon_media .videogame { background-color: #C3D69B; text-align: center; }
.page-Timeline_of_canon_media .promotional { background-color: #D7E3BC; text-align: center; }
.page-Timeline_of_canon_media .tv { background-color: #B7DDE8; text-align: center; }
.page-Timeline_of_canon_media .short { background-color: #C6D9F0; text-align: center; }
.page-Timeline_of_canon_media .young { background-color: #FFFFFF; text-align: center; }
.page-Timeline_of_canon_media .junior { background-color: #FAC08F; text-align: center; }
.page-Timeline_of_canon_media .unpublished { background-color: #D99694; text-align: center; }
With this, we could easily decrease the page size of Timeline of canon media by 60k.
(After this is successful, we can do the same to Timeline of Legends media.) —Unsigned comment by MisinformedDNA (talk • contribs)
- A good idea, but that code as such would not result in same styling as now. 01miki10 Open comlink 11:01, June 25, 2020 (UTC)