forked from carmichaelize/carmichaelize.css
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcarmichaelize.min.css
4 lines (4 loc) · 4.82 KB
/
carmichaelize.min.css
1
2
3
4
/* CARMICHAELIZE.CSS - BETA - VERSION .9 - https://github.com/scottyc1000/carmichaelize.css - I'LL DECIDE WHAT THE BROWSER RENDERS!!!====================================================================================================
This reset is a collection (and extension) of commonly used methods found in other css resets such as:# Eric Meyer - (http://meyerweb.com/eric/tools/css/reset/)# Normalize - (http://necolas.github.com/normalize.css/)# HTML5 Doctor - (http://html5doctor.com/html-5-reset-stylesheet/)Techniques have been dropped,mashed,altered and added to by myself to create a more relevant method of showing the browser whose boss.It hasn't of yet been tested on a full website build by myself and may still contain underlying issues and bugs,yet to be addressed.Pixels are the primary unit of measurement. I'm looking at including a comprehensive font standardisation sometime in the future.I created CARMICHAELIZE.CSS because I'm frustrated with having to extend existing resets with the specifics of the way I work. Included also,are some common hooking classes I like to use when working with HTML & CSS.Scott Carmichael - http://www.scottcarmichael.co.uk/=======================================*/
/* Main Element Reset==============================*/html,body,div,span,article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary,applet,object,iframe,img,audio,canvas,video,dl,dt,dd,ol,ul,li,figure,form,fieldset,legend,label,table,caption,tbody,tfoot,thead,tr,th,td,p,pre,a,abbr,acronym,address,big,small,cite,code,q,blockquote,strike,del,b,strong,i,em,sub,sup{background:none;border:none;outline:none;vertical-align:baseline}html,body,div,article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary,applet,object,iframe,audio,canvas,video,dl,dt,dd,ol,ul,li,figure,form,fieldset,legend,table,caption,tbody,tfoot,thead,tr,th,td,p,pre,q,blockquote{margin:0;padding:0}html,body{min-height:100%}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}/* HTML5 Resets & Fixes =================*/
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block}/* Links & Anchors=======================================================*/a{color:#000;text-decoration:none;outline:none}/* Heading Tags ======================================================*/ h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1{font-size:20px}h2{font-size:18px}h3{font-size:16px}h4{font-size:14px}h5{font-size:14px}h6{font-size:14px}/* Text Formatting =========================================*/p,pre{margin-bottom:15px}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}b,strong{font-weight:bold}i,em,cite{font-style:italic}big{font-size:16px}small{font-size:12px}abbr[title],acronym{border-bottom:1px dotted}mark{background:#ff0;color:#000}del,strike{text-decoration:line-through}pre,code,.codeBlock{font-family:monospace,serif;_font-family:'courier new',monospace}blockquote{margin:13px 30px}q{quotes:none}q:before,q:after{content:'"'}sub,sup{font-size:11px;line-height:0;position:relative}sup{top:-5px}sub{bottom:-2px}/* Lists & Organisation==============================================*/ul,ol,dl{list-style-image:none;list-style-position:inside;padding-left:30px}nav ul,nav ol{list-style-type:none;list-style-image:none}hr{display:block;height:1px;border:none;border-top:1px solid #888;margin:15px 0;padding:0}/* Form Resets & Fixes ========================================*/fieldset{border:1px solid #000;padding:15px}legend{white-space:normal;*margin-left:-7px}button,input,select,textarea{font-family:sans-serif;*vertical-align:middle;outline:none}button,input{line-height:normal}textarea{overflow:auto;vertical-align:top;resize:none}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*height:13px;*width:13px}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:none;padding:0}/* Embedded / Rich Media & Content =====================================*/audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none;height:0}[hidden]{display:none}img{-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}/* Tables ======================================*/table{border-collapse:collapse;border-spacing:0}td{vertical-align:top}/* Hooking Classes ===================================*/.clear{clear:both}.alignleft{float:left}.alignright{float:right}.displayHide{display:none}.displayShow{display:block}.invisible{visibility:hidden}.visible{visibility:visible}