January 24, 2015
On 2015-01-24 03:43, anonymous wrote:
> Inspired by the recent developments, and Sebastiaan Koppe's version [1]
> specifically, I gave it a go, too:
>
> http://ag0aep6g-dlang.rhcloud.com/

The search "area" doesn't look good, especially the drop down. For example it's not possible to style the arrow in the drop down on Firefox. When you try to do that it falls back to some style that looks like something from Windows 95 (I'm using OS X).

In general, don't style drop downs (including setting the width) unless you completely replace them with something else, like this [1].

[1] http://silviomoreto.github.io/bootstrap-select/

-- 
/Jacob Carlborg
January 24, 2015
On Saturday, 24 January 2015 at 06:46:13 UTC, Vladimir Panteleev wrote:
> On Saturday, 24 January 2015 at 06:43:41 UTC, H. S. Teoh wrote:
>> Very nice! I like how when I split my screen to half-width, it
>> automatically collapses the left navigation bar into an expandable
>> button. Not sure how you achieved that (JS?) but that neatly solves the
>> handheld vs. desktop dilemma that some of the other proposals suffer
>> from.
>
> dlang.org has had that for a few days now.

Yeah, I can't take credit for that. I did change it from px to em though, so that it reacts to large fonts, too.

The layout switching is pure CSS (media queries). The menu button is JS. I'm not too happy about relying on JS there, but I don't see a way around it.
January 24, 2015
On Saturday, 24 January 2015 at 04:20:00 UTC, Vladimir Panteleev wrote:
> It is rather... red...
>
> Good logo integration, but I'm not that excited about everything else. The header-less page looks unusual, and what remains of the black background is now an uneven border that's neither here nor there. The bright blue used for the links also clashes with the gigantic red sidebar.

Regarding the colors, my monitor definitely isn't callibrated, so it may be too bright/intensive. I did just use the red from <http://dlang.skoppe.eu>, not thinking twice about it. Color adjustments would of course be trivial.

About the header-less-ness, yeah it's a little different. But I think it puts nice emphasis on the content. When I go to some deep page of the site, I don't need "D Programming Language" to be first thing on the screen, taking away (vertical) space and attention from the stuff I'm interested in.

Can't say I agree about the black background. I think it looks nice.
January 24, 2015
On Saturday, 24 January 2015 at 06:43:41 UTC, H. S. Teoh wrote:
> Not bad! I actually like this one. The only obvious object I have is the
> unbroken bar of red on the left. I think it might look much better if we
> darken the "sky" above the Mars horizon where the D logo sits. Not
> completely black, but a much darker red that it currently is, to provide
> some visual contrast.

Like this: <http://i.imgur.com/70guZgC.png>?

Used the same color as the border, because darker than the border looks weird, and lighter than the border isn't really dark.

It adds some depth. I wouldn't mind either way, but I'd choose the current flat version.

Also, the same logo is used in the 'mobile' layout, but on a horizontal stripe. There, the whole stripe is the 'sky', and I'd like to keep the main color of the stripes the same.

> And maybe fade out the red towards the bottom of the page. Just
> something to soften the otherwise prominent red strip on the left.

I think I'd prefer the plain version here too. If the red is to flashy, maybe a slightly darker tone for the whole thing would be better.
January 24, 2015
On Saturday, 24 January 2015 at 09:32:18 UTC, Mengu wrote:
> it looks better than the current one however when i expand the menus, the sub menus opened don't feel like they are a part of (ie.) d reference menu or community menu. guess making it clear would be better.

I didn't touch those, because I think they play rather well with my changes.

> one question for everyone: do we really need 3-col web site?

Well, it's only really 3-col on the home page. Otherwise, it's 2-col. And in narrow windows (on mobile) it's 1-col.

And there's Sebastiaan Koppe's proof-of-concept (his words): <http://dlang.skoppe.eu>. I'm not a big fan, but it's not a column layout and it's on the table.
January 24, 2015
On Saturday, 24 January 2015 at 11:36:58 UTC, Jacob Carlborg wrote:
> The search "area" doesn't look good, especially the drop down. For example it's not possible to style the arrow in the drop down on Firefox. When you try to do that it falls back to some style that looks like something from Windows 95 (I'm using OS X).

Oh, I must have botched that. It works for me in Firefox and Chromium.

Just checked Firefox and IE on Windows. Firefox doesn't display the triangle, apparently missing the glyph. Should be possible to fix. IE refuses the arrow styling completely and shows its own thing, which is ok. Can't check OS X.

This is what it's supposed to look like: <http://i.imgur.com/70guZgC.png> (ignore the dark background in the logo).

> In general, don't style drop downs (including setting the width) unless you completely replace them with something else, like this [1].
>
> [1] http://silviomoreto.github.io/bootstrap-select/

That's basically a JS implementation of <select>, right? I'd prefer a CSS solution, if possible.

dlang.org actually got a nice CSS-only <select> lately. I had looked at the PR, and I think I pretty much took the implementation from it. So if the current one works, I'm confident mine can be fixed in CSS alone.
January 24, 2015
On Sat, Jan 24, 2015 at 04:23:21PM +0000, anonymous via Digitalmars-d wrote:
> On Saturday, 24 January 2015 at 06:43:41 UTC, H. S. Teoh wrote:
> >Not bad! I actually like this one. The only obvious object I have is the unbroken bar of red on the left. I think it might look much better if we darken the "sky" above the Mars horizon where the D logo sits. Not completely black, but a much darker red that it currently is, to provide some visual contrast.
> 
> Like this: <http://i.imgur.com/70guZgC.png>?
> 
> Used the same color as the border, because darker than the border looks weird, and lighter than the border isn't really dark.

Much better!

On another note, the black border between the red and white seems a bit too thick. What about make it slightly narrower?


[...]
> >And maybe fade out the red towards the bottom of the page. Just something to soften the otherwise prominent red strip on the left.
> 
> I think I'd prefer the plain version here too. If the red is to flashy, maybe a slightly darker tone for the whole thing would be better.

That's another option too.


T

-- 
Ignorance is bliss... until you suffer the consequences!
January 25, 2015
I've started making pull requests from this, beginning with simpler changes. The big red bar is not among them yet. Some have already been merged.

Here are the ones that are still open, roughly sorted by level of controversy:

use user preference for font-size #828:
  https://github.com/D-Programming-Language/dlang.org/pull/828

remove underlines from links #831:
  https://github.com/D-Programming-Language/dlang.org/pull/831

fancy tables #830:
  https://github.com/D-Programming-Language/dlang.org/pull/830

de-emphasize DConf a little #833:
  https://github.com/D-Programming-Language/dlang.org/pull/833

turn list items of Convenience/Power/Efficiency to paragraphs #837:
  https://github.com/D-Programming-Language/dlang.org/pull/837

fix grammar #838:
  https://github.com/D-Programming-Language/dlang.org/pull/838
1 2
Next ›   Last »