Created
August 20, 2012 03:14
-
-
Save nelsonjchen/3400001 to your computer and use it in GitHub Desktop.
old css
This file contains hidden or 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
/* Credit for stuff from other subreddits | |
r/Modclub: General inspiration and reference for other subreddits to pull from | |
r/Music: the origin of the stick out headers? | |
r/gentlemanboners: Typography for header | |
r/chrome: moving the userbar up | |
r/apple: Touchups to subreddit bar | |
r/baseball: submit links | |
r/UCSD: Dark Bluish Userbar | |
r/UCR: Yellow Tabs | |
r/surfing: Ideas on getting a surfboard back into the header | |
r/battlefield3: Not sure yet | |
RES: Night mode for quick inspiration | |
r/SJSU: Gradients | |
As for this stylesheet/design itself, | |
u/snifty for the logo | |
u/bboe and u/mellort for the Python Reddit API Wrapper for which this project would not | |
have gotten any sort of near-instant feedback on ongoing designs without. | |
u/crazysim for the base SCSS, tower pixel art, concept, and Heroku | |
compatibility, deployment script, and Rakefiles | |
Storke Tower itself: | |
Also, Clark and Morgan, which I think is an architectural firm of some sort | |
that built Storke Tower in the first place. Without the tower, finding some | |
sort of landmark would be quite a bit harder. | |
Source/Toolkit: https://github.com/crazysim/cowboystyle | |
*/ | |
/*Twitter Feed Graphic*/ | |
/* a[href="http://twitter.com/reddit_ucsb"]:after { */ | |
/* width: 68px; */ | |
/* height: 16px; */ | |
/* content: ""; */ | |
/* [> background-image: url(http://thumbs.reddit.com/t5_2shs9_0.png); <] */ | |
/* background-position: -0px; */ | |
/* display: inline-block; */ | |
/* cursor: pointer; */ | |
/* position: relative */ | |
/* } */ | |
/*replace "readers" with gauchos*/ | |
/* line 13, ../sass/_present.scss */ | |
div.titlebox span.word { | |
display: none; | |
} | |
/* line 16, ../sass/_present.scss */ | |
div.titlebox span.number:after { | |
content: " Gauchos"; | |
} | |
/*Flair Classes*/ | |
/* line 20, ../sass/_present.scss */ | |
.flair-mod { | |
content: ""; | |
} | |
/* line 23, ../sass/_present.scss */ | |
.flair-mod:before { | |
content: ""; | |
text-align: right; | |
float: left; | |
width: 16px; | |
height: 16px; | |
/* background: transparent url(http://thumbs.reddit.com/t5_2shs9_2.png) center center no-repeat */ | |
} | |
/* line 31, ../sass/_present.scss */ | |
.flair-tweetposter { | |
border: 0; | |
padding: 0; | |
/* background: transparent url(http://thumbs.reddit.com/t5_2shs9_1.png) center center no-repeat; */ | |
height: 16px; | |
width: 16px; | |
text-indent: -9999px; | |
} | |
/* Flair */ | |
/* line 40, ../sass/_present.scss */ | |
.linkflair-gold .title { | |
background-color: gold; | |
} | |
/* ~~~~~~~~~~~~~~~~~~~~~~ Global ~~~~~~~~~~~~~~~~~~~~~~~ */ | |
/* line 10, ../sass/_base.scss */ | |
a { | |
color: #336699; | |
} | |
/* ~~~~~~~~~~~~~~~~~~~~~~ Subreddit Bar ~~~~~~~~~~~~~~~~~~~~~~~ */ | |
/* line 17, ../sass/_base.scss */ | |
#sr-header-area { | |
background-color: #2d2d2d; | |
} | |
/* line 19, ../sass/_base.scss */ | |
#sr-header-area .srSep { | |
color: gray; | |
} | |
/* line 24, ../sass/_base.scss */ | |
#sr-header-area a, #sr-more-link, .srdrop > .selected { | |
background-color: #2d2d2d; | |
color: #cccccc !important; | |
} | |
/* line 32, ../sass/_base.scss */ | |
#RESShortcuts { | |
color: #cccccc; | |
} | |
/* line 36, ../sass/_base.scss */ | |
#srLeftContainer { | |
max-height: 19px !important; | |
height: 19px !important; | |
} | |
/* line 41, ../sass/_base.scss */ | |
#RESShortcutsViewport { | |
padding-left: 50px; | |
} | |
/* line 45, ../sass/_base.scss */ | |
#RESShortcutsEditContainer { | |
position: relative !important; | |
top: -18px !important; | |
left: 40px; | |
float: left; | |
width: 0 !important; | |
height: 1px !important; | |
z-index: 7 !important; | |
} | |
/* line 55, ../sass/_base.scss */ | |
#RESShortcutsRight, #RESShortcutsLeft, #RESShortcutsAdd, #RESShortcutsTrash { | |
background-color: #2d2d2d !important; | |
color: #cccccc !important; | |
} | |
/* line 60, ../sass/_base.scss */ | |
.res-navTop { | |
top: 0 !important; | |
z-index: 10 !important; | |
} | |
/* line 65, ../sass/_base.scss */ | |
#userbarToggle { | |
background-color: #002773 !important; | |
border-right-color: #001f5a !important; | |
color: #ffc82e !important; | |
min-height: 27px; | |
} | |
/* line 74, ../sass/_base.scss */ | |
#header-bottom-right { | |
background-color: #0039a6; | |
top: 0; | |
-moz-border-radius-topleft: 0; | |
-webkit-border-top-left-radius: 0; | |
border-top-left-radius: 0; | |
-moz-border-radius-bottomleft: 7px; | |
-webkit-border-bottom-left-radius: 7px; | |
border-bottom-left-radius: 7px; | |
padding-left: 10px; | |
height: 12px; | |
} | |
/* line 81, ../sass/_base.scss */ | |
#header-bottom-right a, #header-bottom-right b, #header-bottom-right > .separator { | |
color: #ffc82e; | |
} | |
/* line 87, ../sass/_base.scss */ | |
#NREFloat { | |
z-index: 100; | |
} | |
/* line 92, ../sass/_base.scss */ | |
.width-clip { | |
right: 300px !important; | |
} | |
/* ~~~~~~~~~~~~~~~~~~~~~~ Header ~~~~~~~~~~~~~~~~~~~~~~~ */ | |
/* line 99, ../sass/_base.scss */ | |
#header-bottom-left { | |
background-color: #004ba7; | |
background-repeat: repeat-y; | |
background-position: 100% 0%; | |
padding-right: 300px; | |
} | |
/* line 106, ../sass/_base.scss */ | |
#header { | |
border-bottom-color: #5f99cf; | |
z-index: 45; | |
} | |
/* line 112, ../sass/_base.scss */ | |
#header-img { | |
background-image: url(%%alien-header-background-temp%%); | |
height: 40px; | |
width: 140px; | |
} | |
/* line 119, ../sass/_base.scss */ | |
.pagename, .pagename a { | |
font-family: "Minion Pro", "Hoefler Text", "Palatino Linotype", "Book Antiqua", Palatino, georgia, garamond, FreeSerif, serif; | |
font-size: 16px; | |
font-variant: small-caps; | |
text-transform: capitalize; | |
color: #ffc82e; | |
} | |
/* line 130, ../sass/_base.scss */ | |
.tabmenu { | |
z-index: 55; | |
} | |
/* line 133, ../sass/_base.scss */ | |
.tabmenu li a { | |
background-color: #ffc82e; | |
color: #0039a6; | |
} | |
/* line 137, ../sass/_base.scss */ | |
.tabmenu li.selected a { | |
border: 1px solid #5f99cf; | |
border-bottom-color: #e9f6fe; | |
} | |
/* ~~~~~~~~~~~~~~~~~~~~~~ Sidebar ~~~~~~~~~~~~~~~~~~~~~~~ */ | |
/* line 147, ../sass/_base.scss */ | |
.side { | |
background-color: transparent; | |
background-position: 8px 0; | |
margin: 0px 8px 0px 8px; | |
} | |
/* line 154, ../sass/_base.scss */ | |
.side > .spacer:first-child { | |
background-color: #b8e2fc; | |
background-image: url(%%storke-middle%%); | |
background-repeat: no-repeat; | |
background-position: 8px 250px; | |
padding-top: 320px; | |
margin: 0; | |
} | |
/* line 166, ../sass/_base.scss */ | |
.side .md a[href="http://www.youtube.com/watch?v=JPPjS-TCCqk"] { | |
background-color: transparent; | |
background-image: url(%%storke-top%%); | |
position: absolute; | |
top: 28px; | |
right: 0; | |
height: 330px; | |
width: 300px; | |
z-index: 52; | |
} | |
/* line 180, ../sass/_base.scss */ | |
.side .titlebox > .redditname { | |
display: none; | |
} | |
/* line 185, ../sass/_base.scss */ | |
.side .titlebox .flairtoggle, .side .titlebox .leavemoderator { | |
background-color: white; | |
} | |
/* line 193, ../sass/_base.scss */ | |
.side .sidebox.create, .side .sidebox.submit { | |
display: none; | |
} | |
/* line 197, ../sass/_base.scss */ | |
.side .md { | |
margin: 0; | |
padding: 0; | |
overflow: visible; | |
} | |
/* line 203, ../sass/_base.scss */ | |
.side .md a[href$="#submitlink"], .side .md a[href$="#selfpost"] { | |
-webkit-border-radius: 5px; | |
-moz-border-radius: 5px; | |
-ms-border-radius: 5px; | |
-o-border-radius: 5px; | |
border-radius: 5px; | |
/* background-color: $ucsb_blue; */ | |
background-image: -webkit-linear-gradient(bottom, #0039a6, #004bd9); | |
background-image: -moz-linear-gradient(bottom, #0039a6, #004bd9); | |
background-image: -o-linear-gradient(bottom, #0039a6, #004bd9); | |
background-image: linear-gradient(bottom, #0039a6, #004bd9); | |
background-color: #0039a6; | |
color: white; | |
text-align: center; | |
font-size: 20px; | |
font-weight: bold; | |
width: 100%; | |
padding: 5px 0px; | |
margin: 5px 0px; | |
position: relative; | |
float: left; | |
} | |
/* line 217, ../sass/_base.scss */ | |
.side .md a[href$="#submitlink"]:hover, .side .md a[href$="#selfpost"]:hover { | |
background-image: -webkit-linear-gradient(bottom, #004bd9, #0d60ff); | |
background-image: -moz-linear-gradient(bottom, #004bd9, #0d60ff); | |
background-image: -o-linear-gradient(bottom, #004bd9, #0d60ff); | |
background-image: linear-gradient(bottom, #004bd9, #0d60ff); | |
/* color: $ucsb_gold; */ | |
} | |
/* line 224, ../sass/_base.scss */ | |
.side .md > h1, .side .md > h3 { | |
background-color: #004ba7; | |
color: white; | |
margin-left: -18px; | |
margin-right: 5px; | |
padding-left: 20px; | |
padding-right: 20px; | |
padding-top: 5px; | |
padding-bottom: 5px; | |
} | |
/* line 234, ../sass/_base.scss */ | |
.side .md > h1:after, .side .md > h3:after { | |
content: ""; | |
border-color: transparent #003474 transparent transparent; | |
border-style: solid; | |
border-width: 15px; | |
height: 0px; | |
width: 0px; | |
position: absolute; | |
display: block; | |
margin-left: -35px; | |
margin-top: -10px; | |
z-index: -1; | |
} | |
/* line 249, ../sass/_base.scss */ | |
.side .md thead { | |
background-color: #0039a6; | |
} | |
/* line 254, ../sass/_base.scss */ | |
.side .titlebox, .side #moderation_tools, .side .sidecontentbox { | |
background-color: white; | |
-webkit-border-radius: 5px; | |
-moz-border-radius: 5px; | |
-ms-border-radius: 5px; | |
-o-border-radius: 5px; | |
border-radius: 5px; | |
padding: 10px; | |
} | |
/* line 261, ../sass/_base.scss */ | |
.side .login-form-side { | |
background-color: white; | |
} | |
/* line 266, ../sass/_base.scss */ | |
.side .account-activity-box a { | |
background-color: white; | |
-webkit-border-radius: 2px; | |
-moz-border-radius: 2px; | |
-ms-border-radius: 2px; | |
-o-border-radius: 2px; | |
border-radius: 2px; | |
padding: 2px 10px; | |
} | |
/* line 273, ../sass/_base.scss */ | |
.side .sidecontentbox .content { | |
border: none; | |
} | |
/* ~~~~~~~~~~~~~~~~~~~~~~ Content ~~~~~~~~~~~~~~~~~~~~~~~ */ | |
/* line 281, ../sass/_base.scss */ | |
body { | |
background-color: #b8e2fc; | |
background-image: url(%%storke-middle%%); | |
background-repeat: repeat-y; | |
background-position: 100% 70px; | |
color: black; | |
} | |
/* line 287, ../sass/_base.scss */ | |
body .content { | |
background-color: white; | |
-webkit-border-radius: 5px; | |
-moz-border-radius: 5px; | |
-ms-border-radius: 5px; | |
-o-border-radius: 5px; | |
border-radius: 5px; | |
margin-top: 8px; | |
margin-left: 8px; | |
margin-right: 330px; | |
padding: 10px; | |
} | |
/* line 295, ../sass/_base.scss */ | |
body .content .thing { | |
border-top: 1px solid #e6e6e6; | |
padding: 7px 0; | |
margin-bottom: 0px; | |
} | |
/* line 300, ../sass/_base.scss */ | |
body .content .thing.last-clicked { | |
border-left: 0; | |
border-right: 0; | |
border-bottom: 0; | |
} | |
/* line 307, ../sass/_base.scss */ | |
body .content .thing:first-child { | |
border-top: 0; | |
} | |
/* line 311, ../sass/_base.scss */ | |
body .content .thing .title { | |
color: #0039a6; | |
} | |
/* line 314, ../sass/_base.scss */ | |
body .content .thing .title:visited, body .content .thing .title.click { | |
color: gray; | |
} | |
/* line 317, ../sass/_base.scss */ | |
body .content .thing .title.loggedin { | |
color: #0039a6; | |
} | |
/* line 319, ../sass/_base.scss */ | |
body .content .thing .title.loggedin:visited, body .content .thing .title.loggedin.click, body .content .thing .title.loggedin.click:visited { | |
color: gray; | |
} | |
/* line 326, ../sass/_base.scss */ | |
body .content .thing .tagline a { | |
color: #336699; | |
} | |
/* line 332, ../sass/_base.scss */ | |
body .content .thing .entry.keyHighlight { | |
outline-width: 0; | |
border-right: 1px solid blue; | |
} | |
/* ~~~~~~~~~~~~~~~~~~~~~~ Footer ~~~~~~~~~~~~~~~~~~~~~~~ */ | |
/* line 344, ../sass/_base.scss */ | |
.footer.rounded { | |
background-color: white; | |
color: black; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment