Redesign of dlang.org

w0rp via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 1 06:29:37 PDT 2014


I just updated the site. Here are the main changes.

* The background is now dark. I tried a linear-gradient for a 
little bit, but it made scrolling down the page much, much 
slower. I shall try out drawing a gradient in GIMP instead.
* The column on the right gets fixed when you scroll down, but 
the Bootstrap tool for this has a bug when you scroll all the way 
to the bottom some times which I need to get fixed.
* I added a download page I wrote a bit of text for.

Check out the download page here.

http://w0rp.com:8010/download

The old URL (download.html) is set up with a redirect. 
(Redirecting like this is vital for SEO.)

I want to fix that scrolling bug, account for resizing a window 
smaller than the length of the right column (I've seen this issue 
come up time and time again in browsers), Give the download 
button on the top a bit more colour, and get a nice gradient in 
which doesn't slow the page down. It was looking pretty good, but 
I absolutely will not use linear-gradient on the page after I saw 
how it ruined smooth scrolling.

Also, the table of contents there is currently a manual job, but 
I reckon there are clever things I can do with diet to generate 
it. Something like this...

- import dlang.toc;

append content
     ...

     - heading(h2, "Title");

...

append extra-sidebar
     - toc();

I bet I can make this syntax possible.

Out for now.


More information about the Digitalmars-d mailing list