Created
July 28, 2012 11:42
-
-
Save dezinezync/3192943 to your computer and use it in GitHub Desktop.
Bootstrap LESS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //LESS.JS MIXINS | |
| .border-radius(@radius) { | |
| border-radius: @radius; | |
| -webkit-border-radius: @radius; | |
| -moz-border-radius: @radius; | |
| -o-border-radius: @radius; | |
| } | |
| .box-shadow(@shadow) { | |
| box-shadow: @shadow; | |
| -webkit-box-shadow: @shadow; | |
| -moz-box-shadow: @shadow; | |
| -o-box-shadow: @shadow; | |
| } | |
| .gradient-vertical(@startColor: #555, @endColor: #333) { | |
| background-color: @endColor; | |
| background-repeat: repeat-x; | |
| background-image: -khtml-gradient(linear, left top, left bottom, from(@startColor), to(@endColor)); // Konqueror | |
| background-image: -moz-linear-gradient(@startColor, @endColor); // FF 3.6+ | |
| background-image: -ms-linear-gradient(@startColor, @endColor); // IE10 | |
| background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, @startColor), color-stop(100%, @endColor)); // Safari 4+, Chrome 2+ | |
| background-image: -webkit-linear-gradient(@startColor, @endColor); // Safari 5.1+, Chrome 10+ | |
| background-image: -o-linear-gradient(@startColor, @endColor); // Opera 11.10 | |
| background-image: linear-gradient(@startColor, @endColor); // The standard | |
| } | |
| //LESS.JS MIXINS ENDS | |
| /*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */ | |
| /* ============================================================================= | |
| HTML5 display definitions | |
| ========================================================================== */ | |
| article, | |
| aside, | |
| details, | |
| figcaption, | |
| figure, | |
| footer, | |
| header, | |
| hgroup, | |
| nav, | |
| section, | |
| summary { | |
| display: block; | |
| } | |
| audio, | |
| canvas, | |
| video { | |
| display: inline-block; | |
| *display: inline; | |
| *zoom: 1; | |
| } | |
| audio:not([controls]) { | |
| display: none; | |
| height: 0; | |
| } | |
| [hidden] { | |
| display: none; | |
| } | |
| html { | |
| font-size: 100%; /* 1 */ | |
| -webkit-text-size-adjust: 100%; /* 2 */ | |
| -ms-text-size-adjust: 100%; /* 2 */ | |
| } | |
| html, | |
| button, | |
| input, | |
| select, | |
| textarea { | |
| font-family: sans-serif; | |
| } | |
| body { | |
| margin: 0; | |
| } | |
| a:focus { | |
| outline: thin dotted; | |
| } | |
| a:hover, | |
| a:active { | |
| outline: 0; | |
| } | |
| h1 { | |
| font-size: 2em; | |
| margin: 0.67em 0; | |
| } | |
| h2 { | |
| font-size: 1.5em; | |
| margin: 0.83em 0; | |
| } | |
| h3 { | |
| font-size: 1.17em; | |
| margin: 1em 0; | |
| } | |
| h4 { | |
| font-size: 1em; | |
| margin: 1.33em 0; | |
| } | |
| h5 { | |
| font-size: 0.83em; | |
| margin: 1.67em 0; | |
| } | |
| h6 { | |
| font-size: 0.75em; | |
| margin: 2.33em 0; | |
| } | |
| abbr[title] { | |
| border-bottom: 1px dotted; | |
| } | |
| b, | |
| strong { | |
| font-weight: bold; | |
| } | |
| blockquote { | |
| margin: 1em 40px; | |
| } | |
| dfn { | |
| font-style: italic; | |
| } | |
| mark { | |
| background: #ff0; | |
| color: #000; | |
| } | |
| p, | |
| pre { | |
| margin: 1em 0; | |
| } | |
| pre, | |
| code, | |
| kbd, | |
| samp { | |
| font-family: monospace, serif; | |
| _font-family: 'courier new', monospace; | |
| font-size: 1em; | |
| } | |
| pre { | |
| white-space: pre; | |
| white-space: pre-wrap; | |
| word-wrap: break-word; | |
| } | |
| q { | |
| quotes: none; | |
| } | |
| q:before, | |
| q:after { | |
| content: ''; | |
| content: none; | |
| } | |
| small { | |
| font-size: 75%; | |
| } | |
| sub, | |
| sup { | |
| font-size: 75%; | |
| line-height: 0; | |
| position: relative; | |
| vertical-align: baseline; | |
| } | |
| sup { | |
| top: -0.5em; | |
| } | |
| sub { | |
| bottom: -0.25em; | |
| } | |
| dl, | |
| menu, | |
| ol, | |
| ul { | |
| margin: 1em 0; | |
| } | |
| dd { | |
| margin: 0 0 0 40px; | |
| } | |
| menu, | |
| ol, | |
| ul { | |
| padding: 0 0 0 40px; | |
| } | |
| nav ul, | |
| nav ol { | |
| list-style: none; | |
| list-style-image: none; | |
| } | |
| img { | |
| border: 0; /* 1 */ | |
| -ms-interpolation-mode: bicubic; /* 2 */ | |
| } | |
| svg:not(:root) { | |
| overflow: hidden; | |
| } | |
| figure { | |
| margin: 0; | |
| } | |
| form { | |
| margin: 0; | |
| } | |
| fieldset { | |
| border: 1px solid #c0c0c0; | |
| margin: 0 2px; | |
| padding: 0.35em 0.625em 0.75em; | |
| } | |
| legend { | |
| border: 0; /* 1 */ | |
| padding: 0; | |
| white-space: normal; /* 2 */ | |
| *margin-left: -7px; /* 3 */ | |
| } | |
| button, | |
| input, | |
| select, | |
| textarea { | |
| font-size: 100%; /* 1 */ | |
| margin: 0; /* 2 */ | |
| vertical-align: baseline; /* 3 */ | |
| *vertical-align: middle; /* 3 */ | |
| } | |
| button, | |
| input { | |
| line-height: normal; /* 1 */ | |
| } | |
| button, | |
| input[type="button"], | |
| input[type="reset"], | |
| input[type="submit"] { | |
| cursor: pointer; /* 1 */ | |
| -webkit-appearance: button; /* 2 */ | |
| *overflow: visible; /* 3 */ | |
| } | |
| button[disabled], | |
| input[disabled] { | |
| cursor: default; | |
| } | |
| input[type="checkbox"], | |
| input[type="radio"] { | |
| box-sizing: border-box; /* 1 */ | |
| padding: 0; /* 2 */ | |
| *height: 13px; /* 3 */ | |
| *width: 13px; /* 3 */ | |
| } | |
| input[type="search"] { | |
| -webkit-appearance: textfield; /* 1 */ | |
| -moz-box-sizing: content-box; | |
| -webkit-box-sizing: content-box; /* 2 */ | |
| 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: 0; | |
| padding: 0; | |
| } | |
| textarea { | |
| overflow: auto; /* 1 */ | |
| vertical-align: top; /* 2 */ | |
| } | |
| table { | |
| border-collapse: collapse; | |
| border-spacing: 0; | |
| } | |
| /* MAIN css */ | |
| a { | |
| text-decoration: none; | |
| } | |
| .hidetext{ | |
| text-indent:100%; | |
| white-space:nowrap; | |
| overflow:hidden | |
| } | |
| .clear { | |
| clear: both; | |
| } | |
| h1,h2,h3,h4,h5,h6 { | |
| padding: 0; | |
| margin: 0; | |
| } | |
| body { | |
| font: 14px/22px "Helvetica Neue", sans-serif; | |
| color: #000; | |
| background: #fff; | |
| -webkit-font-smoothing: subpixel-antialiased; | |
| } | |
| .container { | |
| width: 100%; | |
| max-width: 940px; | |
| margin: 0 auto; | |
| padding: 0 10px; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment