{"id":247,"date":"2014-09-23T16:58:22","date_gmt":"2014-09-23T16:58:22","guid":{"rendered":"http:\/\/demo.cedaro.dev\/shrake\/?page_id=2"},"modified":"2014-11-15T16:06:01","modified_gmt":"2014-11-15T16:06:01","slug":"styles","status":"publish","type":"page","link":"https:\/\/demo.cedaro.com\/caldwell\/styles\/","title":{"rendered":"Style Guide"},"content":{"rendered":"<div class=\"lead\">Typography sets the foundation for every design.<\/div>\n<p>In fact, we try to begin every project by first establishing the governing rules of type. Doing so insures that good the content\u00a0on this website is both legible and comfortable to read\u00a0across all screen resolutions.<\/p>\n<p>This is accomplished by taking into account everything from vertical rhythm\u00a0to optimal line measures. All font sizes are set in relative <code>em<\/code> measurements which allows for the proportional scaling of font sizes at various design breakpoints. These pages represent base styles and rules for type and media and should be considered a work in progress.<\/p>\n<h1>Top Level Header<\/h1>\n<p>Above is an example of a top level header element, or the <code>h1<\/code> tag. All page titles and ledes have been set in this tag.\u00a0The Second Level Header tag, <code>h2<\/code>,\u00a0has been relegated to\u00a0any important page level headings.<\/p>\n<hr \/>\n<h2>Second Level Header<\/h2>\n<p>As mentioned above, the Second Level Header has been assigned to\u00a0important page level headings. Though there is no hard and fast rule regarding the amount of <code>h1<\/code> tags allowed on a page, but\u00a0we\u00a0tend to always only use one and rely on <code>h2<\/code> for critical page headings.<\/p>\n<h3>Third Level Header<\/h3>\n<p>The Third Level Header may be used for any form of page level headings which falls below the <code>h2<\/code> header in a document hierarchy.<\/p>\n<h4>Fourth Level Header<\/h4>\n<p>The Fourth Level Header may be used for any form of page level headings which falls below the <code>h3<\/code> header in a document hierarchy.<\/p>\n<h5>Fifth Level Header<\/h5>\n<p>The Fifth Level Header may be used for any form of page level headings which falls below the <code>h4<\/code> header in a document hierarchy.<\/p>\n<h6>Sixth Level Header<\/h6>\n<p>The Sixth Level Header may be used for any form of page level headings which falls below the <code>h5<\/code> header in a document hierarchy.<br \/>\n<!--nextpage--><\/p>\n<h2>Commonly Used Typography Tags<\/h2>\n<h3>Paragraph<\/h3>\n<p>All paragraphs are wrapped with the <code>p<\/code> tag. This tag can also be wrapped by the <code>blockquote<\/code> tag if the text is a quote for an external source or a pull quote from an article.<\/p>\n<h3>Block Quotes<\/h3>\n<p>Block quotes are section of content quoted from an external source or quotes pulled from the article itself. The <code>blockquote<\/code> may contain a <code>p<\/code> tag. For example, we are quoting Ray Eames, from <a href=\"http:\/\/quotesondesign.com\/ray-eames\/\">Quotes on Design<\/a>, below.<\/p>\n<blockquote><p>What works good is better than what looks good, because what works good lasts.<\/p><\/blockquote>\n<h3>Inline Quotes<\/h3>\n<p>The <code>q<\/code> tag is used for short quotations inline within a paragraph. Here is an example of nested quotations.<\/p>\n<p>He said, <q>The official Buzz Lightyear catch phrase is, <q>To infinity and beyond!<\/q><\/q><\/p>\n<h3>Ordered Lists<\/h3>\n<p>Ordered lists, or <code>ol<\/code> are used to list items in an hierarchical fashion. Each list item, or <code>li<\/code>, is preceded by a numerical representation of its place in the hierarchy. An ordered list can also contain another ordered list as well as an unordered list, or <code>ul<\/code>.<\/p>\n<ol>\n<li>This is the first item in an ordered list.<\/li>\n<li>This is the second item in an ordered list with a sub-ordered list.\n<ol>\n<li>This is an ordered list item.<\/li>\n<li>This is an ordered list item<\/li>\n<li>This is an ordered list item<\/li>\n<\/ol>\n<\/li>\n<li>This is the third item in an ordered list.<\/li>\n<li>This is the fourth item in an ordered list with a sub-unordered list.\n<ul>\n<li>This is an unordered list item<\/li>\n<li>This is an unordered list item<\/li>\n<li>This is an unordered list item<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3>Unordered Lists<\/h3>\n<p>Unordered lists, or <code>ul<\/code> are used to list items without any hierarchical value to them. Each list item may be preceded by a bullet or any non numerical representation. An unordered list can also contain an ordered list as well as another unordered list.<\/p>\n<ul>\n<li>This is the first item in an unordered list.<\/li>\n<li>This is the second item in an unordered list with a sub-ordered list.\n<ol>\n<li>This is an ordered list item.<\/li>\n<li>This is an ordered list item<\/li>\n<li>This is an ordered list item<\/li>\n<\/ol>\n<\/li>\n<li>This is the third item in an unordered list.<\/li>\n<li>This is the fourth item in an unordered list with a sub-unordered list.\n<ul>\n<li>This is an unordered list item<\/li>\n<li>This is an unordered list item<\/li>\n<li>This is an unordered list item<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>Definition Lists<\/h3>\n<p>Definition lists, or <code>dl<\/code> are generally used to denote a list of items that share a relationship with one another. A <code>dl<\/code> should contain at least one <code>dt<\/code> and one <code>dd<\/code>.<\/p>\n<dl>\n<dt>Definition Term<\/dt>\n<dd>Definition description.<\/dd>\n<\/dl>\n<h3>Links<\/h3>\n<p>Links are commonly used to link one page to another, either <a title=\"Home\" href=\"http:\/\/www.cedaro.com\">internally<\/a> or <a href=\"http:\/\/www.blazersix.com\">externally<\/a> and are wrapped by the <code>a<\/code> tag.<\/p>\n<h3>Button Links<\/h3>\n<p>Buttons can be used stylistically to denote a call to action or any other interactive element within a web document.<\/p>\n<p><a class=\"button\" href=\"#\">Button<\/a> <a class=\"button button-alt\" href=\"#\">Alternate<\/a><\/p>\n<h3>Emphasized Text<\/h3>\n<p>Emphasized text is usually relegated to text you would pronounce differently in a conversation or text you are putting a stressed emphasis on and is wrapped inside of the <code>em<\/code> tag. For example:<\/p>\n<p>Reading <em>this page<\/em> will help you understand how type is set site wide.<\/p>\n<h3>Strong Text<\/h3>\n<p>Strong text is usually relegated to text you are placing strong emphasis on and is wrapped inside of the <code>strong<\/code> tag. For example:<\/p>\n<p>Rules for type <strong>should never<\/strong> be an afterthought.<\/p>\n<h3>Marked or highlighted text<\/h3>\n<p>The <code>mark<\/code> tag is used for indicating text as marked or highlighted for reference purposes, due to its relevance in another context. The <code>mark<\/code> tag was introduced in HTML 5. Internet Explorer 8 and older do not support this tag. For example:<\/p>\n<p>Despite the stock market crash in 2008, the value of my share portfolio <mark>increased by 100 percent<\/mark>. I must be doing something right.<\/p>\n<h3>Small Print<\/h3>\n<p>The <code>small<\/code> element is used to represent disclaimers, caveats, legal restrictions, or copyrights (commonly referred to as &#8220;small print&#8221;). It can also be used for attributions or satisfying licensing requirements. For example:<\/p>\n<p><small>Copyright \u00a9 2014 Cedaro.<\/small><\/p>\n<h3>Delete &amp; Insert<\/h3>\n<p>Markup of deleted text can be useful in determining differences between multiple versions of the same document. Browsers will normally strike a line through deleted text and underline inserted text. For example:<\/p>\n<p>Cedaro is located in <del datetime=\"2012-08-30T15:50:45+00:00\">Austin, TX<\/del> <ins datetime=\"2012-08-30T15:50:45+00:00\">Monticello, IA<\/ins>.<\/p>\n<h3>Citation<\/h3>\n<p>The <code>cite<\/code> element is used to represent the title of a work (e.g. a book, essay, poem, song, film, TV show, sculpture, painting, musical, exhibition, etc). This can be a work that is being quoted or referenced in detail (i.e. a citation), or it can just be a work that is mentioned in passing. For example:<\/p>\n<p>I highly recommend reading <cite>Invisible Man<\/cite> by Ralph Ellison. It changed my life when I was 15 years old.<\/p>\n<h3>Abbreviations &amp; Acronyms<\/h3>\n<p>The <code>abbr<\/code> element is used for any abbreviated text, whether it be acronym, initialism, or otherwise. Any text in the title attribute will appear when the user\u2019s mouse hovers the abbreviation. The <code>acronym<\/code> tag has been dropped from the HTML 5 specs because of the confusion between these two tags. You should exclusively use <code>abbr<\/code> but both are styled for this theme. For example:<\/p>\n<p>The abbreviation for the National Football League is <abbr title=\"National Football League\">NFL<\/abbr> and the acronym for as soon as possible is <acronym title=\"as soon as possible\">ASAP<\/acronym>.<\/p>\n<h3>Subscript &amp; Superscript<\/h3>\n<p>The <code>sub<\/code> tag defines subscript text. Subscript text appears half a character below the baseline. Subscript text can be used for chemical formulas, like H<sub>2<\/sub>O.<\/p>\n<p>The <code>sup<\/code> tag defines superscript text. Superscript text appears half a character above the baseline. Superscript text can be used for footnotes, like this example<sup>[1]<\/sup>.<\/p>\n<h3>Code &amp; Code Blocks<\/h3>\n<p>The <code>code<\/code> tag is useful for websites who intend to share computer code snippets. When wrapped by the <code>pre<\/code> tag, a larger block of code can be displayed.<\/p>\n<pre><code>\r\n@media only screen and ( min-width: 43.75em ) and ( max-width: 48.938em ) {\r\n    article {\r\n        width: 69.1563%;\r\n    }\r\n    aside {\r\n        width: 26.6943%;\r\n    }\r\n}\r\n<\/code><\/pre>\n<hr \/>\n<h2>Tabular Data<\/h2>\n<p>The <code>table<\/code> tag is best used for presenting tabular data. This tag should always contain the <code>thead<\/code>, <code>tfoot<\/code> and <code>tbody<\/code> tags and should be marked up in that order. The <code>table<\/code> tag can also contain the <code>caption<\/code> tag for accessibility.<\/p>\n<table>\n<caption>Convert Font Sizes from Pixels to Ems or Percentages<\/caption>\n<thead>\n<tr>\n<th>Pixels<\/th>\n<th>Ems<\/th>\n<th>Percentages<\/th>\n<\/tr>\n<\/thead>\n<tfoot>\n<tr>\n<td colspan=\"3\">Conversions provided by <a href=\"http:\/\/pxtoem.com\/\">PXtoEM.com<\/a><\/td>\n<\/tr>\n<\/tfoot>\n<tbody>\n<tr>\n<td>16px<\/td>\n<td>1em<\/td>\n<td>100%<\/td>\n<\/tr>\n<tr>\n<td>17px<\/td>\n<td>1.063em<\/td>\n<td>106.3%<\/td>\n<\/tr>\n<tr>\n<td>18px<\/td>\n<td>1.125em<\/td>\n<td>112.5%<\/td>\n<\/tr>\n<tr>\n<td>19px<\/td>\n<td>1.188em<\/td>\n<td>118.8%<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><!--nextpage--><\/p>\n<h2>Image Alignment<\/h2>\n<p>Images can be inserted and aligned with body copy. The following are examples of all four image alignments.<\/p>\n<h3>Left Aligned Image<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft\" src=\"http:\/\/placehold.it\/640x640\" alt=\"image placeholder\" width=\"640\" height=\"640\" \/> Four score and seven years ago our fathers brought forth, upon this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.<\/p>\n<p>Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived, and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting-place for those who here gave their lives, that that nation might live. It is altogether fitting and proper that we should do this.<\/p>\n<h3>Right Aligned Image<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright\" src=\"http:\/\/placehold.it\/640x640\" alt=\"image placeholder\" width=\"640\" height=\"640\" \/> Four score and seven years ago our fathers brought forth, upon this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.<\/p>\n<p>Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived, and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting-place for those who here gave their lives, that that nation might live. It is altogether fitting and proper that we should do this.<\/p>\n<h3>Centered Aligned Image<\/h3>\n<p>Four score and seven years ago our fathers brought forth, upon this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/placehold.it\/640x640\" alt=\"image placeholder\" width=\"640\" height=\"640\" \/><\/p>\n<p>Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived, and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting-place for those who here gave their lives, that that nation might live. It is altogether fitting and proper that we should do this.<\/p>\n<h3>Unaligned Image<\/h3>\n<p>Four score and seven years ago our fathers brought forth, upon this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"http:\/\/placehold.it\/640x640\" alt=\"image placeholder\" width=\"640\" height=\"640\" \/><\/p>\n<p>Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived, and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting-place for those who here gave their lives, that that nation might live. It is altogether fitting and proper that we should do this.<br \/>\n<!--nextpage--><\/p>\n<h2>Captioned Image Alignment<\/h2>\n<p>Captioned images can also be inserted, captioned and aligned with body copy. The following are examples of all four captioned image alignments.<\/p>\n<h3>Left Aligned Captioned Image<\/h3>\n<figure class=\"wp-caption alignleft\" style=\"width: 300px\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-thumbnail\" src=\"http:\/\/placehold.it\/300x300\" alt=\"image placeholder\" width=\"300\" height=\"300\" \/><figcaption class=\"wp-caption-text\">Image caption text.<\/figcaption><\/figure>\n<p>Four score and seven years ago our fathers brought forth, upon this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.<\/p>\n<p>Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived, and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting-place for those who here gave their lives, that that nation might live. It is altogether fitting and proper that we should do this.<\/p>\n<h3>Right Aligned Captioned Image<\/h3>\n<figure class=\"wp-caption alignright\" style=\"width: 300px\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-thumbnail\" src=\"http:\/\/placehold.it\/300x300\" alt=\"image placeholder\" width=\"300\" height=\"300\" \/><figcaption class=\"wp-caption-text\">Image caption text.<\/figcaption><\/figure>\n<p>Four score and seven years ago our fathers brought forth, upon this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.<\/p>\n<p>Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived, and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting-place for those who here gave their lives, that that nation might live. It is altogether fitting and proper that we should do this.<\/p>\n<h3>Center Aligned Captioned Image<\/h3>\n<p>Four score and seven years ago our fathers brought forth, upon this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.<\/p>\n<figure class=\"wp-caption aligncenter\" style=\"width: 300px\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-thumbnail\" src=\"http:\/\/placehold.it\/300x300\" alt=\"image placeholder\" width=\"300\" height=\"300\" \/><figcaption class=\"wp-caption-text\">Image caption text.<\/figcaption><\/figure>\n<p>Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived, and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting-place for those who here gave their lives, that that nation might live. It is altogether fitting and proper that we should do this.<\/p>\n<h3>Unaligned Captioned Image<\/h3>\n<p>Four score and seven years ago our fathers brought forth, upon this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.<\/p>\n<figure class=\"wp-caption alignnone\" style=\"width: 640px\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-thumbnail\" src=\"http:\/\/placehold.it\/640x640\" alt=\"image placeholder\" width=\"640\" height=\"640\" \/><figcaption class=\"wp-caption-text\">Image caption text.<\/figcaption><\/figure>\n<p>Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived, and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting-place for those who here gave their lives, that that nation might live. It is altogether fitting and proper that we should do this.<br \/>\n<!--nextpage--><\/p>\n<h2>Image Galleries<\/h2>\n<p>Images can also be inserted and arranged into grouped galleries. The following is an example of a four image gallery.<br \/>\n<div id='gallery-1' class='gallery galleryid-247 gallery-columns-3 gallery-size-thumbnail'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon portrait'>\n\t\t\t\t<a href='https:\/\/demo.cedaro.com\/caldwell\/2014\/06\/04\/preview-huesos-wordpress-theme\/huesos-07\/'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/demo.cedaro.com\/caldwell\/wp-content\/uploads\/sites\/4\/2014\/06\/huesos-07-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a href='https:\/\/demo.cedaro.com\/caldwell\/bud-shrake\/'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/demo.cedaro.com\/caldwell\/wp-content\/uploads\/sites\/4\/2014\/09\/bud-shrake-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" srcset=\"https:\/\/demo.cedaro.com\/caldwell\/wp-content\/uploads\/sites\/4\/2014\/09\/bud-shrake-150x150.jpg 150w, https:\/\/demo.cedaro.com\/caldwell\/wp-content\/uploads\/sites\/4\/2014\/09\/bud-shrake-300x300.jpg 300w, https:\/\/demo.cedaro.com\/caldwell\/wp-content\/uploads\/sites\/4\/2014\/09\/bud-shrake.jpg 479w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/div><\/figure>\n\t\t<\/div>\n<\/p>\n<h2>Embeds<\/h2>\n<p>Third party content can be embedded directly into a page or a post.<\/p>\n<h3>Twitter<\/h3>\n<blockquote class=\"twitter-tweet\" width=\"550\">\n<p>A lady singing in the corridor. I guess she likes the acoustics here? <a href=\"https:\/\/twitter.com\/hashtag\/keepsareal?src=hash\">#keepsareal<\/a> <a href=\"https:\/\/twitter.com\/hashtag\/downtown?src=hash\">#downtown<\/a>\u2026 <a href=\"http:\/\/t.co\/fqblt3k9qT\">http:\/\/t.co\/fqblt3k9qT<\/a><\/p>\n<p>&mdash; Keep SA Real (@keepSAreal) <a href=\"https:\/\/twitter.com\/keepSAreal\/status\/424749215064289280\">January 19, 2014<\/a><\/p><\/blockquote>\n<p><script async src=\"\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<h3>Vimeo<\/h3>\n<p>This style guide is inspired by the work of <a href=\"http:\/\/heavyheavy.com\/styles\/\">Heavy Heavy<\/a>:<br \/>\n<iframe loading=\"lazy\" src=\"\/\/player.vimeo.com\/video\/96127429\" width=\"720\" height=\"405\" frameborder=\"0\" title=\"Meet the Geek - Heavy Heavy\" webkitallowfullscreen mozallowfullscreen allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Typography sets the foundation for every design. In fact, we try to begin every project by first establishing the governing rules of type. Doing so insures that good the content\u00a0on this website is both legible and comfortable to read\u00a0across all screen resolutions. This is accomplished by taking into account everything from vertical rhythm\u00a0to optimal line&hellip; <\/p>\n<p><a class=\"more-link\" href=\"https:\/\/demo.cedaro.com\/caldwell\/styles\/\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-247","page","type-page","status-publish","hentry","custom-excerpts","no-content"],"_links":{"self":[{"href":"https:\/\/demo.cedaro.com\/caldwell\/wp-json\/wp\/v2\/pages\/247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.cedaro.com\/caldwell\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.cedaro.com\/caldwell\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.cedaro.com\/caldwell\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.cedaro.com\/caldwell\/wp-json\/wp\/v2\/comments?post=247"}],"version-history":[{"count":1,"href":"https:\/\/demo.cedaro.com\/caldwell\/wp-json\/wp\/v2\/pages\/247\/revisions"}],"predecessor-version":[{"id":286,"href":"https:\/\/demo.cedaro.com\/caldwell\/wp-json\/wp\/v2\/pages\/247\/revisions\/286"}],"wp:attachment":[{"href":"https:\/\/demo.cedaro.com\/caldwell\/wp-json\/wp\/v2\/media?parent=247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}