News-Vertical Style

By Kyebego

Last updated : 

Get it while itʼs hot !

What is it ?

Like News, but about ⑳ times more rad. Unfortunately, this wonʼt work in any browser which doesnʼt support CSS Logical Properties—and really all bets are off for anything which isnʼt Firefox. Are You Punk Enough To Make Your Readers Download A Better Browser ?

News‑Vertical is inspired by the typography of East Asian newsprint, and so it does not use italic or oblique fonts. However, it does expect a wide variety of font weights : 200, 300, 400, 600, 700, 900. I recommend Source Serif Pro for adequate coverage.

I first developed this style in ~2015 and used it for my main homepage around that time.

Usage :

Your page should have the following layout :

<div role="note">
	<!-- Page info (optional) -->
	<!-- Page content -->
	<!-- Page footer (optional) -->

Or, if you prefer, you can stick everything inside <main> for a more minimal look.

Classes :

Sets the text direction. The default is VERTICAL ; set class="HORIZONTAL" on the <html> element to change this. Use both classes at the same time for left-to-right vertical writing.
Defines a block. Use this with HORIZONTAL and VERTICAL to insert blocks of text running in a different direction.
Defines an inline block, for use in running text. Apply this class to images and SVGs which you want to appear text­‑sized.
Defines an inline element. With list elements, this creates an inline list, like the following : 
  1. First item
  2. Second item
Sets the inline start or end margin to auto ; use both to centre content.
Aligns text to the start or end. Use both to justify text.
Use this on <u> to produce a wavy underline.
Use this on <p> or <div> to denote a stanza of verse. Line­‑breaks will be preserved.


Use this on <div> to create a typographical paragraph ( functions like <p> ). You should probably only use this when dealing with inline lists, for example :

This is a paragraph with a list : 

  • A list item
  • Another list item

 …And the paragraph continues.

Wrap text which has a footnote with a <span> of class="FOOTNOTE", and then include the note inside the span ( preferably, at the end ) with class="NOTE", like this.A footnote. Setting a tabindex of 0 on the footnote is recommended.
Formats a <ol> or <ul> list as a bibliography. Put annotations inside of <p> tags, like follows :

The above aside, just write semantic HTML and everything should turn out OK.