Skip to content

Instantly share code, notes, and snippets.

@cabrinha
Last active November 4, 2017 19:22
Show Gist options
  • Save cabrinha/9e84322fe5c04f3f3febf615ae832789 to your computer and use it in GitHub Desktop.
Save cabrinha/9e84322fe5c04f3f3febf615ae832789 to your computer and use it in GitHub Desktop.
/*
/r/Spacemacs Stylesheet by /u/yuppieee
*/
body {
background-color : #252629;
font-family: verdana, arial, helvetica, sans-serif;
min-height: 100%;
z-index: 1;
}
#sr-header-area a {
color : #332A45;
}
.sr-bar .separator {
color : #252629;
}
#header {
border-bottom-color : #957BC9;
background-color : #403D57;
background-image : url(%%sm-logo%%);
background-repeat: no-repeat;
background-position: center top 25px;
height: 160px;
background-size: 133px;
}
#header-img {
top: 63px;
left: 15px;
}
#header .pagename {bottom: 35px}
.pagename a {
color: #957BC9;
}
#siteTable a.title {
color: #957BC9
}
#siteTable a.title:visited {
color: #957BC9
}
#header .tabmenu {
bottom: 10px
background-color: transparent;
}
#sr-header-area {
border-bottom-color : #957BC9;
background-color : #ECA311;
}
#header-bottom-left {
position: absolute; bottom: 0;
background-color : rgba(0, 0, 0, 0);
}
#header-bottom-right {
position: absolute; bottom: 0;
background-color : #332A45;
}
/* link points / karma color */
.link .score { color: #78D17C; }
/* Change 'users here now' box value */
.users-online .word {
display:none;
}
.users-online .word, .users-online .number:after {
content: " spacers hacking now" !important;
}
/* Upvote arrow */
.arrow.up {
width: 0px;
background-image:none;
height: 0;
border-bottom: 8px solid #bdbdbd;
border-left: 8px solid #fff;
border-left-color:transparent;
border-right: 8px solid #fff;
border-right-color:transparent;
margin-bottom:6px;
}
.arrow.up:after {
content:"";
position:relative;
top:7px;
left:-3px;
width:5px;
height:6px;
background: #bdbdbd;
background-image: -webkit-linear-gradient(top, #bdbdbd, #dcdcdc);
background-image: -moz-linear-gradient(top, #bdbdbd, #dcdcdc);
background-image: -ms-linear-gradient(top, #bdbdbd, #dcdcdc);
background-image: -o-linear-gradient(top, #bdbdbd, #dcdcdc);
background: linear-gradient(to bottom, #bdbdbd, #dcdcdc);
display:block;
}
.arrow.upmod {
width: 0px;
background-image:none;
height: 0;
border-bottom: 8px solid #9494FF;
border-left: 8px solid #fff;
border-left-color:transparent;
border-right: 8px solid #fff;
border-right-color:transparent;
margin-bottom:6px;
}
.arrow.upmod:after {
content:"";
position:relative;
top:7px;
left:-3px;
width:5px;
height:6px;
background: #9494FF;
background-image: -webkit-linear-gradient(top, #9494FF, #E1E1FF);
background-image: -moz-linear-gradient(top, #9494FF, #E1E1FF);
background-image: -o-linear-gradient(top, #9494FF, #E1E1FF);
background-image: -ms-linear-gradient(top, #9494FF, #E1E1FF);
background-image: linear-gradient(to bottom, #9494FF, #E1E1FF);
display:block;
}
/* Downvote arrow */
.arrow.down {
width: 0px;
height: 0;
margin-top:8px;
background-image: none;
border-top: 8px solid #BDBDBD;
border-left: 8px solid #FFF;
border-left-color: transparent;
border-right: 8px solid #FFF;
border-right-color: transparent;
}
.arrow.down:after {
content: "";
position: relative;
bottom: 13px;
left: -3px;
width: 5px;
height: 6px;
background: #BDBDBD;
background-image: -webkit-linear-gradient(top, #DCDCDC, #BDBDBD);
background-image: -moz-linear-gradient(top, #DCDCDC, #BDBDBD);
background-image: -o-linear-gradient(top, #DCDCDC, #BDBDBD);
background-image: -ms-linear-gradient(top, #DCDCDC, #BDBDBD);
background-image: linear-gradient(to bottom, #DCDCDC, #BDBDBD);
display: block;}
.arrow.downmod {
width: 0px;
height: 0;
margin-top: 8px;
background-image: none;
border-top: 8px solid #9494FF;
border-left: 8px solid #FFF;
border-left-color: transparent;
border-right: 8px solid #FFF;
border-right-color: transparent;
}
.arrow.downmod:after {
content: "";
position: relative;
bottom: 13px;
left: -3px;
width: 5px;
height: 6px;
background: #9494FF;
background-image: -webkit-linear-gradient(top, #E1E1FF, #9494FF);
background-image: -moz-linear-gradient(top, #E1E1FF, #9494FF);
background-image: -o-linear-gradient(top, #E1E1FF, #9494FF);
background-image: -ms-linear-gradient(top, #E1E1FF, #9494FF);
background-image: linear-gradient(to bottom, #E1E1FF, #9494FF);
display: block;
}
/* Rounded tabs */
#header .tabmenu li a {
border: 1px solid #957BC9 !important;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
position:relative;
display:inline-block;
background: transparent !important;
}
#header .tabmenu li.selected a {
background:#252629 !important;
border-bottom-color: #252629 !important;}
#header .tabmenu li{
margin: 0px -1px;
padding-bottom:2px
}
#header .tabmenu {
padding:3px;
padding-bottom:0px;
overflow: hidden;
position: relative;
bottom:-1px;
}
#header .tabmenu:after {
position: absolute;
content: "";
width: 100%;
bottom: 0;
left: 0;
z-index: 1;
border-bottom: 1px solid #957BC9;
}
#header .tabmenu li a:before,
#header .tabmenu li a:after {
position: absolute;
bottom: -1px;
width: 6px;
height: 6px;
content: " ";
border: 1px solid #957BC9;
}
#header .tabmenu li a:before {
left: -7px;
border-bottom-right-radius: 6px;
border-width: 0 1px 1px 0 !important;
/*box-shadow: 2px 2px 0 #F2F2F2;*/
}
#header .tabmenu li a:after {
right: -7px;
border-bottom-left-radius: 6px;
border-width: 0 0 1px 1px !important;
/*box-shadow: -2px 2px 0 #F2F2F2;*/
}
#header .tabmenu li.selected a:before{
box-shadow: 2px 2px 0 #252629;
}
#header .tabmenu li.selected a:after{
box-shadow: -2px 2px 0 #252629;
}
a, .link .tagline a, .titlebox form.toggle.flairtoggle+.tagline a.author, .comment .tagline a.author {
color: #78D17C;
}
/*targets child comments*/
.comments-page .comment, .comment {
background-color: #333333 !important;
}
.entry .md p {
color: #e2e2e2 !important;
}
.entry .buttons li a {
color: #0c609a;
}
.comment .md {
color: #b2b2b2;
}
a:hover {
transition: color .15s ease;
transition-property: color;
transition-duration: 0.15s;
transition-timing-function: ease;
transition-delay: initial;
}
/* SIDEBAR */
.side {
background-color: #252629;
/* border: 1px solid #957BC9 */;
}
.side .md p { color: #b2b2b2; }
.side .titlebox:before { opacity: 0; }
.sidecontentbox .content {
border: 1px solid #957BC9;
}
.titlebox:before {
content: '';
background-size: 100%;
display: block;
height: 1px;
margin: 10px 0;
}
.sidecontentbox .title h1 {
color: #957BC9;
}
.titlebox h1 a {
color: #957BC9;
}
.titlebox {
color: #957BC9;
}
/* MORELINK BUTTONS */
.morelink {
background: #6F57A1;
height: 36px;
border-radius: 2px;
font-size: 14px;
line-height: 36px;
border: none;
text-align: center;
padding: 0;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
transition: box-shadow .2s cubic-bezier(.4, 0, 1, 1), background .2s cubic-bezier(.4, 0, .2, 1), color .2s cubic-bezier(.4, 0, .2, 1)
}
.morelink:hover {
background: #957BC9
}
.morelink:active {
background: #6F57A1;
box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(0, 0, 0, .2)
}
.sidebox.submit.submit-text .morelink {
margin-left: 155px;
}
.morelink a {
color: #fff;
font-weight: 400;
letter-spacing: 0
}
.submit-text .morelink a:before {
font-size: 14px;
content: "Submit Text"
}
.submit-link .morelink a:before {
font-size: 14px;
content: "Submit Link"
}
.submit-link .morelink:after,
.submit-text .morelink:before {
content: "N/A";
position: absolute;
left: -150px;
width: 125px;
color: rgba(0, 0, 0, .32);
border-radius: 2px;
background: rgba(0, 0, 0, .08);
font-weight: 400;
z-index: -1;
}
.submit-link .morelink:after {
left: 168px
}
.disabled .morelink {
box-shadow: none!important;
background: rgba(0, 0, 0, .08);
width: 320px;
}
.disabled .morelink a {
color: rgba(0, 0, 0, .32);
font-size: 14px
}
.morelink .nub {
display: none
}
.submit.mod-override .morelink a:after {
position: relative;
margin: 10px 10px 10px -16px;
float: right
}
.submit .morelink {
position: absolute;
top: 175px;
font-size: 0;
width: 145px
}
div.side {padding-right: 5px}
.side { padding-top: 55px; }
.link .usertext-body .md {
background-color: #343434;
border: 1px solid #957BC9;
border-radius: 7px;
}
/* PREFORMATTED CODE COMMENTS */
.new-comment .md :not(pre)>code, .link .md :not(pre)>code, .usertext.border .md :not(pre)>code, .new-comment .md pre, .link .md pre, .usertext.border .md pre {
background-color: #343434;
}
.md {
color: #b2b2b2;
}
.md a {
color: #78D17C;
}
.md code, .md pre {
border: 1px solid #957bc9;
background-color: #5a5a5a;
border-radius: 2px;
}
.new-comment .usertext-body {
background-color: #343434;
border: solid 1px #957bc9;
margin: -1px 0;
padding: 0 4px;
}
.panestack-title .title {
font-size: 16px;
font-weight: normal;
margin: 10px 0;
color: #b2b2b2;
}
.login-form-side #remember-me * {
vertical-align: middle;
color: #eca211;
}
.usertext.border .usertext-body {
background-color: #565656;
padding-left: 5px;
}
.icon-menu a {
background: transparent none no-repeat scroll center left;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment