{"id":2,"date":"2013-11-12T02:48:20","date_gmt":"2013-11-12T02:48:20","guid":{"rendered":"https:\/\/demo.audiotheme.com\/nowell\/?page_id=2"},"modified":"2014-08-11T15:04:27","modified_gmt":"2014-08-11T15:04:27","slug":"style-guide","status":"publish","type":"page","link":"https:\/\/demo.audiotheme.com\/nowell\/style-guide\/","title":{"rendered":"Style Guide"},"content":{"rendered":"<div class=\"lead\">This page uses a Full Width page template to display it&#8217;s content, excluding any content sidebars. <em>That is all, carry on\u2026<\/em><\/div>\n<hr \/>\n<p>Typography is the foundation of any design project we work on. In fact, we begin every project by first establishing the governing rules of type ensuring maximum readability comfort across all screen resolutions.<\/p>\n<p>This is accomplished by taking into account everything from vertical rhythm, to comfortable reading measures, to scalable typography and incremental leading. All font sizes are set in relative em measurements which allows for the proportional scaling of font sizes based on the end user\u2019s browser settings. This page represents base styles and rules for type and should be considered a work in progress. You can always let us know where these styles can be improved for by dropping us a line <a href=\"http:\/\/twitter.com\/audiotheme\" target=\"_blank\">@AudioTheme<\/a> on Twitter.<\/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 have been set in this tag. Consider using the Second Level Header tag, <code>h2<\/code>, for any important page level headings.<\/p>\n<h2>Second Level Header<\/h2>\n<p>As mentioned above, the Second Level Header is best used for important page level headings. Though there is no hard and fast rule regarding the amount of <code>h1<\/code> tags allowed on a page, I tend 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.<\/p>\n<p><!--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 the article.<\/p>\n<h3>Block Quotes<\/h3>\n<p>Block quotes are section of content quoted from an external source or quotes pulled from article itself. The <code>blockquote<\/code> may contain a <code>p<\/code> tag. For example, we are quoting Ray Eames, from <a title=\"Ray Eames quote source\" href=\"http:\/\/quotesondesign.com\/ray-eames\/\">Quotes on Design<\/a>, below.<\/p>\n<blockquote><p>\u201cWhat works good is better than what looks good, because what works good lasts.\u201d <cite>\u2014 Ray Eames<\/cite><\/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>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>word-press [<strong>w\u0259rd<\/strong>&#8211;<strong>pres<\/strong>]<\/dt>\n<dd>An open source CMS, often used as a blog publishing application powered by PHP and MySQL<\/dd>\n<\/dl>\n<h3>Links<\/h3>\n<p>Links are commonly used to link one page to another, either <a title=\"Internal link back home\" href=\"\/\">internally<\/a> or <a title=\"External link to AudioTheme\" href=\"http:\/\/www.audiotheme.com\">externally<\/a>; and are wrapped by the <code>a<\/code> tag.<\/p>\n<h3>Buttons<\/h3>\n<p>Buttons can be added by using the <code>button<\/code> tag or adding a class of <code>button<\/code> to an element, usually and anchor tag. By default the button is dark; however, you can add a <code>light<\/code> class to the element to make the button light.<\/p>\n<p><a class=\"button\" href=\"https:\/\/audiotheme.com\">Button<\/a> <a class=\"button button-alt\" href=\"https:\/\/audiotheme.com\">Alt Button<\/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 blog<\/em> will make you a better person.<\/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>Subscribe to this blog\u2019s RSS Feed <strong>now<\/strong> or you will be sorry.<\/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 \u2018small print\u2019). It can also be used for attributions or satisfying licensing requirements. For example:<\/p>\n<p><small>Copyright \u00a9 2013 AudioTheme. All Rights Reserved.<\/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>AudioTheme was started in <del datetime=\"2005-30-08T12:12:45+00:00\">an office<\/del> <ins datetime=\"2005-08-30T15:50:45+00:00\">a basement<\/ins> in Iowa.<\/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>The 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 ASAP.<\/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 WWW<sup>[1]<\/sup>.<\/p>\n<p><!--nextpage--><\/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>@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}<\/code><\/pre>\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>Media Embeds<\/h2>\n<p>WordPress supports a variety of different services to make embedding various media content easy. Below are a few examples and are displayed by simply pasting in the URL.<\/p>\n<h3>Audio<\/h3>\n<p><iframe loading=\"lazy\" width=\"805\" height=\"400\" scrolling=\"no\" frameborder=\"no\" src=\"https:\/\/w.soundcloud.com\/player\/?visual=true&#038;url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F35206952&#038;show_artwork=true&#038;maxwidth=805&#038;maxheight=1000\"><\/iframe><\/p>\n<h3>Video<\/h3>\n<p><iframe loading=\"lazy\" width=\"805\" height=\"453\" src=\"http:\/\/www.youtube.com\/embed\/XHQJNP2GC8s?feature=oembed\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This page uses a Full Width page template to display it&#8217;s content, excluding any content sidebars. That is all, carry on\u2026 Typography is the foundation of any design project we work on. In fact, we begin every project by first establishing the governing rules of type ensuring maximum readability comfort across all screen resolutions. This [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/full-width.php","meta":{"footnotes":""},"class_list":["post-2","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/demo.audiotheme.com\/nowell\/wp-json\/wp\/v2\/pages\/2","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.audiotheme.com\/nowell\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.audiotheme.com\/nowell\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.audiotheme.com\/nowell\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.audiotheme.com\/nowell\/wp-json\/wp\/v2\/comments?post=2"}],"version-history":[{"count":14,"href":"https:\/\/demo.audiotheme.com\/nowell\/wp-json\/wp\/v2\/pages\/2\/revisions"}],"predecessor-version":[{"id":376,"href":"https:\/\/demo.audiotheme.com\/nowell\/wp-json\/wp\/v2\/pages\/2\/revisions\/376"}],"wp:attachment":[{"href":"https:\/\/demo.audiotheme.com\/nowell\/wp-json\/wp\/v2\/media?parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}