@charset "UTF-8"; /* CSS Document */ /*------------------------------------*\ INUIT.CSS \*------------------------------------*/ /* Author: Harry Roberts Twitter: @inuitcss Author URL: csswizardry.com Project URL: inuitcss.com Version: 3.2 Date: 24 November 2011 Copyright 2011 Harry Roberts Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ /*------------------------------------*\ CONTENTS \*------------------------------------*/ /* RESET SHARED MAIN GRIDS CLEARFIX ISLAND MEDIA LOGO NAV TYPE IMAGES FORMS TABLES MESSAGES MISC CLASSES DIAGNOSTICS NARROW MOBILE PRINT */ /*------------------------------------*\ $RESET \*------------------------------------*/ /* A more considered reset; more of a restart... csswizardry.com/2011/10/reset-restarted */ html,body,div,span,applet,object,iframe, h1,h2,h3,h4,h5,h6,p,blockquote,pre,hr, a,abbr,address,cite,code, del,dfn,em,img,ins,kbd,q,s,samp, small,strong,sub,sup,tt,var, b,u,i, dl,dt,dd,ol,ul,li, fieldset,form,label,legend, table,caption,tbody,tfoot,thead,tr,th,td, article,aside,canvas,details,figcaption,figure, footer,header,hgroup,menu,nav,section,summary, time,mark,audio,video{ margin:0; padding:0; } article,aside,details,figcaption,figure,footer, header,hgroup,menu,nav,section{ display:block; } h1,h2,h3,h4,h5,h6{ font-size:1em; } table{ border-collapse:collapse; border-spacing:0; } strong,b,mark{ font-weight:bold; font-style:inherit; } em,i,cite,q,address,dfn,var{ font-style:italic; font-weight:inherit; } abbr[title],dfn[title]{ cursor:help; border-bottom:1px dotted; } ins{ border-bottom:1px solid; } a,u,ins{ text-decoration:none; } del,s{ text-decoration:line-through; } pre,code,samp,kbd{ font-family:monospace; } small{ font-size:0.75em; } img{ border:none; font-style:italic; } input, select,option,optgroup, textarea{ font:inherit; } input:focus, select:focus { outline: none; } /*------------------------------------*\ $SHARED \*------------------------------------*/ /* Rather than repeating declarations over and over, let�s make a shared section. */ h1,.alpha, h2,.beta, h3,.gamma, h4,.delta, h5,.epsilon, h6,.zeta, ul,ol,dl,p,address,figure,pre,fieldset,table,hr, .nav,.island,.media{ margin-bottom:24px; margin-bottom:1.5rem; } figcaption,small{ font-size:12px; font-size:0.75rem; } ul,ol,dd{ margin-left:3em; } small,code{ line-height:1; } pre,code, input,textarea{ font:inherit; } /*------------------------------------*\ $MAIN \*------------------------------------*/ html{ overflow-y:scroll; /* Force scrollbars 100% of the time */ font-size:100%; /* Use 16px as per informationarchitects.jp/en/100e2r/ and wilsonminer.com/posts/2008/oct/20/relative-readability/ */ line-height:1.5; /* A safe default for type of any size. */ /* You should always specify a colour and background, override these in your own stylesheet if desired. */ background-color:#fff; color:#333; } body{ min-height:100%; } /*------------------------------------*\ $GRIDS \*------------------------------------*/ /* Build a custom grid-system igloo at inuitcss.com Include this igloo in igloos.css */ /*------------------------------------*\ $CLEARFIX \*------------------------------------*/ /* Fix clearing issues as per: nicolasgallagher.com/micro-clearfix-hack/ */ .cf, .clearfix, .grids, .group, .media{ zoom:1; } .cf:before, .clearfix:before, .grids:before, .group:before, .media:before, .cf:after, .clearfix:after, .grids:after, .group:after, .media:after{ content:""; display:table; } .cf:after, .clearfix:after, .grids:after, .group:after, .media:after{ clear:both; } /*------------------------------------*\ $ISLAND \*------------------------------------*/ /* Use a class of .island whenever you want to box off an area of content as per: csswizardry.com/2011/10/the-island-object/ Extend with classes like .promo to apply different colours etc to draw attention. */ .island{ padding:1.5em; } .island > :last-child{ margin-bottom:0; } /*------------------------------------*\ $MEDIA \*------------------------------------*/ /* Based on @stubbornella�s media object: stubbornella.org/content/2010/06/25/the-media-object-saves-hundreds-of-lines-of-code/

Get Product for half price!

*/ .media{ display:block; } .media .img{ float:left; margin-right:10px; } .media .body{ overflow:hidden; margin-bottom:0; } /*------------------------------------*\ $LOGO \*------------------------------------*/ /* Your logo is an image, not a h1: csswizardry.com/2010/10/your-logo-is-an-image-not-a-h1/ */ .logo, .logo img{ display:block; width:auto; /* Width of your logo in pixels (ideally a round grid-number) */ height:auto; /* Height of your logo in pixels */ } /* Based on the fact that we need to use an in our markup, let�s hide the actual image and use a background on the --this gives us semantically sound markup and the ability to use sprites for hover effects! */ .logo{ background:url('/web/20130709162443im_/http://images.moneysavingexpert.com/css/images/allfiled-logo.png'); } .logo:hover{ /* Hover states */ background-position:0 -00px; } .logo img{ position:absolute; left:-99999px; } /*------------------------------------*\ $NAV \*------------------------------------*/ /* Create an abstraction, as per: csswizardry.com/2011/09/the-nav-abstraction/ */ .nav { list-style: none; margin: 0; padding: 0; line-height: 1; display: block; } .nav li { display: inline; margin: 0; padding: 0; display: block; float: left; } .nav a { display: inline-block; } /*------------------------------------*\ $TYPE \*------------------------------------*/ /*--- HEADINGS ---*/ h1,.alpha{ font-size:2em; /* 32px */ line-height:1.5; /* 48px */ } h2,.beta{ font-size:1.5em; /* 24px */ line-height:1; /* 24px */ } h3,.gamma{ font-size:1.25em; /* 20px */ line-height:1.2; /* 24px */ } h4,.delta{ font-size:1.125em; /* 18px */ line-height:1.333; /* 24px */ } h5,.epsilon{ font-weight:bold; } h5,.epsilon, h6,.zeta{ font-size:1em; /* 16px */ line-height:1.5; /* 24px */ } /*--- PARAGRAPHS ---*/ /* Mo� robust paragraph indenting: csswizardry.com/2010/12/mo-robust-paragraph-indenting/ Uncomment to activate p+p{ text-indent:2em; margin-top:-1.5em; } */ /*--- FIGURES ---*/ figure img{ display:block; margin-bottom:0; } /*--- LINKS ---*/ /* Say no to negative hovers: csswizardry.com/2011/05/on-negative-hovers/ A negative hover is one whose appearance is subtracted from on hover rather than added to. */ a:visited{ opacity:0.8; /* A bit basic, but it�s a bare minumum... */ } a:hover{ text-decoration:underline; } a:active, a:focus{ /* Give clicked links a depressed effect. */ position:relative; top:1px; } /*--- LISTS ---*/ li > ul, li > ol{ /* Let�s take care of lists in lists */ margin-bottom:0; } /* A numbered list is NOT the same as an ordered one: csswizardry.com/2011/09/ordered-and-numbered-lists-the-differences/ Use this class when you want a list to be numbered but it has no order. */ ul.numbered{ list-style:decimal outside; } dt{ font-weight:bold; } /*--- QUOTES ---*/ /* Big up @boblet: html5doctor.com/blockquote-q-cite/ */ q{ quotes:"�" "�" "�" "�"; } q:before{ content:"�"; content:open-quote; } q:after{ content:"�"; content:close-quote; } q q:before{ content: "�"; content: open-quote; } q q:after{ content: "�"; content: close-quote; } blockquote{ quotes: "�" "�"; } blockquote p:before{ content: "�"; content: open-quote; } blockquote p:after{ content: ""; content: no-close-quote; } blockquote p:last-of-type:after{ content: "�"; content: close-quote; } blockquote{ text-indent:-0.4em; } /* Mark up the source of a quote with .source:

Lorem ipsum dolor sit amet. Joe Bloggs

*/ .source{ display:block; text-indent:0; margin-top:-24px; margin-top:-1.5rem; } .source:before{ content:"�"; } /*--- GENERAL ---*/ mark{ background-color:#ffc; color:#333; } /*--- CODE ---*/ pre, code{ font-family:"Inconsolata", "Monaco", "Consolas", "Courier New", Courier, monospace; } pre{ overflow:auto; line-height:24px; /* Having to define explicit pixel values :( */ } /*------------------------------------*\ $IMAGES \*------------------------------------*/ img{ max-width:100%; height:auto; /* Give it some text styles to offset alt text */ color:#c00; } img.left { margin:0 1.5em 0 0; } img.right { margin:0 0 0 1.5em; } /*--- FLASH/VIDEO ---*/ object, embed, video{ max-width:100%; height:auto; } /*------------------------------------*\ $FORMS \*------------------------------------*/ /* Unfortunately, and somewhat obviously, forms don�t fit the baseline all too well. Perhaps in a later version... */ fieldset{ padding:1.5em; border:1px solid #ccc; } label{ display:block; } .text-input{ /* With the advent of various HTML5 input types (email, url, etc) input[type=text] is no longer suitable for for styling non-textearea text-inputs. Use .text-input instead. */ } label, .text-input, textarea, .btn{ cursor:pointer; } .text-input:active, .text-input:focus, textarea:active, textarea:focus{ cursor:text; } /* A class of .check-list can be added to a