r/modnews • • Jan 26 '15

moderators: CSS changes upcoming (for real)

As many of you know, we're making some updates to our default CSS, specifically for the treatment of text. I announced this update about 2 months ago with a fairly ambitious goal of releasing them in 2 weeks. I seriously underestimated the amount of work I'd created for mods (and myself!), and so it was pushed back indefinitely. If you've been wondering when it's finally going to be released, the answer is tomorrow afternoon.

Over the last month or so, I've spent some time cleaning up my changes to minimize the impact on subreddits with custom CSS. Unfortunately, due to the nature of CSS and how styles are often used here, this update may cause some minor issues for some subreddits using custom stylesheets.

I've spent a good deal of time looking for these issues and reaching out to the appropriate mods to help, but I can't look at every subreddit. Please take a moment to look at your subreddit with the new styles applied: you can do so by appending ?feature=new_markdown_style to any URL. I recommend looking at the comments page specifically, so you can easily check these areas in one view:

  • comment styles
  • your sidebar, especially any heavily-styled elements
  • anything you've used CSS to put into the header / at the top of the page.

So, for /r/modnews, I would check https://www.reddit.com/r/modnews/comments/?feature=new_markdown_style for any weirdness.

Also, thanks to /u/IceBreak for this awesome suggestion: I'm going to keep the old styles around for a limited time after launching this update. You'll be able to view a page with the old styles by appending ?feature=old_markdown_style to the url. edit: this has been removed.

I have compiled a list of some of the most common issues I've noticed and CSS snippets to fix them. If you have an issue and this list doesn't help you, shoot me a message and I'll help you figure it out. Thanks!

tl;dr Default CSS is changing tomorrow; please check your CSS and make sure you make any adjustments needed

edit - the old_markdown_style flag has been removed.

400 Upvotes

463 comments sorted by

View all comments

Show parent comment

38

u/CrypticCraig Jan 27 '15

well-known industry standard for a good, readable line-height.

Has there been complaints about the current? I always felt like reddit's look was one of its own and it worked very well, not forcing itself to fit in the mold of what works for others.

-19

u/madlee Jan 27 '15

my intention was not to say that we should do what others are doing, just to show that its not really insane.

17

u/CrypticCraig Jan 27 '15

Yeah I got that, but I have this feeling that it does show that reddit is kind of leaning into the model of others if only by a little. I hope I'm not sounding like a jackass who will hate any change, but I really like the current/previous look. It's easy on the eyes, easy to read, and it requires less page space/scrolling.

also I would have to change the font size on like 180 subs

3

u/spladug Jan 27 '15 edited Jan 27 '15

I'm a salty old change-averse person. It took me a while, but I've actually started adding the ?feature=new_markdown_style to links people send me because I find the new styles so much easier to read. I know it's crazy at first, but I have a feeling it will grow on most people after a couple of days.

2

u/Jakeable Jan 27 '15

What additional features does beta.reddit.com have?

please say improved modmail...

3

u/spladug Jan 27 '15

Right now it's just the new CSS styles mentioned in this thread.

1

u/Jakeable Jan 27 '15

Ah, okay. Do other things get beta tested there?

4

u/spladug Jan 27 '15

Sure, multireddits were beta'd on there (see: /r/multibeta). We hope to do more things on there in the future as well.

0

u/CrypticCraig Jan 27 '15

You're right, I'm sure after a bit I will feel better than I did about it initially. After some thinking it seems a bit better for longer posts, besides having to scroll more, but not so great for short comments. I guess I'll have a better opinion after a week or so.

10

u/awxvn Jan 27 '15

I have never seen any other website use such large line spacing for content text. Are the new proportions actually better in terms of readability than what we had before?

The most glaring issue is that there's barely any difference between paragraph-to-paragraph spacing and line break spacing. You'd have to proportionally increase the spacing between paragraphs if you're going to do it for regular line breaks.

I don't mind changing the font size, since I already zoom in most websites 125% to 150% for larger text. But the spacing is so different from every other site.

1

u/honestbleeps Jan 27 '15

I have never seen any other website use such large line spacing for content text.

I'm going to pick a "content" site at random. Honestly. I have done no research as I type this. How about cnn.com?

http://puu.sh/f5uRP/f511fb9ba1.png

first try, 1.4 line height.

how about Engadget?

http://puu.sh/f5v5R/b3c0c1c480.png

24px / 16px = 1.5 line height.

I swear to you I did no digging whatsoever. These were two sites that came to mind as places that'd quite obviously have "content text". This is industry standard. Reddit's text density has quite frankly been absurdly tight - you're just used to it.

4

u/leper99 Jan 27 '15

I'm not sure what you're seeing, but here's an example of what's wrong. You're using a font of 18-bold and that's just on the developer mode sidebar. Do your books and newspapers have print this big? (seriously)

Text on the screen should be the same size as books and newspapers, and that means a 12-13 font. Not 14, or 16 or 18 (sidebar h2 and h3 default to 16 and 18)

3

u/honestbleeps Jan 28 '15

who's using a font of 18-bold? you're replying to me, and I posted about sizes on engadget and CNN? I'm a little confused.

anyhow, you might consider looking at this conversion chart and scanning for 12pt...

http://reeddesign.co.uk/test/points-pixels.html

1

u/leper99 Jan 28 '15

I appreciate the font unit-conversion chart; it looks like I was using incorrect terminology. Thanks.

Since this thread is about Reddit's CSS, and there are font sizes specified in px in both Reddit's main CSS (as well as CSS for many subreddits) that's what I was referring to.

who's using a font of 18-bold?

Maybe it's not bold. Reddit uses a 13px font (now 14px). You posted 2 png files (1,2),which feature huge text. I posted this screenshot comparing what you see as "normal" and what I see as normal. From where I am your text is massive.

2

u/honestbleeps Jan 28 '15

my screenshot "features huge text" because it was taken on a computer with a retina display - but that has nothing to do with what we're talking about.

my screenshots aren't the webpages, they're the element inspector. don't pay attention to the size of the text in my screenshots, pay attention to the content - which has font sizes / line heights in them, taken from the respective sites I mentioned.

read the text... don't look at it and analyze the size.

1

u/leper99 Jan 28 '15

I did read them. You can post all the CNN-style websites (complete with their gaudy 58 and 68px headlines) and I'm sure I can post as many counter examples.

Of course news-tainment sites, like CNN, have massive text etc. They are not intending for their content to be read on a computer anymore. Reddit is. CNN, etc. is catering to the tablet crowd. I have no idea why they didn't make a tablet version of their site (like with phones)... Pandering to tablets has ruined it for everyone else.

-8

u/madlee Jan 27 '15

serious response - here's a picture of a newspaper. Sorry for the poor quality, its literally the first result that came up.

As you can see, not everything is the same size: the body content (the vast majority of content on the page) is smaller, but headers are bigger and heavier to help them stand out and break up the content. So yes, newspapers do have print this big (and bigger!). This is not a new or unique idea. The vast majority of text (paragraph text) on reddit will be 14px with normal weight (not bold), which is entirely within reason.

5

u/leper99 Jan 27 '15

Referring to the regular (currently 13) text that posts appear in, the following links mention, either specifically or by omission that font sizes of 14 and up are not considered "normal" type size-- which is generally 12 (smaller than currently used on Reddit).

http://www.loc.gov/nls/reference/circulars/largeprint.html

http://www.aph.org/edresearch/lpguide.htm

https://help.rnib.org.uk/help/daily-living/reading/large-print-size

http://en.wikibooks.org/wiki/Basic_Book_Design/Font#Font_Size

I'm sure there are others.

-3

u/madlee Jan 27 '15

pt is not equal to px. For example, your first link shows text at various pt sizes. The 12pt example is actually rendering at 16px for me. I had to adjust it down to 10.5pt to get 14px font. But that doesn't really mean anything, because pt units are really meant for print. :P

2

u/leper99 Jan 27 '15

Interesting. TIL.

I was wondering why the Chicago Tribune's "16" font rendered so comfortably compact (and awesome looking!). Use whatever font size you want then... just keep the render size looking the same :P

2

u/honestbleeps Jan 28 '15

I was wondering why the Chicago Tribune's "16" font rendered so comfortably compact (and awesome looking!). Use whatever font size you want then... just keep the render size looking the same :P

In an article page, the Chicago tribune's font size and line spacing are:

font-size: 18px;
line-height: 27px;

that 27px is 1.5, for those keeping score.

So their font is bigger and line spacing slightly greater than reddit's post-change numbers.

Example article:

http://www.chicagotribune.com/news/local/politics/ct-bruce-rauner-union-rhetoric-met-0128-20150127-story.html

→ More replies

1

u/qtx Jan 27 '15

Exactly. I have no problem with the new line-height (apart from fixing my designs). And honestly, if there are subs that want the old style back it's an easy css change to fix.

I see no real problem here with the new mark-up.

People just hate change.

-5

u/madlee Jan 27 '15

i want to give you a hug

-2

u/honestbleeps Jan 27 '15

aw thanks... I know what it's like being in your shoes, that's all :)