Skip to content

Instantly share code, notes, and snippets.

@TheEnigmaBlade
Created May 24, 2014 06:09
Show Gist options
  • Save TheEnigmaBlade/9f8b449ab8e2fd9ac67c to your computer and use it in GitHub Desktop.
Save TheEnigmaBlade/9f8b449ab8e2fd9ac67c to your computer and use it in GitHub Desktop.
Subreddit announcements
.side .md > ol {
left: 350px;
list-style: none outside none;
margin: 0;
padding: 0;
position: absolute;
top: 23px;
z-index: 200;
}
.side .md > ol li > p {
margin: 3px 0;
}
.side .md > ol li a {
background-color: #040404;
border: 1px solid #0C2E2D;
border-radius: 2px;
box-shadow: 0 0 4px black;
color: #BAFFF7;
display: inline-block;
font-size: 12px;
font-weight: normal;
padding: 3px 6px 3px 0;
text-decoration: none;
}
.side .md > ol li a:before {
background-color: #0C2E2D;
margin: 0 4px 0 0;
padding: 3px 6px;
content: "Notice";
color: #BAFFF7;
font-weight: bold;
}
.side .md > ol li a:hover {
background-color: #0C2E2D;
border-color: #3C5E5D;
color: white;
}
.side .md > ol li strong a {
background-color: #140404;
border: 2px solid #A00C0C;
color: red;
}
.side .md > ol li strong a:before {
background-color: #A00C0C;
color: #140404;
content: "Important";
}
.side .md > ol li strong a:hover {
background-color: #A00C0C;
border-color: #D00C0C;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment