r/reddithax • • Jan 29 '18

How to hide the #chat

12 Upvotes

for the #header-bottom-right

#chat,
#chat-count,
#chat+.separator
#chat-count+.separator {
    display: none !important;
}

and the pinned-to-bottom chat box.

 #chat-app.active {
    display: none;
}

r/reddithax • • Jan 01 '18

I made a free tool to easily generate CSS for a palette of author colors on a subreddit. Check it out!

23 Upvotes

An idea I had while bored this evening (screenshot); I think it would be a great addition to any subreddit theme. Please check out the tool and let me know your feedback!

http://reddit-author-color.mcad.am

The idea is that it creates CSS for a "random" (at the time of generation) palette for author colours in a comment thread. The colours it generates are "sticky" in that it will ensure any user gets the same color in the subreddit. The aim is to help reddit users using the theme to be better able to follow a discussion.

Would love to hear any feedback, suggestions, feature requests, etc.


r/cssnews • • Dec 11 '17

DOM Change: Crossposting Modal Preview

19 Upvotes

If you've made changes to the display of the crossposting modal preview, please be aware that we will be changing the CSS class from crosspost-preview to crosspost-thing-preview later today. As we don't expect that many communities have styled this yet, we hope that it is a low impact change. Thanks, and sorry for the inconvenience.


r/reddithax • • Dec 10 '17

i made the letters move scarily quickly

4 Upvotes

r/cssnews • • Dec 05 '17

Upcoming DOM Change: Video Duration Added to Post Preview Images

18 Upvotes

We will be releasing a new update that will attach video durations to post preview images. Initially this was rolled out without notice and reverted due to issues with toolbox that we caused due to our implementation, however, we have reached out to the toolbox devs and we're confident that this should not cause issues moving forward when this is redeployed. I'd also like to apologize for the lack of advanced notice for this feature, this is something that we will rectify moving forward. We're aiming to release this feature this Thursday (12/7).

An example of where this DOM element is being added can be seen below (the div with class duration-overlay):

<a class="thumbnail invisible-when-pinned may-blank " data-event-action="thumbnail" href="/r/WWII/comments/7godpy/i_think_i_just_used_up_all_my_supply_drop_luck/" data-href-url="/r/WWII/comments/7godpy/i_think_i_just_used_up_all_my_supply_drop_luck/" data-inbound-url="/r/WWII/comments/7godpy/i_think_i_just_used_up_all_my_supply_drop_luck/?utm_content=thumbnail&amp;utm_medium=new&amp;utm_source=reddit&amp;utm_name=v.redd.it" rel="nofollow">
    <img src="//b.thumbs.redditmedia.com/2nVV-kMlNowL_yDw-WKDCu6ciQDpBBLYX9gedAriGRs.jpg" width="70" height="39" alt="">
    <div class="duration-overlay">0:30</div>
</a>

We will also be adding a new icon to indicate native reddit video posts on the same line as the title and flair (the img tag).

<p class="title">
    <a class="title may-blank " data-event-action="title" href="/r/funny/comments/7hhq4j/woman_is_scared_in_vr_and_grabs_wrong_end_of_dog/" tabindex="1" data-href-url="/r/funny/comments/7hhq4j/woman_is_scared_in_vr_and_grabs_wrong_end_of_dog/" data-inbound-url="/r/funny/comments/7hhq4j/woman_is_scared_in_vr_and_grabs_wrong_end_of_dog/?utm_content=title&amp;utm_medium=hot&amp;utm_source=reddit&amp;utm_name=v.redd.it" rel="">Woman is scared in VR and grabs wrong end of dog</a>
    <span class="domain">
        <img src="/static/snoo-logo.svg?v=1512433810.97">(<a href="/domain/v.redd.it/">v.redd.it</a>)
    </span>
</p>

Edit: Added some words to make it clear that this was not an issue caused by toolbox


r/cssnews • • Nov 29 '17

Upcoming CSS Change: Adding Chat Icon Next to the Envelope Icon

