Created
March 7, 2015 16:06
-
-
Save janithl/a4236f57099688837014 to your computer and use it in GitHub Desktop.
Old /r/srilanka stylesheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* New Style Beta Header */ | |
#header{background-image:url(%%disp3%%);height:110px;background-color:#540f12;background-repeat:no-repeat;background-position:right;border-bottom:3px solid #f8c221} | |
.user a,.separator,.pref-lang,.logout a{color:#fff} | |
#header-bottom-right{background:none} | |
#header-bottom-left{position:absolute;bottom:0} | |
.tabmenu li{display:inherit} | |
.tabmenu li a{font-size:20px;font-weight:100;color:#fff;background:none;border:none;} | |
.tabmenu li.selected a{background:none;border:none;} | |
.formtab li{display:inline; padding-left:0;} | |
.formtab li a{font-size:100% !important;font-weight:100;color: #369 !important;background:none;border:none;} | |
.formtab li.selected a{font-size:130% !important; background:none; border:none; color: #fff !important;} | |
.redditname a{font-size:20px;font-weight:100;font-variant:normal;color:#fff;} | |
#sr-header-area{background-color:#720E0E;color:#fff;border-bottom:2px solid #922828;text-transform:lowercase} | |
#sr-header-area a{background-color:#720E0E;color:#fff;text-transform:lowercase} | |
#sr-header-area .dropdown.srdrop{margin-left:5px} | |
.dropdown.srdrop .selected{color:#fff;text-transform:lowercase} | |
.drop-choices{border:1px solid #922828;border-top:none} | |
.drop-choices .choice{padding:4px!important} | |
#header-img{position:relative;top:-25px;margin-right:20px;margin-left:20px} | |
#header-bottom-right span,.userkarma,.tabmenu li a:hover,.selected{color:#f8c221} | |
span.pagename{font-size: 20px;font-weight: 100;font-variant: normal;color: #fff;} | |
.thing.link, .think.self{overflow: hidden;padding: 10px 5px;} | |
.thumbnail img{height: 60px;width: auto;} | |
.rank{line-height: 60px;margin-top: 0 !important;} | |
.midcol{line-height: 30px;} | |
/***********************************************************************************************************************************/ | |
/*downvote warning*/ | |
.arrow.down:hover:before { | |
position: absolute; | |
display: block; | |
z-index: 1000; | |
width: 210px; | |
padding: 5px; | |
border: 0px solid #333; | |
background: white; | |
content: "Does not contribute"; | |
text-align: center; | |
font-size: 10px; | |
color: red; | |
font-weight: bold; | |
margin-left: 25px; | |
margin-top: 5px; | |
-moz-border-radius: 4px; | |
border-radius: 4px; | |
-webkit-border-radius: 4px | |
} | |
/*END downvote warning*/ | |
/*Subscribers*/ | |
.titlebox span.number:after { | |
content: " Sri Lankans"; | |
} | |
.titlebox span.word { | |
display: none; | |
} | |
.titlebox .users-online { | |
display: inline; | |
} | |
.titlebox .users-online:before { | |
display: none; | |
} | |
.titlebox .users-online .number { | |
color: black; | |
font-size: 12px; | |
font-style: italic; | |
} | |
.titlebox .users-online .number:before { | |
content: "("; | |
} | |
.titlebox .users-online .number:after { | |
content: " here)"; | |
} | |
/*End Subscribers*/ | |
/*Submit Buttons*/ | |
.morelink a { | |
color: white; | |
background-color: #FF9912; | |
font-family: Verdana,Arial,sans-serif; | |
font-size: 16px; | |
font-weight: 500; | |
letter-spacing: 0px; | |
} | |
.nub { display: none!important; | |
} | |
/* END Submit Buttons */ | |
.side a[href="http://www.reddit.com/message/compose?to=%2Fr%2Fsrilanka"] { | |
display: block; | |
color: white; | |
background-color: #556B2F; | |
padding: 8px 0 4px 4px; | |
margin: 2px 0; | |
text-align: center; | |
height: 20px; | |
} | |
/*Link Background*/ | |
.link{ | |
background: #eff7ff; | |
border: 1px solid #f1f1f1; | |
} | |
/*End Link Background*/ | |
/*Self post Image*/ | |
/*Self-post Thumbnail Icon*/ | |
.thumbnail.self { | |
height: 60px; | |
background-image: url(%%Lion2%%); | |
background-position: 5px 5px; | |
background-repeat: no-repeat; | |
} | |
/*End Self*/ | |
/*Hide create your own subreddit*/ | |
.sidebox.create .morelink { | |
display: none; | |
} | |
.sidebox.submit .spacer , .sidebox.create .spacer { | |
display: none; | |
} | |
/*End HIDE*/ | |
/*Hide bottom message moderators*/ | |
.sidecontentbox a.helplink{ | |
display:none; | |
} | |
/*end Hide mod*/ | |
/*Search Box*/ | |
.side #search { | |
border: 1px solid rgb(234, 234, 234); | |
padding: 10px; | |
margin-top: 20px; | |
background-color: rgb(253, 253, 253); | |
} | |
#search input[type="text"] { | |
width: 270px; | |
font-size: 14px; | |
} | |
#search input:-moz-placeholder { | |
color: #AAAAAA; | |
} | |
#search input::-webkit-input-placeholder { | |
color: #AAAAAA; | |
} | |
#search input::-moz-placeholder { | |
color: #AAAAAA; | |
} | |
#search input:-ms-input-placeholder { | |
color: #AAAAAA; | |
} | |
/*End Search box*/ | |
/*SIDEBAR*/ | |
.titlebox blockquote { | |
border: 1px solid #AAA; | |
font-size: 14px; | |
color: #777; | |
font-weight: bold; | |
margin: 5px 0px 5px 0px; | |
} | |
.md ul { | |
font-size: 11px; | |
} | |
.md p | |
{ | |
margin:5px; | |
padding: 5px | |
} | |
.md hr { | |
border: 0; | |
width: 80%; | |
} | |
.sidecontentbox, .titlebox | |
{ | |
margin-left:5px; | |
} | |
/* Non-subscriber message */ | |
.content:before{ | |
content: url(%%warning%%) " You're not subscribed to r/SriLanka yet! Click the subscribe button on the right to add the subreddit to your frontpage "; | |
display: block; | |
padding: 10px 0 10px 30px; | |
color:#2e2e2e; | |
} | |
.subscriber .content:before{ | |
content: " " !important; | |
} | |
/*Nightmode fix*/ | |
body.res-nightmode .sitetable .thing.link, body.res-nightmode div#siteTable div[onclick="click_thing(this)"] { | |
background-color: #333333 !important; | |
border: 1px solid #4C4C4C !important; | |
} | |
body.res-nightmode .sitetable .thing.link .keyHighlight { | |
background-color: #363636 !important; | |
border-color: #666666 !important; | |
outline-color: #666666 !important; | |
} | |
body.res-nightmode .midcol { | |
background-color: #222222 !important; | |
padding: 4px; | |
} | |
/* side bar image*/ | |
/* | |
.side { | |
padding-top: 210px; | |
background: url(%%wt20%%) no-repeat 0 5px; | |
}*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment