summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 35c49ee)
raw | patch | inline | side by side (parent: 35c49ee)
author | Petr Baudis <pasky@ucw.cz> | |
Wed, 9 May 2007 01:41:50 +0000 (03:41 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 10 May 2007 21:13:29 +0000 (14:13 -0700) |
Avoid specifying font sizes in pixels, since that is just pure evil.
Pointed out by Chris Riddoch.
Note that this is pretty much just a proposal; I didn't test if everything
fits perfectly right, but things seem to be pretty much okay. repo.or.cz
uses it now as a test drive - if you find any visual quirks, please point
them out, with a patch if possible since I'm total CSS noob and debugging
CSS is an extremely painful experience for me.
Note that this patch actually does change visual look of gitweb in Firefox
with my resolution and default settings - everything is bigger and I can't
explain the joy of actually seeing gitweb text that is in _readable_ size;
also, my horizontal screen real estate feels better used now. But judging
from the look of most modern webpages on the 'net, most people prefer
reading the web with strained eyes and/or a magnifying glass (I wonder what
species of scientists should look into this mystifying phenomenon) - so,
please tell us what you think.
Maybe we might want to get rid of absolute sizes other than font sizes in
the CSS file too in the long term.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Pointed out by Chris Riddoch.
Note that this is pretty much just a proposal; I didn't test if everything
fits perfectly right, but things seem to be pretty much okay. repo.or.cz
uses it now as a test drive - if you find any visual quirks, please point
them out, with a patch if possible since I'm total CSS noob and debugging
CSS is an extremely painful experience for me.
Note that this patch actually does change visual look of gitweb in Firefox
with my resolution and default settings - everything is bigger and I can't
explain the joy of actually seeing gitweb text that is in _readable_ size;
also, my horizontal screen real estate feels better used now. But judging
from the look of most modern webpages on the 'net, most people prefer
reading the web with strained eyes and/or a magnifying glass (I wonder what
species of scientists should look into this mystifying phenomenon) - so,
please tell us what you think.
Maybe we might want to get rid of absolute sizes other than font sizes in
the CSS file too in the long term.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.css | patch | blob | history |
diff --git a/gitweb/gitweb.css b/gitweb/gitweb.css
index e795b70b2b601aa1f823750d073fdaf80f7ee4d7..b57c8beccb50a94f910cd3bf48ae1c57cf6c1bb8 100644 (file)
--- a/gitweb/gitweb.css
+++ b/gitweb/gitweb.css
body {
font-family: sans-serif;
- font-size: 12px;
border: solid #d9d8d1;
border-width: 1px;
margin: 10px;
div.page_header {
height: 25px;
padding: 8px;
- font-size: 18px;
+ font-size: 150%;
font-weight: bold;
background-color: #d9d8d1;
}
div.log_link {
padding: 0px 8px;
- font-size: 10px;
+ font-size: 70%;
font-family: sans-serif;
font-style: normal;
position: relative;
table.blame td {
padding: 0px 5px;
- font-size: 12px;
+ font-size: 100%;
vertical-align: top;
}
th {
padding: 2px 5px;
- font-size: 12px;
+ font-size: 100%;
text-align: left;
}
td {
padding: 2px 5px;
- font-size: 12px;
+ font-size: 100%;
vertical-align: top;
}
td.link, td.selflink {
padding: 2px 5px;
font-family: sans-serif;
- font-size: 10px;
+ font-size: 70%;
}
td.selflink {
}
div.search {
- font-size: 12px;
+ font-size: 100%;
font-weight: normal;
margin: 4px 8px;
position: absolute;
background-color: #ff6600;
font-weight: bold;
font-family: sans-serif;
- font-size: 10px;
+ font-size: 70%;
text-align: center;
text-decoration: none;
}
span.refs span {
padding: 0px 4px;
- font-size: 10px;
+ font-size: 70%;
font-weight: normal;
border: 1px solid;
background-color: #ffaaff;