Dashi Theme Style Guide

Mar 28, 2021 6 min read
Dashi Theme Style Guide

What follows is the comprehensive style guide for the newly implemented Dashi Theme now being utilized on this website.

Headings:

All HTML headings, <h1> through <h6>, are available.

H1. Heading example

H2. Heading example

H3. Heading example

H4. Heading example

H5. Heading example
H6. Heading example

List Types

Ordered List

An unordered list starts with the <ol> tag. Each list item starts with the <li> tag. The list items will be marked with numbers by default:

  1. List Item 1
  2. List Item 2
  3. Nested list item A
  4. Nested list item B
  5. List Item 3

Unordered List

An unordered list starts with the <ul> tag. Each list item starts with the <li> tag. The list items will be marked with bullets by default:

  • List Item a
  • List Item b
  • Nested list item 1
  • Nested list item 2
  • Double Nested item 1
  • Double Nested item 2
  • List Item 3

You can also remove the default styling by adding the class list--unstyled. This only applies to immediate children list items, meaning you will need to add the class for any nested lists as well.

Example:

<ul class="list--unstyled">
  <li>Lorem ipsum dolor sit amet</li>
  <li>Consectetur adipiscing elit</li>
  <li>Integer molestie lorem at massa</li>
  <li>Facilisis in pretium nisl aliquet</li>
</ul>
  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit
  • Integer molestie lorem at massa
  • Facilisis in pretium nisl aliquet

Blockquotes & alert boxes

Blockquotes

For quoting blocks of content from another source within your document.
Single line blockquote:

Stay hungry. Stay foolish.

Multi line blockquote:

People think focus means saying yes to the thing you’ve got to focus on. But that’s not what it means at all. It means saying no to the hundred other good ideas that there are. You have to pick carefully. I’m actually as proud of the things we haven’t done as the things I have done. Innovation is saying no to 1,000 things. - Biron Themes

Alert boxes

You can create the following content boxes using the markdown editor.

Default
<div class="alert">
...
</div>

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.

Info
<div class="alert info">
...
</div>

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.

Warning
<div class="alert warning">
...
</div>

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.

Error
<div class="alert error">
...
</div>

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.

Success
<div class="alert success">
...
</div>

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.


HTML Tags

Code

Code can be presented inline, like <?php bloginfo('stylesheet_url'); ?>, or within a <pre> block. Because we have more specific typographic needs for code, we'll specify Consolas and Monaco ahead of the browser-defined monospace font.

#container {
    float: left;
    margin: 0 -240px 0 0;
    width: 100%;
}

Here are a few examples of code highlighting:

HTML markup:

<!DOCTYPE html>
<html>
<body>

<h2>The title attribute</h2>

<p title="I'm a tooltip">
Check out the title attribute as a tooltip.
</p>

</body>
</html>

CSS code:

body { 
   background-color: #FFFFF0; 
   font-family: Arial, Verdana, sans-serif; 
   font-size: 18px; 
   color: #00008B;
}

Javascript code:

var x, y, z;
x = 5;
y = 6;
z = x + y;
document.getElementById("demo").innerHTML = z;

Text-level semantics

Styling for common inline HTML5 elements.

The a element example.
The abbr element and abbr element with title examples
The b element example
The cite element example
The code element example
The del element example
The dfn element and dfn element with title examples
The em element example
The i element example
The ins element example
The kbd element example
The mark element example
The q element inside a q element example
The s element example
The samp element example
The small element example
The span element example
The strong element example
The sub element example
The sup element example
The var element example
The u element example


The <details> element.

Epcot Center Lorem Ipsum

Buttons

Colors

<button class="btn m-b">Default</button>
<button class="btn btn--brand m-b">Primary</button>
<button class="btn btn--secondary m-b">Secondary</button>
<button class="btn btn--dark m-b">Dark</button>
<button class="btn btn--light m-b">Light</button>





Sizes

<button class="btn btn--sm m-b">Small Button</button>
<button class="btn m-b">Default Button</button>
<button class="btn btn--lg m-b">Large Button</button>
<button class="btn btn--xl m-b">Huge Button</button>
<button class="btn btn--full m-b">Full Width Button</button>






Footnotes

Lorem Ipsum [1]

Lorem Ipsum [^2] - Does not work


  1. This is the first footnote. ↩︎

Tables

Title 1 Title 2 Title 3 Title 4 Title 5
Data 1 Data 2 Data 3 Data 4 Data 5

Bookmark Card

Premium Ghost Themes
Premium Ghost Themes for your Ghost Publication. We offer modern, clean, fast and beautiful Ghost Themes with great support and regular updates. Get the best Ghost theme to give a professional look to your website or blog.
Ghost: Turn your audience into a business
The world’s most popular modern publishing platform for creating a new media platform. Used by Apple, SkyNews, Buffer, OpenAI, and thousands more.

Images

Normal Image
Wide Image
Full width image

Embeds

Youtube
Vimeo
Twitter
Instagram
Photo by Photo Boards / Unsplash
Codepen
Spotify
Soundcloud

Join the conversation

Table of Contents
Great! Next, complete checkout for full access to EricFreeburg.com.
Welcome back! You've successfully signed in.
You've successfully subscribed to EricFreeburg.com.
Success! Your account is fully activated, you now have access to all content.
Success! Your billing info has been updated.
Your billing was not updated.