/ Published in: Other
Expand |
Embed | Plain Text
/* Markus Török toeroek.eu SCREEN.CSS */ @import url(classes.less); @import url(reset.css); /* LESS Variable ---------------------------------------------------------------------*/ /* _BODY -----------------------------------------------------------------------------*/ body { color:#444; font: normal 100% Helvetica, Arial, sans-serif; *font-size:small; line-height:1.5em; /*24px*/ margin:0 auto; } /* _HEADINGS -------------------------------------------------------------------------*/ /* _TYPOGRAPHY -----------------------------------------------------------------------*/ p { margin-bottom:24px; line-height:24px;} /* _LINKS ----------------------------------------------------------------------------*/ a:hover, a:active { outline: none; } a, a:active, a:visited { color: #607890; } a:hover { color: #036; } /* _IMAGES AND VIDEOS ----------------------------------------------------------------*/ /* _TABLES ---------------------------------------------------------------------------*/ /* _FORMS ----------------------------------------------------------------------------*/ /* _LAYOUT ---------------------------------------------------------------------------*/ #wrap { position:relative; margin:0 auto; max-width:940px; /*width:80%;*/ } /* BANNER ---------------------------------------------------------------------------*/ /*_NAV*/ /* INTRODUCTION ---------------------------------------------------------------------*/ /* SITE FOOTER ----------------------------------------------------------------------*/ /* ENTRIES AND ARTICLES -------------------------------------------------------------*/ /* * Non-semantic helper classes - HTML5 ✰ Boilerplate */ /* for image replacement */ .ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; } /* Hide for both screenreaders and browsers css-discuss.incutio.com/wiki/Screenreader_Visibility */ .hidden { display: none; visibility: hidden; } /* Hide only visually, but have it available for screenreaders www.webaim.org/techniques/css/invisiblecontent/ & j.mp/visuallyhidden */ .visuallyhidden { position: absolute !important; clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ clip: rect(1px, 1px, 1px, 1px); } /* Hide visually and from screenreaders, but maintain layout */ .invisible { visibility: hidden; } /* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */ .clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; visibility: hidden; } .clearfix:after { clear: both; } /* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */ .clearfix { zoom: 1; } /* * Media queries for responsive design * These follow after primary styles so they will successfully override. - HTML5 ✰ Boilerplate */ @media screen and (max-width:1200px) { } @media screen and (max-width:650px) { } @media screen and (max-width: 480px) { } @media all and (orientation:portrait) { /* Style adjustments for portrait mode goes here */ } @media all and (orientation:landscape) { /* Style adjustments for landscape mode goes here */ } /* * print styles * inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/ */ @media print { * { background: transparent !important; color: #444 !important; text-shadow: none !important; } a, a:visited { color: #444 !important; text-decoration: underline; } a:after { content: " (" attr(href) ")"; } abbr:after { content: " (" attr(title) ")"; } .ir a:after { content: ""; } /* Don't show links for images */ pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */ tr, img { page-break-inside: avoid; } @page { margin: 0.5cm; } p, h2, h3 { orphans: 3; widows: 3; } h2, h3{ page-break-after: avoid; } }
You need to login to post a comment.
