Typography & Base Styles

Insite Starter – A WordPress Theme

(.breakout)

This is a full width element which “breaks out” of a boxed parent container. Use it for slideshows, hero images and more.

The best sundaes start with the finest vanilla.

Insite Starter is a starter theme for WordPress, developed by Insite Website Design and Development. It’s a rock-solid foundation for creating a custom theme, and served as the starting point for this customized version for ASBPE.

These preceeding paragraph is a “lead” paragraphs. (p.lead) It is styled with a slightly larger font size to stand out and make a strong point initially. Great for an opening summary of a page’s content. The class can also be applied to other elements, so that a div.lead could be used to hold a “lead” that is two paragraphs long.

Theme Credits

Insite Starter utilizes Bootstrap (a front-end development library) and Font Awesome (an icon font), and is built upon the _s theme (underscores) by Autommatic. Enhancements have been borrowed from WP Bootstrap Starter (a WordPress starter theme by afterimagedesigns), _tk starter theme by ThemeKraft, the L’il B “bootstrap for Bootstrap”, and custom styling and javascript additions by Insite Website Design and Development. See the main stylesheet for full credits.

Find information on this page about the styling of elements within the ASBPE theme.

Heading One (h1)

Headings usually precede a block of text, so here is a paragraph so that we can see the spatial relationship between heading and paragraph.

Heading Two (h2)

We don’t need or want 6 different heading sizes, so we are styling h2 and h3 the same, and h4 and h5 the same.

Heading Three (h3)

Headings usually precede a block of text, so here is a paragraph so that we can see the spatial relationship between heading and paragraph.

Heading Four (h4)

Headings usually precede a block of text, so here is a paragraph so that we can see the spatial relationship between heading and paragraph.

Heading Five (h5)

Headings usually precede a block of text, so here is a paragraph so that we can see the spatial relationship between heading and paragraph.

Heading six (h6)

Heading One (.hx)

Heading Two or Three (.hx)

Heading Four or Five (.hx)

Are you using a condensed font for your headings to minimize line breaks in your client’s long headings? Use class .hx to un-condense the font without requiring an additional font-face download.

This is a paragraph. This is an un-visited link – don’t click on it or it will become a visited link and you won’t be able to see what the unvisited state looks like. This is an un-visited link without an href attribute. This, on the other hand, is a (probably) visited link (this page). Click this to see an active link. Here’s the anchor text of a link that opens in a new tab/window. Here is a link to a PDF file that opens in a new tab/window. Here is an unmarked external link to Google which should be enhanced via javascript. Gochujang drinking vinegar delectus, cornhole irure bespoke excepteur bushwick green juice affogato consectetur keytar lumbersexual accusamus. Meh cliche odio plaid chicharrones, actually consequat man bun yr aliquip slow-carb mumblecore mixtape kitsch selfies. Duis crucifix labore, mixtape keyta chia disrupt blue bottle pabst occaecat street art. Mlkshk direct trade ea, glossier fixie skateboard laboris scenester deserunt church-key. Hammock beard tofu locavore chia schlitz. Trust fund jean shorts freegan la croix echo park, sartorial exercitation hot chicken. Commodo ullamco tilde banjo hoodie.

This is a second paragraph, right after the first paragraph, to show spacing between two of them. This is some bold text (using the strong tag) and some more bold words (using the b tag). These words are italicized (using the emphatic tag.) Italic and bold. An all uppercase sentence using our “text-uppercase” class. And here are some words set in small caps using our “small-caps” class. Ex labore excepteur squid nulla thundercats. Sint enim echo park seitan voluptate duis. La croix retro elit ex, echo park intelligentsia unicorn chicharrones aesthetic small batch proident. Scenester normcore la croix delectus hoodie. Ex tilde trust fund, pickled crucifix etsy mollit put a bird on it kitsch sint. Velit thundercats mustache migas. Leggings williamsburg narwhal letterpress, marfa ad fam.

Let’s compare a string of text in order to see how normal style compares to italic style.
Let’s compare a string of text in order to see how normal style compares to italic style.

Here’s how various headings look:

Heading That is Also a Link (Unvisited – don’t click on this)

Heading That is Also a Link (Visited)

This is a Heading Three (h3) in Our Standard Weight

This is a Heading Three (h3 w/strong tag) in Bold Text

This is a Heading Three (h3) Which is Very Long So That it Will Break Onto Two Lines and Demonstrate Line Height in Headings

Blockquotes

Single line blockquote:

Stay hungry. Stay foolish.

Multi line blockquote with a footer.blockquote-footer and cite reference:

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.

Steve Jobs – Apple Worldwide Developers’ Conference, 1997

Tables with .table (Insite style)

Employee Salary  
John Doe $1 Because that’s all Steve Job’ needed for a salary.
Jane Doe $100K For all the blogging he does.
Fred Bloggs $100M Pictures are worth a thousand words, right? So Tom x 1,000.
Jane Bloggs $100B With hair like that?! Enough said…

Definition Lists

Definition List Title
Definition list division.
Startup
A startup company or startup is a company or temporary organization designed to search for a repeatable and scalable business model.
#dowork
Coined by Rob Dyrdek and his personal body guard Christopher “Big Black” Boykins, “Do Work” works as a self motivator, to motivating your friends.
Do It Live
I’ll let Bill O’Reilly will explain this one.

