{"id":996,"date":"2015-01-09T02:16:45","date_gmt":"2015-01-09T02:16:45","guid":{"rendered":"https:\/\/themes.simonbouchard.com\/studio8\/?page_id=996"},"modified":"2015-01-09T02:16:45","modified_gmt":"2015-01-09T02:16:45","slug":"helper-classes","status":"publish","type":"page","link":"https:\/\/themes.simonbouchard.com\/studio8\/documentation\/helper-classes\/","title":{"rendered":"Helper classes"},"content":{"rendered":"<h2 class=\"hard-top\">Attributes<\/h2>\n<table>\n<thead>\n<th width=\"15%\">Class name<\/th>\n<th width=\"40%\">Description<\/th>\n<th>Code<\/th>\n<\/thead>\n<tbody>\n<tr>\n<td>white<\/td>\n<td>Define white text color<\/td>\n<td><pre class=\"brush: css;\">.white { color: $white; }<\/pre><\/td>\n<\/tr>\n<tr class=\"even\">\n<td>gray<\/td>\n<td>Define gray text color<\/td>\n<td><pre class=\"brush: css;\">.gray { color: $gray; }<\/pre><\/td>\n<\/tr>\n<tr>\n<td>black<\/td>\n<td>Define black text color<\/td>\n<td><pre class=\"brush: css;\">.black { color: $black; }<\/pre><\/td>\n<\/tr>\n<tr class=\"even\">\n<td>light-gray<\/td>\n<td>Define light gray text color<\/td>\n<td><pre class=\"brush: css;\">.light-gray { color: $light-gray; }<\/pre><\/td>\n<\/tr>\n<tr>\n<td>medium-gray<\/td>\n<td>Define medium gray text color<\/td>\n<td><pre class=\"brush: css;\">.medium-gray { color: $medium-gray; }<\/pre><\/td>\n<\/tr>\n<tr class=\"even\">\n<td>dark-gray<\/td>\n<td>Define dark gray text color<\/td>\n<td><pre class=\"brush: css;\">.dark-gray { color: $dark-gray; }<\/pre><\/td>\n<\/tr>\n<tr>\n<td>text-color<\/td>\n<td>Define the default text color<\/td>\n<td><pre class=\"brush: css;\">.text-color { color: $text-color; }<\/pre><\/td>\n<\/tr>\n<tr class=\"even\">\n<td>accent<\/td>\n<td>Define the accent text color<\/td>\n<td><pre class=\"brush: css;\">.accent { color: $accent; }<\/pre><\/td>\n<\/tr>\n<tr>\n<td>hard-top,<br \/>hard-start<\/td>\n<td>Remove the top margin &amp; padding of an element<\/td>\n<td><pre class=\"brush: css;\">.hard-start, .hard-top {\n  padding-top: 0 !important;\n  margin-top: 0 !important;\n}<\/pre><\/td>\n<\/tr>\n<tr class=\"even\">\n<td>hard-bottom,<br \/>hard-end<\/td>\n<td>Remove the bottom margin &amp; padding of an element<\/td>\n<td><pre class=\"brush: css;\">.hard-end, .hard-bottom {\n  padding-bottom: 0 !important;\n  margin-bottom: 0 !important;\n}<\/pre><\/td>\n<\/tr>\n<tr>\n<td>center<\/td>\n<td>Align an element to center<\/td>\n<td><pre class=\"brush: css;\">.center { text-align: center; margin: 0 auto; }<\/pre><\/td>\n<\/tr>\n<tr class=\"even\">\n<td>left<\/td>\n<td>Align an element to left<\/td>\n<td><pre class=\"brush: css;\">.left { text-align: left; float: left; }<\/pre><\/td>\n<\/tr>\n<tr>\n<td>right<\/td>\n<td>Align an element to right<\/td>\n<td><pre class=\"brush: css;\">.right { text-align: right; float: right; }<\/pre><\/td>\n<\/tr>\n<tr class=\"even\">\n<td>font-smoothing<\/td>\n<td>Controls the application of anti-aliasing when fonts are rendered<\/td>\n<td><pre class=\"brush: css;\">.font-smoothing {\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}<\/pre><\/td>\n<\/tr>\n<tr>\n<td>link<\/td>\n<td><a href=\"#\" class=\"link\">Give your anchors a special treatment<\/a><\/td>\n<td><pre class=\"brush: xhtml;\"><a href=\"#\" class=\"link\">...<\/a><\/pre><\/td>\n<\/tr>\n<tr class=\"even\">\n<td>no-lazy<\/td>\n<td>Disable lazy loading on an image<\/td>\n<td><pre class=\"brush: xhtml;\"><img decoding=\"async\" src=\"path\/to\/image\" class=\"no-lazy\" \/><\/pre><\/td>\n<\/tr>\n<\/tr>\n<tr>\n<td>fit-text <sup>New<\/sup><\/td>\n<td>Makes scalable headlines that fill the width of a parent element.<\/td>\n<td><pre class=\"brush: xhtml;\">\n<h1 class=\"fit-text\">Headline<\/h1>\n<\/pre><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Attributes Class name Description Code white Define white text color gray Define gray text color black Define black text color light-gray Define light gray text color medium-gray Define medium gray text color dark-gray Define dark gray text color text-color Define the default text color accent Define the accent text color hard-top,hard-start Remove the top margin&#8230;  <a class=\"excerpt-read-more\" href=\"https:\/\/themes.simonbouchard.com\/studio8\/documentation\/helper-classes\/\" title=\"Read Helper classes\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":617,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/themes.simonbouchard.com\/studio8\/wp-json\/wp\/v2\/pages\/996"}],"collection":[{"href":"https:\/\/themes.simonbouchard.com\/studio8\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/themes.simonbouchard.com\/studio8\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/themes.simonbouchard.com\/studio8\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/themes.simonbouchard.com\/studio8\/wp-json\/wp\/v2\/comments?post=996"}],"version-history":[{"count":0,"href":"https:\/\/themes.simonbouchard.com\/studio8\/wp-json\/wp\/v2\/pages\/996\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/themes.simonbouchard.com\/studio8\/wp-json\/wp\/v2\/pages\/617"}],"wp:attachment":[{"href":"https:\/\/themes.simonbouchard.com\/studio8\/wp-json\/wp\/v2\/media?parent=996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}