Styling for microformats and printing
This commit is contained in:
Vendored
+22
File diff suppressed because one or more lines are too long
Vendored
+33
File diff suppressed because one or more lines are too long
@@ -0,0 +1,64 @@
|
||||
body
|
||||
{
|
||||
background-color: #FFF;
|
||||
font-size: 12px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #000;
|
||||
}
|
||||
|
||||
article
|
||||
{
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
h1
|
||||
{
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
section ul
|
||||
{
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
section ul li
|
||||
{
|
||||
text-indent: 2em;
|
||||
}
|
||||
|
||||
section header
|
||||
{
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
#contact-details
|
||||
{
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.divider
|
||||
{
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.icon-envelope::before,
|
||||
.icon-link::before,
|
||||
.icon-google-plus-sign::before,
|
||||
.icon-circle-blank::before
|
||||
{
|
||||
content: "";
|
||||
}
|
||||
|
||||
.print
|
||||
{
|
||||
display: inherit;
|
||||
}
|
||||
|
||||
.screen
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
/* http://meyerweb.com/eric/tools/css/reset/
|
||||
v2.0 | 20110126
|
||||
License: none (public domain)
|
||||
*/
|
||||
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
b, u, i, center,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td,
|
||||
article, aside, canvas, details, embed,
|
||||
figure, figcaption, footer, header, hgroup,
|
||||
menu, nav, output, ruby, section, summary,
|
||||
time, mark, audio, video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
/* HTML5 display-role reset for older browsers */
|
||||
article, aside, details, figcaption, figure,
|
||||
footer, header, hgroup, menu, nav, section {
|
||||
display: block;
|
||||
}
|
||||
body {
|
||||
line-height: 1;
|
||||
}
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
}
|
||||
blockquote, q {
|
||||
quotes: none;
|
||||
}
|
||||
blockquote:before, blockquote:after,
|
||||
q:before, q:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
@@ -0,0 +1,122 @@
|
||||
body
|
||||
{
|
||||
background-color: #CCC;
|
||||
color: #000;
|
||||
font-family: "Amethysta";
|
||||
padding-top: 1em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a
|
||||
{
|
||||
color: #333;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
a:active
|
||||
{
|
||||
color: #666;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
article
|
||||
{
|
||||
margin: 0 auto;
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
dd
|
||||
{
|
||||
text-indent: 2em;
|
||||
}
|
||||
|
||||
div
|
||||
{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
footer
|
||||
{
|
||||
clear: both;
|
||||
font-size: 0.75em;
|
||||
text-align: right;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1
|
||||
{
|
||||
font-size: 4em;
|
||||
}
|
||||
|
||||
h2
|
||||
{
|
||||
font-size: 1.5em;
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
header section div
|
||||
{
|
||||
display: inline;
|
||||
}
|
||||
|
||||
hr
|
||||
{
|
||||
border: none;
|
||||
border-bottom: 1px solid #333;
|
||||
}
|
||||
|
||||
section header
|
||||
{
|
||||
float: left;
|
||||
font-family: "Fjalla One";
|
||||
font-size: 3em;
|
||||
font-variant: small-caps;
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
section ul
|
||||
{
|
||||
list-style-position: inside;
|
||||
list-style-type: square;
|
||||
}
|
||||
|
||||
section .content
|
||||
{
|
||||
display: inline-block;
|
||||
line-height: 1.5em;
|
||||
text-align: justify;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
strong
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
time
|
||||
{
|
||||
float: right;
|
||||
font-style: oblique;
|
||||
}
|
||||
|
||||
.divider
|
||||
{
|
||||
margin: 0 1em;
|
||||
}
|
||||
|
||||
.print
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.screen
|
||||
{
|
||||
display: inherit;
|
||||
}
|
||||
|
||||
.soft_divider
|
||||
{
|
||||
border-bottom: 1px solid #999;
|
||||
}
|
||||
Reference in New Issue
Block a user