FS#5815 - Global declarations in Arch.css causing issues on Forums and Wiki
Attached to Project:
Arch Linux
Opened by James Rayner (iphitus) - Friday, 10 November 2006, 23:42 GMT
Last edited by James Rayner (iphitus) - Saturday, 11 November 2006, 23:46 GMT
Opened by James Rayner (iphitus) - Friday, 10 November 2006, 23:42 GMT
Last edited by James Rayner (iphitus) - Saturday, 11 November 2006, 23:46 GMT
|
Details
http://www.archlinux.org/media/arch.css
First line: [code] * { margin: 0; padding: 0; } [/code] It applies to EVERYTHING. Hence the problems in the Forum's Arch theme, and the wiki's total lack of spacing anywhere. Further down in the CSS, there's code thats applies to the wiki -- this should not be in the global header file. It should be in the mediawiki CSS. This CSS file needs to be rewritten, with local things inside declared locally. Things for the main page do not need to be specified for the wiki and the forums, and thus can be included in a seperate CSS file on the homepage only. Likewise for forum and wiki formatting. Solution: Just like any good application, the CSS needs attention to variable scope a) Create a seperate CSS file for the homepage, making the CSS for the header a global CSS. It's fine to include more than one CSS file. b) Remove the wiki specific and any forum specific CSS from the header, and move it to the forum/wiki CSS. Any further forum/wiki issues can be resolved within their own templates. Would it also be possible, for me to have access to the website/forum/wiki admin(for wiki)/templates/css/source, so that issues with formatting and appearance can be resolved quicker and save you the trouble? There's also some mediawiki extensions that may be useful that could be installed. |
This task depends upon
http://bugs.archlinux.org/task/5703
But you are right. All CSS need to be rewritten.
James
that'd also make the CSS fairly large and unwieldly, having definitions for everything. not a great idea.
James
I'm working on the wiki.