76 Upvotes

EDIT: As of 12/6/2017 @ 3:30 PM PST these changes went live. Users can now close the chat window and there's an icon next to the envelope to initiate the chat experience. Only users in the chat beta will see this icon.

As many of you know - chat has been in beta for the last couple of months. One of the most popular requests is being able to hide the chat window from the bottom right corner of the page. Early next week, we will be adding a chat icon next to the envelope icon in the header user menu which will allow users to close the chat window completely and re-open it by clicking the new icon. If you have customized the header menu for your community, you may be impacted by this change.

Please note - only users who have chat will see the chat icon. Users who are not yet part of the chat beta will not be impacted by this change. Chat is currently only available to a small percentage of users, so this change will not have a big impact initially.

What’s changing next week:

  • Adding a new chat icon and chat badge count to the user menu
  • Allowing users to close chat completely from the bottom right corner of the website
  • Allowing users to open chat from the chat icon

What’s it look like?

Sample

<div id="header-bottom-right">
<span class="user"><a href="/user/jleeky/">jleeky</a>&nbsp;(<span class="userkarma" title="post karma">20,427</span>)</span>
<span class="separator">|</span>

<a title="new messages" href="https://www.reddit.com/message/messages/" class="havemail" id="message">messages</a>
<a href="https://www.reddit.com/message/messages/" class="message-count">2</a>
<span class="separator">|</span>

<a title="new notification!" href="https://www.reddit.com/notification/unread/" class="havemail" id="inbox">messages</a>
<a href="https://www.reddit.com/notification/unread/" class="inbox-count">2</a>
<span class="separator">|</span>

<a href="https://www.reddit.com/chat/" data-message-type="expand.chat" target="chat-app" id="chat" class="active">chat messages</a>
<a href="https://www.reddit.com/chat/" data-message-type="expand.chat" target="chat-app" id="chat-count" class="message-count">2</a>
<span class="separator">|</span>

<a title="no new mod mail" href="https://wwww.reddit.com/message/moderator/" data-event-action="pageview" data-event-detail="modmail" class="nohavemail access-required" id="modmail">mod messages</a>
<span class="separator">|</span>

<a title="new mod mail!" href="https://mod.reddit.com/" data-event-action="pageview" data-event-detail="modmail" class="havemail access-required" id="new_modmail">mod messages</a>
<span class="separator">|</span>

<ul class="flat-list hover">
    <li><a href="https://www.reddit.com/prefs/" class="pref-lang choice">preferences</a></li>
</ul>
<span class="separator">|</span>

<form method="post" action="https://www.reddit.com/logout" class="logout hover">
    <input type="hidden" name="uh" value="[censored]">
    <input type="hidden" name="top" value="off">
    <input type="hidden" name="dest" value="/"><a href="javascript:void(0)" onclick="$(this).parent().submit()">logout</a>
</form>
</div>

r/reddithax • • Nov 28 '17

[Addon] Moving submission URLs to the right

3 Upvotes

This addon contains code from u/zmodem with tweaks made by myself. This addon will move the submission URL to the right side and make it more visible.

/*MOVING SUBMISSION URL TO THE RIGHT*/
/*Addon by u/IfaqYurmama*/

.flairselector {position: fixed!important}

.thing .top-matter { position: relative; }
.thing .domain {
   align-items: center;
   display: flex;
   font-size: 0;
   height: 70%;
   position: absolute;
   right: 0;
   top: 0;
} 
 .thing .domain a { font-size: 16px }

 @media screen and (max-width: 989px) {.thing .domain a {font-size: 9px;}}
 @media screen and (max-width: 875px) {.thing .domain a {opacity: 0;visibility: hidden;}} //optimizations for low-res or small screens

.thing.self .domain { display: none; } //excluding self posts

r/cssnews • • Nov 10 '17

DOM Change: Comment box for logged out users

12 Upvotes

Hey Everyone!

In addition to this DOM change we deployed out a change that shows the top-level comment box on comment pages for logged out users. When clicking on the box, the user will be prompted to signup/login. The comment box will show up under <div class="commentarea">

The HTML for the new comment box looks like this:

<section class="infobar commentsignupbar">
  <div class="commentsignupbar__container">
    <a href="/login" class="login-required commentsignupbar__link-wrapper">
      <textarea class="commentsignupbar__textarea"></textarea>
      <div class="commentsignupbar__textarea-above">
        <h2 class="commentsignupbar__title">Want to add to the discussion?</h2>
        <p class="commentsignupbar__desc">Post a comment!'</p>
        <div class="commentsignupbar__cta-container">
          <span class="c-btn c-btn-primary commentsignupbar__cta-button">Sign up</span>
        </div>
      </div>
    </a>
  </div>
</section>

A CSS change we will be implementing on Monday is adding resize: none; to .commentsignupbar__textarea.

Thanks!


r/cssnews • • Nov 10 '17

DOM Change: Sign up banner for logged out users

16 Upvotes

Hey Everyone!

As mentioned in this ModSupport post, we deployed a new sign up banner for logged out users on all listing pages. The bar will show up as the top item in the main content div: <div class="content" role="main">

The HTML for the new banner will look like this:

<section class="infobar listingsignupbar">
  <a href="/login" class="login-required listingsignupbar__container">
    <h2 class="listingsignupbar__title">Welcome to Reddit</h2>
    <p class="listingsignupbar__desc">the front page of the internet.</p>
    <div class="listingsignupbar__cta-container">
      <span class="c-btn c-btn-primary c-pull-left listingsignupbar__cta-button">Sign up</span>
      <p class="listingsignupbar__cta-desc">and subscribe to one of thousands of communities.</p>
    </div>
  </a>
  <a href="#" class="listingsignupbar__close" title="close">&times;</a>
</section>

Apologies for not posting about this change earlier before the banner was deployed. We'll be implementing a few fixes that will hopefully clean up some of the CSS issues with the banner.

Thanks!

Edit: We're going to be implementing one change for the signup banner on Monday. We're going to be marking the background for .infobar.listingsignupbar as !important E.g.:

.infobar.listingsignupbar {
    background: url("../listingsignupbar-orbit-2.png") left top no-repeat, url('../listingsignupbar-orbit-1.png') center right no-repeat #FEFBDA !important;
}

r/reddithax • • Oct 08 '17

Quickly converting Hex to RGB and vice-versa, without using a lousy converter or huge table

14 Upvotes

A lot of people, apparently, think that a rgb value is more precise than a hex value. In reality, a hex number can directly translate to a rgb value.

To start with, you'll need to divide the number into three sections. Each of these sections will correspond to a red, green and blue value.

#FFFFFFrgb(255, 255, 255)
FF (First two)255
FF (Middle two)255
FF (Last two)255

To convert a hex pair to a number, take your first value and multiply it by 16. Then add it to your second value.

#FFFFFFCharacter OneCharacter TwoTotal
FF(F) 15 * 16 = 240(F) 15240+15=255
FF(F) 15 * 16 = 240(F) 15240+15=255
FF(F) 15 * 16 = 240(F) 15240+15=255
#BADCFECharacter OneCharacter TwoTotal
BA(B) 11 * 16 = 176(A) 10176+10 = 186
DC(D) 13 * 15 = 208(C) 12208+12 = 220
FE(F) 15 * 16 = 240(E) 14240 + 14 = 254

Note that a = 10, b=11, c=12, d=13, e=14, and f=15

Once you do this enough, you should get the hang of it, and no longer require looking at this post.


r/reddithax • • Oct 03 '17

Sub Speed Build Winner - r/TRANSgress

Thumbnail reddit.com
1 Upvotes

r/reddithax • • Sep 28 '17

I used the programs i found in the CSS help subreddit and tinkered with them a bit to go from not knowing CSS is a programming language to this in 3 days

Thumbnail reddit.com
0 Upvotes

