Inconsistent fonts in the WA

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Unibot III
Posts: 5608
Founded: Mar 11, 2011
Inoffensive Centrist Democracy

Inconsistent fonts in the WA

Postby Unibot III » Sun Sep 08, 2019 4:45 pm

This resolution text has an inconsistent font, varying between Georgia and Verdana. ... 1567890353
[violet] wrote:I mean this in the best possible way,
but Unibot is not a typical NS player.
Milograd wrote:You're a caring, resolute lunatic
with the best of intentions.
Org. Join Date: 25/05/2008 | Former Delegate of The Rejected Realms | Gameplay Alignment: -18 / -13
Unibotian Factbook // An Analysis of NationStates Generations // The Gameplay Alignment Test // NS Weather // How do I join the UDL? // The Transpacific Trade
Paradise Found // The Unibotian Life Expectancy Index // Proudly Authored 9 GA Res., 14 SC Res. // Commended by SC#78 // The Polysemes of Nativeness;

✯ Duty is Eternal, Justice is Imminent: UDL

User avatar
Posts: 7767
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Sun Sep 08, 2019 5:54 pm

It appears to be because the <ol> tag is treated differently from <p> tags. The custom WA style code only applies to <p> tags inside the resolution (and <textarea> tags, but that only applies when submitting a new one), but <ol> tags aren't considered to be part of any <p> tag (in accordance with the HTML standard). It would be smarter to move the whole thing from ".WA_thing p" to ".WA_thing_body", or even just ".WA_thing".

(Do take care that there are several things that aren't actually paragraphs that also use the <p> tag outside .WA_thing_body...)
Last edited by Trotterdam on Sun Sep 08, 2019 5:57 pm, edited 1 time in total.

User avatar
Imperium Anglorum
Posts: 8886
Founded: Aug 26, 2013
Left-Leaning College State

Postby Imperium Anglorum » Mon Sep 09, 2019 11:06 am

I had thought I had recommended this stylesheet change somewhere someplace in the past. Still support.

Author: 1 SC and 28 GA resolutions
Maintainer: GA Passed Resolutions
Developer: Communiqué and InfoEurope
Delegate for Europe
Out-of-character unless marked otherwise
Ideological Bulwark 285, WALL delegate
Dastardly villain providing free services to the community sans remuneration

Return to Technical

Who is online

Users browsing this forum: Google [Bot]


Remove ads