title: Example content\r
---\r
\r
-This blog post shows a few different types of content that's supported and styled with Hyde. Basic typography, images, and code are all supported.\r
\r
------\r
+<div class="message">\r
+ Howdy! This is an example blog post that shows several types of HTML content supported in this theme.\r
+</div>\r
\r
Cum sociis natoque penatibus et magnis <a href="#">dis parturient montes</a>, nascetur ridiculus mus. *Aenean eu leo quam.* Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum.\r
\r
\r
Etiam porta **sem malesuada magna** mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.\r
\r
+## Inline HTML elements\r
+\r
+HTML defines a long list of available inline tags, a complete list of which can be found on the [Mozilla Developer Network](https://developer.mozilla.org/en-US/docs/Web/HTML/Element).\r
+\r
+- **To bold text**, use `<strong>`.\r
+- *To italicize text*, use `<em>`.\r
+- Abbreviations, like <abbr title="HyperText Markup Langage">HTML</abbr> should use `<abbr>`, with an optional `title` attribute for the full phrase.\r
+- Citations, like <cite>— Mark otto</cite>, should use `<cite>`.\r
+- <del>Deleted</del> text should use `<del>` and <ins>inserted</ins> text should use `<ins>`.\r
+- Superscript <sup>text</sup> uses `<sup>` and subscript <sub>text</sub> uses `<sub>`.\r
+\r
+Most of these elements are styled by browsers with few modifications on our part.\r
+\r
## Heading\r
\r
Vivamus sagittis lacus vel augue rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.\r
\r
-### Sub-heading\r
+### Code\r
\r
Cum sociis natoque penatibus et magnis dis `code element` montes, nascetur ridiculus mus.\r
\r
\r
Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa.\r
\r
-### Sub-heading\r
+### Lists\r
\r
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna mollis euismod. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.\r
\r
\r
Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at lobortis.\r
\r
+<dl>\r
+ <dt>HyperText Markup Language (HTML)</dt>\r
+ <dd>The language used to describe and define the content of a Web page</dd>\r
+\r
+ <dt>Cascading Style Sheets (CSS)</dt>\r
+ <dd>Used to describe the appearance of Web content</dd>\r
+\r
+ <dt>JavaScript (JS)</dt>\r
+ <dd>The programming language used to build advanced Web sites and applications</dd>\r
+</dl>\r
+\r
+Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Nullam quis risus eget urna mollis ornare vel eu leo.\r
+\r
+### Tables\r
+\r
+Aenean lacinia bibendum nulla sed consectetur. Lorem ipsum dolor sit amet, consectetur adipiscing elit.\r
+\r
+<table>\r
+ <thead>\r
+ <tr>\r
+ <th>Name</th>\r
+ <th>Upvotes</th>\r
+ <th>Downvotes</th>\r
+ </tr>\r
+ </thead>\r
+ <tfoot>\r
+ <tr>\r
+ <td>Totals</td>\r
+ <td>21</td>\r
+ <td>23</td>\r
+ </tr>\r
+ </tfoot>\r
+ <tbody>\r
+ <tr>\r
+ <td>Alice</td>\r
+ <td>10</td>\r
+ <td>11</td>\r
+ </tr>\r
+ <tr>\r
+ <td>Bob</td>\r
+ <td>4</td>\r
+ <td>3</td>\r
+ </tr>\r
+ <tr>\r
+ <td>Charlie</td>\r
+ <td>7</td>\r
+ <td>9</td>\r
+ </tr>\r
+ </tbody>\r
+</table>\r
+\r
+Nullam id dolor id nibh ultricies vehicula ut id elit. Sed posuere consectetur est at lobortis. Nullam quis risus eget urna mollis ornare vel eu leo.\r
+\r
-----\r
\r
-Want to see something else added? <a href="https://github.com/mdo/hyde/issues/new">Open an issue.</a>
\ No newline at end of file
+Want to see something else added? <a href="https://github.com/poole/poole/issues/new">Open an issue.</a>\r
* Messages
* Container
* Masthead
- * Sidebar
* Posts and pages
* Pagination
* Reverse layout
font-size: 16px;
line-height: 1.5;
}
-@media (min-width: 48rem) {
+@media (min-width: 38rem) {
html {
font-size: 20px;
}
body {
color: #515151;
background-color: #fff;
+ -webkit-text-size-adjust: 100%;
+ -ms-text-size-adjust: 100%;
}
/* No `:visited` state is required by default (browsers will use `a`) */
/* Headings */
h1, h2, h3, h4, h5, h6 {
margin-bottom: .5rem;
- font-weight: normal;
+ font-weight: bold;
line-height: 1.25;
color: #313131;
text-rendering: optimizeLegibility;
font-size: 1rem;
}
+/* Body text */
p {
margin-top: 0;
margin-bottom: 1rem;
}
-ul, ol {
+strong {
+ color: #303030;
+}
+
+
+/* Lists */
+ul, ol, dl {
margin-top: 0;
margin-bottom: 1rem;
}
+dt {
+ font-weight: bold;
+}
+dd {
+ margin-bottom: .5rem;
+}
+
+/* Misc */
hr {
position: relative;
margin: 1.5rem 0;
border-bottom: 1px solid #fff;
}
-strong {
- color: #303030;
-}
-
abbr {
- background-color: #eee;
- display: inline-block;
- padding: .25em;
font-size: 85%;
font-weight: bold;
color: #555;
- text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
text-transform: uppercase;
- border-radius: 3px;
+}
+abbr[title] {
+ cursor: help;
+ border-bottom: 1px dotted #e5e5e5;
}
+/* Code */
code,
pre {
font-family: Menlo, Monaco, "Courier New", monospace;
padding: .5rem 1rem;
margin: .8rem 0;
color: #7a7a7a;
- border-left: .25rem solid #eee;
+ border-left: .25rem solid #e5e5e5;
}
blockquote p:last-child {
margin-bottom: 0;
border-radius: 5px;
}
+/* Tables */
+table {
+ margin-bottom: 1rem;
+ width: 100%;
+ border: 1px solid #e5e5e5;
+ border-collapse: collapse;
+}
+td,
+th {
+ padding: .25rem .5rem;
+ border: 1px solid #e5e5e5;
+}
+tbody tr:nth-child(odd) td,
+tbody tr:nth-child(odd) th {
+ background-color: #f9f9f9;
+}
+
/*
* Custom type
*/
.container {
- max-width: 32rem;
+ max-width: 38rem;
padding-left: 1rem;
padding-right: 1rem;
margin-left: auto;
margin-right: auto;
}
-@media (min-width: 800px) {
- .container {
- max-width: 38rem;
- }
-}
/*
.masthead {
padding-top: 1rem;
padding-bottom: 1rem;
- margin-bottom: 2rem;
- border-bottom: 1px solid #eee;
+ margin-bottom: 3rem;
}
.masthead-title {
margin-top: 0;
color: #c0c0c0;
letter-spacing: 0;
}
-@media (min-width: 48rem) {
- .masthead {
- margin-bottom: 3rem;
- }
-}
/*