Created
August 18, 2012 18:27
-
-
Save keeperofthenecklace/3388885 to your computer and use it in GitHub Desktop.
app/assets/stylesheets/custom.css.scss
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
| @import "bootstrap"; | |
| /* forms */ | |
| input, textarea, select, .uneditable-input { | |
| border: 1px solid #bbb; | |
| width: 100%; | |
| padding: 10px; | |
| height: auto; | |
| margin-bottom: 15px; | |
| /*@include box_sizing;*/ | |
| } | |
| #error_explanation { | |
| color: #f00; | |
| ul { | |
| list-style: none; | |
| margin: 0 0 18px 0; | |
| } | |
| } | |
| .field_with_errors { | |
| @extend .control-group; | |
| @extend .error; | |
| } | |
| /* mixins, variables, etc. */ | |
| $grayLight: #999; | |
| $grayMediumLight: #eaeaea; | |
| @mixin box_sizing { | |
| -moz-box-sizing: border-box; | |
| -webkit-box-sizing: border-box; | |
| box-sizing: border-box; | |
| } | |
| /* miscellaneous */ | |
| .debug_dump { | |
| clear: both; | |
| float: left; | |
| width: 100%; | |
| margin-top: 45px; | |
| @include box_sizing; | |
| } | |
| /* sidebar */ | |
| aside { | |
| section { | |
| padding: 10px 0; | |
| border-top: 1px solid $grayLight; | |
| &:first-child { | |
| border: 0; | |
| padding-top: 20px; | |
| } | |
| span { | |
| display: block; | |
| margin-bottom: 3px; | |
| line-height: 1; | |
| } | |
| h1 { | |
| font-size: 1.1em; | |
| text-align: left; | |
| letter-spacing: -1px; | |
| margin-bottom: 3px; | |
| } | |
| } | |
| } | |
| .gravatar { | |
| float: left; | |
| margin-right: 10px; | |
| } | |
| /* universal */ | |
| html { | |
| overflow-y: scroll; | |
| } | |
| body { | |
| padding-top: 1px; | |
| } | |
| section { | |
| overflow: auto; | |
| } | |
| textarea { | |
| resize: vertical; | |
| } | |
| .center { | |
| text-align: center; | |
| h1 { | |
| margin-bottom: 10px; | |
| } | |
| } | |
| /* typography */ | |
| h1, h2, h3, h4, h5, h6 { | |
| line-height: 1; | |
| } | |
| h1 { | |
| font-size: 3em; | |
| letter-spacing: -2px; | |
| margin-bottom: 30px; | |
| text-align: center; | |
| } | |
| h2 { | |
| font-size: 1.7em; | |
| letter-spacing: -1px; | |
| margin-bottom: 30px; | |
| text-align: center; | |
| font-weight: normal; | |
| color: $grayLight; | |
| } | |
| p { | |
| font-size: 1.1em; | |
| line-height: 1.7em; | |
| } | |
| /* header */ | |
| #logo { | |
| float: left; | |
| margin-right: 10px; | |
| font-size: 1.7em; | |
| color: #CC3300; | |
| text-transform: uppercase; | |
| letter-spacing: -1px; | |
| padding-top: 9px; | |
| font-weight: bold; | |
| line-height: 1; | |
| &:hover { | |
| color: #fff; | |
| text-decoration: none; | |
| } | |
| } | |
| /* footer */ | |
| footer { | |
| margin-top: 45px; | |
| padding-top: 5px; | |
| border-top: 1px solid $grayMediumLight; | |
| color: $grayLight; | |
| a { | |
| color: $gray; | |
| &:hover { | |
| color: $grayDarker; | |
| } | |
| } | |
| small { | |
| float: left; | |
| } | |
| ul { | |
| float: right; | |
| list-style: none; | |
| li { | |
| float: left; | |
| margin-left: 10px; | |
| } | |
| } | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment