digitalmars.D - dlang.org should do it in style
- Andrei Alexandrescu (7/7) Jan 16 2015 I just created
- weaselcat (3/12) Jan 16 2015 Related, but whatever happened to the dlang.org site redesign?
- Andrei Alexandrescu (3/16) Jan 16 2015 Redesign happens if somebody does it. By that definition, this is it. --...
- David Soria Parra via Digitalmars-d (3/6) Jan 16 2015 talking about dlang.org, I wonder what happend to the redesign efforts.
- Andrei Alexandrescu (3/10) Jan 16 2015 As for the time being, this is pretty much it. I hope this will also
- Mathias LANG (4/20) Jan 16 2015 For those interested in contributing, here's the repo for the
- Andrei Alexandrescu (9/25) Jan 16 2015 Is there a place where this can be seen?
- Mathias LANG (10/43) Jan 17 2015 http://w0rp.com:8010/
- MattCoder (9/10) Jan 17 2015 I don't know about others but for me the layout above looks more
- Andrei Alexandrescu (5/14) Jan 17 2015 To make a website look good on a mobile device, one needs to do work to
- MattCoder (7/17) Jan 17 2015 Indeed! But, if the "body" had a "width" setted this wouldn't
- Andrei Alexandrescu (2/15) Jan 17 2015 A tested PR would be great. Who can take this? -- Andrei
- MattCoder (14/15) Jan 17 2015 A last note about this: using "width:1024px" will fix the mobile
- H. S. Teoh via Digitalmars-d (15/30) Jan 17 2015 [...]
- Andrei Alexandrescu (2/29) Jan 17 2015 Could you please run some experiments and see where they take us? -- And...
- H. S. Teoh via Digitalmars-d (11/27) Jan 17 2015 I'm busy working on splitting up std.algorithm into more manageable
- Andrei Alexandrescu (3/27) Jan 17 2015 Thanks! I filed https://issues.dlang.org/show_bug.cgi?id=13997, who can
- MattCoder (9/18) Jan 17 2015 Sure, but for what I see adding: "min-width:1024px;" (or what
- via Digitalmars-d (3/5) Jan 17 2015 If you do your html and style right in the first place, it will
- Jacob Carlborg (7/10) Jan 18 2015 No, that's not the correct solution. The correct solution is to use
- "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= (4/14) Jan 18 2015 +
- MattCoder (7/18) Jan 18 2015 Just to be clear, I didn't mention in my previous post that
- Andrei Alexandrescu (6/10) Jan 17 2015 make rebase -j && make clean && make rsync -j
I just created https://github.com/D-Programming-Language/dlang.org/pull/769, which shifts the majority of dlang.org's look and feel to CSS styles. With this work in tow, we get to use classic CSS styling to improve the look and feel of the site. Please review. I'll be also looking forward to new styling ideas! Andrei
Jan 16 2015
On Friday, 16 January 2015 at 08:23:15 UTC, Andrei Alexandrescu wrote:I just created https://github.com/D-Programming-Language/dlang.org/pull/769, which shifts the majority of dlang.org's look and feel to CSS styles. With this work in tow, we get to use classic CSS styling to improve the look and feel of the site. Please review. I'll be also looking forward to new styling ideas! AndreiRelated, but whatever happened to the dlang.org site redesign?
Jan 16 2015
On 1/16/15 2:42 AM, weaselcat wrote:On Friday, 16 January 2015 at 08:23:15 UTC, Andrei Alexandrescu wrote:Redesign happens if somebody does it. By that definition, this is it. -- AndreiI just created https://github.com/D-Programming-Language/dlang.org/pull/769, which shifts the majority of dlang.org's look and feel to CSS styles. With this work in tow, we get to use classic CSS styling to improve the look and feel of the site. Please review. I'll be also looking forward to new styling ideas! AndreiRelated, but whatever happened to the dlang.org site redesign?
Jan 16 2015
Andrei Alexandrescu via Digitalmars-d <digitalmars-d puremagic.com> writes:I just created https://github.com/D-Programming-Language/dlang.org/pull/769, which shifts the majority of dlang.org's look and feel to CSS styles.talking about dlang.org, I wonder what happend to the redesign efforts.
Jan 16 2015
On 1/16/15 2:38 PM, David Soria Parra via Digitalmars-d wrote:Andrei Alexandrescu via Digitalmars-d <digitalmars-d puremagic.com> writes:As for the time being, this is pretty much it. I hope this will also spur others into action. -- AndreiI just created https://github.com/D-Programming-Language/dlang.org/pull/769, which shifts the majority of dlang.org's look and feel to CSS styles.talking about dlang.org, I wonder what happend to the redesign efforts.
Jan 16 2015
On Friday, 16 January 2015 at 23:02:21 UTC, Andrei Alexandrescu wrote:On 1/16/15 2:38 PM, David Soria Parra via Digitalmars-d wrote:For those interested in contributing, here's the repo for the redesign effort: https://github.com/w0rp/new-dlang.orgAndrei Alexandrescu via Digitalmars-d <digitalmars-d puremagic.com> writes:As for the time being, this is pretty much it. I hope this will also spur others into action. -- AndreiI just created https://github.com/D-Programming-Language/dlang.org/pull/769, which shifts the majority of dlang.org's look and feel to CSS styles.talking about dlang.org, I wonder what happend to the redesign efforts.
Jan 16 2015
On 1/16/15 3:05 PM, Mathias LANG wrote:On Friday, 16 January 2015 at 23:02:21 UTC, Andrei Alexandrescu wrote:Is there a place where this can be seen? Sadly it seems there hasn't been an update in a while. Things should be easier to integrate now that we have dub running. But I'd say the way to go is make room for things one at a time. For examples I just created https://github.com/D-Programming-Language/dlang.org/pull/776 which exposes additional elements to styling. Please review :o). AndreiOn 1/16/15 2:38 PM, David Soria Parra via Digitalmars-d wrote:For those interested in contributing, here's the repo for the redesign effort: https://github.com/w0rp/new-dlang.orgAndrei Alexandrescu via Digitalmars-d <digitalmars-d puremagic.com> writes:As for the time being, this is pretty much it. I hope this will also spur others into action. -- AndreiI just created https://github.com/D-Programming-Language/dlang.org/pull/769, which shifts the majority of dlang.org's look and feel to CSS styles.talking about dlang.org, I wonder what happend to the redesign efforts.
Jan 16 2015
On Saturday, 17 January 2015 at 00:12:18 UTC, Andrei Alexandrescu wrote:On 1/16/15 3:05 PM, Mathias LANG wrote:http://w0rp.com:8010/ Disclaimer: I'm in no way involved with this. AFAIK, this is almost completely w0rp's effort.On Friday, 16 January 2015 at 23:02:21 UTC, Andrei Alexandrescu wrote:Is there a place where this can be seen?On 1/16/15 2:38 PM, David Soria Parra via Digitalmars-d wrote:For those interested in contributing, here's the repo for the redesign effort: https://github.com/w0rp/new-dlang.orgAndrei Alexandrescu via Digitalmars-d <digitalmars-d puremagic.com> writes:As for the time being, this is pretty much it. I hope this will also spur others into action. -- AndreiI just created https://github.com/D-Programming-Language/dlang.org/pull/769, which shifts the majority of dlang.org's look and feel to CSS styles.talking about dlang.org, I wonder what happend to the redesign efforts.Sadly it seems there hasn't been an update in a while. Things should be easier to integrate now that we have dub running. But I'd say the way to go is make room for things one at a time. For examples I just created https://github.com/D-Programming-Language/dlang.org/pull/776 which exposes additional elements to styling. Please review :o). AndreiI agree. Quick question: how's the website synced ATM ? Is it some post-commit hook, manual, cron job ? The redesign use a Vibe.d webserver. I'm wondering whether this is a possibility for dlang.org.
Jan 17 2015
On Saturday, 17 January 2015 at 15:28:57 UTC, Mathias LANG wrote:http://w0rp.com:8010/I don't know about others but for me the layout above looks more attractive than the actual one. In fact yesterday I was showing the main page for a friend on his smartphone (Moto G), and the code example at main page looks awful, since it's all wrapped on mobile. Here is an example what I'm talking about: http://i.imgur.com/9JYNVNk.png Matheus.
Jan 17 2015
On 1/17/15 8:32 AM, MattCoder wrote:On Saturday, 17 January 2015 at 15:28:57 UTC, Mathias LANG wrote:I agree.http://w0rp.com:8010/I don't know about others but for me the layout above looks more attractive than the actual one.In fact yesterday I was showing the main page for a friend on his smartphone (Moto G), and the code example at main page looks awful, since it's all wrapped on mobile. Here is an example what I'm talking about: http://i.imgur.com/9JYNVNk.pngTo make a website look good on a mobile device, one needs to do work to make the website look good on a mobile device. Andrei
Jan 17 2015
On Saturday, 17 January 2015 at 17:59:07 UTC, Andrei Alexandrescu wrote:Indeed! But, if the "body" had a "width" setted this wouldn't occur. For example, adding "width: 1024px" on body in style.css it will now be fine to see on mobile. Matheus.In fact yesterday I was showing the main page for a friend on his smartphone (Moto G), and the code example at main page looks awful, since it's all wrapped on mobile. Here is an example what I'm talking about: http://i.imgur.com/9JYNVNk.pngTo make a website look good on a mobile device, one needs to do work to make the website look good on a mobile device.
Jan 17 2015
On 1/17/15 10:39 AM, MattCoder wrote:On Saturday, 17 January 2015 at 17:59:07 UTC, Andrei Alexandrescu wrote:A tested PR would be great. Who can take this? -- AndreiIndeed! But, if the "body" had a "width" setted this wouldn't occur. For example, adding "width: 1024px" on body in style.css it will now be fine to see on mobile. Matheus.In fact yesterday I was showing the main page for a friend on his smartphone (Moto G), and the code example at main page looks awful, since it's all wrapped on mobile. Here is an example what I'm talking about: http://i.imgur.com/9JYNVNk.pngTo make a website look good on a mobile device, one needs to do work to make the website look good on a mobile device.
Jan 17 2015
On Saturday, 17 January 2015 at 19:35:01 UTC, Andrei Alexandrescu wrote:A tested PR would be great. Who can take this? -- AndreiA last note about this: using "width:1024px" will fix the mobile "wrap-text" problem, but the site will look like this on higher resolutions: http://i.imgur.com/MZSmn87.png (Look the space on the left and right). So another solution would trying to set "min-width:1024px" on body tag, so the site will continue to be the same as is today even on higher resolutions, and I'm pretty sure this will correct the problem above on mobile devices. If anyone change I'd be glad to test. PS: I'm assuming 1024 pixels because it's used as minimum standard these days. Matheus.
Jan 17 2015
On Sat, Jan 17, 2015 at 08:04:56PM +0000, MattCoder via Digitalmars-d wrote:On Saturday, 17 January 2015 at 19:35:01 UTC, Andrei Alexandrescu wrote:[...] I rather that we use font-based metrics (e.g. 40em) instead of pixel sizes. That way the layout won't break or look horrible if the user changes the default font sizes (e.g. for special needs, etc.) or doesn't maximize his browser window. But that's just my opinion. Also, I am skeptical of a single style that will work for both desktop and mobile browsers. Isn't that what mobile stylesheets are for? We can have the same content, but we shouldn't break the desktop layout or make it look laughably spaced out just for the sake of mobile devices. Let the mobile devices have their own stylesheet. T -- Shin: (n.) A device for finding furniture in the dark.A tested PR would be great. Who can take this? -- AndreiA last note about this: using "width:1024px" will fix the mobile "wrap-text" problem, but the site will look like this on higher resolutions: http://i.imgur.com/MZSmn87.png (Look the space on the left and right). So another solution would trying to set "min-width:1024px" on body tag, so the site will continue to be the same as is today even on higher resolutions, and I'm pretty sure this will correct the problem above on mobile devices. If anyone change I'd be glad to test. PS: I'm assuming 1024 pixels because it's used as minimum standard these days.
Jan 17 2015
On 1/17/15 2:24 PM, H. S. Teoh via Digitalmars-d wrote:On Sat, Jan 17, 2015 at 08:04:56PM +0000, MattCoder via Digitalmars-d wrote:Could you please run some experiments and see where they take us? -- AndreiOn Saturday, 17 January 2015 at 19:35:01 UTC, Andrei Alexandrescu wrote:[...] I rather that we use font-based metrics (e.g. 40em) instead of pixel sizes. That way the layout won't break or look horrible if the user changes the default font sizes (e.g. for special needs, etc.) or doesn't maximize his browser window. But that's just my opinion. Also, I am skeptical of a single style that will work for both desktop and mobile browsers. Isn't that what mobile stylesheets are for? We can have the same content, but we shouldn't break the desktop layout or make it look laughably spaced out just for the sake of mobile devices. Let the mobile devices have their own stylesheet.A tested PR would be great. Who can take this? -- AndreiA last note about this: using "width:1024px" will fix the mobile "wrap-text" problem, but the site will look like this on higher resolutions: http://i.imgur.com/MZSmn87.png (Look the space on the left and right). So another solution would trying to set "min-width:1024px" on body tag, so the site will continue to be the same as is today even on higher resolutions, and I'm pretty sure this will correct the problem above on mobile devices. If anyone change I'd be glad to test. PS: I'm assuming 1024 pixels because it's used as minimum standard these days.
Jan 17 2015
On Sat, Jan 17, 2015 at 02:36:03PM -0800, Andrei Alexandrescu via Digitalmars-d wrote:On 1/17/15 2:24 PM, H. S. Teoh via Digitalmars-d wrote:[...]I'm busy working on splitting up std.algorithm into more manageable chunks... currently I can't even run the unittests on my machine anymore because it eats up all available RAM. So far I've managed to successfully extricate the set operations into their own submodule (and pass unittests!). So yeah... too busy to look into web stuff atm. T -- PNP = Plug 'N' PrayI rather that we use font-based metrics (e.g. 40em) instead of pixel sizes. That way the layout won't break or look horrible if the user changes the default font sizes (e.g. for special needs, etc.) or doesn't maximize his browser window. But that's just my opinion. Also, I am skeptical of a single style that will work for both desktop and mobile browsers. Isn't that what mobile stylesheets are for? We can have the same content, but we shouldn't break the desktop layout or make it look laughably spaced out just for the sake of mobile devices. Let the mobile devices have their own stylesheet.Could you please run some experiments and see where they take us? -- Andrei
Jan 17 2015
On 1/17/15 3:18 PM, H. S. Teoh via Digitalmars-d wrote:On Sat, Jan 17, 2015 at 02:36:03PM -0800, Andrei Alexandrescu via Digitalmars-d wrote:Thanks! I filed https://issues.dlang.org/show_bug.cgi?id=13997, who can get into it? -- AndreiOn 1/17/15 2:24 PM, H. S. Teoh via Digitalmars-d wrote:[...]I'm busy working on splitting up std.algorithm into more manageable chunks... currently I can't even run the unittests on my machine anymore because it eats up all available RAM. So far I've managed to successfully extricate the set operations into their own submodule (and pass unittests!). So yeah... too busy to look into web stuff atm.I rather that we use font-based metrics (e.g. 40em) instead of pixel sizes. That way the layout won't break or look horrible if the user changes the default font sizes (e.g. for special needs, etc.) or doesn't maximize his browser window. But that's just my opinion. Also, I am skeptical of a single style that will work for both desktop and mobile browsers. Isn't that what mobile stylesheets are for? We can have the same content, but we shouldn't break the desktop layout or make it look laughably spaced out just for the sake of mobile devices. Let the mobile devices have their own stylesheet.Could you please run some experiments and see where they take us? -- Andrei
Jan 17 2015
On Saturday, 17 January 2015 at 22:27:08 UTC, H. S. Teoh via Digitalmars-d wrote:Also, I am skeptical of a single style that will work for both desktop and mobile browsers. Isn't that what mobile stylesheets are for? We can have the same content, but we shouldn't break the desktop layout or make it look laughably spaced out just for the sake of mobile devices. Let the mobile devices have their own stylesheet.Sure, but for what I see adding: "min-width:1024px;" (or what unit you want) on body will NOT break the site on desktop and will make the site more readable on mobile. Ideally you would want a stylesheet for mobile, but this would take more time than adding a single line in the current stylesheet. Matheus.
Jan 17 2015
On Sat, Jan 17, 2015 at 02:24:48PM -0800, H. S. Teoh via Digitalmars-d wrote:Also, I am skeptical of a single style that will work for both desktop and mobile browsers. Isn't that what mobile stylesheets are for?If you do your html and style right in the first place, it will be mostly the same. At most you might reposition a sidebar or something.
Jan 17 2015
On 2015-01-17 19:39, MattCoder wrote:Indeed! But, if the "body" had a "width" setted this wouldn't occur. For example, adding "width: 1024px" on body in style.css it will now be fine to see on mobile.No, that's not the correct solution. The correct solution is to use media queries in the CSS and specify different widths depending on the resolution. Also known as responsive design. Or you have a separate mobile site. -- /Jacob Carlborg
Jan 18 2015
On Sunday, 18 January 2015 at 10:01:37 UTC, Jacob Carlborg wrote:On 2015-01-17 19:39, MattCoder wrote:+ <meta name = "viewport" content = "width=device-width,initial-scale=1.0">Indeed! But, if the "body" had a "width" setted this wouldn't occur. For example, adding "width: 1024px" on body in style.css it will now be fine to see on mobile.No, that's not the correct solution. The correct solution is to use media queries in the CSS and specify different widths depending on the resolution. Also known as responsive design.
Jan 18 2015
On Sunday, 18 January 2015 at 10:01:37 UTC, Jacob Carlborg wrote:On 2015-01-17 19:39, MattCoder wrote:Just to be clear, I didn't mention in my previous post that "width: 1024px" or "min-width: 1024px" is the correct solution, I just suggest this because it's a little effort (add 1 line in the stylesheet) to make it look less ugly in mobile than it looks today (http://i.imgur.com/9JYNVNk.png). Matheus.Indeed! But, if the "body" had a "width" setted this wouldn't occur. For example, adding "width: 1024px" on body in style.css it will now be fine to see on mobile.No, that's not the correct solution. The correct solution is to use media queries in the CSS and specify different widths depending on the resolution. Also known as responsive design. Or you have a separate mobile site.
Jan 18 2015
On 1/17/15 7:28 AM, Mathias LANG wrote:Quick question: how's the website synced ATM ? Is it some post-commit hook, manual, cron job ?make rebase -j && make clean && make rsync -j make clean is a complete bear. All - please make dub generation better.The redesign use a Vibe.d webserver. I'm wondering whether this is a possibility for dlang.org.I think it is. I will explore that with our webmaster. But beware - the least productive thing right now is yet another project I need to work on. Andrei
Jan 17 2015