snipt/media/css/style.scss

2305 lines
64 KiB
SCSS
Raw Normal View History

2011-06-01 21:50:18 -07:00
// Fonts
2012-02-10 19:38:59 -08:00
$Helvetica: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
$Consolas: Consolas, Menlo, "Courier New", monospace;
$Rockwell: 'Rockwell', 'Courier Bold', Courier, Georgia, Times, 'Times New Roman', serif;
@font-face {
font-family: 'Rockwell';
src: url('/static/fonts/rockwell.eot');
src: url('/static/fonts/rockwell.eot?#iefix') format('embedded-opentype'),
url('/static/fonts/rockwell.woff') format('woff'),
url('/static/fonts/rockwell.ttf') format('truetype');
}
2011-06-01 21:50:18 -07:00
// Mixins
2012-02-10 19:38:59 -08:00
@mixin border-radius($radius: 5px) {
2011-06-01 21:50:18 -07:00
-webkit-background-clip: padding-box;
2012-02-10 19:38:59 -08:00
-webkit-border-radius: $radius;
2011-06-01 21:50:18 -07:00
-moz-background-clip: padding-box;
2012-02-10 19:38:59 -08:00
-moz-border-radius: $radius;
border-radius: $radius;
2011-06-01 21:50:18 -07:00
background-clip: padding-box;
}
2012-02-10 19:38:59 -08:00
@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;
2011-06-01 21:50:18 -07:00
}
2012-02-10 19:38:59 -08:00
@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;
2011-06-01 21:50:18 -07:00
}
2012-02-10 19:38:59 -08:00
@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;
2011-06-01 21:50:18 -07:00
}
2012-02-10 19:38:59 -08:00
@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;
2011-06-01 21:50:18 -07:00
}
2012-02-10 19:38:59 -08:00
@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%);
2011-06-01 21:50:18 -07:00
}
2012-02-10 19:38:59 -08:00
@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%);
2011-06-01 21:50:18 -07:00
}
2012-07-08 09:25:15 -07:00
@mixin opacity($op) {
-khtml-opacity: $op;
-moz-opacity: $op;
opacity: $op;
}
2011-06-01 21:50:18 -07:00
// Page
html, body {
background: #F2F2F2;
2011-06-01 21:50:18 -07:00
}
body {
color: #666;
2012-02-10 20:04:55 -08:00
font: normal 14px/16px $Helvetica;
2011-06-01 21:50:18 -07:00
text-rendering: optimizeLegibility;
2012-01-25 06:49:36 -08:00
li {
line-height: normal;
}
2011-06-01 21:50:18 -07:00
}
2012-02-10 19:38:59 -08:00
// Utils
.group:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.hidden {
display: none;
}
2013-02-10 19:16:15 -08:00
[ng\:cloak], [ng-cloak], .ng-cloak {
display: none;
}
2012-02-10 19:38:59 -08:00
2011-10-06 13:58:46 -07:00
// Global
2011-10-12 11:49:51 -07:00
header.main {
2012-03-05 10:05:53 -08:00
background: #12343D url('/static/images/header-bg.gif') top left repeat-x;
2011-10-06 13:58:46 -07:00
border-bottom: 1px solid #DDDDDD;
height: 66px;
2011-10-10 20:30:56 -07:00
position: relative;
z-index: 50;
2011-10-06 13:58:46 -07:00
div.inner {
border-left: 1px solid rgba(229, 229, 229, .25);
height: 65px;
margin: 0 auto;
2011-10-10 20:30:56 -07:00
position: relative;
2011-10-06 13:58:46 -07:00
width: 939px;
2011-10-10 20:30:56 -07:00
div.shadey {
2012-03-05 10:05:53 -08:00
background: transparent url('/static/images/header-inner-bg.png') top left no-repeat;
2011-10-10 20:30:56 -07:00
height: 65px;
left: -157px;
position: absolute;
top: 0;
width: 432px;
z-index: 49;
}
2011-10-06 13:58:46 -07:00
h1 {
float: left;
2012-09-17 19:28:47 -07:00
margin: 0;
2011-10-10 20:30:56 -07:00
position: relative;
z-index: 50;
2011-10-06 13:58:46 -07:00
a {
color: #F9F9F9;
2011-10-06 13:58:46 -07:00
display: block;
font: normal 36px $Rockwell;
2011-10-06 13:58:46 -07:00
float: left;
letter-spacing: -1px;
margin: 11px 0 0 16px;
2013-01-21 21:00:23 -08:00
text-decoration: none;
text-shadow: 0 1px 2px black;
2012-02-12 18:13:13 -08:00
2013-01-21 21:00:23 -08:00
span {
color: #87D2DC;
}
2012-02-12 18:13:13 -08:00
&:focus {
outline: none;
}
2013-01-21 21:00:23 -08:00
&:hover {
text-shadow: 0 0 100px white;
}
2011-10-06 13:58:46 -07:00
}
}
2011-10-10 20:30:56 -07:00
form.search {
float: left;
padding: 17px 0 0 20px;
position: relative;
z-index: 50;
2012-04-22 20:03:50 -07:00
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);
2011-10-10 20:30:56 -07:00
2012-04-22 20:03:50 -07:00
&:focus {
border-color: #62D5E1;
}
&::-webkit-input-placeholder {
2011-10-10 20:30:56 -07:00
color: #72979C;
}
2012-04-22 20:03:50 -07:00
&:-moz-placeholder {
color: #72979C;
2011-10-10 20:30:56 -07:00
}
}
}
nav.public {
float: left;
2012-06-19 19:11:53 -07:00
width: 435px;
2011-10-10 20:30:56 -07:00
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;
2012-02-10 19:38:59 -08:00
font: 500 14px $Helvetica;
2012-06-19 20:34:20 -07:00
padding: 6px 7px 5px 7px;
2012-04-13 13:51:18 -07:00
margin-right: 16px;
2011-10-10 20:30:56 -07:00
text-decoration: none;
2013-01-21 21:00:23 -08:00
-webkit-transition: border .03s linear;
-moz-transition: border .03s linear;
-o-transition: border .03s linear;
transition: border .03s linear;
2011-10-10 20:30:56 -07:00
&:hover {
border-bottom: 2px solid #3A5E67;
}
&.active {
border-bottom: 2px solid #85D2DD;
}
}
2012-04-13 13:51:18 -07:00
button#add-snipt {
2012-09-17 19:28:47 -07:00
font-size: 15px;
2012-06-20 10:17:32 -07:00
font-weight: bold;
2012-04-13 13:51:18 -07:00
margin-top: -3px;
2012-06-20 10:19:25 -07:00
padding: 7px 12px 9px 12px;
2012-04-13 13:51:18 -07:00
i {
margin-left: 5px;
2012-06-20 10:20:10 -07:00
margin-top: 2px;
2012-04-13 13:51:18 -07:00
}
}
2012-06-19 19:11:53 -07:00
&.add-snipt {
float: right;
margin-right: 13px;
}
2011-10-10 20:30:56 -07:00
}
}
}
aside.nav {
border-left: 1px solid rgba(229, 229, 229, .25);
float: right;
height: 65px;
2011-11-09 08:49:55 -08:00
margin: 0;
2012-06-19 19:11:53 -07:00
position: relative;
2011-10-10 20:30:56 -07:00
width: 189px;
2012-04-07 18:38:34 -07:00
2012-06-19 19:11:53 -07:00
a.mini-profile {
2012-06-26 13:38:38 -07:00
border-right: 1px solid rgba(#4D6768, .25);
2012-06-19 19:11:53 -07:00
display: block;
padding: 14px 13px 11px 13px;
span.avatar {
background-repeat: no-repeat;
border: 1px solid #3A5E67;
2012-06-26 13:38:38 -07:00
display: block;
float: left;
2012-06-19 19:11:53 -07:00
height: 35px;
width: 35px;
@include border-radius();
}
2012-06-26 13:38:38 -07:00
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;
}
}
2012-06-19 19:11:53 -07:00
}
&:hover {
background: rgba(#5C8086, .2);
text-decoration: none;
i {
background-position: -313px -119px;
}
}
}
2012-04-07 18:38:34 -07:00
ul {
2012-06-19 19:14:05 -07:00
background: transparent url('/static/images/aside-nav-open-bottom-bg.gif') top left repeat;
2012-06-19 19:11:53 -07:00
display: none;
left: 0;
2012-04-07 18:38:34 -07:00
margin: 0;
2012-06-19 19:11:53 -07:00
padding: 10px 0;
position: absolute;
top: 65px;
width: 189px;
2012-06-23 12:30:07 -07:00
z-index: 51;
2012-06-19 19:11:53 -07:00
@include multi-border-radius(0, 0, 10px, 10px);
2012-04-07 18:38:34 -07:00
li {
list-style-type: none;
2012-06-19 19:11:53 -07:00
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 {
2012-06-19 19:14:05 -07:00
background: transparent url('/static/images/aside-nav-open-top-bg.gif') top left repeat-x;
2012-06-19 19:11:53 -07:00
opacity: 1;
span.avatar {
border-color: #92B6BD;
}
i {
background-position: -288px -120px;
}
2012-06-26 13:38:38 -07:00
span.info {
span.type {
color: #B0D7DD;
span.is-pro {
color: #85D2DD;
}
}
}
2012-06-19 19:11:53 -07:00
}
ul {
display: block;
2012-04-07 18:38:34 -07:00
}
}
2011-10-10 20:30:56 -07:00
}
2011-10-06 13:58:46 -07:00
}
}
header.sub {
2012-02-10 19:38:59 -08:00
@include vertical-gradient(#ECECEC, #DBDBDB);
div.inner {
border-left: 1px solid #d0d0d0;
margin: 0 auto;
position: relative;
width: 939px;
z-index: 49;
2012-01-25 06:49:36 -08:00
ul.bcrumb {
border-right: 1px solid #d0d0d0;
2012-01-25 06:49:36 -08:00
float: left;
margin: 0;
padding-left: 16px;
width: 733px;
li {
display: inline-block;
2012-01-25 06:49:36 -08:00
line-height: normal;
2012-04-13 20:30:23 -07:00
max-width: 490px;
2012-01-25 06:49:36 -08:00
overflow: hidden;
2012-02-12 21:42:25 -08:00
padding: 2px 0 4px 0;
2012-01-25 06:49:36 -08:00
text-overflow: ellipsis;
white-space: nowrap;
a {
color: #999999;
2012-02-10 19:38:59 -08:00
font: bold 12px $Consolas;
2012-01-25 06:49:36 -08:00
text-decoration: none;
text-shadow: 0 1px 0 #FFF;
2012-01-25 06:49:36 -08:00
&:hover {
text-decoration: underline;
}
}
2012-04-13 20:30:23 -07:00
&.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;
}
}
}
2012-04-22 18:47:49 -07:00
.prompt {
color: #999999;
font: bold 12px $Consolas;
margin-right: 3px;
text-shadow: 0 1px 0 #FFF;
}
span.prompt {
margin-left: 3px;
}
}
2012-01-25 06:49:36 -08:00
div.shortcuts {
color: #999999;
float: right;
2012-02-10 19:38:59 -08:00
font: bold 12px $Consolas;
2012-02-12 21:42:25 -08:00
padding-top: 4px;
2012-01-25 06:49:36 -08:00
text-shadow: 0 1px 0 #FFF;
}
}
}
2011-10-06 13:58:46 -07:00
section.main {
height: 100%;
margin: 0 auto;
2011-10-10 20:30:56 -07:00
position: relative;
width: 940px;
div.ruler {
background: #DDDDDD;
height: 100%;
position: fixed;
top: 0;
width: 1px;
z-index: 48;
}
2011-10-13 10:30:44 -07:00
div.left-y {
margin-left: 0;
}
2011-10-10 20:30:56 -07:00
div.right-y {
margin-left: 750px;
}
div.inner {
float: left;
2011-10-13 10:30:44 -07:00
margin-left: 1px;
width: 749px;
2011-10-10 20:30:56 -07:00
}
aside.main {
float: right;
2011-10-12 11:49:51 -07:00
padding-top: 30px;
2011-10-10 20:30:56 -07:00
width: 190px;
section.ad {
2012-07-30 10:16:42 -07:00
margin: 0 0 0 15px;
2012-06-05 20:41:37 -07:00
div.carbonad {
border-width: 1px;
2012-07-30 10:16:42 -07:00
border-bottom: 0;
2012-06-05 20:41:37 -07:00
height: 231px;
width: auto;
2012-07-30 10:16:42 -07:00
@include multi-border-radius(5px, 5px, 0, 0);
2012-06-05 20:41:37 -07:00
div#azcarbon {
span.carbonad-image {
a {
img {
margin-left: 21px;
margin-top: 21px;
}
}
2012-01-16 21:30:32 -08:00
}
2012-06-05 20:41:37 -07:00
span.carbonad-text {
color: #999999;
margin-left: 21px;
2012-01-16 21:30:32 -08:00
2012-06-05 20:41:37 -07:00
a {
color: #999999;
}
2012-01-16 21:30:32 -08:00
}
2012-06-05 20:41:37 -07:00
span.carbonad-tag {
margin-left: 0;
text-align: center;
width: 100%;
2012-02-27 06:42:29 -08:00
2012-06-05 20:41:37 -07:00
a {
2012-06-05 21:22:16 -07:00
margin-left: 3px;
2012-06-05 20:41:37 -07:00
}
2012-02-27 06:42:29 -08:00
}
}
}
2011-10-10 20:30:56 -07:00
}
2012-07-30 10:16:42 -07:00
div.go-pro {
background: #FBFBFB;
border: 1px solid #E8E8E8;
margin: 0 0 30px 15px;
text-align: center;
padding: 18px 0;
2013-01-22 07:36:49 -08:00
text-shadow: 0 1px 0 blue;
2012-07-30 10:16:42 -07:00
@include multi-border-radius(0, 0, 5px, 5px);
}
2011-10-10 20:30:56 -07:00
section.tags {
2012-07-03 14:53:30 -07:00
margin: 0 0 30px 15px;
2011-10-10 20:30:56 -07:00
h1 {
2012-03-05 10:05:53 -08:00
background: transparent url('/static/images/tags-icon.png') 0 0 no-repeat;
2011-10-10 20:30:56 -07:00
color: #3BAAF3;
2012-02-10 19:38:59 -08:00
font: bold 12px $Helvetica;
2011-10-10 20:30:56 -07:00
padding-bottom: 5px;
padding-left: 22px;
}
ul {
margin: 0 0 15px 0;
li {
2012-01-25 06:49:36 -08:00
list-style-type: none;
2013-01-21 15:00:10 -08:00
margin-left: 22px;
2011-10-10 20:30:56 -07:00
}
}
a {
color: #5AB6F4;
2013-01-21 15:00:10 -08:00
display: block;
2012-02-10 19:38:59 -08:00
font: normal 12px $Helvetica;
2013-01-21 15:00:10 -08:00
padding: 3px 0;
2011-10-10 20:30:56 -07:00
text-decoration: none;
2013-01-21 15:00:10 -08:00
span {
border-bottom: 1px solid #5AB6F4;
}
2011-10-10 20:30:56 -07:00
&:hover {
2013-01-21 15:00:10 -08:00
span {
border-bottom: 1px solid #2B6E9B;
color: #2B6E9B;
}
2011-10-10 20:30:56 -07:00
}
&.view-all {
font-weight: bold;
margin: 0 0 0 22px;
}
&.active {
2013-01-21 16:18:30 -08:00
span {
border-bottom: 1px solid #2B6E9B;
color: #2B6E9B;
}
}
2011-10-10 20:30:56 -07:00
}
2012-07-03 15:22:48 -07:00
a.all-tags {
font-weight: bold;
margin-left: 22px;
2013-01-21 15:00:10 -08:00
span {
border-bottom: 1px solid #5AB6F4;
}
2012-07-03 15:22:48 -07:00
}
2013-02-08 18:01:23 -08:00
a.alt-link {
display: inline-block;
font-weight: bold;
margin: 0 0 10px 22px;
&.active {
color: #2B6E9B;
}
2013-02-08 18:01:23 -08:00
&.favorites {
margin-bottom: 0;
}
}
2011-10-10 20:30:56 -07:00
}
nav.footer {
2013-01-21 16:08:08 -08:00
margin: 0 0 32px 15px;
2011-10-10 20:30:56 -07:00
ul {
margin: 0;
li {
2012-03-05 10:05:53 -08:00
background: transparent url('/static/images/api-icon.png') center left no-repeat;
2012-01-25 16:39:38 -08:00
list-style-type: none;
2013-01-21 15:00:10 -08:00
margin: 0;
2011-10-10 20:30:56 -07:00
padding-left: 22px;
a {
color: #999;
2013-01-21 15:00:10 -08:00
display: block;
2012-02-10 19:38:59 -08:00
font: bold 12px $Helvetica;
2013-01-21 15:00:10 -08:00
padding: 3px 0;
2011-10-10 20:30:56 -07:00
text-decoration: none;
2011-10-10 21:13:18 -07:00
2013-01-21 15:00:10 -08:00
span {
border-bottom: 1px solid #999;
}
2011-10-10 21:13:18 -07:00
&:hover {
2013-01-21 15:00:10 -08:00
span {
border-bottom: 1px solid #333;
color: #333;
}
2012-05-15 18:13:28 -07:00
}
&.active {
2013-01-21 15:00:10 -08:00
span {
border-bottom: 1px solid #333;
color: #333;
}
2011-10-10 21:13:18 -07:00
}
2011-10-10 20:30:56 -07:00
}
2013-01-21 15:00:10 -08:00
&.api {
padding-top: 1px;
}
2011-10-10 20:30:56 -07:00
&.twitter {
2012-03-05 10:05:53 -08:00
background: transparent url('/static/images/twitter-icon.png') 4px center no-repeat;
2011-10-10 20:30:56 -07:00
}
&.pro {
2012-03-05 10:05:53 -08:00
background: transparent url('/static/images/upgrade-icon.png') 2px center no-repeat;
2011-10-10 20:30:56 -07:00
}
2011-10-10 20:35:30 -07:00
&.groups {
2012-03-05 10:05:53 -08:00
background: transparent url('/static/images/groups-icon.png') 2px center no-repeat;
2011-10-10 20:35:30 -07:00
}
2012-05-15 18:09:32 -07:00
&:first-of-type {
2013-01-21 15:00:10 -08:00
a {
padding-top: 0;
}
2012-05-15 18:09:32 -07:00
}
2012-05-16 18:44:26 -07:00
&.blog {
background: transparent url('/static/images/blog-icon.png') 3px center no-repeat;
}
2012-05-22 12:12:49 -07:00
&.roadmap {
background: transparent url('/static/images/roadmap-icon.png') 2px center no-repeat;
}
2011-10-10 20:30:56 -07:00
}
}
}
2013-01-21 16:08:08 -08:00
div.linode {
background: transparent url('/static/images/linode.png') top left no-repeat;
background-size: 100%;
2013-01-22 10:51:04 -08:00
clear: both;
float: left;
margin-bottom: 30px;
2013-01-21 16:08:08 -08:00
margin-left: 17px;
2013-01-22 07:33:00 -08:00
padding-bottom: 20px;
2013-01-21 16:08:08 -08:00
position: relative;
2013-01-22 10:51:04 -08:00
width: 153px;
2013-01-21 16:08:08 -08:00
a {
display: block;
2013-01-22 07:33:00 -08:00
height: 68px;
2013-01-21 16:08:08 -08:00
color: #989898;
span {
2013-01-22 09:25:38 -08:00
font: bold 11px $Helvetica;
left: 40px;
2013-01-21 16:08:08 -08:00
position: absolute;
2013-01-22 07:33:00 -08:00
top: 0px;
2013-01-21 16:08:08 -08:00
}
}
}
2012-07-08 09:25:15 -07:00
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;
2012-09-18 07:28:19 -07:00
margin: 0 0 0 16px;
2012-07-08 09:25:15 -07:00
padding: 0 6px;
position: relative;
top: 8px;
2012-07-24 07:57:53 -07:00
span {
color: #2770A1;
}
2012-07-08 09:25:15 -07:00
}
}
}
2011-10-10 20:30:56 -07:00
}
2012-02-20 09:10:48 -08:00
div.rochester-made {
2012-02-20 10:45:04 -08:00
margin: 50px 0 30px 0;
2012-02-20 09:10:48 -08:00
text-align: center;
}
2012-12-16 20:24:02 -08:00
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;
}
}
}
2011-10-12 11:49:51 -07:00
}
2012-02-15 20:06:11 -08:00
section.main-edit {
div.inner {
float: none;
width: 100%;
}
}
2011-10-12 11:49:51 -07:00
article.snipt {
margin: 30px 0;
2011-10-13 10:30:44 -07:00
position: relative;
2011-10-12 11:49:51 -07:00
2011-10-13 10:30:44 -07:00
div.number {
color: #CCC;
2012-02-10 19:38:59 -08:00
font: normal 12px $Helvetica;
2011-10-13 10:30:44 -07:00
left: -115px;
position: absolute;
text-align: right;
top: 4px;
width: 100px;
}
2011-10-12 11:49:51 -07:00
div.container {
background: #FFF;
border: 1px solid #DDD;
2011-10-13 10:30:44 -07:00
border-left: 0;
2011-10-12 11:49:51 -07:00
float: left;
2011-10-13 10:30:44 -07:00
position: relative;
2011-10-12 11:49:51 -07:00
width: 618px;
2011-10-13 10:30:44 -07:00
div.ruler {
background: #DDD;
height: 1px;
left: -3000px;
position: absolute;
top: auto;
width: 3000px;
}
div.top-x {
top: -1px;
}
div.bottom-x {
bottom: -1px;
}
2011-10-12 11:49:51 -07:00
header {
border-bottom: 1px solid #F1F1EE;
2012-04-07 21:52:10 -07:00
min-height: 58px;
2012-02-10 19:38:59 -08:00
@include inset-box-shadow(0, -1px, 0, #FFF);
@include vertical-gradient(#FFF, #FFFAF2);
2011-10-12 11:49:51 -07:00
h1 {
clear: left;
2012-02-10 19:38:59 -08:00
font: bold 16px/20px $Helvetica;
2011-10-12 11:49:51 -07:00
margin: 8px 15px 10px 15px;
2011-10-13 10:30:44 -07:00
a {
color: #666;
display: block;
2012-01-15 16:49:53 -08:00
overflow: hidden;
text-overflow: ellipsis;
2011-10-13 10:30:44 -07:00
text-decoration: none;
2012-01-15 16:49:53 -08:00
white-space: nowrap;
2013-01-21 21:00:23 -08:00
-webkit-transition: color .03s linear;
-moz-transition: color .03s linear;
-o-transition: color .03s linear;
transition: color .03s linear;
2011-10-13 10:30:44 -07:00
&:hover {
color: #3BAAF3;
}
}
2011-10-12 11:49:51 -07:00
}
h2 {
border: 1px solid #E9E9E9;
border-top: 0;
color: #73BBC5;
2011-10-13 10:30:44 -07:00
display: inline-block;
2012-02-10 19:38:59 -08:00
font: normal 12px $Helvetica;
2012-09-18 07:32:18 -07:00
margin: 0 0 0 15px;
2011-10-12 11:49:51 -07:00
padding: 3px 8px 2px 8px;
}
2011-10-10 21:13:18 -07:00
}
2011-10-13 10:30:44 -07:00
section.code {
2012-09-17 10:26:54 -07:00
height: 230px;
2011-10-13 10:30:44 -07:00
overflow: hidden;
2011-10-19 20:50:23 -07:00
position: relative;
2012-06-23 12:32:47 -07:00
z-index: 49;
2011-10-19 20:50:23 -07:00
2012-07-22 19:25:33 -07:00
table.highlighttable {
background: #F7F7F7;
height: 100%;
}
td {
padding: 0;
vertical-align: top;
&.linenos {
2013-01-13 19:30:54 -08:00
border-right: 1px solid #DDDDDD;
min-width: 28px;
2012-07-22 19:25:33 -07:00
div.linenodiv {
pre {
2013-01-13 19:30:54 -08:00
background: #F7F7F7;
2012-07-22 19:25:33 -07:00
border: 0;
line-height: 16px;
margin: 0;
2013-01-13 19:30:54 -08:00
padding: 4px 3px 0 0;
2012-07-22 19:25:33 -07:00
white-space: normal;
@include border-radius(0);
2012-07-30 18:46:52 -07:00
a, span {
2013-01-13 19:30:54 -08:00
color: #999;
2012-07-22 19:25:33 -07:00
display: block;
2013-01-13 19:30:54 -08:00
font: normal 12px/16px $Consolas;
2012-07-22 19:25:33 -07:00
margin: 0;
padding: 0;
text-align: right;
2012-07-30 18:46:52 -07:00
text-decoration: none;
2012-07-22 19:25:33 -07:00
white-space: nowrap;
2012-07-30 18:46:52 -07:00
&:hover {
cursor: pointer;
text-decoration: underline;
}
2012-07-22 19:25:33 -07:00
}
}
}
}
&.code {
background: #FFFFFF;
div.highlight {
pre {
background: transparent;
border: none;
font: normal 12px/16px $Consolas;
margin: 0;
2012-09-17 10:26:54 -07:00
min-height: 220px;
overflow-x: auto;
2013-01-13 19:30:54 -08:00
padding: 4px 5px 4px 4px;
2012-07-22 19:25:33 -07:00
white-space: pre;
word-wrap: normal;
2012-07-22 19:36:13 -07:00
width: 583px;
@include border-radius(0);
2012-07-30 18:09:33 -07:00
&::-webkit-scrollbar {
background: #F7F7F7;
height: 16px;
width: 16px;
-webkit-appearance: none;
}
&::-webkit-scrollbar-thumb {
border: 4px solid #F7F7F7;
border-radius: 16px;
background-color: #C7C7C7;
}
2012-07-22 19:25:33 -07:00
}
}
2011-10-19 20:50:23 -07:00
}
}
2012-05-29 19:57:23 -07:00
div.markdown {
pre {
min-height: 0;
margin: 20px 0 !important;
}
}
2012-12-27 19:57:03 -08:00
a.expand, a.view-full {
2012-03-05 10:05:53 -08:00
background: #FFF url('/static/images/expand.png') 15px 18px no-repeat;
2011-10-19 21:39:21 -07:00
border-top: 1px solid #F1F1EE;
2011-10-19 20:50:23 -07:00
bottom: 0;
color: #999999;
display: block;
2012-02-10 19:38:59 -08:00
font: bold 12px $Helvetica;
2011-10-19 20:50:23 -07:00
padding: 15px 40px 15px 40px;
position: absolute;
text-decoration: none;
text-transform: uppercase;
width: 100%;
2012-02-10 19:38:59 -08:00
@include box-shadow(0, -25px, 25px, #FFF);
2011-10-19 20:50:23 -07:00
2011-11-06 15:04:03 -08:00
span.collapse {
display: none;
}
2011-11-09 10:33:16 -08:00
span.lines {
2012-02-10 19:38:59 -08:00
font: normal 10px $Helvetica;
2011-11-09 10:33:16 -08:00
margin-left: 5px;
vertical-align: 1px;
}
2011-10-19 20:50:23 -07:00
&:hover {
color: #3BAAF3;
font-weight: bold;
}
2011-12-26 18:52:17 -08:00
&:focus {
outline: none;
}
2011-10-19 20:50:23 -07:00
}
2012-12-27 19:57:03 -08:00
a.view-full {
background: #FFF url('/static/images/view-full.png') 15px 17px no-repeat;
}
2013-02-08 10:11:14 -08:00
textarea.raw, textarea.description {
2011-11-10 13:51:19 -08:00
display: none;
}
2012-04-23 11:34:21 -07:00
div.markdown {
margin: 0 15px;
min-height: 173px;
padding: 13px 0 4px 0;
}
2011-10-13 10:30:44 -07:00
}
2011-10-19 21:39:21 -07:00
section.emacs, section.default {
a.expand {
2012-02-10 19:38:59 -08:00
@include box-shadow(0, -25px, 25px, #F8F8F8);
2011-10-19 21:39:21 -07:00
}
}
2011-10-19 22:17:48 -07:00
section.friendly {
a.expand {
2012-02-10 19:38:59 -08:00
@include box-shadow(0, -25px, 25px, #F0F0F0);
2011-10-19 22:17:48 -07:00
}
}
section.fruity {
a.expand {
2012-02-10 19:38:59 -08:00
@include box-shadow(0, -25px, 25px, #111111);
2011-10-19 22:17:48 -07:00
}
}
section.manni {
a.expand {
2012-02-10 19:38:59 -08:00
@include box-shadow(0, -25px, 25px, #F0F3F3);
2011-10-19 22:17:48 -07:00
}
}
section.monokai {
a.expand {
2012-02-10 19:38:59 -08:00
@include box-shadow(0, -25px, 25px, #272822);
2011-10-19 22:17:48 -07:00
}
}
section.native {
a.expand {
2012-02-10 19:38:59 -08:00
@include box-shadow(0, -25px, 25px, #202020);
2011-10-19 22:17:48 -07:00
}
}
section.perldoc {
a.expand {
2012-02-10 19:38:59 -08:00
@include box-shadow(0, -25px, 25px, #EEEEDD);
2011-10-19 22:17:48 -07:00
}
}
section.tango {
a.expand {
2012-02-10 19:38:59 -08:00
@include box-shadow(0, -25px, 25px, #F8F8F8);
2011-10-19 22:17:48 -07:00
}
}
2011-10-24 20:02:48 -07:00
&:after {
2012-04-13 09:11:00 -07:00
background: transparent url('/static/images/snipt-drop-shadow.png') top left no-repeat;
bottom: -15px;
2011-10-24 20:02:48 -07:00
content: "";
2012-04-13 09:11:00 -07:00
display: block;
height: 15px;
2011-10-24 20:02:48 -07:00
position: absolute;
2012-04-13 09:11:00 -07:00
right: 0px;
width: 318px;
z-index: 51;
2011-10-24 20:02:48 -07:00
}
2012-04-23 11:34:21 -07:00
div.markdown {
2012-06-19 20:50:43 -07:00
line-height: 20px;
2012-06-19 20:49:54 -07:00
2012-04-23 11:34:21 -07:00
h1, h2, h3, h4, h5, h6 {
2012-10-12 18:08:07 -07:00
line-height: 29px;
2012-04-23 11:34:21 -07:00
margin-bottom: 9px;
2012-10-12 18:07:01 -07:00
margin-top: 0;
2012-04-23 11:34:21 -07:00
}
2012-06-19 20:36:35 -07:00
h1 {
2012-06-19 20:38:19 -07:00
font-size: 20px;
2012-06-19 20:36:35 -07:00
}
h2 {
2012-06-19 20:38:19 -07:00
font-size: 19px;
2012-06-19 20:36:35 -07:00
}
h3 {
2012-06-19 20:38:19 -07:00
font-size: 18px;
2012-06-19 20:36:35 -07:00
}
h4 {
2012-06-19 20:38:19 -07:00
font-size: 17px;
2012-06-19 20:36:35 -07:00
}
h5 {
2012-06-19 20:38:19 -07:00
font-size: 16px;
2012-06-19 20:36:35 -07:00
}
h6 {
2012-06-19 20:38:19 -07:00
font-size: 15px;
2012-06-19 20:36:35 -07:00
}
2012-05-06 09:08:40 -07:00
li {
2012-06-19 21:11:23 -07:00
line-height: 20px;
2012-05-06 09:08:40 -07:00
margin: 9px 0;
}
2012-06-19 20:34:20 -07:00
iframe {
max-width: 100%;
2012-06-19 20:34:20 -07:00
}
2012-04-23 11:34:21 -07:00
}
2013-02-08 10:11:14 -08:00
&.with-description {
td.linenos {
padding-bottom: 20px;
}
}
2011-10-10 21:13:18 -07:00
}
2011-10-12 11:49:51 -07:00
aside {
float: right;
2011-11-10 11:34:51 -08:00
margin: 23px 30px 0 0;
2011-11-09 10:33:16 -08:00
width: 100px;
2011-11-09 20:33:36 -08:00
ul.options {
2012-01-25 06:49:36 -08:00
margin: 0;
2011-11-09 10:33:16 -08:00
li {
2012-01-25 06:49:36 -08:00
list-style-type: none;
2011-11-09 10:33:16 -08:00
margin: 2px 0;
a {
2012-03-05 10:05:53 -08:00
background: rgba(128, 128, 128, .15) url('/static/images/edit-icon.png') 14px center no-repeat;
2011-11-09 20:16:12 -08:00
color: #000;
2011-11-09 10:33:16 -08:00
display: block;
2012-02-10 19:38:59 -08:00
font: bold 12px $Helvetica;
2011-11-09 20:16:12 -08:00
opacity: .5;
2011-11-09 10:33:16 -08:00
padding: 7px 10px 7px 35px;
2011-11-09 20:16:12 -08:00
position: relative;
2012-01-25 06:49:36 -08:00
text-decoration: none;
2011-11-09 10:33:16 -08:00
2011-11-10 13:04:16 -08:00
&:hover, &.hover {
2011-11-09 20:16:12 -08:00
background-color: rgba(128, 128, 128, .18);
opacity: 1;
2011-11-09 10:33:16 -08:00
text-decoration: none;
}
2011-11-09 20:16:12 -08:00
&.edit {
&:after {
2012-04-13 09:11:00 -07:00
background: #F5F2F3;
2011-11-09 20:16:12 -08:00
content: "";
height: 20px;
position: absolute;
right: 5px;
top: -3px;
width: 3px;
-webkit-transform: rotate(-45deg);
2012-02-12 21:42:25 -08:00
-moz-transform: rotate(-45deg);
2011-11-09 20:16:12 -08:00
}
}
&.embed {
2012-03-05 10:05:53 -08:00
background-image: url('/static/images/embed-icon.png');
2011-11-09 20:16:12 -08:00
}
&.copy {
2012-03-05 10:05:53 -08:00
background-image: url('/static/images/copy-icon.png');
2012-04-12 14:28:30 -07:00
}
&.favorite {
background-image: url('/static/images/favorite-icon.png');
2011-11-09 20:16:12 -08:00
}
2011-11-09 10:33:16 -08:00
}
}
}
2012-09-17 10:26:54 -07:00
section.meta {
padding-top: 10px;
2011-11-09 20:33:36 -08:00
h2 {
2012-03-05 10:05:53 -08:00
background: transparent url('/static/images/snipt-tags-icon.png') 15px center no-repeat;
2011-11-09 20:33:36 -08:00
color: #999999;
2012-02-10 19:38:59 -08:00
font: bold 12px $Helvetica;
2011-11-09 20:33:36 -08:00
padding: 7px 0 7px 35px;
}
ul {
2012-01-25 06:49:36 -08:00
margin: 0;
2011-11-09 20:33:36 -08:00
li {
2012-09-17 10:26:54 -07:00
color: #999;
font: normal 12px $Helvetica;
2012-01-25 06:49:36 -08:00
list-style-type: none;
margin: 5px 10px 5px 35px;
2011-11-09 20:33:36 -08:00
a {
border-bottom: 1px solid #999;
color: #999;
2011-11-10 11:34:51 -08:00
display: inline-block;
2012-02-10 19:38:59 -08:00
font: normal 12px $Helvetica;
2011-11-10 11:34:51 -08:00
max-width: 72px;
overflow: hidden;
text-overflow: ellipsis;
2011-11-09 20:33:36 -08:00
text-decoration: none;
2011-11-10 11:34:51 -08:00
white-space: nowrap;
&:hover {
border-color: #000;
color: #000;
}
2011-11-09 20:33:36 -08:00
}
}
2011-11-10 13:51:19 -08:00
&.expanded {
li {
display: block;
}
}
2011-11-10 11:34:51 -08:00
}
}
2011-10-12 11:49:51 -07:00
}
2011-10-13 10:30:44 -07:00
footer {
clear: both;
padding-bottom: 20px;
ul.attrs {
margin: 14px 0 0 15px;
2011-10-13 10:30:44 -07:00
li {
2012-03-05 10:05:53 -08:00
background: transparent url('/static/images/calendar-icon.png') top left no-repeat;
2011-10-13 10:30:44 -07:00
color: #999;
display: inline;
2012-02-10 19:38:59 -08:00
font: normal 12px $Helvetica;
2011-10-13 10:30:44 -07:00
margin-right: 15px;
padding: 1px 0 0 24px;
a {
color: #999;
2012-02-10 19:38:59 -08:00
font: normal 12px $Helvetica;
2011-10-13 10:30:44 -07:00
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
2011-11-09 20:16:12 -08:00
&.author {
2012-04-13 10:01:28 -07:00
background-image: none;
padding-left: 0;
2012-06-26 13:38:38 -07:00
span.avatar {
2012-04-13 10:01:28 -07:00
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);
}
2012-06-26 13:38:38 -07:00
span.pro {
a {
color: #3299B7;
font: italic bold 10px $Helvetica;
margin-left: 5px;
text-transform: uppercase;
&:hover {
text-decoration: underline;
}
}
}
2013-01-14 19:18:44 -08:00
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;
}
}
}
2011-11-09 20:16:12 -08:00
}
2011-10-13 10:30:44 -07:00
&.comments {
2012-03-05 10:05:53 -08:00
background: transparent url('/static/images/comments-icon.png') 0 2px no-repeat;
2011-10-13 10:30:44 -07:00
}
2012-06-21 12:29:12 -07:00
&.tweet {
background: none;
margin: -1px 0 0 0;
2012-06-21 12:29:12 -07:00
padding: 0;
vertical-align: -6px;
2012-06-21 12:29:12 -07:00
a {
color: transparent;
}
}
2011-10-13 10:30:44 -07:00
}
}
}
2013-02-08 10:11:14 -08:00
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;
}
}
2011-11-09 08:20:45 -08:00
div.expanded {
section.code {
height: auto;
div.highlight {
pre {
2012-07-30 18:09:33 -07:00
margin-bottom: 46px !important;
2011-11-06 15:04:03 -08:00
}
2011-11-09 08:20:45 -08:00
}
2012-04-23 11:34:21 -07:00
div.markdown {
2012-07-30 18:09:33 -07:00
margin-bottom: 47px;
pre {
margin-bottom: 20px !important;
}
2012-04-23 11:34:21 -07:00
}
2011-11-09 08:20:45 -08:00
a.expand {
2012-03-05 10:05:53 -08:00
background-image: url('/static/images/collapse.png');
2011-11-09 08:20:45 -08:00
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
span.expand {
display: none;
}
span.collapse {
display: inline;
2011-11-06 15:04:03 -08:00
}
2011-11-09 10:33:16 -08:00
span.lines {
display: none;
}
2011-11-06 15:04:03 -08:00
}
}
}
2012-04-12 14:28:30 -07:00
div.modal {
textarea {
font: normal 12px/16px $Consolas;
height: 200px;
margin: 0;
2012-10-12 08:36:41 -07:00
width: 515px;
2012-04-12 14:28:30 -07:00
}
}
&.selected {
div.container {
-webkit-box-shadow: 0 0 20px #85D2DD;
2012-01-15 16:49:53 -08:00
-moz-box-shadow: 0 0 20px #85D2DD;
box-shadow: 0 0 20px #85D2DD;
&:after {
display: none;
}
}
}
2012-04-12 14:28:30 -07:00
&.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;
}
}
}
2012-01-25 16:39:38 -08:00
}
}
2012-05-24 19:20:06 -07:00
&.blog-post {
div.container {
header {
@include vertical-gradient(#FFF, #F0F4FC);
@include inset-box-shadow(0, -1px, 0, #E3E9F5);
}
}
}
2012-09-17 10:53:14 -07:00
&.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;
}
}
}
}
}
2012-06-12 07:52:55 -07:00
&.snipt-expand {
div.container {
section.code {
height: auto;
}
}
}
2011-10-06 13:58:46 -07:00
}
article.private-snipt {
div.container {
header {
2012-03-05 10:05:53 -08:00
@include vertical-gradient-with-image(url('/static/images/private-icon.png') top right no-repeat, #FFF, #FFFAF2);
2012-01-16 18:17:58 -08:00
h1 {
a {
padding-right: 25px;
}
}
}
}
2012-05-24 19:20:06 -07:00
&.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;
}
}
}
}
}
}
2011-11-09 08:49:55 -08:00
div.pagination {
margin: 0 15px 35px 15px;
text-align: center;
ul {
background: #FFF;
li {
a {
color: #3BAAF3;
}
}
}
}
2012-01-25 16:39:38 -08:00
div.modal {
.modal-header {
.close {
line-height: 20px;
margin-top: 0;
}
h3 {
2013-02-03 10:49:10 -08:00
font-size: 20px;
2012-05-23 16:43:06 -07:00
line-height: 0;
2012-01-25 16:39:38 -08:00
span {
2012-02-17 10:14:57 -08:00
display: inline-block;
2012-05-23 16:43:06 -07:00
line-height: 27px;
2012-01-25 16:39:38 -08:00
max-width: 400px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
h4 {
color: #AAA;
2013-02-03 10:49:10 -08:00
font-size: 16px;
margin: 0;
2012-01-25 16:39:38 -08:00
}
}
}
2012-02-20 10:45:04 -08:00
div#disqus_thread {
margin-bottom: 0;
margin-left: 15px;
width: 825px;
#dsq-content {
margin-top: -44px;
2012-02-20 10:45:04 -08:00
#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;
}
}
2012-04-13 10:01:28 -07:00
div.profile {
2012-04-13 10:16:08 -07:00
background: rgba(128, 128, 128, .08);
2012-04-13 10:01:28 -07:00
margin: 0 0 30px 15px;
@include border-radius(8px);
2013-02-03 11:25:00 -08:00
img {
@include multi-border-radius(8px, 8px, 0, 0);
2012-04-13 10:01:28 -07:00
}
div.meta {
font: bold 14px $Helvetica;
2013-02-03 11:25:00 -08:00
padding: 10px;
2012-04-13 10:01:28 -07:00
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;
}
}
2012-07-18 21:39:43 -07:00
a.pro {
background: #DFDFDF;
color: #3299B7;
display: block;
font: bold italic 11px $Helvetica;
2013-02-03 11:25:00 -08:00
margin: 0 10px 10px 10px;
2012-07-18 21:39:43 -07:00
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;
2013-02-03 11:25:00 -08:00
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;
}
}
2012-04-13 10:01:28 -07:00
}
2012-04-13 10:05:49 -07:00
div.empty-snipts {
2012-04-13 10:16:08 -07:00
background: rgba(128, 128, 128, .08);
2012-04-13 10:05:49 -07:00
font: bold 18px $Helvetica;
margin: 30px 30px 0 30px;
2012-04-13 10:05:49 -07:00
padding: 10px;
text-align: center;
text-shadow: 0 1px 1px #FFF;
@include border-radius(8px);
}
2012-07-19 08:33:00 -07:00
div.site-notice {
border-left: 0;
margin: 30px 30px 30px 0;
2012-07-19 08:33:00 -07:00
padding-right: 14px;
text-align: center;
@include multi-border-radius(0, 4px, 4px, 0);
2012-07-19 08:33:00 -07:00
a {
color: #3A87AD;
font-weight: bold;
text-decoration: underline;
}
}
2013-01-21 21:00:23 -08:00
a.go-pro {
background: transparent url('/static/images/pro-hero-bg.png') top left repeat;
2013-01-22 07:33:00 -08:00
color: #797979;
2013-01-21 21:00:23 -08:00
display: block;
font: bold 12px $Helvetica;
2013-01-22 07:33:00 -08:00
margin: 30px 0;
2013-01-21 21:00:23 -08:00
padding: 8px 14px;
text-align: center;
text-decoration: none;
2013-01-22 07:36:49 -08:00
text-shadow: 0 1px 0 white;
2013-01-21 21:00:23 -08:00
@include multi-border-radius(0, 4px, 4px, 0);
span.snipt {
2013-01-22 07:33:00 -08:00
color: #797979;
2013-01-21 21:00:23 -08:00
font: normal 14px $Rockwell;
}
span.pro {
color: #3299B7;
font-family: $Helvetica;
font-style: italic;
font-weight: bold;
margin-right: 4px;
}
span.emph {
color: #666;
}
&:hover {
2013-01-22 07:33:00 -08:00
color: black;
2013-01-21 21:00:23 -08:00
span.pro {
color: #3299B7;
}
}
}
2011-10-06 13:58:46 -07:00
2012-01-16 18:17:58 -08:00
// Pages
body.account {
2013-02-10 16:24:55 -08:00
section.profile {
aside {
float: left;
2013-02-10 19:16:15 -08:00
padding-top: 30px;
2013-02-10 16:24:55 -08:00
width: 190px;
2013-02-10 19:16:15 -08:00
ul {
li {
a {
color: #43A8C6;
}
&.active {
a {
background: #43A8C6;
color: white;
}
}
}
}
2013-02-10 16:24:55 -08:00
}
section.content {
2013-02-10 19:16:15 -08:00
background: white;
border-bottom: 1px solid #DDDDDD;
border-left: 4px solid #43A8C6;
float: right;
min-height: 400px;
width: 555px;
}
}
}
body.blog {
article.snipt {
section.code {
height: auto;
}
}
}
2012-01-16 18:17:58 -08:00
body.detail {
div.right-y {
display: none;
}
section.main {
div.inner {
width: 100%;
section.snipts {
article.snipt {
margin-bottom: 0;
2012-12-16 20:41:50 -08:00
margin-top: 15px;
2012-01-16 18:17:58 -08:00
div.container {
width: 839px;
header {
h1 {
a {
white-space: normal;
}
}
}
section.code {
height: auto;
2012-07-22 19:36:13 -07:00
td.code {
div.highlight {
pre {
width: 804px;
}
}
}
2012-01-16 18:17:58 -08:00
}
&.full-screened {
&:after {
display: none;
}
}
2012-01-16 18:17:58 -08:00
}
aside {
margin-right: 0;
}
}
}
}
2012-12-16 20:41:50 -08:00
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;
}
}
}
2012-01-16 18:17:58 -08:00
}
2012-02-20 09:10:48 -08:00
div.rochester-made {
width: 840px;
}
2013-01-21 21:00:23 -08:00
div.site-notice, a.go-pro {
margin-right: 100px;
2012-02-20 10:45:04 -08:00
}
2012-02-12 18:13:13 -08:00
}
2012-04-07 16:16:26 -07:00
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;
}
2012-04-22 21:03:29 -07:00
}
2012-04-22 18:47:49 -07:00
}
}
}
body.jobs {
section.jobs {
margin: 30px;
2013-01-11 08:54:41 -08:00
h4 {
border-bottom: 1px solid #C0C0C0;
color: #999999;
font-size: 14px;
margin-top: 30px;
padding-bottom: 5px;
padding-left: 10px;
}
ul {
margin: 0;
2013-01-11 08:54:41 -08:00
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);
2013-01-11 08:54:41 -08:00
}
span.left {
float: left;
span {
display: block;
&.job {
color: #3096B4;
font-size: 16px;
font-weight: bold;
margin-bottom: 4px;
2012-05-08 10:32:53 -07:00
}
}
}
span.right {
float: right;
2012-05-08 10:32:53 -07:00
span {
display: block;
text-align: right;
2012-05-08 10:32:53 -07:00
&.location {
color: #999999;
font-size: 16px;
font-weight: bold;
margin-bottom: 4px;
}
2012-05-08 10:32:53 -07:00
}
}
}
}
2012-05-14 21:41:05 -07:00
}
}
}
2012-06-26 13:38:38 -07:00
body.pro {
2013-01-21 21:00:23 -08:00
div.pro-hero {
background: transparent url('/static/images/pro-hero-bg.png') top left repeat;
2013-01-22 07:33:00 -08:00
border-bottom: 1px solid #DDDDDD;
color: #797979;
2013-01-21 21:00:23 -08:00
font: normal 36px $Rockwell;
padding: 30px 0;
position: relative;
text-align: center;
2013-01-22 07:36:49 -08:00
text-shadow: 0 1px 0 white;
2013-01-21 21:00:23 -08:00
z-index: 50;
span {
color: #3299B7;
}
span.pro {
font: bold italic 33px $Helvetica;
}
}
2012-07-11 23:03:46 -07:00
div.static-box {
2013-01-21 21:00:23 -08:00
border-top: 0;
margin-top: 0;
2012-07-11 23:03:46 -07:00
padding-bottom: 0;
2013-01-21 21:00:23 -08:00
padding-top: 20px;
position: relative;
z-index: 49;
@include multi-border-radius(0px, 0px, 4px, 4px);
p:first-of-type {
margin-top: 10px;
}
2012-07-11 23:03:46 -07:00
}
2012-06-26 13:38:38 -07:00
h2 {
span.pro {
color: #3299B7;
font-style: italic;
font-weight: bold;
}
}
2012-07-03 10:15:21 -07:00
h3, h4 {
text-align: center;
}
2013-01-21 21:00:23 -08:00
h3 {
font-size: 23px;
span {
color: #999999;
}
span.pro {
color: #3299B7;
font-style: italic;
font-weight: bold;
}
}
2012-07-11 23:03:46 -07:00
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 {
2012-09-17 19:28:47 -07:00
background: #FCF8E3 url('/static/images/private-icon.png') 7px -15px no-repeat;
2012-07-11 23:03:46 -07:00
border: 1px solid #FBEED5;
color: #C09853;
display: inline-block;
font-size: 12px;
margin-left: 10px;
2012-09-17 19:28:47 -07:00
margin-top: -1px;
padding: 6px 10px 6px 33px;
2012-07-11 23:03:46 -07:00
@include border-radius;
a {
color: #C09853;
font-weight: bold;
text-decoration: underline;
&:hover {
color: #816638;
}
}
}
2012-07-18 21:39:43 -07:00
fieldset {
position: relative;
}
div.payment-errors {
display: none;
}
div.payment-loading {
background: rgba(#F2F2F2, .6);
display: none;
2012-08-13 11:25:11 -07:00
height: 248px;
2012-07-18 21:39:43 -07:00
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;
}
}
2012-07-16 09:41:31 -07:00
div.stripe {
color: #C2C2C2;
font: bold 11px/15px $Helvetica;
2012-09-17 19:28:47 -07:00
margin: 10px 65px 0 92px;
2012-07-16 09:41:31 -07:00
text-align: center;
a {
color: #a2a2a2;
&:hover {
text-decoration: underline;
}
}
}
2012-07-18 21:39:43 -07:00
&.form-horizontal {
fieldset {
padding-top: 18px;
}
div.form-actions {
margin-top: 18px;
}
}
2012-07-11 23:03:46 -07:00
}
2012-06-26 13:38:38 -07:00
}
body.search {
div.empty-snipts {
margin-top: 20px;
2012-07-03 15:22:48 -07:00
}
div.static-box {
border-left: 0;
margin-left: 0;
margin-right: 30px;
@include multi-border-radius(0px, 4px, 4px, 0px);
2012-07-03 15:22:48 -07:00
form {
margin-bottom: 0;
input.search-query {
width: 564px;
}
button {
padding: 4px 16px 4px;
}
2012-07-03 15:22:48 -07:00
}
}
}
2013-01-16 20:37:28 -08:00
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;
}
2013-01-21 21:00:23 -08:00
span.pro {
color: #3299B7;
font-family: $Helvetica;
font-style: italic;
font-weight: bold;
}
2012-07-03 15:22:48 -07:00
}
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;
}
2012-07-03 15:22:48 -07:00
}
}
2012-09-17 19:28:47 -07:00
body.stats {
table {
margin-bottom: 0;
}
}
body.tags {
div.alert {
margin: 30px 30px 10px 30px;
}
div.static-box {
margin-top: 10px;
2012-10-15 19:49:48 -07:00
ul {
margin-top: 0;
2012-10-15 19:49:48 -07:00
}
}
div.pagination {
margin-bottom: 8px;
margin-top: 20px;
}
aside.main {
padding-top: 30px;
}
2012-10-15 19:49:48 -07:00
}
2013-01-13 19:30:54 -08:00
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;
}
2013-01-13 19:30:54 -08:00
}
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;
}
}
2013-01-13 19:30:54 -08:00
div.in {
padding-left: 10px;
& > label {
margin-top: 6px;
}
textarea {
height: 100px;
2013-02-08 10:11:14 -08:00
font: normal 12px $Helvetica;
2013-01-13 19:30:54 -08:00
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 {
2013-02-05 12:24:51 -08:00
padding: 0 10px;
h2 {
border-bottom: 1px solid #DDDDDD;
color: #7D7D7B;
font: bold 12px $Helvetica;
margin-bottom: 20px;
padding-bottom: 5px;
text-transform: uppercase;
2013-02-05 12:24:51 -08:00
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 {
2013-02-05 12:24:51 -08:00
margin: 20px 0 0 0;
}
label:first-of-type {
margin: 0;
}
}
2013-01-13 19:30:54 -08:00
}
}
}
}
}
}