// Fonts $Helvetica: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; $Consolas: Consolas, Menlo, "Courier New", monospace; $RockwellBoldItalic: 'Rockwell Bold Italic', 'Courier Bold', Courier, Georgia, Times, 'Times New Roman', serif; $Rockwell: 'Rockwell', 'Courier Bold', Courier, Georgia, Times, 'Times New Roman', serif; @font-face { font-family: 'Rockwell'; src: url('/static/fonts/rockwell-standard.eot'); src: url('/static/fonts/rockwell-standard.eot?#iefix') format('embedded-opentype'), url('/static/fonts/rockwell-standard.woff') format('woff'), url('/static/fonts/rockwell-standard.ttf') format('truetype'); } @font-face { font-family: 'Rockwell Bold Italic'; src: url('/static/fonts/rockwell-bold-italic.eot'); src: url('/static/fonts/rockwell-bold-italic.eot?#iefix') format('embedded-opentype'), url('/static/fonts/rockwell-bold-italic.woff') format('woff'), url('/static/fonts/rockwell-bold-italic.ttf') format('truetype'); } // 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: #F2F2F2; } 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; } [ng\:cloak], [ng-cloak], .ng-cloak { 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; margin: 0; position: relative; z-index: 50; a { color: #F9F9F9; display: block; font: normal 36px $RockwellBoldItalic; float: left; letter-spacing: -1px; margin: 11px 0 0 16px; text-decoration: none; text-shadow: 0 1px 2px black; span { color: #87D2DC; } &:focus { outline: none; } &:hover { text-shadow: 0 0 100px white; } } } 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 .03s linear; -moz-transition: border .03s linear; -o-transition: border .03s linear; transition: border .03s linear; &:hover { border-bottom: 2px solid #3A5E67; } &.active { border-bottom: 2px solid #85D2DD; } } button#add-snipt { font-size: 15px; 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; div.save-nate { a { background: #0D353C; border: 4px solid #2D8DA8; color: #83D2DD; display: block; font: bold 14px $Helvetica; margin: 0 0 30px 15px; padding: 10px 0; text-align: center; text-decoration: none; text-transform: uppercase; @include border-radius; &:hover { background: #124B55; color: #8FE6F2; } } } section.ad { margin: 0 0 0 15px; div.carbonad { border-width: 1px; border-bottom: 0; height: 231px; width: auto; @include multi-border-radius(5px, 5px, 0, 0); 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; } } } } } div.go-pro { background: #FBFBFB; border: 1px solid #E8E8E8; margin: 0 0 30px 15px; text-align: center; padding: 18px 0; text-shadow: 0 1px 0 blue; @include multi-border-radius(0, 0, 5px, 5px); } 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-left: 22px; } } a { color: #5AB6F4; display: block; font: normal 12px $Helvetica; padding: 3px 0; text-decoration: none; span { border-bottom: 1px solid #5AB6F4; } &:hover { span { border-bottom: 1px solid #2B6E9B; color: #2B6E9B; } } &.view-all { font-weight: bold; margin: 0 0 0 22px; } &.active { span { border-bottom: 1px solid #2B6E9B; color: #2B6E9B; } } } a.all-tags { font-weight: bold; margin-left: 22px; span { border-bottom: 1px solid #5AB6F4; } } a.alt-link { display: inline-block; font-weight: bold; margin: 0 0 10px 22px; &.active { color: #2B6E9B; } &.favorites { margin-bottom: 0; } } } nav.footer { margin: 0 0 32px 15px; ul { margin: 0; li { background: transparent url('/static/images/api-icon.png') center left no-repeat; list-style-type: none; margin: 0; padding-left: 22px; a { color: #999; display: block; font: bold 12px $Helvetica; padding: 3px 0; text-decoration: none; span { border-bottom: 1px solid #999; } &:hover { span { border-bottom: 1px solid #333; color: #333; } } &.active { span { border-bottom: 1px solid #333; color: #333; } } } &.api { padding-top: 1px; } &.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 { a { padding-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; } } } } div.linode { background: transparent url('/static/images/linode.png') top left no-repeat; background-size: 100%; clear: both; float: left; margin-bottom: 30px; margin-left: 17px; padding-bottom: 20px; position: relative; width: 153px; a { display: block; height: 68px; color: #989898; span { font: bold 11px $Helvetica; left: 40px; position: absolute; top: 0px; } } } 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: 0 0 0 16px; padding: 0 6px; position: relative; top: 8px; span { color: #2770A1; } } } } } div.rochester-made { margin: 50px 0 30px 0; text-align: center; } div.sifter { color: #666666; margin: 0 0 30px 15px; padding: 10px; padding-top: 0; @include border-radius(8px); @include vertical-gradient(#F2F2F2, white); h3 { font: bold 12px/16px $Helvetica; margin: 0; } p { font: normal 12px/16px $Helvetica; margin-top: 10px; a { font-weight: bold; } } a.sifter-logo { text-align: center; img { display: inline-block; margin: 10px 0; } } } } 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 .03s linear; -moz-transition: color .03s linear; -o-transition: color .03s linear; transition: color .03s linear; &:hover { color: #3BAAF3; } } } h2 { border: 1px solid #E9E9E9; border-top: 0; color: #73BBC5; display: inline-block; font: normal 12px $Helvetica; margin: 0 0 0 15px; padding: 3px 8px 2px 8px; } } section.code { height: 230px; overflow: hidden; position: relative; z-index: 49; table.highlighttable { background: #F7F7F7; height: 100%; } td { padding: 0; vertical-align: top; &.linenos { border-right: 1px solid #DDDDDD; min-width: 28px; div.linenodiv { pre { background: #F7F7F7; border: 0; line-height: 16px; margin: 0; padding: 4px 3px 0 0; white-space: normal; @include border-radius(0); a, span { color: #999; display: block; font: normal 12px/16px $Consolas; margin: 0; padding: 0; text-align: right; text-decoration: none; white-space: nowrap; &:hover { cursor: pointer; text-decoration: underline; } } } } } &.code { background: #FFFFFF; div.highlight { pre { background: transparent; border: none; font: normal 12px/16px $Consolas; margin: 0; min-height: 220px; overflow-x: auto; padding: 4px 5px 4px 4px; white-space: pre; word-wrap: normal; width: 583px; @include border-radius(0); &::-webkit-scrollbar { background: #F7F7F7; height: 16px; width: 16px; -webkit-appearance: none; } &::-webkit-scrollbar-thumb { border: 4px solid #F7F7F7; border-radius: 16px; background-color: #C7C7C7; } } } } } div.markdown { pre { min-height: 0; margin: 20px 0 !important; } } a.expand, a.view-full { 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; } } a.view-full { background: #FFF url('/static/images/view-full.png') 15px 17px no-repeat; } textarea.raw, textarea.description { 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 { line-height: 29px; margin-bottom: 9px; margin-top: 0; } 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 { line-height: 20px; margin: 9px 0; } iframe { max-width: 100%; } } &.with-description { td.linenos { padding-bottom: 20px; } } } 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.meta { padding-top: 10px; 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 { color: #999; font: normal 12px $Helvetica; 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: 14px 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; } } } span.gittip { a { background: #DFF0D8; border: 1px solid #CBDDBB; color: #468847; font: bold 10px $Helvetica; margin-left: 5px; padding: 0 3px; text-transform: uppercase; @include border-radius(3px); span { font-family: $Consolas; } &:hover { background: #E6F7DF; text-decoration: none; } } } } &.comments { background: transparent url('/static/images/comments-icon.png') 0 2px no-repeat; } &.tweet { background: none; margin: -1px 0 0 0; padding: 0; vertical-align: -6px; a { color: transparent; } } } } } section.description { padding: 10px 20px 20px 20px; position: relative; z-index: 50; @include box-shadow(0, -10px, 15px, white); h1 { border-bottom: 1px dotted #E9E9E9; color: #797979; font: bold 12px $Helvetica; margin: 0; margin-bottom: 15px; padding-bottom: 10px; text-transform: uppercase; } } div.expanded { section.code { height: auto; div.highlight { pre { margin-bottom: 46px !important; } } div.markdown { margin-bottom: 47px; pre { margin-bottom: 20px !important; } } 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: 515px; } } &.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); } } } &.blog-post.favorited { div.container { header { @include vertical-gradient-with-image(url('/static/images/favorited-icon.png') top right no-repeat, #FFF, #F0F4FC); @include inset-box-shadow(0, -1px, 0, #E3E9F5); h1 { a { padding-right: 25px; } } } } } &.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; } } } } div.modal { .modal-header { .close { line-height: 20px; margin-top: 0; } h3 { font-size: 20px; line-height: 0; span { display: inline-block; line-height: 27px; max-width: 400px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } h4 { color: #AAA; font-size: 16px; margin: 0; } } } div#disqus_thread { margin-bottom: 0; margin-left: 15px; width: 825px; #dsq-content { margin-top: -44px; #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#keyboard-shortcuts { table { margin-bottom: 0; } } div.profile { background: rgba(128, 128, 128, .08); margin: 0 0 30px 15px; @include border-radius(8px); img { @include multi-border-radius(8px, 8px, 0, 0); } div.meta { font: bold 14px $Helvetica; padding: 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; } } a.pro { background: #DFDFDF; color: #3299B7; display: block; font: bold italic 11px $Helvetica; margin: 0 10px 10px 10px; padding: 5px 0; text-align: center; text-decoration: none; text-transform: uppercase; @include border-radius(3px); @include box-shadow(0, 0, 3px, #FFF); &:hover { background: #D8D8D8; } } a.gittip { background: #DFF0D8; clear: left; color: #468847; display: block; font: bold 11px $Helvetica; margin: 0 10px 10px 10px; padding: 4px 0; text-align: center; text-transform: uppercase; @include border-radius(3px); @include box-shadow(0, 0, 3px, #B4C4A6); &:hover { background: #E6F7DF; text-decoration: none; } } } div.empty-snipts { background: rgba(128, 128, 128, .08); font: bold 18px $Helvetica; margin: 30px 30px 0 30px; padding: 10px; text-align: center; text-shadow: 0 1px 1px #FFF; @include border-radius(8px); } div.site-notice { border-left: 0; margin: 30px 30px 30px 0; padding-right: 14px; text-align: center; @include multi-border-radius(0, 4px, 4px, 0); a { color: #3A87AD; font-weight: bold; text-decoration: underline; } } a.go-pro { background: transparent url('/static/images/pro-hero-bg.png') top left repeat; color: #797979; display: block; font: bold 12px $Helvetica; margin: 30px 0; padding: 8px 14px; text-align: center; text-decoration: none; text-shadow: 0 1px 0 white; @include multi-border-radius(0, 4px, 4px, 0); span.snipt { color: #797979; font: normal 14px $RockwellBoldItalic; } span.pro { color: #3299B7; font-family: $Helvetica; font-style: italic; font-weight: bold; margin-right: 4px; } span.emph { color: #666; } &:hover { color: black; span.pro { color: #3299B7; } } } // Pages body.account { section.profile { aside { float: left; padding-top: 35px; width: 190px; ul { li { a { color: #43A8C6; } &.active { a { background: #DDDDDD; color: #797979; text-shadow: 0 1px 0 white; } } } } } section.content { background: white; border-bottom: 1px solid #DDDDDD; border-left: 4px solid #DDDDDD; float: right; min-height: 272px; width: 555px; @include multi-border-radius(0, 0, 0, 10px); div.def { background: #FAFAFA; border: 1px solid #DDDDDD; margin: 15px; padding: 30px 10px 10px; position: relative; @include border-radius; &:before { background: #F5F5F5; border: 1px solid #DDDDDD; color: #43A8C6; content: attr(data-title); left: -1px; font: normal 12px $Helvetica; padding: 3px 7px; position: absolute; top: -1px; @include multi-border-radius(4px, 0, 4px, 0); } } p.alert { line-height: 20px; margin: 15px; } form { span.help-block { color: #999; font: normal 12px $Helvetica; } div.control-group:last-of-type { margin-bottom: 0; input, select { margin-bottom: 0; } span.help-block { margin-bottom: 0; margin-top: 10px; } } div.form-actions { margin-top: 15px; padding-bottom: 0; @include vertical-gradient(#F5F5F5, white); } } } } } body.blog { article.snipt { section.code { height: auto; } } } body.detail { div.right-y { display: none; } section.main { div.inner { width: 100%; section.snipts { article.snipt { margin-bottom: 0; margin-top: 15px; div.container { width: 839px; header { h1 { a { white-space: normal; } } } section.code { height: auto; td.code { div.highlight { pre { width: 804px; } } } } &.full-screened { &:after { display: none; } } } aside { margin-right: 0; } } } } div.sifter { margin-bottom: 0; margin-top: 10px; margin-right: 100px; a.sifter-logo { float: left; img { height: 30px; margin: 0; margin-top: 10px; } } div.right { float: left; margin-left: 10px; padding-top: 10px; h3 { margin: 0; } p { margin: 0; } } } } div.rochester-made { width: 840px; } div.site-notice, a.go-pro { margin-right: 100px; } } 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.is-pro { section.main { div.inner { section.snipts { article.snipt { margin-bottom: 0; margin-top: 30px; } } } } } body.jobs { section.jobs { margin: 30px; h4 { border-bottom: 1px solid #C0C0C0; color: #999999; font-size: 14px; margin-top: 30px; padding-bottom: 5px; padding-left: 10px; } ul { margin: 0; li { list-style-type: none; margin: 10px 0; a { background: #FBFBFB; border: 1px solid #DDDDDD; color: #333333; display: block; padding: 10px; @include border-radius; @include box-shadow(0, 1px, 1px, rgba(0, 0, 0, .3)); &:hover { background: rgba(#FBFBFB, .5); } span.left { float: left; span { display: block; &.job { color: #3096B4; font-size: 16px; font-weight: bold; margin-bottom: 4px; } } } span.right { float: right; span { display: block; text-align: right; &.location { color: #999999; font-size: 16px; font-weight: bold; margin-bottom: 4px; } } } } } } } } body.pro { div.pro-hero { background: transparent url('/static/images/pro-hero-bg.png') top left repeat; border-bottom: 1px solid #DDDDDD; color: #797979; font: normal 36px $RockwellBoldItalic; padding: 30px 0; position: relative; text-align: center; text-shadow: 0 1px 0 white; z-index: 50; span { color: #3299B7; } span.pro { font: bold italic 33px $Helvetica; } } div.static-box { border-top: 0; margin-top: 0; padding-bottom: 0; padding-top: 20px; position: relative; z-index: 49; @include multi-border-radius(0px, 0px, 4px, 4px); p:first-of-type { margin-top: 10px; } } h2 { span.pro { color: #3299B7; font-style: italic; font-weight: bold; } } h3, h4 { text-align: center; } h3 { font-size: 23px; span { color: #999999; } span.pro { color: #3299B7; font-style: italic; font-weight: bold; } } h4 { margin-bottom: 35px; } a.stripe { background: #F2F2F4; border: 1px solid #DDDDDD; display: block; float: right; margin: 3px 0 0 0; padding: 5px 10px; opacity: .6; @include border-radius(); img { width: 50px; } &:hover { opacity: 1; } } form { div.cards { img { height: 18px; } } select.exp-month { margin-right: 5px; } legend { font-size: 13px; } div.security { background: #FCF8E3 url('/static/images/private-icon.png') 7px -15px no-repeat; border: 1px solid #FBEED5; color: #C09853; display: inline-block; font-size: 12px; margin-left: 10px; margin-top: -1px; padding: 6px 10px 6px 33px; @include border-radius; a { color: #C09853; font-weight: bold; text-decoration: underline; &:hover { color: #816638; } } } fieldset { position: relative; } div.payment-errors { display: none; } div.payment-loading { background: rgba(#F2F2F2, .6); display: none; height: 248px; position: absolute; top: 37px; width: 100%; span { background: #FFF; border: 3px solid #3299B7; color: #666; display: block; font-weight: bold; margin: 80px auto 0 auto; padding: 10px; text-align: center; width: 120px; @include border-radius; } } div.stripe { color: #C2C2C2; font: bold 11px/15px $Helvetica; margin: 10px 65px 0 92px; text-align: center; a { color: #a2a2a2; &:hover { text-decoration: underline; } } } &.form-horizontal { fieldset { padding-top: 18px; } div.form-actions { margin-top: 18px; } } } } 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: 564px; } button { padding: 4px 16px 4px; } } } } body.snipt-page { section.main { div.inner { div.sifter { margin-bottom: 0; margin-top: 10px; margin-right: 100px; a.sifter-logo { float: left; img { height: 30px; margin: 0; margin-top: 10px; } } div.right { float: left; margin-left: 10px; padding-top: 10px; h3 { margin: 0; } p { margin: 0; } } } 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; margin-top: 0; } 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; } } } div#disqus_thread { width: 719px; } } 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; } } h2 { font-size: 24px; line-height: 36px; margin: 0; } h3 { margin-bottom: 20px; } p { line-height: 20px; margin: 15px 0; } span.pro { color: #3299B7; font-family: $Helvetica; font-style: italic; font-weight: bold; } } aside.main { padding-top: 30px; 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.stats { table { margin-bottom: 0; } } 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; } } 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: 50; 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: 0; .CodeMirror { cursor: text; font: normal 12px/16px $Consolas; } .CodeMirror-fullscreen { display: block; left: 0; height: 100%; position: fixed; top: 0; width: 100%; z-index: 9999; } textarea.editor { border: 0; margin: 0; width: 684px; } } header { h1 { margin: 4px 0 5px 8px; input { color: #666; font: bold 16px/20px $Helvetica; margin: 0; width: 811px; width: 666px; } } h2 { border: none; } } } aside { margin-top: 0; width: 243px; label { margin: 20px 0; & > span { color: #32A8F6; display: block; font: bold 12px $Helvetica; margin-bottom: 5px; text-transform: uppercase; } } div.in { padding-left: 10px; & > label { margin-top: 6px; } textarea { height: 100px; font: normal 12px $Helvetica; 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; } } } div.editor-settings { padding: 0 10px; h2 { border-bottom: 1px solid #DDDDDD; color: #7D7D7B; font: bold 12px $Helvetica; margin-bottom: 20px; padding-bottom: 5px; text-transform: uppercase; a { float: right; font: bold 10px $Helvetica; margin-top: 2px; } } h4 { background: #EFEEEF; border: 1px solid #DDDDDD; font: normal 11px/14px $Helvetica; margin: 0 0 20px 0; padding: 7px 6px; @include border-radius; } label { margin: 20px 0 0 0; } label:first-of-type { margin: 0; } } } } } } } } body.homepage { a.button { background: #54737E; border: 2px solid white; color: white; font: bold 16px $Helvetica; display: inline-block; margin-left: 20px; padding: 5px 20px 7px 20px; text-decoration: none; @include border-radius; &:hover { background: #39525C; } } header.main { background: #415A63 url('../images/homepage-header-bg.jpg') top center no-repeat; height: 450px; @include inset-box-shadow(0, -6px, 17px, #31454D); div.inner { border-left: 0; h1 { a { margin-left: 17px; } } nav { float: right; padding: 16px 0 0 0; ul { li { display: inline-block; list-style-type: none; a { color: #90A5AD; display: inline-block; font: bold 16px $Helvetica; padding: 5px 20px 7px 20px; &:hover { color: white; text-decoration: none; } &.button { color: white; } } } } } } div.sub { padding: 50px 0; text-align: center; h2 { color: white; font: normal 28px $RockwellBoldItalic; margin: 0; } h3 { color: #A4C9CD; font: normal 20px $Rockwell; margin: 0; margin-top: 10px; } } } section.coders { overflow: hidden; padding: 30px 0 70px 0; text-align: center; h4 { color: #344547; font: normal 20px $Rockwell; margin: 0; margin-bottom: 15px; } a.button { background: #D4F5F9; border-color: #88D2DC; color: #3B525A; margin-bottom: 30px; &:hover { background: #e9f7f9; } } div.faces { border: 1px solid #909090; border-left: 0; border-right: 0; height: 50px; margin: 0 auto; width: 2500px; span { background-position: center center; background-repeat: no-repeat; display: block; height: 50px; float: left; width: 50px; } } } }