Bootstrap 4 Theme

High-contrast theme with custom components that defaults to darkness Why?

$ git clone https://codeberg.org/eotl/theme-bootstrap.git

Typography

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Heading with muted text

Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.

Body text

Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.

This line of text is meant to be treated as fine print.

The following is rendered as bold text.

The following is rendered as italicized text.

The following is rendered as monospace rendered text.

An abbreviation of the word attribute is attr.

Date [ 2020 ] and time [ ] elements render as monospace.

Emphasis

Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.

Nullam id dolor id nibh ultricies vehicula ut id elit.

Pellentesque ornare sem lacinia quam venenatis vestibulum.

Etiam porta sem malesuada magna mollis euismod.

Donec ullamcorper nulla non metus auctor fringilla.

Duis mollis, est non commodo luctus, nisi erat porttitor ligula.

Maecenas sed diam eget risus varius blandit sit amet non magna.

Display

By adding the class .display-1 through .display-4 to any element, the text contained renders with Roboto Bold font. This overrides the monospaced font when used on <h1> heading elements.

D1

D2

D3

D4

The .display-1 class

The .display-2 class

The .display-3 class

The .display-4 class

Lists

Unordered List

  • Unordered List item one
  • Here is item two
  • Oh look, item three
  • And one more item, four

Ordered List

  1. Unordered list item one
  2. Here is item two
  3. Oh look, item three
  4. And one more item, four

.list-unstyled class

  • Unordered List item one
  • Here is item two
  • Oh look, item three
  • And one more item, four

Description Lists

Coffee
Black hot drink
Milk
White cold drink

Blockquotes

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

Someone famous in Source Title

Imagine, if only for one moment, how another world is possible.

EOTL Collective in Offline Mode

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

Someone famous in Source Title

Pre + Code

function signRecord(record, {publicKey, secretKey, validSeconds = 15778800}) {
    secretKey = decodeBase64(secretKey);
    publicKey = decodeBase64(publicKey);
    return ssr.sign({
        record,
        keypair: {secretKey, publicKey},
        validSeconds,
    });
}

Tables

Type Column heading Column heading Column heading
Active Column content Column content Column content
Default Column content Column content Column content
Primary Column content Column content Column content
Secondary Column content Column content Column content
Success Column content Column content Column content
Danger Column content Column content Column content
Warning Column content Column content Column content
Info Column content Column content Column content
Light Column content Column content Column content
Dark Column content Column content Column content

Forms

Legend
We'll never share your email with anyone else.
This is some placeholder block-level help text for the above input. It's a bit lighter and easily wraps to a new line.
Radio buttons
Checkboxes
Sliders
Special inputs
Success! You've done it.
Sorry, that username's taken. Try another?
$
.00
Custom forms
Upload

Indicators

Alerts

Warning!

Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

Oh snap! Change a few things up and try submitting again.
Well done! You successfully read this important alert message.
Heads up! This alert needs your attention, but it's not super important.
Oh snap! Change a few things up and try submitting again.
Well done! You successfully read this important alert message.
Heads up! This alert needs your attention, but it's not super important.

Badges

Primary Secondary Success Danger Warning Info Light Dark
Primary Secondary Success Danger Warning Info Light Dark

Progress

Basic

Contextual alternatives

Multiple bars

Striped

Animated

Containers

Jumbotron

Hello, earth!

This is a simple jumbotron-style component for calling extra attention to featured content.


It uses utility classes for typography and spacing to space content out within the larger container.

Learn more

List groups

Cards

Header

Primary card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Secondary card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Success card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Danger card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Warning card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Info card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Light card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Dark card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Primary card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Secondary card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Success card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Danger card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Warning card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Info card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Light card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Header

Dark card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Card header

Special title treatment
Support card subtitle
Card image

Some quick example text to build on the card title and make up the bulk of the card's content.

  • Cras justo odio
  • Dapibus ac facilisis in
  • Vestibulum at eros

Card title

Card subtitle

Some quick example text to build on the card title and make up the bulk of the card's content.

Card link Another link

Dialogs

Modals

Popovers

Tooltips

Toasts

Custom

Boxed Heading

Add the .boxed class to elements h1, h2, h3, h4, h5, h6

List Arrows

  • Unordered list item one
  • Here is item two
  • Oh look, item three
  • And one more item, four

Add the .list-arrows class to elements ul, ol

Separators

Default <hr> is a 1 px line contrasts with the page color. Adding .light gets a lighter version.



Adding .thick or .thick-light gets renders 4px height line



Icons

Collection of EOTL's iconset to be added...

Including eotl.js in your website/app exposes custom JS methods detailed below- but first, some propaganda

Why

The EOTL theme defaults to darkness i.e. .dark-mode because we are living in dark times. The children of 2010s were born into a world of mass surveillance and increasing mass extinction. Meanwhile, America continued it's second decade of War on Terror occupying the Middle East normalizing mechanized "drone warfare". While the decade saw some mass movements, overall the "masses" remained silent, complacent, or were satisifed with the neoliberal hypercapitalist world order allowing it to roll on, as the planet got warmer. Children born in 2020s entered a world deep in an information war, the Covid-19 pandemic, and now the first hot war in Europe since World War II has begun in Ukraine. All the while, climate change, pollution, and bio-diversity loss are predicted to accelerate adding further stress to the global food supply chain. Tectonic shifts in previous orders are underway. Technologies are not neutral. As we build new systems, it is essential to remember this non-neutrality. Human society, technology, and the resources it requires us to extract from the earth are intrinsically linked. The code we write has politics. As we continue to destroy our natural habitat, our choices bring us closer to darkness or further away from it. For now EOTL defaults to darkness.


RIP

Toughie Frog

RIP 09.2016

Toughie was the last known living Rabbs' fringe-limbed treefrog. The species, scientifically known as Ecnomiohyla rabborum, is thought to be extinct, as the last specimen Toughie—died in captivity.

Read Toughie's story

MeaningWhat

The meaningWhat() method invokes a cycle style loop through a lists of possible meanings of the EOTL acronym and a hyperlink to topic supporting content on the web.

Footer

The standard footer across EOTL apps and sites.

// JS
meaningWhat('#meaning-cycle')

// HTML
<div id="meaning-cycle" style="display:none;">
  <div class="meaning-text"></div>
</div>

LongNowify

Invoking appends a leading 0 to any numbers contained in elements which are instantiated such as <date> elements.

  • 2020 date with longnowify
  • 2020 date plain

To run longNowify() just instantiate with an array of HTML elements.

// JS
longNowify(document.getElementsByTagName('date'))