Skip to content

Instantly share code, notes, and snippets.

@grahamperrin
Created May 26, 2024 11:51
Show Gist options
  • Save grahamperrin/4353b6db5c4ef3af81c6391706b9d31b to your computer and use it in GitHub Desktop.
Save grahamperrin/4353b6db5c4ef3af81c6391706b9d31b to your computer and use it in GitHub Desktop.
/r/freebsd old Reddit stylesheet
#header {
position:relative;
background:-moz-linear-gradient(top,#660000 0px,#8F0000 96px,#F7F7F7 97px,#DFDFDF 125px);
background:-webkit-linear-gradient(top,#660000 0px,#8F0000 96px,#F7F7F7 97px,#DFDFDF 125px);
background:-ms-linear-gradient(top,#660000 0px,#8F0000 96px,#F7F7F7 97px,#DFDFDF 125px);
background:linear-gradient(top,#660000 0px,#8F0000 96px,#F7F7F7 97px,#DFDFDF 125px);
z-index:99;
height:125px;
border-bottom:1px solid #B4B4B4;
}
#header-img {
display:block;
margin-top:0px;
margin-left:auto;
margin-right:auto;
}
#header-bottom-left .redditname {
color:#666666;
font-size: large;
position:absolute;
bottom: 0px;
left:10px;
padding-bottom: 4px;
}
#header-bottom-left .pagename a {
color:#666666;
}
#header-bottom-left .tabmenu {
position:absolute;
bottom: 7px;
left:100px;
}
#header-bottom-left .tabmenu li {
margin: 0px;
}
#header-bottom-left .tabmenu li a {
padding-right: 13px;
padding-left: 13px;
padding-bottom:3px;
background:transparent;
color:#666666;
border:transparent;
border-left: solid 1.5px #B4B4B4;
}
#header-bottom-left .tabmenu li.selected a {
text-decoration:underline;
}
#header-bottom-right {
background:-moz-linear-gradient(#F7F7F7,#DFDFDF);
background:-webkit-linear-gradient(#F7F7F7,#DFDFDF);
background:linear-gradient(#F7F7F7,#DFDFDF);
padding:8px;
border-bottom:1px solid #B4B4B4;
bottom: -1px !important;
}
a {
color:#990000;
}
.thing .title {
color:#990000;
}
.link a.title:hover {
color:#000000 !important;
text-decoration:underline;
}
.thing .title:visited,.thing.visited .title {
color:#6B0000;
}
.link .usertext-body .md {
background-color:#F7F7F7;
border: 1px solid #DFDFDF;
border-radius: 7px;
}
.link:hover {
background-color: #EEEEEE;
}
/* Submit link styling */
.morelink {
border:1px solid #B4B4B4;
background-image:none;
background:-moz-linear-gradient(#F7F7F7,#DFDFDF);
background:-webkit-linear-gradient(#F7F7F7,#DFDFDF);
background:linear-gradient(#F7F7F7,#DFDFDF);
border-radius:5px;
}
.morelink:hover {
border:1px solid #B4B4B4;
background-image:none;
background:-moz-linear-gradient(#DEDEDE,#C8C8C8);
background:-webkit-linear-gradient(#DEDEDE,#C8C8C8);
background:linear-gradient(#DEDEDE,#C8C8C8);
border-radius:5px;
}
.morelink a {
color:#990000;
}
.morelink a:hover,.sidebox.submit .morelink a:hover,.sidebox.submit .morelink a:focus {
color:#6B0000;
}
.morelink .nub {
display: none;
}
/* Curved Borders */
.titlebox {
padding:10px;
background-color:#EEEEEE;
border:1px solid #B4B4B4;
color:#000;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius: 5px;
}
/* Search Expand Box */
#searchexpando {
text-align:center;
border:transparent;
margin-right:auto;
margin-left:auto;
border-radius:5px;
background-color: #FACC2E;
}
/* RES styling */
.res .RES-keyNav-activeElement,.res .commentarea .RES-keyNav-activeElement .md,.res .commentarea .RES-keyNav-activeElement.entry .noncollapsed {
background:#EEEEEE !important;
}
.res #userbarToggle {
color:#990000 !important;
background:-moz-linear-gradient(#F7F7F7,#DFDFDF) !important;
background:-webkit-linear-gradient(#F7F7F7,#DFDFDF) !important;
background:linear-gradient(#F7F7F7,#DFDFDF) !important;
border-right: transparent !important;
}
.res-navTop #userbarToggle.userbarShow {
top: -20px !important;
border-right: transparent !important;
line-height: 28px !important;
}
.res #header-bottom-right {
top: auto;
border-radius: 0;
bottom: -2px;
padding: 3px 4px 5px;
}
#RESShortcutsSort, #RESShortcutsRight, #RESShortcutsLeft, #RESShortcutsAdd, #RESShortcutsTrash {
color: #990000 !important;
background-color: transparent !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment