NATION

PASSWORD

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
Negotiator
 
Posts: 7110
Founded: Mar 11, 2011
Democratic Socialists

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.

https://www.nationstates.net/page=UN_vi ... 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 TRR

Factbook // Collected works // Gameplay Alignment Test //
9 GA Res., 14 SC Res. // Headlines from Unibot // WASC HQ: A Guide

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
✯ Duty is Eternal, Justice is Imminent: UDL

User avatar
Trotterdam
Postmaster-General
 
Posts: 10541
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
GA Secretariat
 
Posts: 12655
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 56+ GA resolutions
Maintainer: GA Passed Resolutions
Developer: Communiqué and InfoEurope
GenSec (24 Dec 2021 –); posts not official unless so indicated
Delegate for Europe
Elsie Mortimer Wellesley
Ideological Bulwark 285, WALL delegate
Twice-commended toxic villainous globalist kittehs


Return to Technical

Who is online

Users browsing this forum: Bcllandia, Freedomina, Hazkanda, Hezen-Suriya, Kappacon, Remnantia, Taosun, Terravia, Tracian Empire

Advertisement

Remove ads