Skip to content

Instantly share code, notes, and snippets.

@fourohfour
Created March 25, 2014 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fourohfour/9770666 to your computer and use it in GitHub Desktop.
Save fourohfour/9770666 to your computer and use it in GitHub Desktop.
/*PSA*/
.side .md h4:nth-of-type(1) {
list-style-type:none!important;
position: absolute;
font-size: 14px;
display: block;
top: 70px; /*Change this in relation to your header's height*/
left: 5px; /*adjust this is well*/
margin:0;
background-color: #f6f7f8!important; /*Change for different background color*/
color: #555; /*Change for different for color*/
text-align: left;
border-radius: 2px;
border: 1px solid #dbdbdb;
width: auto;
padding: 7px 10px 7px 10px;
white-space: nowrap;
overflow: hidden;
}
.side .md h4:nth-of-type(1) a {
color: rgb(51, 102, 153); /*Changes the colors of the links*/
}
.content {
margin-top:45px; /*Increase or decrease depending on how much room you need*/
}
/*END PSA*/
.subscribers .word, .users-online .word{
display:none;
}
.subscribers .number:after {
content: " Plugin Devs"
}
.users-online .number:after {
content: " devs here now"
}
#header {
background: url(%%Code-Yellow%%)
}
.author { color: #282; }
.searchpane { display: none; }
/* user flair classes */
.flair{max-width:none; font-weight: 900;}
.flair-beginner{ color:red}
.flair-intermediate{ color:blue}
.flair-advanced{ color:green}
.flair-automod{ color:red}
/* link flair classes */
.linkflair-INFO .linkflairlabel {
font-size: 11px;
font-weight: bold;
color:blue;
border-color: #000000;
border-width: 1px;
border-radius: 3px;}
.linkflair-LIB .linkflairlabel {
font-size: 11px;
font-weight: bold;
color:blue;
border-color: #000000;
border-width: 1px;
border-radius: 3px;}
.linkflair-open-q .linkflairlabel {
max-width: none;
font-size: 11px;
background-color: red;
font-weight: bold;
color:black;
border-color: #000000;
border-width: 1px;
border-radius: 3px;}
.linkflair-resolved-q .linkflairlabel {
background-color: #33CC33;
font-size: 11px;
font-weight: bold;
color:#000000;
border-color: #000000;
border-width: 1px;
border-radius: 3px;}
.linkflair-announcement .linkflairlabel {
font-size: 11px;
font-weight: bold;
color: red;
border-color: red;
border-width: 2px;
border-radius: 4px;
}
/* Makes announcement flair for mods only */
body:not(.moderator) .flairoptionpane .linkflair-announcement { display: none; }
body:not(.moderator) .flairoptionpane .flair-automod {display: none; }
/* Message when hovering over report button */
.report-button:hover:after {
position: absolute;
white-space: normal;
display: block;
z-index: 1000;
width: 350px;
padding: 5px;
border: 1px solid #474747;
background: #E6E6E1;
content: "Please also message the moderators a link and reason why you are reporting this, thanks. ";
text-align: center;
font-size: 10px;
color: red;
margin-left: 25px;
margin-top: 5px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-border-radius: 4px
}
/* Message when hovering over downvote button */
.arrow.down:hover:before {
position: absolute;
display: block;
z-index: 1000;
width: 210px;
padding: 5px;
border: 1px solid #474747;
background: #E6E6E1;
content: " Please don't downvote simply because you don't agree.";
text-align: center;
font-size: 10px;
color: red;
margin-left: 25px;
margin-top: 5px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-border-radius: 4px
}
/* Submit post buttons */
.sidebox.submit {
width: 300px;
}
body:not(.listing-page) .morelink {
border-color: #5ba2fd!important;
border-radius: 2px!important;
background: none transparent;
background-color: #acd9fc;
background-image: -webkit-linear-gradient(top,#acd9fc,#8ccbfc)!important;
background-image: -moz-linear-gradient(top,#acd9fc,#8ccbfc)!important;
background-image: linear-gradient(top,#acd9fc,#8ccbfc)!important;
color: #2154a3;
}
body:not(.listing-page) .morelink a {
color: #2154a3!important;
text-shadow: 1px 1px 2px #eee;
}
body .morelink {
padding: 4px 10px;
border-color: #3079ed!important;
border-radius: 2px!important;
background: none transparent;
background-color: #5ba2fd;
background-image: -webkit-linear-gradient(top,#5ba2fd,#4b8adb)!important;
background-image: -moz-linear-gradient(top,#5ba2fd,#4b8adb)!important;
background-image: linear-gradient(top,#5ba2fd,#4b8adb)!important;
color: #fff;
font-weight: normal;
letter-spacing: 0;
}
body .morelink:hover,
body:not(.listing-page) .morelink:hover {
border-color: #08c;
background: none transparent;
background-color: #357ae8;
background-image: -webkit-linear-gradient(top,#4d90fe,#357ae8)!important;
background-image: -moz-linear-gradient(top,#4d90fe,#357ae8)!important;
background-image: linear-gradient(top,#4d90fe,#4787ed)!important;
color: #fff;
}
body .morelink a {
color: #fff!important;
font-weight: bold;
font-size: 16px;
text-shadow: 1px 1px 2px #0f0f0f;
}
body .morelink a:hover,
body:not(.listing-page) .morelink:hover a,
body:not(.listing-page) .morelink a:hover {
color: #fff!important;
text-shadow: 1px 1px 2px #0f0f0f!important;
}
body .morelink .nub,
body .morelink:hover .nub,
body .disabled .morelink .nub,
body .disabled .morelink:hover .nub {
background: none transparent!important;
}
body .disabled .morelink,
body .disabled .morelink:hover {
border-color: #f5f5f5!important;
background-color: #eee;
background-image: none!important;
}
body .disabled .morelink a,
body .disabled .morelink a:hover {
color: #aaa!important;
text-shadow: none!important;
cursor: default!important;
}
/* Expandable boxes for the sidebar */
/* Use an h6 (a.k.a ######) followed by a title, then list. */
/* Example: */
/* ######Hello */
/* * [This is a link](www.something.com) */
/* * Hello World! */
.side h6 { /* list button */
position: relative;
margin: 0 0 10px 0;
padding: 5px;
background: #F5F5F5;
border: 1px solid #DDD;
font-size: 12px;
color: #111;
cursor: pointer;
}
.side h6:after { /* "click to expand" text */
content: "click to expand";
position: absolute;
top: 8px;
right: 5px;
font-size: 9px;
font-weight: normal;
color: gray;
}
.side h6 + ul { /* styles (+ hides) the list */
position: relative;
margin: -40px 0 10px;
padding: 28px 0 0;
list-style: none;
border: 1px solid #DDD;
display: none;
}
.side h6:active + ul, /* displays list when button is clicked */
.side h6 + ul:hover { /* and when hovering over expanded list */
display: block;
}
.side h6 + ul li { /* styles list items */
position: relative;
padding: 5px;
border-top: 1px solid #DDD;
font-size: 11px;
}
/* submit post text */
/*#link-desc:after, #text-desc:after {
content: "Please remember to flair your post as needed!";
display: block;
margin-top: 1em;
font-weight: bold;
} */
/* submit post button */
.submit-page .btn[name="submit"] {
padding: 8px 205px;
border-color: #3079ed!important;
border-radius: 2px!important;
background: none transparent;
background-color: #5ba2fd;
background-image: -webkit-linear-gradient(top,#5ba2fd,#4b8adb)!important;
background-image: -moz-linear-gradient(top,#5ba2fd,#4b8adb)!important;
background-image: linear-gradient(top,#5ba2fd,#4b8adb)!important;
color: #fff;
font-weight: bold;
font-size: 30px;
text-shadow: 1px 1px 2px #0f0f0f;
border: 1px solid #c4dbf1;
position: relative;
}
.submit-page .btn[name="submit"]:hover {
border-color: #08c;
background: none transparent;
background-color: #357ae8;
background-image: -webkit-linear-gradient(top,#4d90fe,#357ae8)!important;
background-image: -moz-linear-gradient(top,#4d90fe,#357ae8)!important;
background-image: linear-gradient(top,#4d90fe,#4787ed)!important;
}
/* Save button pop up */
.submit-page .btn[name="submit"]:hover:after {
position: absolute;
display: block;
text-shadow: none;
border: 1px solid #5ba2fd!important;
border-radius: 2px!important;
background: none transparent;
background-color: #acd9fc;
background-image: -webkit-linear-gradient(top,#acd9fc,#8ccbfc)!important;
background-image: -moz-linear-gradient(top,#acd9fc,#8ccbfc)!important;
background-image: linear-gradient(top,#acd9fc,#8ccbfc)!important;
color: red;
width: 350px;
padding: 5px;
content: "Did you remember to read the rules on the sidebar and flair your post as needed?";
font-size: 10px;
right: -365px;
top: -1px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment