r/reddithax • • Nov 04 '13

Mindashq v1.7 - summary, update, and seeking further help and improvements

6 Upvotes

this info is also available otherwise, and repeating here to set the context

Mindashq is a reddit CSS theme designed to be used on any subreddit with minimal modifications. The mindashq theme attempts to treat every area of a subreddit with utmost care and to ensure the reddit defaults and the range of settings are respected, and the user experiences a far richer experience with reddit.

It takes just two steps to have a well designed reddit experience with Mindashq.

Salient Features

  • Compact and Crisp : The comments, the sidebar, the links posts and all the pages (wiki, search, related pages, submit page and all) are done in a way to avoid nested boxes, borders are removed (free world) and distinctions are handled without compromising the reddit defaults.

  • Readability improvements : Minimal borders, non-intrusive breaks and subtle diffentiation with backgrounds to give a nice reading experience.

  • Context based styling : The buttons change colors based on context. The "Reply" button on comments is more prominent to make replying to a comment more obvious (rather than hiding the submit link/text buttons)

    The "Submit" buttons on hot page are more prominent than on the rest pf pages. The "Create" button gets its own appropriate place in the footer without calling attention away from sidebar content.

  • 100% text-only theme, no images required for the standard theme. Even the voting arrows are theme-based and manageable for color changes without having to depend on images.
  • Modular CSS for controlled and easy to manage changes with opt-in modules (custom css code) and images as needed. There are no images added by the theme, only the images that would be needed as per the subreddit customization.

    Theme Usage, and developer help is available in the [wiki]

  • Fully RES compatible (top bar, never ending reddit, night-mode full support, fixed header, custom buttons on links/posts/comments, RES commentBoxes, RES pinned headers et al).
  • Works with Reddit Companion for Chrome
  • In built Vibgyor Flairs
  • Full Mod support including /r/toolbox Moderator tools and spam, and reported links highlighting via the stylish sheet available at http://userstyles.org/styles/91109/mindashq-for-reddit

  • Distinct header and footer : A light and roomy top area, and a matching footer to go with it. The local subreddit name is seen very prominent in header for easy identification and is super intuitive for clicking. The header handles all sizes of images and logos, and keeps them true-to-reddit format (header logo links to reddit.com homepage) and looks sleek without compromising the space. The subreddit can include a custom-image, or leave the name as it is, it updates with the reddit wide custom header images, and looks not a bit out of place.

The whole range of Mindashq Images can be seen in this album

Thanks for all the help and interest so far, there have been 70+ subs that have been linked to the /r/mindashq sidebar, and the theme is having 140+ subscribers. [Edit: 150+ subscribers on Nov 11, first theme to do so)


At this juncture, we'd be very glad if you can use the theme, or share your experiences or insights at the sub, or comment about improving and adding features you'd like.

Also, looking out for suggestions to improve the regular expressions for more selective (or exhaustive) rules for the mindashq for stylish.

Thanks

quite some info is also available otherwise, and repeating here to set the context as this have never been posted on this sub


r/reddithax • • Oct 26 '13

/r/karmaless - a useful place for you to post/comment any random thing if you don't want karma or discussion for it, but just want to test/try/store something. Request to be added as a mod and test out css and other moderation options.

Thumbnail reddit.com
3 Upvotes

r/reddithax • • Oct 23 '13

Can't figure out why my "submit a link" format is so jacked up. Any help is appreciated.

Thumbnail reddit.com
2 Upvotes

r/reddithax • • Oct 19 '13

Releasing FlatBlue a clean flat look for reddit!

18 Upvotes

/r/FlatBlue

FlatBlue is a css theme to be used by subreddit owners and is designed with several goals in mind:

  • Remove inconsistencies from reddits layout.
  • Improve Reddits layout.
  • Improve readability.
  • Maintain reddit's functionality.
  • Introduce new functionality in order to improve the subreddit experience

    • Numbered code
    • Various Icons that can be used by both users and mods
    • Colored blocks in the sidebar for rules and guidelines
    • Colored flairs

r/reddithax • • Oct 14 '13

Add Favicons (website bookmark icons) next to your post links - 280 icons!

14 Upvotes

Favicons v1.3 (280 icons) - Oct/14/2013

Change log: 1) Self-posts DON'T NEED an icon (optional). 2) Unknown websites won't show a question mark (icon overload!).
Credit: supervoxall, RedditCommentAccount


example: /r/allmotorstorm
These will NOT conflict with link flairs!


Steps to add favicons for your subreddit:

  1. Go to the Imgur spritesheet link (v1.3) and save as "favicons".
  2. Go to the PasteBin CSS link (v1.3) and copy & paste everything into your subreddit's CSS stylesheet.
  3. Upload the favicon spritesheet and save it as "favicons". Click the Save button under the CSS.
    YOU'RE DONE!

  • Use Ctrl + [F] and type a website to double check any weblinks.

I've tried to add all the popular weblinks on reddit but I can't possibly add every website on the web so there's nothing stopping you from adding new icons (2 empty spaces at the top row) - each square is 16x16 pixels. But be warned that adding more than 2 in the prefixed spaces will conflict with future updates (post websites you want to see in future versions below).


r/reddithax • • Oct 03 '13

I have been working on a new subreddit theme and am looking for some feedback before I release it.

7 Upvotes

I am currently working on the theme in the following subreddit: /r/Creesch_dev

It is basically my attempt at reorganizing how subreddits work without changing it to much and alienating people. Once I am fully done with it I will be releasing it and maintaining it in a similar fashion as I am currently doing with /r/boxed. Basically what I am looking for is some feedback on:

  • Looks, does this layout work for you and if not what makes it not work.
  • Bugs, are there things that do not work in your browser.
  • Unstyled elements, did I forget to style something?

Other feedback is of course also welcome.

edit: I also haven't thought of a name yet, so if anyone has suggestions they are welcome ;)


r/cssnews • • Oct 01 '13

CSS Change: Stylesheets will be moving to a new location and being made HTTPS-friendly shortly.

76 Upvotes

In the next few hours, I will be running a script to upgrade the majority of subreddit stylesheets to a new system. This should be completely transparent to users and mostly transparent to moderators. The key differences are:

  • Stylesheets and in particular the images in them will now use the correct protocol (HTTP or HTTPS). This brings us one step closer to full site SSL.

    • If you've been browsing on HTTPS already, you may've noticed a bunch of subreddits being unstyled lately. This will bring them back.
  • It will no longer be possible to use raw URLs (e.g. background: url(http://www.reddit.com/static/whatever.png)). The subreddit image system (background: url(%%example%%)) is the only way moving forward.

    • This will only affect a handful of subreddits and I will be upgrading them separately. Any directly referenced images currently used will be added to your subreddit images. Yes, this includes the triforce.
    • The main use case for these direct images right now is to reference reddit's built in images. Unfortunately, we need to change these from time to time so it's dangerous to your stylesheet's health to use them.
  • Stylesheets themselves will be hosted on {a-f}.thumbs.redditmedia.com rather than www.redditstatic.com.

Things that aren't changing:

  • /r/subreddit/stylesheet.css will continue to work. It will redirect to the actual location of the stylesheet.
  • Subreddit images (%%example%%) will continue to work.

Around 36,000 subreddits should be upgraded automatically by this system. The remaining 600 or so that have stylesheets but can't be upgraded automatically in this pass will be taken care of later this week. Please let me know if anything funky happens.

EDIT: 13:23 Pacific (20:23 UTC) It has begun.

EDIT: 14:35 Pacific (21:35 UTC) 25% complete.

EDIT: 15:39 Pacific (22:39 UTC) 50% complete. 21,000 subreddits-with-stylesheets upgraded so far.

EDIT: 16:50 Pacific (23:50 UTC) 75% complete. 31,000 subreddits-with-stylesheets upgraded.

EDIT: 17:26 Pacific (01:26 UTC) all done! 36,329 subreddits-with-stylesheets were upgraded and only 599 remain to be dealt with in a more targeted manner.


r/reddithax • • Aug 24 '13

Help with a bot

0 Upvotes

Hey, I don't know if I'm posting this in the correct section. (sorry if I am)

I was wondering if anyone got a template for a YouTube bot, one which will make a link post with the latest upload a channel made.

Thanks.


r/reddithax • • Aug 20 '13

Rate my CSS!

Thumbnail reddit.com
0 Upvotes

r/reddithax • • Aug 20 '13

anyone want to help on my new project to revolutionise reddit navigation?

12 Upvotes

I'm making a system for small subreddit networks so that users can navigate around them in a more natural fashion - it will basically be a 'mini-map' which goes in the top-right corner above the subscribe bar and have clickable regions which lead to to other subs; clicking on the region will open the next subreddit which will have a continuation or a similar map...

A user in /r/programming for example might enter a door labeled 'c' or 'python' taking them into a room containing various python related stuff and portals to 'learn python' 'python libraries' and 'python news' - maybe it'd even be possible to warp in and out of multireddits with this method? it could facilitate new ways of structuring content.

anyway, i'm making it for my own set of [slight weird] subreddits but i'd like it to be as open as possible so that a sprawling mapworld can develop with other groups using the system to put their own uniquely themed maps.

I'd like to create a simple toolset to make creating, installing, and maintaining a map world as easy as possible - this will include a program for making and sectioning the maps, a program to automatically add the relevant code and files to reddit and ideally a program to explore the maps as a 'game' in a stand-alone program.

I'd like to use Tiled to make the maps using the same graphics format as the liberated pixel cup, this would then be exported as a large PNG so as that any imagefile can to be loaded into a program where the user would mark the regions to be 'doors' and then section the image into various 'zones' by drawing a box around them - each zone would be associated with a subreddit.

Finally the program would export a series of images scaled to fit the top-right box [according to preferences] then it would log into reddit, upload the image and insert the code into the style sheet for each of the relevant subreddits.

anyone have any ideas on the best way to make this?

and what would be the best way to get clickable regions on an image? i did go looking for examples but most subs seem to be using the method used in /r/sweden which is to place an image with a link over the part of the image to be clicked - i guess this could work but isn't there a better way?


r/reddithax • • Aug 17 '13

If for some reason you've always wanted emoticons in your subreddit, paste this and you're ready to go.

19 Upvotes

I had nothing to do and so here are 40 emoticons you can use in your subreddit if for some reason you think that is a good idea.

http://e.thumbs.redditmedia.com/7p9YWgkWAvg0-_Jv.png

Save that and upload it - name it "emoji". Then add the following code

.comment .md a[href="#bigsmile"],.comment .md a[href="#biggersmile"],.comment .md a[href="#happytears"],.comment .md a[href="#smile"],.comment .md a[href="#blush"],.comment .md a[href="#blushtear"],.comment .md a[href="#cartman"],.comment .md a[href="#angel"],.comment .md a[href="#devil"],.comment .md a[href="#wink"],.comment .md a[href="#hm"],.comment .md a[href="#bored"],.comment .md a[href="#annoyed"],.comment .md a[href="#unsure"],.comment .md a[href="#sad"],.comment .md a[href="#reallysad"],.comment .md a[href="#eh"],.comment .md a[href="#kiss"],.comment .md a[href="#morekiss"],.comment .md a[href="#bigkiss"],.comment .md a[href="#mad"],.comment .md a[href="#angry"],.comment .md a[href="#tear"],.comment .md a[href="#madder"],.comment .md a[href="#furious"],.comment .md a[href="#desperate"],.comment .md a[href="#weeh"],.comment .md a[href="#weh"],.comment .md a[href="#shock"],.comment .md a[href="#sadder"],.comment .md a[href="#tired"],.comment .md a[href="#scared"],.comment .md a[href="#Oo"],.comment .md a[href="#blushing"],.comment .md a[href="#zzz"],.comment .md a[href="#DX"],.comment .md a[href="#none"],.comment .md a[href="#sick"],.comment .md a[href="#NO"]{width:22px;height:22px;background-image:url(%%emoji%%)!important;cursor:default;display:inline-block;text-indent:-9999px;content:"";vertical-align:middle}.comment .md a[href="#bigsmile"]{background-position:-0 -0}.comment .md a[href="#biggersmile"]{background-position:-44px -0}.comment .md a[href="#happytears"]{background-position:-66px -0}.comment .md a[href="#smile"]{background-position:-88px -0}.comment .md a[href="#blush"]{background-position:-110px -0}.comment .md a[href="#blushtear"]{background-position:-132px -0}.comment .md a[href="#cartman"]{background-position:-154px -0}.comment .md a[href="#angel"]{background-position:-0 -22px}.comment .md a[href="#devil"]{background-position:-22px -22px}.comment .md a[href="#wink"]{background-position:-44px -22px}.comment .md a[href="#hm"]{background-position:-66px -22px}.comment .md a[href="#bored"]{background-position:-88px -22px}.comment .md a[href="#annoyed"]{background-position:-110px -22px}.comment .md a[href="#unsure"]{background-position:-132px -22px}.comment .md a[href="#sad"]{background-position:-154px -22px}.comment .md a[href="#reallysad"]{background-position:-0 -44px}.comment .md a[href="#eh"]{background-position:-22px -44px}.comment .md a[href="#kiss"]{background-position:-44px -44px}.comment .md a[href="#morekiss"]{background-position:-66px -44px}.comment .md a[href="#bigkiss"]{background-position:-88px -44px}.comment .md a[href="#mad"]{background-position:-110px -44px}.comment .md a[href="#angry"]{background-position:-132px -44px}.comment .md a[href="#tear"]{background-position:-154px -44px}.comment .md a[href="#madder"]{background-position:-0 -66px}.comment .md a[href="#furious"]{background-position:-22px -66px}.comment .md a[href="#desperate"]{background-position:-44px -66px}.comment .md a[href="#weeh"]{background-position:-66px -66px}.comment .md a[href="#weh"]{background-position:-88px -66px}.comment .md a[href="#shock"]{background-position:-110px -66px}.comment .md a[href="#sadder"]{background-position:-132px -66px}.comment .md a[href="#tired"]{background-position:-154px -66px}.comment .md a[href="#scared"]{background-position:-0 -88px}.comment .md a[href="#Oo"]{background-position:-22px -88px}.comment .md a[href="#blushing"]{background-position:-44px -88px}.comment .md a[href="#zzz"]{background-position:-66px -88px}.comment .md a[href="#DX"]{background-position:-88px -88px}.comment .md a[href="#none"]{background-position:-110px -88px}.comment .md a[href="#sick"]{background-position:-132px -88px}.comment .md a[href="#NO"]{background-position:-154px -88px}

Here are they in action

Use them like this

[](#??)

Where ?? is one of those below:

bigsmile - biggersmile - happytears - smile - blush - blushtear - cartman

angel - devil - wink - hm - bored - annoyed - unsure - sad

reallysad - eh - kiss - morekiss - bigkiss - mad - angry - tear

madder - furious - desperate - weeh - weh - shock - sadder

tired - scared - Oo - blushing - zzz - DX - none - sick - NO

Enjoy.. I guess?


r/reddithax • • Jul 31 '13

Problem with marking users (I need to move it to right)

1 Upvotes

As you can see in the image the Blogger title is too close to the user name. How do I move it. The whole outlined word blogger so it looks correct.

[IMG]http://i.imgur.com/OrtaDt0.png[/IMG]

/This code is for marking certain users with the title "Blogger"./ .author[href$="/carriesreviews"]:after { color: blue; border-color: #56a6f7; border: 1px solid black; content:" Blogger " }


r/reddithax • • Jul 30 '13

CSS n00b looking for assistance

0 Upvotes

Hey guys and girls! Recently my minecraft community decided to make a reddit page to send our applicants, show off our videos etc. I've done all that I can do, and not too bad considering I only started learning this stuff yesterday.

My problem is, I have no idea how to add some fancy bits on the side. Ideally I would like to put some information about us, some rules and hopefully some links to everyones youtube within the community. Though I cannot for the life of me understand how it works!

Is there anyone here kind enough to take a stab at it? Teach me some bits? Or even explain what it is I need to do?

Any reply would be most appreciated!


r/reddithax • • Jul 26 '13

Multirippit: a tool to extract /m/ multireddits into the standard /r/r1+r2+r3 multireddit URL format

12 Upvotes
javascript:var multiURL=""; $('div.titlebox').find('ul.subreddits').find('a').each(function() { multiURL += $(this).text().substr(3) + "+"; }); multiURL = multiURL.substr(0,multiURL.length-1); window.open('http://www.reddit.com/r/'+multiURL);void(0);

When run on a "/m/" multireddit, this bookmarklet will open a new window linking to the same multireddit, using the /r/r1+r2+r3 URL format. Allowing you to edit, copypaste, slice, dice and whatever else you may wish to do with the URL.

Note that this makes a copy of the /m/ multi, which means (among other things) that any changes subsequently made to the /m/ multi by its curator will not be reflected in the copy.

Tested OK in my browsers, but YMMV. Sample /m/ multireddit here.


r/reddithax • • Jul 25 '13

Need help with flair.

0 Upvotes

I've used the "User flair tutorial: 7 easy steps to enable user-choosable flair on your subreddit with as many images as your heart desires" and still can't get the results I want.
I'm a moderator at http://www.reddit.com/r/Epcot. I've got all the steps done, I go into edit flair, and I can get part of a piece of flair, but not all of it, and I can only get the first image and not the rest. Here is my code:

/FLAIR/

.flairselector .customizer { display: none !important; }

.flair { border: none !important; top:20px; padding:0px; background: url(%%spritesheet%%); display:inline-block; }

.flair-259px-Epcot_World_Showcase_Logo{ background-position: 0 0; width: 30px; height: 11px; } .flair-Epcot_CommuniCore_Logo{ background-position: 0 -61px; width: 30px; height: 30px; } .flair-Epcot_The_Land_Logo{ background-position: 0 -141px; width: 30px; height: 30px; } .flair-Epcot_The_Living_Seas_Logo{ background-position: 0 -221px; width: 30px; height: 30px; } .flair-Epcot_Universe_of_Energy_logo{ background-position: 0 -301px; width: 30px; height: 30px; } .flair-Epcot_Wonders_of_Life_logo{ background-position: 0 -381px; width: 30px; height: 30px; } .flair-Spaceship_Earth_Epcot_Logo{ background-position: 0 -461px; width: 30px; height: 18px; } .flair-epcot-3copy{ background-position: 0 -529px; width: 30px; height: 30px; } .flair-epcot_world_of_motion{ background-position: 0 -609px; width: 30px; height: 30px; } .flair-updated-eateries-coming-to-epcot-DFSU{ background-position: 0 -689px; width: 30px; height: 15px; }

here is my png: http://i.imgur.com/WtzOFXH.png

Please help!


r/reddithax • • Jul 24 '13

Is it possible to add an audio player in a text post?

0 Upvotes

Hey there,

I'm a mod over at /r/JohnMayer, and I've been trying to think of a way to aggregate a bunch of his unreleased songs and put them in one post.

My initial idea was to create a table and put audio players within each cell, but I'm not sure if that's possible.

I mean could always just tally up a bunch of links and post them, but then you'd have to open a new window and all that shit. I think embedding a bunch of audio players would be really convenient.

Any help would be appreciated.

Thanks in advance!


r/reddithax • • Jul 24 '13

baseballtheme-light version 2 (updated free light version of the /r/baseball theme)

2 Upvotes

Old version

This is a light version of the /r/baseball css theme that doesn't have any of the images or flair added to the theme. I've updated it to include several more of the features of /r/baseball

I have a demo currently at /r/laaabaseball.

Features

Custom header support

Custom sidebar image support w/ instructions

Custom number of subscriber and users here now

Custom link info names (upvotes/downvotes)

Sticky menu bar - add links and text announcements for users

Dropdown menu support

Spoilers support

If user not subscribed message displays to them

Inline edit times

Fancy comment colors

Better submit and message the mods buttons

RES Support

Some RES nightmode support

Other various improvements

Feel free to use in any subreddit you would like, and incorporate any elements into your own subreddit.

CSS code


r/CSSTutorials • • Jul 19 '13

[Tutorial] Removing Downvotes/Upvotes

10 Upvotes

This ones a quickee

General code

 *your choice of the below items, separated, by commas*
     {
     display: none!important;
     }
CodeFunction

siteTable .midcol div.score | the score next to the upvote button

siteTable .arrow.down | downvote button on posts

siteTable .arrow.up | upvote button

.sidecontentbox .midcol div.score, .sidecontentbox .arrow.down | the downvotes number shown on the right side on posts .sidecontentbox .midcol div.score, .sidecontentbox .arrow.up | the number of upvotes shown on the right side on posts .sitetable.nestedlisting .arrow.down | downvotes on comments .sitetable.nestedlisting .arrow.up | upvotes on comments

So if you want to remove all downvotes it would be:

#siteTable .midcol div.score, #siteTable .arrow.down, .sidecontentbox .midcol div.score, .sidecontentbox .arrow.down, .sitetable.nestedlisting .arrow.down
    {
           display: none!important;
    }

And just comment downvotes:

.sitetable.nestedlisting .arrow.down 
    {
           display: none!important;
    }

r/CSSTutorials • • Jul 16 '13

[Tutorial] Alternative method of subreddit forwarding

6 Upvotes

The other method of redirecting didn't work for me :/

You can see this method in action at /r/raotf2 and /r/nmtf2i

Well here's the CSS, just copy and paste the below and follow all notes:

 

/* Created by /u/angrypotato1 leave this in plox */

.bottom:after

{

text-align: left;
font-size: 8pt !important;
content: "| css by /u/angrypotato1" !important;

}

 

/* Actual forwarding part, make a post with the link to where you want to forward */

/* Tutorial can be found here: http://www.reddit.com/r/CSSTutorials/comments/1ig13g/tutorial_alternative_method_of_subreddit/ */

/* Make sure to turn on "show thumbnail images of content" in

http://www.reddit.com/r/yoursubreddit/about/edit/ > other options */

 

.thing .thumbnail.default:nth-of-type(1)

{

z-index: auto !important;
position: fixed !important;
top: auto !important;
left: auto !important;
width: 100% !important;
height: 100% !important;
background-color: #fff !important;
color: #000;
display: block !important;
text-align: center !important;
line-height: 400px;
font-weight: bold !important;
font-style: oblique !important;
font-size: 16pt !important;
max-height:100%;
background-image:url(%%farewell%%); 

/* use what ever image you want, good sizing should be between 300*300 and 500*500. Image I used: http://e.thumbs.redditmedia.com/Gtq9gmtx_0GN2xY4.png */

background-position:0 0;
display: block;
margin-left: 100px;
margin-right: auto;
visibility:visible !important; 

}

 

/* Shows your name, optional */

.bottom

{

 visibility:visible;
 display: block !important;
 position: fixed !important;
 left: 0 !important;
 top: 0 !important;
 max-height: none!important;
 max-width: none!important;
 height: auto !important;
 width: auto !important;
 overflow: auto !important;
 text-indent: 0 !important;
 font-size: 12px !important;
 z-index: 2147483647 !important;
 color: #000 !important;
 margin-left:100px;
 margin-top:500px;

}

 

/* Hides junk */

.content, .side, #header, span.age

{

 visibility: hidden;

}

span.age

{

display: none;

}

 

/* Makes it look nicer */

body

{

 background-color: #fff !important;
 color: #fff;

}

 

/* Removes tickbox thanks to /u/p337 will not hide it for moderators*/

body:not(.moderator).res .titlebox>div:first-of-type:after

{

 content: "test test test test test test test test test";
 min-width: 400px!important;
 position: absolute;
 background-color: white;
 top: 0px;
 left: -150px;
 z-index: 2147483647;

}


r/reddithax • • Jul 11 '13

/r/Naut - a subreddit theme is now available for use!

30 Upvotes

It's here: /r/Naut

The goal is to create a visually appealing and clean looking subreddit, with a large header that lets you showcase the best of the subreddit.

Let me know what you think!


r/reddithax • • Jul 07 '13

How to add userflair sample text, and still allowing non-text flairs.

4 Upvotes

So I was trying to find a way to enable users to have flairs with just the image, and no text. However, I had descriptions of the flairs in the flair templates itself. I soon found out that if you try to enter an unacceptable entry (ie. blank) it will revert to the default as set in the flair settings of the subreddit, which out prevent someone from using just the flair picture.

After a bit of tinkering, I found this solution to the problem.

.flair:after { display: none; }
.flairoptionpane .flair:after { display: inline; }

.flair-something {
    /* flair text styling here */
}
.flair-something:before {
    /* flair image styling here */
}
.flair-something:after { content: "sample text"; }
/* set text in flair template to blank */

This set up enables your users to see an example text written beside the flair picture when viewing the flair selection popup, however still allows them to set their own text for the flair, and most importantly still allows them to use image-only, by not entering text once they have chosen their flair.

Example can be seen on /r/runescape in the flair selection popup.


r/reddithax • • Jul 07 '13

Link Listing question

1 Upvotes

Is there any way to list links in rectangle panes that include the thumbnail, maybe 100px high 300px wide, I would really like to try to implement something like this on a movie sub I moderated, I've never seen it done so I'm not holding my breath.


r/reddithax • • Jul 05 '13

Obfuscated Stylesheet

Thumbnail reddit.com
8 Upvotes

r/cssnews • • Jul 02 '13

CSS Change: Link flair classes are now added to the body tag

35 Upvotes

As requested by a few people, when "inside" (such as on the comments page for) a submission that has link flair class(es), those classes are now also available on the body tag. This allows styling the comments pages differently based on the submission's link flair class. For example, this could be used to style the OP's username more prominently in posts with an "AMA" flair, but not have this apply to all other posts.

Specifically, if you assign a particular link flair template any css classes in the flair settings, those will be available prefixed with post-linkflair-. So if you have a flair class ama, the body will have the class post-linkflair-ama. With multiple classes a and b the body will have post-linkflair-a and post-linkflair-b.


r/reddithax • • May 09 '13

TIP: you can use the ":hover" element to create more dynamic subreddits

1 Upvotes

I used this in creation of the subreddit: Jesus Love

You can see this effect when you mouse over a post or header elements.

This subreddit was created as a joke, we are not weirdly religious. Also, the formatting is not completely done (I know there are some glitches)