xonecas.io
818
Du

dustymarkdown / files

dustymarkdown / htdocs / css / style.css

5.1 KB
1/* HTML5 ✰ Boilerplate */
2
3html, body, div, span, object, iframe,
4h1, h2, h3, h4, h5, h6, p, blockquote, pre,
5abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
6small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
7fieldset, form, label, legend,
8table, caption, tbody, tfoot, thead, tr, th, td,
9article, aside, canvas, details, figcaption, figure,
10footer, header, hgroup, menu, nav, section, summary,
11time, mark, audio, video {
12  margin: 0;
13  padding: 0;
14  border: 0;
15  font-size: 100%;
16  font: inherit;
17  vertical-align: baseline;
18}
19
20article, aside, details, figcaption, figure,
21footer, header, hgroup, menu, nav, section {
22  display: block;
23}
24
25blockquote, q { quotes: none; }
26blockquote:before, blockquote:after,
27q:before, q:after { content: ""; content: none; }
28ins { background-color: #ff9; color: #000; text-decoration: none; }
29mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
30del { text-decoration: line-through; }
31abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
32table { border-collapse: collapse; border-spacing: 0; }
33hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
34input, select { vertical-align: middle; }
35
36body { font:13px/1.231 sans-serif; }
37.oldie body { font-size:small; }
38select, input, textarea, button { font:99% sans-serif; }
39pre, code, kbd, samp { font-family: monospace, sans-serif; }
40
41html { overflow-y: scroll; }
42a:hover, a:active { outline: none; }
43ul, ol { margin-left: 2em; }
44ol { list-style-type: decimal; }
45nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }
46small { font-size: 85%; }
47strong, th { font-weight: bold; }
48td { vertical-align: top; }
49sub, sup { font-size: 75%; line-height: 0; position: relative; }
50sup { top: -0.5em; }
51sub { bottom: -0.25em; }
52
53pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 15px; }
54textarea { overflow: auto; } 
55.ie6 legend, .ie7 legend { margin-left: -7px; } 
56input[type="radio"] { vertical-align: text-bottom; }
57input[type="checkbox"] { vertical-align: bottom; }
58.ie7 input[type="checkbox"] { vertical-align: baseline; }
59.ie6 input { vertical-align: text-bottom; }
60label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
61button, input, select, textarea { margin: 0; }
62input:valid, textarea:valid   {  }
63input:invalid, textarea:invalid { border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red; }
64.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }
65
66
67::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
68::selection { background:#FF5E99; color:#fff; text-shadow: none; }
69a:link { -webkit-tap-highlight-color: #FF5E99; }
70button {  width: auto; overflow: visible; }
71.ie7 img { -ms-interpolation-mode: bicubic; }
72
73body, select, input, textarea { color: #444; }
74h1, h2, h3, h4, h5, h6 { font-weight: bold; }
75a, a:active, a:visited { color: #607890; }
76a:hover { color: #036; }
77
78
79/**
80 * Primary styles
81 *
82 * Author: @xonecas
83 */
84h1, h2, h3, h4, h5, h6 { margin: 1em 0; }
85body, select, input, textarea {
86  font-family: 'Oswald', Helvetica, arial, serif; 
87}
88
89body { 
90   font-size: 1.230769230769231em;
91   text-shadow: 0 1px 2px #ccc; 
92 }
93
94header { width: 100%; text-align: center; margin-bottom:1em; }
95h1 {
96   margin-top: 0;
97   font-size: 2.25em;
98   border-bottom: 5px solid #444;
99   padding:5px 0;
100}
101blockquote {border-left: 10px solid #eee; padding: 5px 5px 5px 10px;}
102ul { margin-bottom: 1em; }
103em { font-weight: bold; }
104footer { font-size: 0.875em; }
105
106.center { width: 75%; margin: 2em auto; }
107
108
109
110.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
111.hidden { display: none; visibility: hidden; }
112.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
113.visuallyhidden.focusable:active,
114.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
115.invisible { visibility: hidden; }
116.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
117.clearfix:after { clear: both; }
118.clearfix { zoom: 1; }
119
120
121@media all and (orientation:portrait) {
122
123}
124
125@media all and (orientation:landscape) {
126
127}
128
129@media screen and (max-device-width: 480px) {
130  
131  /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
132}
133
134
135@media print {
136  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
137  -ms-filter: none !important; } 
138  a, a:visited { color: #444 !important; text-decoration: underline; }
139  a[href]:after { content: " (" attr(href) ")"; }
140  abbr[title]:after { content: " (" attr(title) ")"; }
141  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  
142  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
143  thead { display: table-header-group; } 
144  tr, img { page-break-inside: avoid; }
145  @page { margin: 0.5cm; }
146  p, h2, h3 { orphans: 3; widows: 3; }
147  h2, h3{ page-break-after: avoid; }
148}
149