Site Updates – Great news!

Where we keep all the boring tidbits about the PHPDN site, the news, and what not.

Moderator: General Moderators

Re: Site Updates – Great news!

Postby Benjamin » Tue Mar 30, 2010 3:03 pm

I noticed that. I'll see what I can do.
Image
User avatar
Benjamin
Site Administrator
 
Posts: 6865
Joined: Sun May 19, 2002 10:24 pm

Re: Site Updates – Great news!

Postby Benjamin » Tue Mar 30, 2010 3:23 pm

I'll go ahead and turn them off until I get a chance to look at the code and get the entities issue fixed.
Image
User avatar
Benjamin
Site Administrator
 
Posts: 6865
Joined: Sun May 19, 2002 10:24 pm

Re: Site Updates – Great news!

Postby Christopher » Tue Mar 30, 2010 3:50 pm

omniuni wrote:I am currently using "Avalon" and whatever version of the logo you have on there looks great. (I'm not biased. :wink: )

Also, when you scale the logo down, I recommend using sinc (Lanczos) as the scaling algorithm.

The logo looks it has gotten a little fuzzy. Perhaps you should sharpen it?
(#10850)
User avatar
Christopher
Site Administrator
 
Posts: 12665
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Site Updates – Great news!

Postby RobertGonzalez » Tue Mar 30, 2010 4:30 pm

I scaled it down in photoshop so that it was clipped at the edges. Sadly, my Illustrator skills are crap, and editing an SVG that is all over the place makes it that much more difficult.

I'd bet the "fuzz" is a combination of loss of sharpness due to scaling and the compression of the shadow at smaller resolution.
User avatar
RobertGonzalez
Site Administrator
 
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Re: Site Updates – Great news!

Postby pickle » Tue Mar 30, 2010 5:29 pm

Email/IM me the SVG & I should be able to resize it in Illustrator.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
pickle
Briney Mod
 
Posts: 6430
Joined: Mon Jan 19, 2004 7:11 pm
Location: 53.01N x 112.48W

Re: Site Updates – Great news!

Postby califdon » Tue Mar 30, 2010 5:44 pm

RobertGonzalez wrote:I'd bet the "fuzz" is a combination of loss of sharpness due to scaling and the compression of the shadow at smaller resolution.
Nah, it's because you spilled coffee on your monitor, Robert! :lol:
I don't make syntax errors. It's just that sometimes whoever wrote the programming language failed to anticipate my creative coding.
User avatar
califdon
Jack of Zircons
 
Posts: 4484
Joined: Thu Nov 09, 2006 9:30 pm
Location: California, USA

Re: Site Updates – Great news!

Postby RobertGonzalez » Tue Mar 30, 2010 5:49 pm

Done.
User avatar
RobertGonzalez
Site Administrator
 
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Re: Site Updates – Great news!

Postby Eran » Tue Mar 30, 2010 8:19 pm

You have to increase the height of the code box and decrease the line-height. Very hard to read code this way.
User avatar
Eran
DevNet Master
 
Posts: 3549
Joined: Fri Jan 18, 2008 1:36 am
Location: Israel, ME

Re: Site Updates – Great news!

Postby Benjamin » Tue Mar 30, 2010 8:34 pm

pytrin wrote:You have to increase the height of the code box and decrease the line-height. Very hard to read code this way.


Can you post a screen shot please.
Image
User avatar
Benjamin
Site Administrator
 
Posts: 6865
Joined: Sun May 19, 2002 10:24 pm

Re: Site Updates – Great news!

Postby Eran » Tue Mar 30, 2010 9:04 pm

I attached a screenshot of how I see it using the subsilver2 theme (the old forum theme). I also added a screenshot of the same code-box with some CSS tweaking in Firebug (changed line-height from 1.5em to 1em, added 5px left padding and increased the height to 150px)
Attachments
code-box-tweak.png
code-box-tweak.png (2.91 KiB) Viewed 4578 times
code-box.png
code-box.png (1.76 KiB) Viewed 4578 times
User avatar
Eran
DevNet Master
 
Posts: 3549
Joined: Fri Jan 18, 2008 1:36 am
Location: Israel, ME

Re: Site Updates – Great news!

Postby Benjamin » Wed Mar 31, 2010 1:40 am

I'm not sure why the 1.5em line spacing had such a dramatic effect in your browser. I went ahead and removed the line-spacing completely and added a left padding of 5px.
Image
User avatar
Benjamin
Site Administrator
 
Posts: 6865
Joined: Sun May 19, 2002 10:24 pm

Re: Site Updates – Great news!

Postby Benjamin » Wed Mar 31, 2010 1:51 am

As far as the height goes this is an issue and I'm trying to think of the best solution in order to fix it. Changing the height really isn't a valid solution because then you will have issues where you end up with white space when there isn't enough code to fill it up.

How would you guys feel about removing the Syntax: line altogether and just have the white code section? The ability to download/expand/contract/hide/show would be removed. The code area would simply be the size of the code block inside of it, which is sometimes fairly large.
Image
User avatar
Benjamin
Site Administrator
 
Posts: 6865
Joined: Sun May 19, 2002 10:24 pm

Re: Site Updates – Great news!

Postby Eran » Wed Mar 31, 2010 2:31 am

I'm not sure why the 1.5em line spacing had such a dramatic effect in your browser

I'm not sure why you would think otherwise, line-height determines the height of each line. 1.5em means 50% bigger line height. I'm using Firefox 3.6.2 by the way. Also, it seems to be inheriting the line-height from another class (.post-body or something like that), so it's currently at 1.4em and not really a big difference from before.
As far as the height goes this is an issue and I'm trying to think of the best solution in order to fix it. Changing the height really isn't a valid solution because then you will have issues where you end up with white space when there isn't enough code to fill it up.

You can change height to max-height, that way it would fill up to the given value (at least on browsers that support that property correctly). Either way, it's too short right now
User avatar
Eran
DevNet Master
 
Posts: 3549
Joined: Fri Jan 18, 2008 1:36 am
Location: Israel, ME

Re: Site Updates – Great news!

Postby Benjamin » Wed Mar 31, 2010 2:34 am

pytrin wrote:
I'm not sure why the 1.5em line spacing had such a dramatic effect in your browser

I'm not sure why you would think otherwise


Because in the browsers I used to add the line-height, firefox and chrome, the spacing wasn't even remotely close to being that large. I'm on Unix however. I did not test it in Windows.
Image
User avatar
Benjamin
Site Administrator
 
Posts: 6865
Joined: Sun May 19, 2002 10:24 pm

Re: Site Updates – Great news!

Postby Benjamin » Wed Mar 31, 2010 2:40 am

pytrin wrote:Either way, it's too short right now


You do realize there is an "Expand" function right?
Image
User avatar
Benjamin
Site Administrator
 
Posts: 6865
Joined: Sun May 19, 2002 10:24 pm

PreviousNext

Return to Site News

Who is online

Users browsing this forum: No registered users and 1 guest