🍂Basic Page🌱

This is a simple test page for barrel.css

It is public domain/CC0, allong with barrel.css itself.

Get the source code here: at github

Theme Chooser

Please note: Nord is an adaptation of the Nord Theme, which is MIT licensed, not public domain.

Round feathered images

AI generated image of art studio with lots of barrels

Components

We want to keep the number of components very small, and use semantic HTML for the rest

Help Text

Help box As the details element has the help class, it may be hidden by some themes. It must not contain essential information that an expert user would still need. It will not be printed unless opened.

The .stacked-form class

This form uses the stacked-form, border, h-center, and w-sm-double classes.

Some explanation text in the form

LED indicators are checkboxes with class led led-color

Choose a side

Fieldsets work

.button styles a link like a Button

Toolbars

Toolbar

Toolbar

spacer

Cards

Cards can have headers
This is a card! Headers and footers are optional in cards and windows. "w-sm-full" means about the width of a phone screen. Cards do not have padding by default.
A footer

Toolbar in header

Toolbar

Toolbars in headers are rendered differently if they are the only child of that toolbar, to reduce visual noise.
A footer

More Cards!

Toolbar

Toolbars in headers are rendered differently if they are the only child of that toolbar, to reduce visual noise.
A footer

Semantic Styles

Let this be a warning!

Danger Will Robinson!

Everything is fine now.

The highlight of the page

Color Variables

Semantic color palletes are generated from a single base color

Flex

The flex-row class is all you need for a nice layout. The padding class gives any element a little padding around the edges.

1
2
3
4

More Flex!

These boxes are aligned with align-left, and they are smushed together with nogaps

1
2

12 Column layouts

Put your stuff in a flex-row element and use cols-1 through cols-12. It's a responsive grid, cols-X just sets the width to a fraction of the parent, but it can reflow to fit small screens. w-full means 100% parent element width.

1col
1col
1col
1col
1col
1col
1col
1col
1col
1col
1col
1col
3 col wide
9-col wide
9-col wide
9-col wide
3 col wide
9-col wide

12 Column layouts with nogaps

1col
1col
1col
1col
1col
1col
1col
1col
1col
1col
1col
1col
2 col wide
8-col wide
2-col wide

Column sizing is flexible

Note that the first column expands to fit content, and the second fills unused space.

1col
1col
1col
1col
1col
1col
1col
1col
1col
1col
1col
1col
3colwidebutthetextprobablydoesnotfitinonecolumn
2-col wide

Text Styles

Bold and Italic and Underlined and Normal, undecorated text.

Few quips galvanized the mock jury box.

Kæmi ný öxi hér, ykist þjófum nú bæði víl og ádrepa.

On sangen hauskaa, että polkupyörä on maanteiden jokapäiväinen ilmiö

διαφυλάξτε γενικά τη ζωή σας από βαθειά ψυχικά τραύματα

鳥啼く声す 夢覚ませ 見よ明け渡る 東を 空色栄えて 沖つ辺に 帆船群れゐぬ 靄の中

Also a Link

Backgrounds

The paper class gives a background to an element. You might need it if displaying over dark stuff.
Paper warning!
Paper highlight!

HTML Elements

details/summary More content is here.

Ye Olde Block Quote

It is an ancient Mariner, And he stoppeth one of three. "By thy long gray beard and glittering eye, Now wherefore stopp'st thou me?

Here's a form with no classes

Meters

Tables

1 2
1 2
1 2
1 2

Table Caption
Table Heading 1 Table Heading 2 Table Heading 3 Table Heading 4 Table Heading 5
Table Footer 1 Table Footer 2 Table Footer 3 Table Footer 4 Table Footer 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5

Poetry Styling

Hymn of Breaking Strain

Rudyard Kipling

          THE careful text-books measure
  (Let all who build beware!) 
The load, the shock, the pressure
  Material can bear. 
So, when the buckled girder
  Lets down the grinding span, 
'The blame of loss, or murder, 
  Is laid upon the man. 
    Not on  the Stuff—the Man!

But in our daily dealing 
  With stone and steel, we find
The Gods have no such feeling
  Of justice toward mankind. 
To no set gauge they make us— 
  For no laid course prepare—
And presently o'ertake us
  With loads we cannot bear: 
    Too merciless to bear.

The prudent text-books give it 
  In tables at the end
'The stress that shears a rivet 
  Or makes a tie-bar bend—
'What traffic wrecks macadam—
  What concrete should endure—
but we, poor Sons of Adam
  Have no such literature,
    To warn us or make sure!

We hold all Earth to plunder—
  All Time and Space as well—
Too wonder-stale to wonder
  At each new miracle;
Till, in the mid-illusion
  Of Godhead 'neath our hand,
Falls multiple confusion
  On all we did or planned—
    The mighty works we planned.

We only of Creation
  (Oh, luckier bridge and rail) 
Abide the twin damnation—   
  To fail and know we fail.
Yet we - by which sole token
  We know we once were Gods—
Take shame in being broken
  However great the odds—
    The burden of the Odds.

Oh, veiled and secret Power
  Whose paths we seek in vain,
Be with us in our hour
  Of overthrow and pain;
That we - by which sure token
  We know Thy ways are true—
In spite of being broken,
  Because of being broken
    May rise and build anew
    Stand up and build anew.