// Fonts $Helvetica: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; $Consolas: Consolas, Menlo, "Courier New", monospace; // Mixins @mixin border-radius($radius: 5px) { -webkit-background-clip: padding-box; -webkit-border-radius: $radius; -moz-background-clip: padding-box; -moz-border-radius: $radius; border-radius: $radius; background-clip: padding-box; } @mixin box-shadow($horizontal: 0px, $vertical: 1px, $blur: 2px, $color: #CCC) { -webkit-box-shadow: $horizontal $vertical $blur $color; -moz-box-shadow: $horizontal $vertical $blur $color; box-shadow: $horizontal $vertical $blur $color; } @mixin inset-box-shadow($horizontal: 0px, $vertical: 1px, $blur: 2px, $color: #CCC) { -webkit-box-shadow: inset $horizontal $vertical $blur $color; -moz-box-shadow: inset $horizontal $vertical $blur $color; box-shadow: inset $horizontal $vertical $blur $color; } @mixin multi-color-border($top, $sides, $bottom) { border-top: 1px solid $top; border-left: 1px solid $sides; border-right: 1px solid $sides; border-bottom: 1px solid $bottom; } @mixin multi-border-radius($topLeft: 5px, $topRight: 5px, $bottomRight: 5px, $bottomLeft: 5px) { -webkit-border-top-left-radius: $topLeft; -webkit-border-top-right-radius: $topRight; -webkit-border-bottom-right-radius: $bottomRight; -webkit-border-bottom-left-radius: $bottomLeft; -moz-border-radius-topleft: $topLeft; -moz-border-radius-topright: $topRight; -moz-border-radius-bottomright: $bottomRight; -moz-border-radius-bottomleft: $bottomLeft; border-top-left-radius: $topLeft; border-top-right-radius: $topRight; border-bottom-right-radius: $bottomRight; border-bottom-left-radius: $bottomLeft; } @mixin vertical-gradient($start: #000, $stop: #FFF) { background: ($start + $stop) / 2; background: -webkit-gradient(linear, left top, left bottom, from($start), to($stop)); background: -moz-linear-gradient(center top, $start 0%, $stop 100%); background: -moz-gradient(center top, $start 0%, $stop 100%); } @mixin vertical-gradient-with-image($image, $start: #000, $stop: #FFF) { background: ($start + $stop) / 2 $image; background: $image, -webkit-gradient(linear, left top, left bottom, from($start), to($stop)); background: $image, -moz-linear-gradient(center top, $start 0%, $stop 100%); background: $image, -moz-gradient(center top, $start 0%, $stop 100%); } @mixin opacity($op) { -khtml-opacity: $op; -moz-opacity: $op; opacity: $op; } // Page html, body { background: #F5F2F3 url('/static/images/bg.gif') top left repeat; } body { color: #666; font: normal 14px/16px $Helvetica; text-rendering: optimizeLegibility; li { line-height: normal; } } // Utils .group:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .hidden { display: none; } // Global header.main { background: #12343D url('/static/images/header-bg.gif') top left repeat-x; border-bottom: 1px solid #DDDDDD; height: 66px; position: relative; z-index: 50; div.inner { border-left: 1px solid rgba(229, 229, 229, .25); height: 65px; margin: 0 auto; position: relative; width: 939px; div.shadey { background: transparent url('/static/images/header-inner-bg.png') top left no-repeat; height: 65px; left: -157px; position: absolute; top: 0; width: 432px; z-index: 49; } h1 { float: left; position: relative; z-index: 50; a { background: transparent url('/static/images/logo.png') top left no-repeat; display: block; float: left; height: 35px; margin: 16px 0 0 16px; text-indent: -1000em; width: 87px; &:focus { outline: none; } } } form.search { float: left; padding: 17px 0 0 20px; position: relative; z-index: 50; input { background: #17484F url('/static/images/search-icon.png') top left no-repeat; background: rgba(43, 82, 93, .5) url('/static/images/search-icon.png') 8px center no-repeat; border: 1px solid #3A5E67; color: #FFF; font: normal 12px $Helvetica; height: auto; margin: 0; padding: 7px 7px 7px 28px; width: 154px; @include border-radius(3px); @include inset-box-shadow(0, 1px, 0px, #1D4249); &:focus { border-color: #62D5E1; } &::-webkit-input-placeholder { color: #72979C; } &:-moz-placeholder { color: #72979C; } } } nav.public { float: left; width: 435px; ul { margin: 0; padding: 17px 0 0 20px; li { display: block; float: left; a { border-bottom: 2px solid transparent; color: #FFF; display: block; float: left; font: 500 14px $Helvetica; padding: 6px 7px 5px 7px; margin-right: 16px; text-decoration: none; -webkit-transition: border .08s linear; -moz-transition: border .08s linear; -o-transition: border .08s linear; transition: border .08s linear; &:hover { border-bottom: 2px solid #3A5E67; } &.active { border-bottom: 2px solid #85D2DD; } } button#add-snipt { font-weight: bold; margin-top: -3px; padding: 7px 12px 9px 12px; i { margin-left: 5px; margin-top: 2px; } } &.add-snipt { float: right; margin-right: 13px; } } } } aside.nav { border-left: 1px solid rgba(229, 229, 229, .25); float: right; height: 65px; margin: 0; position: relative; width: 189px; a.mini-profile { border-right: 1px solid rgba(#4D6768, .25); display: block; padding: 14px 13px 11px 13px; span.avatar { background-repeat: no-repeat; border: 1px solid #3A5E67; display: block; float: left; height: 35px; width: 35px; @include border-radius(); } span.info { span.username { color: #FFF; display: inline-block; font: 500 14px $Helvetica; margin: 1px 0 0 8px; max-width: 88px; overflow: hidden; text-overflow: ellipsis; } i { display: block; float: right; margin: 1px 0 0 8px; opacity: .3; } span.type { color: #72979C; display: inline-block; font: bold 11px $Helvetica; margin: 1px 0 0 8px; min-width: 100px; padding-bottom: 7px; text-transform: uppercase; span.is-pro { color: #3299B7; font-style: italic; } } } &:hover { background: rgba(#5C8086, .2); text-decoration: none; i { background-position: -313px -119px; } } } ul { background: transparent url('/static/images/aside-nav-open-bottom-bg.gif') top left repeat; display: none; left: 0; margin: 0; padding: 10px 0; position: absolute; top: 65px; width: 189px; z-index: 51; @include multi-border-radius(0, 0, 10px, 10px); li { list-style-type: none; a { color: #B0D7DD; display: block; font: bold 12px $Helvetica; padding: 7px 0 7px 37px; &:hover { background: rgba(#103A42, .5); text-decoration: none; } i { margin-right: 9px; opacity: .3; } } } } &.open { a.mini-profile { background: transparent url('/static/images/aside-nav-open-top-bg.gif') top left repeat-x; opacity: 1; span.avatar { border-color: #92B6BD; } i { background-position: -288px -120px; } span.info { span.type { color: #B0D7DD; span.is-pro { color: #85D2DD; } } } } ul { display: block; } } } } } header.sub { @include vertical-gradient(#ECECEC, #DBDBDB); div.inner { border-left: 1px solid #d0d0d0; margin: 0 auto; position: relative; width: 939px; z-index: 49; ul.bcrumb { border-right: 1px solid #d0d0d0; float: left; margin: 0; padding-left: 16px; width: 733px; li { display: inline-block; line-height: normal; max-width: 490px; overflow: hidden; padding: 2px 0 4px 0; text-overflow: ellipsis; white-space: nowrap; a { color: #999999; font: bold 12px $Consolas; text-decoration: none; text-shadow: 0 1px 0 #FFF; &:hover { text-decoration: underline; } } &.rss { float: right; a { background: transparent url('/static/images/rss-icon.png') center left no-repeat; display: inline-block; margin-right: 15px; padding-left: 15px; } } } .prompt { color: #999999; font: bold 12px $Consolas; margin-right: 3px; text-shadow: 0 1px 0 #FFF; } span.prompt { margin-left: 3px; } } div.shortcuts { color: #999999; float: right; font: bold 12px $Consolas; padding-top: 4px; text-shadow: 0 1px 0 #FFF; } } } section.main { height: 100%; margin: 0 auto; position: relative; width: 940px; div.ruler { background: #DDDDDD; height: 100%; position: fixed; top: 0; width: 1px; z-index: 48; } div.left-y { margin-left: 0; } div.right-y { margin-left: 750px; } div.inner { float: left; margin-left: 1px; width: 749px; } aside.main { float: right; padding-top: 30px; width: 190px; section.ad { margin: 0 0 30px 15px; div.carbonad { border-width: 1px; height: 231px; width: auto; @include border-radius(5px); div#azcarbon { span.carbonad-image { a { img { margin-left: 21px; margin-top: 21px; } } } span.carbonad-text { color: #999999; margin-left: 21px; a { color: #999999; } } span.carbonad-tag { margin-left: 0; text-align: center; width: 100%; a { margin-left: 3px; } } } } } section.tags { margin: 0 0 30px 15px; h1 { background: transparent url('/static/images/tags-icon.png') 0 0 no-repeat; color: #3BAAF3; font: bold 12px $Helvetica; padding-bottom: 5px; padding-left: 22px; } ul { margin: 0 0 15px 0; li { list-style-type: none; margin: 6px 0 6px 22px; } } a { border-bottom: 1px solid #5AB6F4; color: #5AB6F4; font: normal 12px $Helvetica; text-decoration: none; &:hover { border-bottom: 1px solid #2B6E9B; color: #2B6E9B; } &.view-all { font-weight: bold; margin: 0 0 0 22px; } &.active { border-bottom: 1px solid #2B6E9B; color: #2B6E9B; } } a.all-tags { font-weight: bold; margin-left: 22px; } } nav.footer { margin: 0 15px 32px; ul { margin: 0; li { background: transparent url('/static/images/api-icon.png') center left no-repeat; list-style-type: none; margin: 6px 0 6px 0; padding-left: 22px; a { border-bottom: 1px solid #999; color: #999; font: bold 12px $Helvetica; text-decoration: none; &:hover { border-bottom: 1px solid #333; color: #333; } &.active { border-bottom: 1px solid #333; color: #333; } } &.twitter { background: transparent url('/static/images/twitter-icon.png') 4px center no-repeat; } &.pro { background: transparent url('/static/images/upgrade-icon.png') 2px center no-repeat; } &.groups { background: transparent url('/static/images/groups-icon.png') 2px center no-repeat; } &:first-of-type { margin-top: 0; } &.blog { background: transparent url('/static/images/blog-icon.png') 3px center no-repeat; } &.roadmap { background: transparent url('/static/images/roadmap-icon.png') 2px center no-repeat; } } } } section.tag-detail { margin: -12px 0 30px 15px; div.heading { border-bottom: 1px solid #DDDDDD; h1 { background: #F5F3F5; color: #3BAAF3; display: inline-block; font: bold 12px $Helvetica; text-transform: uppercase; margin-left: 16px; padding: 0 6px; position: relative; top: 8px; } } section.amazon { height: 122px; margin-top: 22px; ul { height: 85px; margin: 0; li { height: 85px; list-style-type: none; a { background-repeat: no-repeat; background-size: 50px; color: #797B7A; display: inline-block; font: bold 11px $Helvetica; padding: 0 0 0 60px; span.title { display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 115px; } span.description { color: #999; display: inline-block; font: normal 11px $Helvetica; height: 65px; line-height: 13px; margin: 5px 0 0 0; overflow: hidden; } &:hover { span.title { text-decoration: underline; } } } } } div.more { background: #FFF; margin-top: 10px; border-top: 1px solid #E5E5E5; @include multi-border-radius(0, 0, 5px, 5px); span { color: #ADADAD; display: inline-block; font: bold 11px $Helvetica; margin-top: 6px; text-align: center; text-transform: uppercase; width: 123px; } a { display: block; padding: 5px; i { display: inline-block; @include opacity(.4); } &.see-previous { float: left; } &.see-next { float: right; } &:hover { i { @include opacity(1); } } } } } } } div.rochester-made { margin: 50px 0 30px 0; text-align: center; } } section.main-edit { div.inner { float: none; width: 100%; } } article.snipt { margin: 30px 0; position: relative; div.number { color: #CCC; font: normal 12px $Helvetica; left: -115px; position: absolute; text-align: right; top: 4px; width: 100px; } div.container { background: #FFF; border: 1px solid #DDD; border-left: 0; float: left; position: relative; width: 618px; div.ruler { background: #DDD; height: 1px; left: -3000px; position: absolute; top: auto; width: 3000px; } div.top-x { top: -1px; } div.bottom-x { bottom: -1px; } header { border-bottom: 1px solid #F1F1EE; min-height: 58px; @include inset-box-shadow(0, -1px, 0, #FFF); @include vertical-gradient(#FFF, #FFFAF2); h1 { clear: left; font: bold 16px/20px $Helvetica; margin: 8px 15px 10px 15px; a { color: #666; display: block; overflow: hidden; text-overflow: ellipsis; text-decoration: none; white-space: nowrap; -webkit-transition: color .08s linear; -moz-transition: color .08s linear; -o-transition: color .08s linear; transition: color .08s linear; &:hover { color: #3BAAF3; } } } h2 { border: 1px solid #E9E9E9; border-top: 0; color: #73BBC5; display: inline-block; font: normal 12px $Helvetica; margin-left: 15px; padding: 3px 8px 2px 8px; } } section.code { height: 200px; overflow: hidden; position: relative; z-index: 49; div.highlight { pre { background: transparent; border: none; font: normal 12px/16px $Consolas; font-weight: normal !important; overflow-x: auto; margin: 0 15px; min-height: 173px; padding: 13px 0; } } div.markdown { pre { min-height: 0; margin: 20px 0 !important; } } a.expand { background: #FFF url('/static/images/expand.png') 15px 18px no-repeat; border-top: 1px solid #F1F1EE; bottom: 0; color: #999999; display: block; font: bold 12px $Helvetica; padding: 15px 40px 15px 40px; position: absolute; text-decoration: none; text-transform: uppercase; width: 100%; @include box-shadow(0, -25px, 25px, #FFF); span.collapse { display: none; } span.lines { font: normal 10px $Helvetica; margin-left: 5px; vertical-align: 1px; } &:hover { color: #3BAAF3; font-weight: bold; } &:focus { outline: none; } } textarea.raw { display: none; } div.markdown { margin: 0 15px; min-height: 173px; padding: 13px 0 4px 0; } } section.emacs, section.default { a.expand { @include box-shadow(0, -25px, 25px, #F8F8F8); } } section.friendly { a.expand { @include box-shadow(0, -25px, 25px, #F0F0F0); } } section.fruity { a.expand { @include box-shadow(0, -25px, 25px, #111111); } } section.manni { a.expand { @include box-shadow(0, -25px, 25px, #F0F3F3); } } section.monokai { a.expand { @include box-shadow(0, -25px, 25px, #272822); } } section.native { a.expand { @include box-shadow(0, -25px, 25px, #202020); } } section.perldoc { a.expand { @include box-shadow(0, -25px, 25px, #EEEEDD); } } section.tango { a.expand { @include box-shadow(0, -25px, 25px, #F8F8F8); } } &:after { background: transparent url('/static/images/snipt-drop-shadow.png') top left no-repeat; bottom: -15px; content: ""; display: block; height: 15px; position: absolute; right: 0px; width: 318px; z-index: 51; } div.markdown { line-height: 20px; h1, h2, h3, h4, h5, h6 { margin-bottom: 9px; } h1 { font-size: 20px; } h2 { font-size: 19px; } h3 { font-size: 18px; } h4 { font-size: 17px; } h5 { font-size: 16px; } h6 { font-size: 15px; } li { font-size: 13px; line-height: 20px; margin: 9px 0; } iframe { max-width: 100%; } } } aside { float: right; margin: 23px 30px 0 0; width: 100px; ul.options { margin: 0; li { list-style-type: none; margin: 2px 0; a { background: rgba(128, 128, 128, .15) url('/static/images/edit-icon.png') 14px center no-repeat; color: #000; display: block; font: bold 12px $Helvetica; opacity: .5; padding: 7px 10px 7px 35px; position: relative; text-decoration: none; &:hover, &.hover { background-color: rgba(128, 128, 128, .18); opacity: 1; text-decoration: none; } &.edit { &:after { background: #F5F2F3; content: ""; height: 20px; position: absolute; right: 5px; top: -3px; width: 3px; -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); } } &.embed { background-image: url('/static/images/embed-icon.png'); } &.copy { background-image: url('/static/images/copy-icon.png'); } &.favorite { background-image: url('/static/images/favorite-icon.png'); } } } } section.tags { padding-top: 15px; h2 { background: transparent url('/static/images/snipt-tags-icon.png') 15px center no-repeat; color: #999999; font: bold 12px $Helvetica; padding: 7px 0 7px 35px; } ul { margin: 0; li { list-style-type: none; margin: 5px 10px 5px 35px; a { border-bottom: 1px solid #999; color: #999; display: inline-block; font: normal 12px $Helvetica; max-width: 72px; overflow: hidden; text-overflow: ellipsis; text-decoration: none; white-space: nowrap; &:hover { border-color: #000; color: #000; } } } &.expanded { li { display: block; } } } } } footer { clear: both; padding-bottom: 20px; ul.attrs { margin: 15px 0 0 15px; li { background: transparent url('/static/images/calendar-icon.png') top left no-repeat; color: #999; display: inline; font: normal 12px $Helvetica; margin-right: 15px; padding: 1px 0 0 24px; a { color: #999; font: normal 12px $Helvetica; text-decoration: none; &:hover { text-decoration: underline; } } &.author { background-image: none; padding-left: 0; span.avatar { background-color: transparent; background-position: top left; background-repeat: no-repeat; display: inline-block; height: 15px; margin-right: 7px; vertical-align: -3px; width: 15px; @include border-radius(3px); } span.pro { a { color: #3299B7; font: italic bold 10px $Helvetica; margin-left: 5px; text-transform: uppercase; &:hover { text-decoration: underline; } } } } &.comments { background: transparent url('/static/images/comments-icon.png') 0 2px no-repeat; } &.tweet { background: none; float: right; margin: -1px 130px 0 0; padding: 0; a { color: transparent; } } } } } div.expanded { section.code { height: auto; div.highlight { pre { padding-bottom: 60px; } } div.markdown { padding-bottom: 52px; } a.expand { background-image: url('/static/images/collapse.png'); -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; span.expand { display: none; } span.collapse { display: inline; } span.lines { display: none; } } } } div.modal { textarea { font: normal 12px/16px $Consolas; height: 200px; margin: 0; width: 520px; } } &.selected { div.container { -webkit-box-shadow: 0 0 20px #85D2DD; -moz-box-shadow: 0 0 20px #85D2DD; box-shadow: 0 0 20px #85D2DD; &:after { display: none; } } } &.favorited { div.container { header { @include vertical-gradient-with-image(url('/static/images/favorited-icon.png') top right no-repeat, #FFF, #FFFAF2); h1 { a { padding-right: 25px; } } } } } &.blog-post { div.container { header { @include vertical-gradient(#FFF, #F0F4FC); @include inset-box-shadow(0, -1px, 0, #E3E9F5); } } } &.snipt-expand { div.container { section.code { height: auto; } } } } article.private-snipt { div.container { header { @include vertical-gradient-with-image(url('/static/images/private-icon.png') top right no-repeat, #FFF, #FFFAF2); h1 { a { padding-right: 25px; } } } } &.blog-post { div.container { header { @include vertical-gradient-with-image(url('/static/images/private-icon.png') top right no-repeat, #FFF, #F0F4FC); h1 { a { padding-right: 25px; } } } } } } div.pagination { margin: 0 15px 35px 15px; text-align: center; ul { background: #FFF; li { a { color: #3BAAF3; } &.next { a { line-height: 33px; padding-bottom: 1px; } } &.prev { a { line-height: 33px; padding-bottom: 1px; } } } } } div.modal { .modal-header { .close { line-height: 20px; margin-top: 0; } h3 { line-height: 0; span { display: inline-block; line-height: 27px; max-width: 400px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } h4 { color: #AAA; margin-top: 1px; } } } div#disqus_thread { margin-bottom: 0; margin-left: 15px; width: 825px; #dsq-content { margin-top: -38px; #dsq-global-toolbar { margin-bottom: 18px; margin-top: 0; } #dsq-sort-by { display: none; } .dsq-comment-text { color: #666; } h3 { display: none; } .dsq-textarea-wrapper { overflow: hidden; } } #dsq-footer { display: none; } } div.modal { div.modal-body { max-height: 514px; } } div#keyboard-shortcuts { height: 95%; margin-top: 0; top: 20px; table { margin-bottom: 0; } div.modal-body { max-height: inherit; } } div.profile { background: rgba(128, 128, 128, .08); margin: 0 0 30px 15px; padding: 10px; @include border-radius(8px); span.avatar { background-color: transparent; background-position: top left; background-repeat: no-repeat; display: block; float: left; height: 50px; width: 50px; @include border-radius(5px); } div.meta { display: block; float: left; font: bold 14px $Helvetica; margin: 0 0 0 10px; div.username { max-width: 95px; overflow: hidden; text-overflow: ellipsis; } div.member-since { color: #909090; font: bold 10px $Helvetica; margin-top: 6px; text-transform: uppercase; } } } div.empty-snipts { background: rgba(128, 128, 128, .08); font: bold 18px $Helvetica; margin: 30px 15px 0 15px; padding: 10px; text-align: center; text-shadow: 0 1px 1px #FFF; @include border-radius(8px); } // Pages body.detail { div.right-y { display: none; } section.main { div.inner { width: 100%; section.snipts { article.snipt { margin-bottom: 0; div.container { width: 839px; header { h1 { a { white-space: normal; } } } section.code { height: auto; } } aside { margin-right: 0; } } } } } footer { ul.attrs { li.tweet { margin-right: 217px; } } } div.rochester-made { width: 840px; } } body.static { .static-box { background: rgba(#FFF, .65); border: 1px solid #DDDDDD; margin: 30px; padding: 20px; @include border-radius(4px); div.form-actions { margin-bottom: 0; padding-bottom: 0; @include vertical-gradient(#F5F5F5, #FBFBFB); a.pull-right { margin-left: 5px; } } div.alert { ul { margin: 0; li { list-style-type: none; } } } div.alert-info { a { color: #3A87AD; text-decoration: underline; } } ul { margin-bottom: 15px; margin-top: 15px; li { font-size: 13px; line-height: 18px; margin: 5px 0; } } h3 { margin-bottom: 20px; } p { line-height: 20px; margin: 15px 0; } } aside.main { padding-top: 20px; nav.footer { margin-top: 10px; } } div.alert-alone { margin: 0; } form.form-horizontal { legend + .control-group { margin-top: 0; } div.form-actions { margin-top: 27px; } fieldset { padding-top: 27px; legend { margin: 0; } } } div#disqus_thread { margin-left: 20px; width: 709px; div#dsq-content { margin-top: 23px; } } } body.editing { header.main, header.sub { display: none; } header.fixed-save { background: #FFF url('/static/images/header-fixed-save.gif') top left repeat; border-bottom: 1px solid #DDDDDD; height: 40px; left: 0; position: fixed; top: 0; width: 100%; z-index: 49; div.inner { float: none; margin: 0 auto; padding-top: 6px; width: 940px; .cancel, .save, .save-and-close { float: right; margin-left: 10px; } .save-and-close { margin-right: 242px; } } } section.main { div.inner { section.snipts { article.editing { margin-top: 50px; div.container { width: 696px; section.code { padding: 13px 11px; div#editor { border: none; font: normal 12px/16px $Consolas; font-weight: normal !important; margin: 0; position: relative; .ace_print_margin { display: none; } } } header { h1 { margin-left: 9px; margin-top: 5px; margin-bottom: 6px; input { color: #666; font: bold 16px/20px $Helvetica; margin: 0; width: 811px; width: 668px; } } h2 { border: none; } } } aside { margin-top: 0; width: 243px; div.in { padding-left: 10px; label { margin: 20px 0; & > span { color: #32A8F6; display: block; font: bold 12px $Helvetica; margin-bottom: 5px; text-transform: uppercase; } } & > label { margin-top: 6px; } textarea { height: 100px; padding: 7px 9px; width: 202px; } label.public, label.blog-post { background: #EFEEEF; border: 1px solid #DDDDDD; cursor: pointer; margin-right: 11px; padding: 3px 5px; @include border-radius; input { display: inline-block; margin: 4px 4px 0 4px; &:focus { outline: none; } } span { color: #7B7B79; display: inline-block; text-transform: none; vertical-align: -3px; } &.is-private { background: #EFEEEF url('/static/images/private-icon-edit.png') 199px center no-repeat; } &.is-public { background: #F2DEDE; border: 1px solid #EED3D7; span { color: #B94A48; } } &.is-blog-post { background: #DAE3EE; border: 1px solid #C8D1DE; } } } } } } } } } body.error { section.main { div.inner { color: #CCC; font: bold 50px $Helvetica; padding: 63px 0; text-align: center; text-transform: uppercase; } } div.rochester-made { margin-top: 54px; } } body.search { div.empty-snipts { margin-top: 20px; } div.static-box { border-left: 0; margin-left: 0; margin-right: 30px; @include multi-border-radius(0px, 4px, 4px, 0px); form { margin-bottom: 0; input.search-query { width: 589px; } button { padding: 4px 16px 4px; } } } } body.api { section.main { div.inner { section.snipts { article.snipt { div.container { header { h1 { a { white-space: normal; } } } section.code { height: auto; } } } } } aside.api-info { float: right; width: 190px; div.api-inner { background: rgba(#99D0DA, .3); font: normal 11px $Helvetica; margin: 0 0 30px 15px; padding: 10px; @include border-radius(8px); h5 { margin-bottom: 5px; } ul { margin: 0; li { margin: 2px 0; list-style-type: none; input { margin-bottom: 0; margin-top: 5px; width: 145px; } } } } &.api-creds { div.api-inner { margin-bottom: 0; } } &.immediate-help { margin-top: 20px; p { margin: 0; } } } aside.main { nav.footer { float: left; margin-bottom: 0; } } } div#disqus_thread { width: 719px; } } body.blog { article.snipt { section.code { height: auto; } } } body.pro { h2 { span.pro { color: #3299B7; font-style: italic; font-weight: bold; } } h3, h4 { text-align: center; } } body.tags { div.alert { margin: 30px 30px 10px 30px; } div.static-box { margin-top: 10px; ul { margin-top: 0; } } div.pagination { margin-bottom: 8px; margin-top: 20px; } aside.main { padding-top: 30px; } }