57
Fi
firelaunch / files
firelaunch / css / style.css
6.4 KB
1/* 2 HTML5 ✰ Boilerplate 3 4 style.css contains a reset, font normalization and some base styles. 5 6 credit is left where credit is due. 7 much inspiration was taken from these projects: 8 yui.yahooapis.com/2.8.1/build/base/base.css 9 camendesign.com/design/ 10 praegnanz.de/weblog/htmlcssjs-kickstart 11*/ 12 13/* 14 html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline) 15 v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark 16 html5doctor.com/html-5-reset-stylesheet/ 17*/ 18 19html, body, div, span, object, iframe, 20h1, h2, h3, h4, h5, h6, p, blockquote, pre, 21abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, 22small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, 23fieldset, form, label, legend, 24table, caption, tbody, tfoot, thead, tr, th, td, 25article, aside, canvas, details, figcaption, figure, 26footer, header, hgroup, menu, nav, section, summary, 27time, mark, audio, video { 28 margin:0; 29 padding:0; 30 border:0; 31 font-size:100%; 32 font: inherit; 33 vertical-align:baseline; 34} 35 36article, aside, details, figcaption, figure, 37footer, header, hgroup, menu, nav, section { 38 display:block; 39} 40 41blockquote, q { quotes:none; } 42 43blockquote:before, blockquote:after, 44q:before, q:after { content:''; content:none; } 45 46ins { background-color:#ff9; color:#000; text-decoration:none; } 47 48mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; } 49 50del { text-decoration: line-through; } 51 52abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; } 53 54table { border-collapse:collapse; border-spacing:0; } 55 56hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; } 57 58input, select { vertical-align:middle; } 59 60/* END RESET CSS */ 61 62 63/* font normalization inspired by from the YUI Library's fonts.css: developer.yahoo.com/yui/ */ 64body { font:13px/1.231 sans-serif; *font-size:small; } /* hack retained to preserve specificity */ 65select, input, textarea, button { font:99% sans-serif; } 66 67/* normalize monospace sizing 68 * en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */ 69pre, code, kbd, samp { font-family: monospace, sans-serif; } 70 71/* 72 * minimal base styles 73 */ 74 75 76body, select, input, textarea { 77 /* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */ 78 color: #444; 79 /* set your base font here, to apply evenly */ 80 /* font-family: Georgia, serif; */ 81} 82 83/* headers (h1,h2,etc) have no default font-size or margin. define those yourself. */ 84h1,h2,h3,h4,h5,h6 { font-weight: bold; } 85 86/* always force a scrollbar in non-IE: */ 87html { overflow-y: scroll; } 88 89 90/* accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */ 91a:hover, a:active { outline: none; } 92 93a, a:active, a:visited { color: #bada55; } 94a:hover { 95 /* :-) */ 96 text-shadow: 0 0 15px #bada55; 97 cursor: pointer; 98 } 99 100/* These selection declarations have to be separate. 101 No text-shadow: twitter.com/miketaylr/status/12228805301 102 Also: badass. */ 103::-moz-selection{ background: #bada55; color:#fff; text-shadow: none; } 104::selection { background:#bada55; color:#fff; text-shadow: none; } 105 106/* j.mp/webkit-tap-highlight-color */ 107a:link { -webkit-tap-highlight-color: #bada55; } 108 109/* make buttons play nice in IE: 110 www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */ 111button { width: auto; overflow: visible; } 112 113 114 115 116 117 118 119 120 121 122 /* Primary Styles 123 Author: 124 */ 125 126html, body { 127 color: #eee; 128 background-color: #333; 129 height: 100%; 130 background: -webkit-gradient( 131 radial, 50% 25%, 0, 50% 25%, 700, from(#777), to(#333) 132 ) #f90 fixed; 133 134 background: -moz-radial-gradient( 135 50% 25%, circle, #777 0px, #333 700px 136 ) fixed; 137} 138em { font-weight: bold; } 139 140h1 { 141 font-size: 2em; 142 text-shadow: 1px 1px 3px #111; 143} 144 145h2 { 146 font-size: 1.5em; 147 text-shadow: 1px 1px 3px #111; 148} 149 150#container { 151 width: 760px; 152 margin: 0 auto; 153 padding: 40px 0; 154} 155 156#header { 157 text-align: center; 158} 159 160#stats { 161 margin: 10px 0; 162} 163 164#list { 165 list-style: none; 166 margin: 20px 0; 167} 168 169 170.tweet { 171 display: block; 172 173 -moz-border-radius: 6px; 174 -webkit-border-radius: 6px; 175 border-radius: 6px; 176 177 -moz-box-shadow: 0px 0px 4px #111; 178 -webkit-box-shadow: 0px 0px 4px #111; 179 box-shadow: 0px 0px 4px #111; 180 181 margin: 5px 0; 182 padding: 5px; 183 overflow: hidden; 184 185 background-color: #333; 186 display: none; 187} 188.tweet img { 189 float: right; 190 margin-left: 10px; 191} 192.tweet .meta { margin-top: 1em; } 193.tweet .time { color: #aaa; } 194 195.special { 196 text-align: center; 197} 198 199.tweet:hover { 200 font-size: 1.5em; 201 color: #444; 202 background-color: #bada55; 203 -moz-box-shadow: 0px 0px 4px #bada55; 204 -webkit-box-shadow: 0px 0px 4px #bada55; 205 box-shadow: 0px 0px 4px #bada55; 206} 207.tweet:hover .time { 208 color: #666; 209} 210 211.tweet:hover a { 212 /* :-) */ 213 color: #000; 214 cursor: pointer; 215 } 216.tweet:hover a:hover { 217 text-shadow: 0 0 15px #222; 218} 219 220 221 222 223 224 225 226/* 227 * Non-semantic helper classes: please define your styles before this section. 228 */ 229 230/* Hide for both screenreaders and browsers 231 css-discuss.incutio.com/wiki/Screenreader_Visibility */ 232.hidden { display: none; visibility: hidden; } 233 234/* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */ 235.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; visibility: hidden; } 236.clearfix:after { clear: both; } 237/* fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */ 238.clearfix { zoom: 1; } 239 240/* 241 * print styles 242 * inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/ 243 */ 244@media print { 245 * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; 246 -ms-filter: none !important; } /* black prints faster: sanbeiji.com/archives/953 */ 247 a, a:visited { color: #444 !important; text-decoration: underline; } 248 a[href]:after { content: " (" attr(href) ")"; } 249 abbr[title]:after { content: " (" attr(title) ")"; } 250 .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* don't show links for images, or javascript/internal links */ 251 pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } 252 thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */ 253 tr, img { page-break-inside: avoid; } 254 @page { margin: 0.5cm; } 255 p, h2, h3 { orphans: 3; widows: 3; } 256 h2, h3{ page-break-after: avoid; } 257} 258