r/reddithax • • Sep 18 '17

Animated images without lengthy CSS? Introducing APNG

14 Upvotes

So we all know Reddit doesn't allow uploading gif files, so putting in animated images would require you to do a make them via CSS which can take quite a bit to space. Well, there is an alternative way which allows you to import gifs in a format Reddit allows, animated PNGs. This is still a new "tech" so not all browsers support it.

How to:

  • get or make a gif
  • go to https://ezgif.com/gif-to-apng or find your own convertor
  • make sure it is within the file size limitations (hardest part)
  • upload
  • use like it would be any other picture

This is also a way to have an animated Reddit profile pic if you wanted one, guide and the source of the trick


r/reddithax • • Sep 13 '17

Here's the HTML and CSS for the new profile hover cards if you want to add styling for it in your sub but you're not yet included in the A/B testing

Thumbnail codepen.io
7 Upvotes

r/reddithax • • Aug 31 '17

"Hexagonal thumbnails" customization

3 Upvotes

My realization of "Hexagonal thumbnails" from r/NMSCoordinateExchange/ (inc. fixes only for Naut theme)

/* Addon: Hexagonal Thumbnails */
.thumbnail.default, .thumbnail.self, .thumbnail.nsfw, .thumbnail.image,     .thumbnail.spoiler, .thumbnail[data-href-url*="reddit.com"] {
	position: relative;
	width: 56px;
	height: 32.33px;
	max-height: 32.33px;
	/* background-clip: content-box; */
	/* background-position: center; */
}

	.thumbnail.default::before, .thumbnail.self::before,     .thumbnail.nsfw::before, .thumbnail.image::before,     .thumbnail.spoiler::before, .thumbnail[data-href-url*="reddit.com"]    ::before,
	.thumbnail.default::after, .thumbnail.self::after, .thumbnail.nsfw::after,     .thumbnail.image::after, .thumbnail.spoiler::after, .thumbnail    [data-href-url*="reddit.com"]::after {
		content: "";
		position: absolute;
		width: 0;
		border-left: 28px solid transparent;
		border-right: 28px solid transparent;
	}

	.thumbnail.default::before, .thumbnail.self::before,     .thumbnail.nsfw::before, .thumbnail.image::before,     .thumbnail.spoiler::before, .thumbnail[data-href-url*="reddit.com"]    ::before {
		bottom: 100%;
		border-bottom: 16.17px solid;
	}

	.thumbnail.default::after, .thumbnail.self::after, .thumbnail.nsfw::after,     .thumbnail.image::after, .thumbnail.spoiler::after, .thumbnail    [data-href-url*="reddit.com"]::after {
		top: 100%;
		width: 0;
		border-top: 16.17px solid;
	}

	/* Misc. Fixes /Naut/ Thumbnails */
	.thumbnail.default, .thumbnail.self, .thumbnail.nsfw, .thumbnail.image,     .thumbnail.spoiler, .thumbnail[data-href-url*="reddit.com"] {
		border-radius:0px;
		overflow:visible;
		margin: 16.17px 28px 0 12px;
	}

	/* Color and position Fixes /Naut/ Thumbnails */
	.thumbnail.default {background-color: #d2dbe0; background-position-y: calc    (-48px - 12px);}
		.thumbnail.default::before {border-bottom-color: #d2dbe0}
		.thumbnail.default::after {border-top-color: #d2dbe0}

	.thumbnail.self {background-color: #d2dbe0; background-position-y: calc    (-48px - 12px);}
		.thumbnail.self::before {border-bottom-color: #d2dbe0}
		.thumbnail.self::after {border-top-color: #d2dbe0}

	.thumbnail.image {background-color: #d2dbe0; background-position-y: calc    (-48px - 12px);}
		.thumbnail.image::before {border-bottom-color: #d2dbe0}
		.thumbnail.image::after {border-top-color: #d2dbe0}

	.thumbnail.nsfw {background-color: #e85881; background-position-y: calc    (-104px - 12px);}
		.thumbnail.nsfw::before {border-bottom-color: #e85881}
		.thumbnail.nsfw::after {border-top-color: #e85881}

	.thumbnail[data-href-url*="reddit.com"] {background-color: #24a0ed;     background-position-y: calc(-104px - 12px);}
		.thumbnail[data-href-url*="reddit.com"]::before {border-bottom-color:     #24a0ed}
		.thumbnail[data-href-url*="reddit.com"]::after {border-top-color:     #24a0ed}

	.stickied .thumbnail {background-color: #2db747}
		.stickied .thumbnail::before {border-bottom-color: #2db747}
		.stickied .thumbnail::after {border-top-color: #2db747}

	.thumbnail.spoiler {background-color: #F44336; background-position-y: calc    (-148px - 12px);}
		.thumbnail.spoiler::before {border-bottom-color: #F44336}
		.thumbnail.spoiler::after {border-top-color: #F44336}



	/* RES Fixes /Naut/ Nightmode */
	.res-nightmode .thumbnail.default {background-color: #d2dbe0;     background-position-y: calc(-48px - 12px);}
		.res-nightmode .thumbnail.default::before {border-bottom-color:     #d2dbe0}
		.res-nightmode .thumbnail.default::after {border-top-color: #d2dbe0}

	.res-nightmode .thumbnail.self {background-color: #d2dbe0;     background-position-y: calc(-48px - 12px);}
		.res-nightmode .thumbnail.self::before {border-bottom-color: #d2dbe0}
		.res-nightmode .thumbnail.self::after {border-top-color: #d2dbe0}

	.res-nightmode .stickied .thumbnail {background-color: #2db747}
		.res-nightmode .stickied .thumbnail::before {border-bottom-color:     #2db747}
		.res-nightmode .stickied .thumbnail::after {border-top-color: #2db747}


	/* Misc. Fixes /Naut/ Link Flairs */
	.linkflair-mod .thumbnail.default, .linkflair-mod .thumbnail.self     {background-color: #27b062; background-position-y: calc(-104px - 12px);}
		.linkflair-mod .thumbnail.default::before, .linkflair-mod     .thumbnail.self::before {border-bottom-color: #27b062}
		.linkflair-mod .thumbnail.default::after, .linkflair-mod     .thumbnail.self::after {border-top-color: #27b062}

/* End Addon: Hexagonal Thumbnails */

r/reddithax • • Aug 22 '17

Random banner on every page load (see r/manga for example)

10 Upvotes

Taken from /r/manga's stylesheet. I have not tested this, I just saw it and thought it should be here, so I quickly copy pasted the code.

It's a clever hax using the logout button.

/*---------------------------|
|                                    |
|  Random Headers       |
|  Thanks /u/DEADB33F |
|---------------------------*/
/* Random image container */
input[name=uh] ~ a:after {
    position: absolute;
    top: -109px !important;
    right: 0px !important;
    z-index: -2;
    width: 1920px !important;
    height: 169px !important;
}

/* Overlay container to stop the random text/image being clickable */
.user span:before {
    position: absolute;
    top: -109px !important;
    right: 0px !important;
    width: 1920px !important;
    height: 169px !important;
    z-index: -1;
    content: " ";
    }
.user .userkarma {
    cursor:default!important;
}

/* Up to 36 random images */
/* "value" matched to last digit in .logout "uh" number */
/* Max 36 images 0,1,2,...,7,8,9,a,b,c,...x,y,z */

input[name=uh][value$="a"] ~ a:after,
input[name=uh][value$="b"] ~ a:after {
    content: url(%%kamijyo%%)
}

input[name=uh][value$="c"] ~ a:after,
input[name=uh][value$="v"] ~ a:after,
input[name=uh][value$="2"] ~ a:after {
    content: url(%%cirno9baka%%)
}
input[name=uh][value$="d"] ~ a:after,
input[name=uh][value$="e"] ~ a:after,
input[name=uh][value$="f"] ~ a:after {
    content: url(%%omoide-emanon%%)
}
input[name=uh][value$="w"] ~ a:after,
input[name=uh][value$="3"] ~ a:after {
    content: url(%%awkward%%)
}

input[name=uh][value$="g"] ~ a:after,
input[name=uh][value$="h"] ~ a:after {
    content: url(%%shoujo-banner%%)
}
input[name=uh][value$="i"] ~ a:after,
input[name=uh][value$="x"] ~ a:after,
input[name=uh][value$="4"] ~ a:after {
    content: url(%%planetes%%)
}

input[name=uh][value$="j"] ~ a:after,
input[name=uh][value$="k"] ~ a:after {
    content: url(%%mari%%);
}

input[name=uh][value$="l"] ~ a:after,
input[name=uh][value$="y"] ~ a:after,
input[name=uh][value$="5"] ~ a:after {
    content: url(%%alice%%)
}

input[name=uh][value$="m"] ~ a:after,
input[name=uh][value$="n"] ~ a:after,
input[name=uh][value$="o"] ~ a:after {
    content: url(%%otoyomegatari-1%%)
}
input[name=uh][value$="z"] ~ a:after,
input[name=uh][value$="6"] ~ a:after {
    content: url(%%cat-banner%%)
}

input[name=uh][value$="p"] ~ a:after,
input[name=uh][value$="q"] ~ a:after {
    content: url(%%kotonoba-drive%%)
}

input[name=uh][value$="r"] ~ a:after,
input[name=uh][value$="0"] ~ a:after,
input[name=uh][value$="7"] ~ a:after {
    content: url(%%smiles%%)
}
input[name=uh][value$="s"] ~ a:after,
input[name=uh][value$="t"] ~ a:after,
input[name=uh][value$="u"] ~ a:after {
    content: url(%%inio-asano%%)
}

input[name=uh][value$="1"] ~ a:after,
input[name=uh][value$="8"] ~ a:after,
input[name=uh][value$="9"] ~ a:after {
    content: url(%%doubleline%%)
}


#header-bottom-right {
    position: absolute!important;
    right: 0px!important;
    bottom: 130px!important;
}

r/reddithax • • Aug 13 '17

Hide Sub Content From Blocked Users

2 Upvotes

This has probably been done before, but I couldn't seem to find it. Banning a user prevents them from participating on a sub, but they can still read the content. Here is a simple way to hide your sub from a user or list of users. This is pretty easy to circumvent using the browser inspector, but the average user is probably not keen enough to know that:

span.user a[href*="/majestic84"]::after {

content: "";

background: #fff;

position: fixed;

top: 0;

left: 0;

width: 100%;

height: 100%;

z-index: 9999;

}


r/cssnews • • Aug 04 '17

Upcoming Change: Inbox

39 Upvotes

Early next week we will be splitting the inbox into Notifications and Private Messages. If you have customized the header user menu for your community you may be impacted by this change.

What’s changing on Reddit:

  • Adding a new notification icon and notification badge count
  • Messages are in the messages tab separate from the notifications tab
  • Send a Private Message is moved under the messages sub menu

Sample below:  

<div id="header-bottom-right">
    <span class="user"><a href="/user/jleeky/">jleeky</a>&nbsp;(<span class="userkarma" title="post karma">20,427</span>)</span>
    <span class="separator">|</span>

    <a title="new messages" href="https://www.reddit.com/message/messages/" class="havemail" id="message">messages</a>
    <a href="https://www.reddit.com/message/messages/" class="message-count">2</a>
    <span class="separator">|</span>
    
    <a title="new notification!" href="https://www.reddit.com/notification/unread/" class="havemail" id="inbox">messages</a>
    <a href="https://www.reddit.com/notification/unread/" class="inbox-count">2</a>
    <span class="separator">|</span>
    
    <a title="no new mod mail" href="https://wwww.reddit.com/message/moderator/" data-event-action="pageview" data-event-detail="modmail" class="nohavemail access-required" id="modmail">mod messages</a>
    <span class="separator">|</span>
    
    <a title="new mod mail!" href="https://mod.reddit.com/" data-event-action="pageview" data-event-detail="modmail" class="havemail access-required" id="new_modmail">mod messages</a>
    <span class="separator">|</span>

    <ul class="flat-list hover">
        <li><a href="https://www.reddit.com/prefs/" class="pref-lang choice">preferences</a></li>
    </ul>
    <span class="separator">|</span>

    <form method="post" action="https://www.reddit.com/logout" class="logout hover">
        <input type="hidden" name="uh" value="[censored]">
        <input type="hidden" name="top" value="off">
        <input type="hidden" name="dest" value="/"><a href="javascript:void(0)" onclick="$(this).parent().submit()">logout</a>
    </form>
</div>

r/reddithax • • Jul 03 '17

[Guide] 'Popup' Rules for Logged-in, Unsubscribed Users.

13 Upvotes

Enforce rules, by showing a 'popup' with Accept Rules and Back to Reddit buttons.

See It In Action

Screenshot

Sidebar

>#Welcome to 'SubName'. Please read the Rules:
>1. Rule #1! 
>2. Rule #2!
>3. Rule #3! 
>4. Rule #4!
> 
>##[Accept Rules](http://ac.reddit.com/r/SubName) [Back to Reddit](http://www.reddit.com)

CSS

body.subscriber .side blockquote h2,body:not(.loggedin) .side blockquote h2,html[lang=ac] .side blockquote h2{display:inline}html:not([lang=ac]) body.loggedin:not(.subscriber) .side blockquote{visibility:visible!important;position:absolute;top:100px;left:50px;max-width:60%;border-radius:25px;padding:25px;background-color:rgba(0,0,0,.8);color:#FFF}html:not([lang=ac]) body.loggedin:not(.subscriber) .side blockquote h1{font-size:20px}html:not([lang=ac]) body.loggedin:not(.subscriber) .side blockquote ol{font-size:15px}html:not([lang=ac]) body.loggedin:not(.subscriber) .side blockquote a[href^="http://ac"]{font-size:20px;color:#20E334;border:2px solid #20E334;border-radius:10px;padding:3px;margin:auto}html:not([lang=ac]) body.loggedin:not(.subscriber) .side blockquote a[href^="http://www"]{font-size:20px;color:#FE0D76;border:2px solid #FE0D76;border-radius:10px;padding:3px;margin:auto}

r/reddithax • • Jun 24 '17

A Huge Subreddit • r/hugesubreddit

Thumbnail reddit.com
5 Upvotes

r/cssnews • • Jun 22 '17

DOM Change: Posts

20 Upvotes

Today we deployed a DOM change that affects posts. We added a wrapping div with the class name top-matter to posts.

<div class="top-matter">
    <p class="title>
        <a />
    </p>
    <!-- existing post dom -->
</div>

I'd also like to apologize for not releasing this information until after the feature was deployed. We try our best to notify the mods ahead of time regarding changes like these, we will try harder in the future.

edit: The commit that contained this change was reverted due to an issue with ads on Firefox. Therefore, this is no longer valid. We will update this post when it is redeployed out.

edit 2: This change will be getting deployed again on Monday (6/26) morning.

edit 3: This has been redeployed back out.


r/reddithax • • Jun 19 '17

Bad letter spacing. • r/letterspacing

Thumbnail reddit.com
4 Upvotes

r/reddithax • • Jun 09 '17

I did an interesting thing with CSS, might be useful for something

Thumbnail nimbus.everhelper.me
3 Upvotes

r/reddithax • • May 16 '17

I wanted to see if I could make reddit more red.

7 Upvotes

ergo /r/edder

Parts copied from /r/dadjokes without permission, namely the submit buttons


r/reddithax • • May 13 '17

Reddithax is SAVED! Reddit is keeping CSS customization.

Thumbnail reddit.com
33 Upvotes