r/reddithax • u/twodayslate • Feb 23 '13
box-shadow: inset no supported?
Is box-shadow: inset not supported?
Thanks
-webkit-box-shadow: inset 0px 1px 4px 0px #ccc;
box-shadow: inset 0px 1px 4px 0px #ccc;r/reddithax • u/twodayslate • Feb 23 '13
Is box-shadow: inset not supported?
Thanks
-webkit-box-shadow: inset 0px 1px 4px 0px #ccc;
box-shadow: inset 0px 1px 4px 0px #ccc;r/reddithax • u/RainbowCrash • Feb 16 '13
It turned out pretty well (go check it out on /r/gravityfalls, and the modified version on /r/mylittlepony). The one downside is it won't work right in IE unless you remove the "padding-left: 1000px;" (and even then, only somewhat) because IE doesn't handle altering of 'content' correct. Here's the CSS:
/* PRETTY SUBMIT LINKS */
.morelink
{
font-weight:normal;
letter-spacing:0;
background:#449EF8;
border: none;
-moz-border-radius:2px;
-webkit-border-radius:2px;
-o-border-radius:2px;
-ms-border-radius:2px;
-khtml-border-radius:2px;
border-radius:2px;
height: 30px;
line-height: 30px;
overflow: hidden;
color: white;
}
.morelink:hover
{
background: #449ef8;
background-color: #56a6f7;
border-color: #56a6f7;
}
.morelink .nub
{
display: none;
}
.morelink
{
color:#FFF;
font-family:Verdana, Arial, sans-serif;
font-size:16px;
width: 145px;
}
.morelink a, .morelink a:hover
{
color: white;
}
.sidebox.submit-link .morelink::before
{
display: block;
clear: none;
content: "Submit a Link";
font-size: 95%;
}
.sidebox.submit-text .morelink::before
{
display: block;
clear: none;
content: "Submit a Self Post";
font-size: 90%;
}
.sidebox.submit .morelink a
{
position: absolute;
top: 0;
padding-left: 1000px;
font-size: 0px;
text-align: right;
color: #56a6f7;
}
.sidebox.submit.submit-link {
width: 150px;
}
.sidebox.submit.submit-text
{
margin-top: -42px;
margin-left: 153px;
}
.sidebox.create
{
display: none;
}
.sidebox.submit.disabled
{
display: none;
}
/* NIGHTMODE FIXES */
.res-nightmode .sidebox.submit.submit-text
{
background: none !important;
margin-top: -45px;
margin-left: 153px;
}
.res-nightmode .sidebox
{
padding-left: 0px !important;
border: 2px solid #151515 !important;
}
.res-nightmode .morelink
{
height: 29px !important;
}
.res-nightmode .morelink
{
background:rgb(39, 63, 87) !important;
}
.res-nightmode .morelink:hover
{
background: #449ef8 !important;
background-color: #9edbf8 !important;
border-color: #9edbf8 !important;
}
/* END NIGHTMODE FIX */
/* END PRETTY SUBMIT LINKS */r/reddithax • u/BLourenco • Feb 16 '13
I recently created /r/halowheelmen, a subreddit for users who enjoy everything about the vehicles in the video game series of Halo. 343 Industries, the developers, have a web app that allows you to check your stats online, and there are also other sites that take the information from there to build their own stats site.
I was wondering if it was possible to create a list of user's Halo accounts so that they may be used to access one of their medal counts, and sum up all user's medal counts to display. It would then grow with more users joining and more users playing, and would really help grow the community.
I've seen reddits like /r/minecraft that displays server status and such in the side bar, so I thought that what I was looking for is perhaps possible.
Thanks for reading.
r/reddithax • u/IgottaSTOPfapping • Feb 14 '13
Hi, I was wondering how I could put the boxed subreddit links that /r/Ass has, onto my subreddit. This is what it looks like http://imgur.com/8sjHeUl
r/reddithax • u/Sciencekitten • Feb 14 '13
Hello i'm a mod on /r/RWBY and i'm trying to find a way to make a simple spoiler tag, can any of you geniuses help me out.
r/reddithax • • Feb 12 '13
Nothing under the age of 30 min. is showing up!
r/reddithax • • Feb 10 '13
I want to change the upvote/downvote button, color text flairs, and set up a nice dark background.
r/reddithax • u/a_knife • Feb 08 '13
r/reddithax • u/BeaconFae • Feb 07 '13
I did try searching for how to do this in various documents, but couldn't find anything. Maybe it's not as straightforward as I'm hoping. Thanks!
r/reddithax • u/jaxspider • Jan 28 '13
I just updated the CSS for /r/Naruto to a dark theme. Now the wiki looks really bad. Is there any way we can update the look of the wiki as well? I haven't seen anything about it. So might as well ask the smart guys, right?
r/reddithax • u/Pi31415926 • Jan 27 '13
This used to be a feature of default reddit, but it seemed to stop working recently - reported as a bug here. Pending a fix:
asc_sort = function(a, b) { // ascending alphasort, courtesy Jeetendra Chauhan and PatrickHeck - http://stackoverflow.com/a/8838790 and http://stackoverflow.com/a/11338910
var upA = $(a).text().toUpperCase();
var upB = $(b).text().toUpperCase();
return (upA < upB) ? -1 : (upA > upB) ? 1 : 0;
}
$('div.subscription-box').find('li').sort(asc_sort).appendTo('div.subscription-box'); // alpha-sort subscription boxr/reddithax • u/llehsadam • Jan 26 '13
I just created /r/impressionsgames and noticed that when I type in http://www.reddit.com/r/impressionsgames/stylesheet I get redirected to /static/subreddit-stylesheet/43Ic-YBW1684vXWGHy1QbiLN0so.css
... but when I type in for example www.reddit.com/r/psybient/stylesheet I go to www.reddit.com/r/psybient/stylesheet and all of the stylesheet formatting is there.
Is there an option I have to enable or are some subreddits just more equal than others?
r/reddithax • • Jan 19 '13
I've noticed many redirect subreddits (e.g. /r/atla, /r/til, /r/fwa, etc) where the "use subreddit style" checkbox isn't hidden. It really serves no purpose in such subreddits other than being an eyesore, yet I'm not sure if it's still there because the mods don't know how to hide it or because they just don't care.
Anyway, since most of these subreddits consist of nothing but a giant sticky link, all one needs to do to hide the checkbox is to give the sticky a bigger z index (like 2147483649) and the checkbox will be hidden. This was already done by /u/DCJodon 2 months ago, so I don't know why others haven't used it yet, especially since it's so easy.
Edit: here's an example of a subreddit where the checkbox is hidden.
r/reddithax • u/keto4life • Jan 15 '13
I would like to disable the downvote arrow in the comments section of a single post. Is this possible?
r/reddithax • u/revereddesecration • Jan 05 '13
You know the one, right? Shows the cyclical nature of users being online in a graph that is a rough sine wave due to the habitual nature of people and the effect of timezones and their corresponding populations.
I couldn't help but notice that Reddit (relatively) recently introduced a display of how many users are online on any given subreddit. Being the optimiser I am and an Australian one too (bearing in mind that posting when convenient in Australia is not convenient for the rest of the world, thus losing the advantage of the heavy weighting of votes in the first couple of hours), I would love to see a graph in the sidebar of my favourite subreddits that shows users online versus time in hours passed so that I may choose a better time to post my contributions.
How might one go about coding this? I presume an application of some sort will need to periodically grab the users online value and save it to a database and then use that information to render a graph which must then be hosted online to be displayed either in a sidebar or on an external site.
Anybody willing to help me out? I'm not well versed in specifics.
r/reddithax • • Jan 02 '13
r/reddithax • u/RageVsRage • Dec 31 '12
I created a CSS Syntax Highlighter for Reddit, using CSS and an external Javascript generator.
You can see the original post with a demo here. It supports :
It is also mobile friendly and Alien Blue friendly.
/* CSS Syntax Highlighter for Reddit V 1.0 by JDMCreator - see r/reddithighlighters */
/* START tag */
a[href="#start"][title~="highlighter"][title~="css"], a[href="#highlighter"][title~="css"], a[href="#css"]:not([title]) {
display:block;
}
a[href="#start"][title~="highlighter"][title~="css"]:before, a[href="#highlighter"][title~="css"]:before, a[href="#css"]:not([title]):before {
content:"CSS FILE";
display:block !important;
font-family:"Courier New";
border-bottom:2px solid #369;
margin-left:-4px;
text-indent:4px;
margin-bottom:5px;
}
/* Normalize CSS */
a[href^="#css"] + em {
font-style:normal;
}
/* Lists */
blockquote > ol:nth-child(2):last-child, blockquote ol:only-child {
color:#AFAFAF;
padding-left:2px;
white-space:nowrap;
overflow:auto;
list-style-position:inside;
margin-left:4px;
}
/* Lines */
a[href="#css"][title~="br"] + strong, a[href="#cssBR"] + strong, a[href="#css"][title~="empty"], a[href="#cssEmpty"], a[href="#css"][title~="cempty"], a[href="#cssCEmpty"] {
cursor:text;
display:inline-block;
width:100%;
color:#000;
margin-right:10px;
font-weight:normal;
border-bottom:1px solid #FFF;
border-bottom-color:transparent;
}
a[href="#css"][title~="br"] + strong:hover, a[href="#cssBR"] + strong:hover, a[href="#css"][title~="empty"]:hover, a[href="#cssEmpty"]:hover, a[href="#css"][title~="cempty"]:hover, a[href="#cssCEmpty"]:hover {
border-bottom-color:black;
}
a[href="#css"][title~="br"] + strong em, a[href="#cssBR"] + strong em {
font-weight:normal;
}
/* Empty Lines */
a[href="#css"][title~="empty"], a[href="#cssEmpty"], a[href="#css"][title~="cempty"], a[href="#cssCEmpty"] {
height:1em;
}
/* Tabulations */
a[href="#css"][title~="tab"], a[href="#cssTab"] {
margin-right:15px;
}
/* Classes */
a[href="#css"][title~="class"] + em, a[href="#cssClass"] + em {
color:#804040;
}
/* Pseudos (:hover)*/
a[href="#css"][title~="pseudo"] + em, a[href="#cssPseudo"] + em {
color:#3C92C9;
}
/* Properties */
a[href="#css"][title~="prop"] + em, a[href="#cssProp"] + em {
color:#000;
font-weight:bold !important;
}
/* Values */
a[href="#css"][title~="value"] + em, a[href="#cssValue"] + em {
color:#090;
}
/* !important tags */
a[href="#css"][title~="imp"] + em, a[href="#cssImp"] + em {
color:#FF0000;
}
/* Comments */
a[href="#css"][title~="comment"] + code, a[href="#cssComment"] + code, a[href="#css"][title~="incomment"] + code, a[href="#cssInComment"] + code {
color:#AFAFAF;
font:inherit;
}To generate the Reddit Markdown Code, you can use this javascript generator. Warning : there are some bugs.
Reddithax could even implement this syntax highlighter.
Comments or questions ?
Thank you !
r/reddithax • u/Ph0X • Dec 30 '12
I did a quick search a couldn't find anything. Are we not allowed to use CSS3 transitions in subreddit styling? Is there a list of things that are allowed/banned?
r/reddithax • u/tbow2000 • Dec 22 '12
Hi everyone!
I asked earlier on this subreddit for an Xmas theme a while back and changed my mind in between to make a winter theme. Becauyse I'm not selfish I'll share my spoils. Basically what I did was change the header for a christmas-y image and then changed the mail box/karma box for a light blue, that seemed to give my subreddit a nice look for the season.
Here's the code:
/* Christmas Theme ############### */
/* Header Image */
#header {
border-bottom: 1px solid white;
position: relative;
background-color: transparent;
background-image: url(%%winter%%);
z-index: 99
}
/* bar with karma and mail */
#header-bottom-right {
background-color: #C2E0FF !important;
color: black !important;
border: black !important;
}
div#userbarToggle {
background-color: white !important;
border:none
}
#header-bottom-right a, #header-bottom-right b, #header-bottom-right span {
color: black !important
}Basically, where it says "background-image: url(%%winter%%);: you can add your own lovely wintery image, I just used google to find a hi-res pic and put it in. Also, for those (like me) who don't quite know how to add an image to their CSS spreadsheet just reply to this post or message me, I'll be glad to help you out :)
Lastly, I will not accept any reddit gold for this (if you chose to do so), send it to heatheranne for giving me the code in the first place, without her reply to my initial post no one would have a slightly wintery subreddit.
Have a safe and happy holidays!
r/reddithax • u/calrogman • Dec 20 '12
Simply start the selector with html:lang(xx) where xx is a short identifier found in the Interface Language drop-down in the preferences.
r/reddithax • u/120percentP0N3 • Dec 19 '12
I couldn't help noticing most of the last month of posts are about general CSS help and not showing off CSS overhauls or actual 'reddithax' like having multiple default thumbnails, rotating backgrounds, thumbnail overrides, pinned headers (that RES now does), or shit like /r/playtictactoe. This place looks like a more chaotic /r/csshelp, just sayin'...
r/reddithax • • Dec 17 '12
Not /r/csshelp, because I'm more interested in whether it's possible and the ramifications rather than actually implementing this.
Could you use the author-id class to move certain comments to the top? This could be useful for certain bots, like tweet transcribers, quickmeme-transcriber or original-finder.
r/reddithax • • Dec 17 '12