Unordered Lists (Nested) (Bootstrap style)

  • List item one
    • List item one
      • List item one
      • List item two This item is extra-long so that we can see what a line break looks like in a list. Hanging indents are easier to read here. Sint enim echo par seitan voluptate duis. La croix retro elit ex, echo park intelligentsia unicorn chicharrones aesthetic small batch proident. Scenester normcore la croix delectus hoodie.
      • List item three
      • List item four
    • List item two
    • List item three
    • List item four
  • List item two
  • List item three
  • List item four

Unordered Lists (Nested) (ul.list – Insite style)

  • List item one
    • List item one
      • List item one
      • List item two This item is extra-long so that we can see what a line break looks like in a list. Hanging indents are easier to read here. Sint enim echo park seitan voluptate duis. La croix retro elit ex, echo park intelligentsia unicorn chicharrones aesthetic small batch proident. Scenester normcore la croix delectus hoodie.
      • List item three
      • List item four
    • List item two
    • List item three
    • List item four
  • List item two
  • List item three
  • List item four

Fancy Lists (ul.fancy – Insite style)

  • List item one
    • List item one
      • List item one
      • List item two This item is extra-long so that we can see what a line break looks like in a list. Hanging indents are easier to read here. Sint enim echo park seitan voluptate duis. La croix retro elit ex, echo park intelligentsia unicorn chicharrones aesthetic small batch proident. Scenester normcore la croix delectus hoodie.
      • List item three
      • List item four
    • List item two
    • List item three
    • List item four
  • List item two
  • List item three
  • List item four

Ordered List (Nested) (ol.list)

  1. List item one
    1. List item one
      1. List item one
      2. List item two. This item is extra-long so that we can see what a line break looks like in a list. Hanging indents are easier to read here. Sint enim echo park seitane voluptate duis. La croix retro elit ex, echo park intelligentsia.
      3. List item three
      4. List item four
    2. List item two
    3. List item three
    4. List item four
  2. List item two
  3. List item three
  4. List item four

HTML Tags

These supported tags come from the WordPress.com code FAQ.

Address Tag

1 Infinite Loop
Cupertino, CA 95014
United States

Anchor Tag (aka. Link)

This is an example of a link.

Abbreviation Tag

The abbreviation srsly stands for “seriously”.

Acronym Tag (deprecated in HTML5)

The acronym ftw stands for “for the win”.

Big Tag (deprecated in HTML5)

These tests are a big deal, but this tag is no longer supported in HTML5.

Cite Tag

“Code is poetry.” —Automattic

Code Tag

You will learn later on in these tests that word-wrap: break-word; will be your best friend.

Delete Tag

This tag will let you strikeout text, but this tag is no longer supported in HTML5 (use the <strike> instead).

Emphasize Tag

The emphasize tag should italicize text.

Insert Tag

This tag should denote inserted text.

Keyboard Tag

This scarsly known tag is meant to emulate keyboard text and indicate keys to press on a keyboard, and is often styled like the <code> tag, although bootstrap styles it differently. Used properly, each keystroke is wrapped in the <kbd> tag, with multiple keystrokes nested inside another <kbd> tag.

Hit the shift key. To inspect your code on a mac, hit CMD + ALT + i.

XMP Tag

We use the <xmp> tag to display code. To avoid WordPress br tags, wrap the tag thusly: <div><span><pre><xmp></xmp></pre></span></div>. We style that extra <pre> tag with a different appearance than our plain <pre> tag.

<, > and other special characters do not need to be escaped within the <xmp> tag! Originally used for preformatted text, it is deprecated but still universally supported.

 

 

Preformatted Tag

This tag styles large blocks of code.

.post-title {
	margin: 0 0 5px;
	font-weight: bold;
	font-size: 38px;
	line-height: 1.2;
	and here's a line of some really, really, really, really long text, just to see how the PRE tag handles it and to find out how it overflows;
}

Quote Tag

Developers, developers, developers… –Steve Ballmer

Strike Tag (deprecated in HTML5)

The <strike> tag shows strike-through text.

S Tag (preferred in HTML5)

The <s> tag also displays as strike-through text. The <s> tag specifies text that is no longer correct, accurate or relevant.

Del Tag (preferred in HTML5)

The <del> tag also displays as strike-through text. The <del> tag defines text that has been deleted from a document.

Strong Tag

This tag shows bold text.

Subscript Tag

Getting our science styling on with H2O, which should push the “2” down.

Superscript Tag

Still sticking with science and Isaac Newton’s E = MC2, which should lift the 2 up.

Teletype Tag (deprecated in HTML5)

This rarely used tag emulates teletype text, which is usually styled like the <code> tag.

Variable Tag

This allows you to denote variables.

Etc.

.caret

We create a caret using a pseudo element with a CSS shape. It can be animated when its ancestor changes, using transform and transition.

This is text followed by <span class="caret"></span> which looks like this

It can also be appled to a parent element such as an <a class="caret"> or, for example, <p class="caret">blah blah</p> like this paragraph

Bootstrap Classes

see: http://getbootstrap.com/css/

.btn

Link styled like a button <a class="btn"> Anchor tag styled like a button using the .btn class.

using the html <button> tag.

Close button (button.close):

More <button> buttons (all use .btn .btn-type):
.btn-default
.btn-theme (style this class to match your theme colors)
.btn-gold (alias for .btn-theme)
.btn-blue (an alternate theme color)
.btn-[name].btn-lg (a larger sized button)
.btn-primary
.btn-success
.btn-info
.btn-warning
.btn-danger
.btn-link <button class="btn btn-link"> tag styled to look like a link

Next: edit this button’s link and anchor text (a test of an editable button link)

visit Google (this was inserted as a post snippet)

Please share this page with your friends and colleagues.