aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-11-14 00:38:11 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-11-14 00:38:11 +0000
commit813437509a2b259c7c0bf377445107a820203ef5 (patch)
tree14df66f65518269d148c5d8cfb7215b951dfd568 /web
parentRefactor lastupdated timestamps, so that RSS and HTML have the same page time... (diff)
downloadpackages-813437509a2b259c7c0bf377445107a820203ef5.tar.gz
packages-813437509a2b259c7c0bf377445107a820203ef5.tar.bz2
packages-813437509a2b259c7c0bf377445107a820203ef5.zip
Make ALL font and area sizes relative, for folk with unusual font metrics. Only images, lines, margins and padding remain with absolute sizes (px, pt).
Diffstat (limited to 'web')
-rw-r--r--web/static/style.css47
1 files changed, 23 insertions, 24 deletions
diff --git a/web/static/style.css b/web/static/style.css
index 79ab735..416acb9 100644
--- a/web/static/style.css
+++ b/web/static/style.css
@@ -2,11 +2,13 @@ body {
font-family: Verdana, Arial, Helvetica;
margin: 0px;
padding: 0px;
- font-size: 9pt;
+ /* font_size: 10pt; */
+ font-size: 1.08em;
}
#leftcontent {
position: absolute;
+ font-size: 1.00em;
left: 0em;
top: 0em;
width: 14.75em;
@@ -16,7 +18,7 @@ body {
}
#leftcontent p {
- /* font-size: 14px; */
+ /* font_size: 14px; */
font-weight: bold;
color: #7a5ada;
margin: 5px 7px 7px 5px;
@@ -24,7 +26,7 @@ body {
}
#leftcontent ul, #leftcontent li {
- /* font-size: 9px; */
+ /* font_size: 9px; */
/* color: blue; */
padding-left: 2px;
padding-right: 5px;
@@ -66,13 +68,13 @@ body {
}
.commitdate {
- /* font-size: 11px; */
+ /* font_size: 11px; */
margin-top: 0;
text-align: left;
}
.commiter {
- /* font-size: 12px; */
+ /* font_size: 12px; */
margin-top: 0;
margin-bottom: 0;
text-align: left;
@@ -81,7 +83,7 @@ body {
.centerpkgs table.main {
border: 1px solid gray;
border-collapse: collapse;
- /* font-size: 12px; */
+ /* font_size: 12px; */
width: 100%;
margin-bottom: 0.5em;
}
@@ -90,7 +92,7 @@ body {
border: 1px solid gray;
border-collapse: collapse;
margin-bottom: 0;
- /* font-size: 11px; */
+ /* font_size: 11px; */
width: 100%;
}
@@ -104,13 +106,14 @@ body {
}
.centerpkgs tr.d0 td {
- /* font-size: 9px; */
+ /* font_size: 9px; */
background-color: #dddaec;
color: black;
}
.centerpkgs tr.arch {
font-weight: bold;
+ font-size: 0.5em;
}
.centerpkgs tr.d1 td{
@@ -121,17 +124,13 @@ body {
.centerpkgs td.ebuild {
background-color: #dddaec;
text-align: left;
- width: 200px;
+ width: 12em;
}
.centerpkgs a:visited, .centerpkgs a:active {
color: #46347c
}
-.centerpkgs tr.arch {
- font-weight: bold;
-}
-
.centerpkgs td.stable {
background-color: green;
font-weight: bold;
@@ -161,7 +160,8 @@ hr {
}
.update {
- font-size: 11px;
+ /* font_size: 11px; */
+ /* font-size: 1.0em; */
text-align: center;
}
@@ -169,18 +169,21 @@ hr {
background: #46347c;
voice-family: "\"}\"";
voice-family: inherit;
+ /* Same height as the image */
height: 124px;
+ /*
width: 190px;
+ */
}
#footer {
width: 100%;
background: #46347c;
color: #ffffff;
- /* font-size: 12px; */
- padding-top: 5px;
- padding-bottom: 5px;
- margin-right: 10px;
+ /* font_size: 12px; */
+ padding-top: 0.25em;
+ padding-bottom: 0.25em;
+ margin-right: 0.5em;
margin-top: 5em;
font-weight: bold;
text-align: right;
@@ -210,11 +213,6 @@ a:visited {
/* margin: 1em; */
}
-#rightcontent p.legend {
- /* font-size: 12px; */
- margin-left: 10px;
-}
-
#rightcontent span.stable {
color: green;
font-weight: bold;
@@ -249,7 +247,7 @@ a:visited {
.left-bar-list .feed-list {
/* 12px is the size of the image
- * 5px extra per guidelines
+ * 5px extra per RSS guidelines
*/
padding-bottom: 0.1em;
background: url("../media/feed-icon-12x12-col37.png") no-repeat 0 50%;
@@ -259,6 +257,7 @@ a:visited {
.changelogmsg {
text-align: left;
font-family: monospace;
+ font-size: 0.8em;
margin: 0em;
padding: 0.2em;
padding-left: 0.1em;