No edit summary |
No edit summary |
||
Line 113: | Line 113: | ||
|I don't know if it's just some weird caching problem, but I think the new CSS rules might only be applying to the Monobook skin for some reason. Also, some unforeseen problems seem to be cropping up, but they're easily fixable, if you (Fw190a8) are willing to fiddle with the code some. Besides making it work in the 'New Wikia Look' skin, the only thing that needs changing is for both instances of 'text-align: center' to be changed to 'text-align: center !important;', as one of the other rules was overriding it. |
|I don't know if it's just some weird caching problem, but I think the new CSS rules might only be applying to the Monobook skin for some reason. Also, some unforeseen problems seem to be cropping up, but they're easily fixable, if you (Fw190a8) are willing to fiddle with the code some. Besides making it work in the 'New Wikia Look' skin, the only thing that needs changing is for both instances of 'text-align: center' to be changed to 'text-align: center !important;', as one of the other rules was overriding it. |
||
|'''[[User:Cronje|Cronje]]''' <sup>([[User talk:Cronje|talk]] ⋅ [[Special:Contributions/Cronje|contribs]])</sup> 23:48, March 3, 2012 (UTC)}} |
|'''[[User:Cronje|Cronje]]''' <sup>([[User talk:Cronje|talk]] ⋅ [[Special:Contributions/Cronje|contribs]])</sup> 23:48, March 3, 2012 (UTC)}} |
||
+ | |||
+ | {{Forum post |
||
+ | |Hmm. I have made the changes to both [[MediaWiki:Common.css]] and [[MediaWiki:Wikia.css]]. Perhaps one is for Monobook and the other is for the Wikia skins? |
||
+ | |[[User:Fw190a8|Fw190a8]] 11:13, March 4, 2012 (UTC) |
||
+ | }} |
Revision as of 11:13, 4 March 2012
Use the following template for a nicely presented post:
{{Forum post|Write your message here!|~~~~}}
For anyone familiar with CSS, I could use some help choosing which sections could be standardized. I would include:
- A "table.infobox" class, which would make it so the table floats to the right of the text, sets the border-width and default border-color, margin, etc.
- A "table.infobox > img" for defining the dimensions of images in the infobox. This could really help with the problem of over-large images by setting max-width to 250px.
- A "table.infobox > .header" for the name/title parameters of the box. This would set the line-height and boldness, mostly. The background-color would still have to be set manually.
- A "table.infobox > .subheader". I like the way some of our templates have sub-sections ({{Location}} has subsections for Geographic, Societal, Political, and Historical information). It breaks up the information to make it more easily readable. This would be very similar or even the same as the .header section, defining line-height and such.
If you don't know CSS, that's fine too. Assuming I get approval to update the templates, I'd like input on HOW exactly the infoboxes should look. Should the text be the same size as that in {{Location}}? Should the parameter title (for example, the phrase 'Caster level' in the example shown in {{Magic item}}) be bolded? Should the second column's text be left-aligned or right?
I'd like to hear some more of our members, particularly some of the admins (Fw1908a, in particular, as I'm not sure who has the power to edit the wiki's CSS rules).
I think Cronje has done an awesome job at creating the default infobox template to which I think, as others have mentioned, all infoboxes should conform.
There isn't actually a title or a subtitle on the infobox as it currently stands, so it would be good to add that in there too.
One thing to check would be if the 'parameter' text was very long, or the 'data' text was very long, and it wrapped onto multiple lines, would this still look okay, or would there be issues?
Finally one thing to bear in mind is that we have over 10,000 articles, so this new format must work universally with all the old articles. If we have to change several thousand articles (except very minor changes) I think we would be in for a difficult time.
Just let me know what CSS you would like to be added to the main wiki stylesheets and I can make this happen.
table.infobox { background-color: #FFFFFF; border: 1px solid #A9A78A; color: #000000; float: right; font-size: 88%; max-width: 350px; vertical-align: top; } table.infobox > tr {vertical-align: top;} table.infobox td.infoboximage {text-align: center;} table.infobox td.infoboximage > img {max-width: 300px;} table.infobox td.title, table.infobox td.subtitle { background-color: #BDBCAD; font-weight: bold; line-height: 1.2em; padding: 0.25em 0.33em 0.33em; text-align: center; } table.infobox td.title {font-size: larger;} table.infobox td.subtitle {background-color: #DFDECF;} table.infobox tr td:first-child { min-width: 150px; text-align: left; } table.infobox tr td:last-child {text-align: right;} table.infobox td.categories {text-align: right;}
I am looking forward to seeing the new standardised format in action!