Tiny cosmetic masonhq.com improvement [patch]
[email protected] (Adam Sjøgren) Sat, 23 May 2009 14:34:17 +0200
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Organization | koldfront - analysis & revolution, Copenhagen, Denmark |
| Message-ID | <[email protected]> |
Hi.
When I visit masonhq.com the "Go"-button extends into the box next to
it, and it looks a little silly.
I guess it is due to differences in fonts. The attached patch changes
the look from the top-part of this screenshot to the bottom-part for me:
* http://koldfront.dk/misc/masonhq-search-width.png
I don't know if it is the correct/perfect fix, but I think it should
work for every browser (that supports attribute selectors; I have tested
with Firefox and Opera on my desktop box), as the left column is fixed
width to begin with.
---
comps/template/style.css | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/comps/template/style.css b/comps/template/style.css
index fd9456b..aeb3d3b 100644
--- a/comps/template/style.css
+++ b/comps/template/style.css
@@ -117,6 +117,10 @@ input {
background: #FFFFFF;
}
=
+#navsearch input[type=3Dtext] {
+ width: <% $left_width - 50 %>px;
+}
+
#footercontainer ul =
{
width: 100%;
-- =
1.6.3.1
Best regards,
Adam
-- =
"Emacs is like a laser guided missile. It only has to Adam Sj=F8gren
be slight mis-configured to ruin your whole day." [email protected]
---------------------------------------------------------------------------=
---
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Me=
et
the minds behind Google Creative Lab, Visual Complexity, Processing, & =
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com =