cvs: phpweb / style.css
| From: | Gabor Hojtsy | Date: | Mon, 28 Jul 2003 11:32:11 +0000 |
| Subject: | cvs: phpweb / style.css | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-19603@lists.php.net to get a copy of this message | ||
goba Mon Jul 28 07:32:11 2003 EDT
Modified files:
/phpweb style.css
Log:
Better organisation and cleanup of header elements,
to make them take up much less space and be more
clear with their formatting
Index: phpweb/style.css
diff -u phpweb/style.css:1.47 phpweb/style.css:1.48
--- phpweb/style.css:1.47 Mon Jul 28 07:21:26 2003
+++ phpweb/style.css Mon Jul 28 07:32:11 2003
@@ -6,18 +6,24 @@
background-color: white;
}
-/* Quicksearch table cell on top of every page. */
-td.quicksearch {
- color: white;
+/* Font settings for page elements */
+body, ul, td, th, p, h1, h2, h3, h4, small, .small,
+.tableTitle, .tableExtras, input, textarea, select {
+ font-family: verdana, arial, helvetica, sans-serif;
+}
+code, pre, tt {
+ font-family: Courier, "Courier New", monospace;
}
-/* Horizontal delimiter defaults */
-hr {
- border: 0px;
- color: black;
- background-color: black;
- height: 1px;
+/* General header styles */
+h1, h2, h3, h4 {
+ font-weight: bold;
+ color: #000066;
}
+h1 { font-size: 130%; }
+h2 { font-size: 125%; }
+h3 { font-size: 110%; }
+h4 { font-size: 100%; }
/* Event month header on homepage */
h4.eventmonth {
@@ -28,6 +34,19 @@
padding: 2px;
}
+/* Quicksearch table cell on top of every page. */
+td.quicksearch {
+ color: white;
+}
+
+/* Horizontal delimiter defaults */
+hr {
+ border: 0px;
+ color: black;
+ background-color: black;
+ height: 1px;
+}
+
/* Left sidebar TOC on manual pages */
div.mtoc {
margin: 0px 5px 5px 5px;
@@ -67,12 +86,6 @@
font-size: 85%;
}
-/* We use this font setting for everything, except codes */
-body, ul, td, th, p, h1, h2, h3, h4, small, a.small,
-.tableTitle, .tableExtras, input, textarea, select {
- font-family: verdana, arial, helvetica, sans-serif;
-}
-
li {
padding-top: 3px;
padding-bottom: 3px;
@@ -108,34 +121,6 @@
text-align: left !important;
}
-code, pre, tt {
- font-family: Courier, "Courier New", monospace;
-}
-
-h1 {
- font-size: 130%;
- font-weight: bold;
- color: #000066;
-}
-
-h2 {
- font-size: 125%;
- font-weight: bold;
- color: #000066;
-}
-
-h3 {
- font-size: 110%;
- font-weight: bold;
- color: #000066;
-}
-
-h4 {
- font-size: 100%;
- font-weight: bold;
- color: #000066;
-}
-
small, .small {
font-size: 75%;
}
@@ -260,6 +245,6 @@
}
/* Maximum width input fields */
-input.max, textarea.max {
+input.max, textarea.max, select.max {
width: 100%;
}