summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-20 16:51:52 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-20 16:51:52 -0400
commit816fe407fa2e781e92ce053ef7ba36e858e95656 (patch)
treec115a1b5ad30d9e04ea5bfee06ca4b7dbd88c08c
parent121ae2210882f45e4bfcbcaa7883d0563bdb77e6 (diff)
better menuish stuff
darcs-hash:20080520205152-84dde-4261d3d07e172a365e383f75c646d46cdbfaeecb.gz
-rw-r--r--lib/settingsaction.php2
-rw-r--r--lib/util.php2
-rw-r--r--theme/default/style/layout.css78
3 files changed, 29 insertions, 53 deletions
diff --git a/lib/settingsaction.php b/lib/settingsaction.php
index 2977c3cb1..615a5cbae 100644
--- a/lib/settingsaction.php
+++ b/lib/settingsaction.php
@@ -50,7 +50,7 @@ class SettingsAction extends Action {
}
function settings_menu() {
- common_element_start('ul', 'headmenu');
+ common_element_start('ul', 'settingsmenu menuish');
common_menu_item(common_local_url('profilesettings'),
_t('Profile'));
common_menu_item(common_local_url('avatar'),
diff --git a/lib/util.php b/lib/util.php
index 72c9652b9..4fef45ec1 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -175,7 +175,7 @@ function common_head_menu() {
}
function common_foot_menu() {
- common_element_start('ul', 'footmenu');
+ common_element_start('ul', 'footmenu menuish');
common_menu_item(common_local_url('doc', array('title' => 'about')),
_t('About'));
common_menu_item(common_local_url('doc', array('title' => 'help')),
diff --git a/theme/default/style/layout.css b/theme/default/style/layout.css
index 396ac750d..f35d4ae97 100644
--- a/theme/default/style/layout.css
+++ b/theme/default/style/layout.css
@@ -1,12 +1,10 @@
/**************************************************************
AUTHOR: Pat Heard (fullahead.org)
- DATE: 2006.09.12
+ DATE: 2006.09.12
PURPOSE: Controls the layout of the site and styles
the menus
**************************************************************/
-
-
/**************************************************************
#wrapper & #content: wrapper positions and sets the width
on the content. The background is then applied to #content.
@@ -16,36 +14,31 @@
width: 589px;
height: 100%;
margin: 0 auto;
-
+
text-align: left;
}
-
-#content {
+#content {
float: left;
width: 589px;
height: 100%;
- min-height: 100%;
-
+ min-height: 100%;
+
background: url(../image/content.gif) repeat-y top center;
}
-
#content[id] {
- height: auto;
+ height: auto;
background: url(../image/content.png) repeat-y top center;
}
-
-
-
/**************************************************************
#header: Holds the site title and header images
**************************************************************/
#header {
- padding: 60px 0 2em 49px;
- background: url(../image/header.jpg) no-repeat top center;
+ padding: 60px 0 2em 49px;
+ background: url(../image/header.jpg) no-repeat top center;
}
/* Forces IE to set the hasLayout flag and show the header at the height of its contents \*/
@@ -54,11 +47,10 @@
}
/* End hide from IE-mac */
-
#header h1,
#header h2 {
margin: 0;
- padding: 0;
+ padding: 0;
background: none;
}
@@ -69,18 +61,15 @@
color: #6E310B;
}
-
-
-
/**************************************************************
#menu: The top level site menu
**************************************************************/
ul#menu {
width: 491px;
- margin: 0 auto;
+ margin: 0 auto;
padding: 0 !important;
- padding: 0 0 0 10px;
+ padding: 0 0 0 10px;
}
ul#menu li {
@@ -91,13 +80,13 @@ ul#menu li {
}
ul#menu li a {
- float: left;
+ float: left;
padding: 15px 0 5px 0;
font: 400 1.54em georgia, serif;
text-align: center;
text-decoration: none;
-
+
color: #61804E;
border-bottom: 1px solid #D3F1B6;
}
@@ -137,17 +126,14 @@ ul.five li a {
#page: Holds the main page content.
**************************************************************/
-#page {
+#page {
float: left;
- clear: both;
+ clear: both;
width: 491px !important;
width: 100%;
-
- padding: 2em 49px;
-}
-
-
+ padding: 2em 49px;
+}
/**************************************************************
.footer: Site footer
@@ -159,9 +145,6 @@ ul.five li a {
clear: both;
}
-
-
-
/**************************************************************
.bigLinks: Large, clickable links
**************************************************************/
@@ -170,7 +153,7 @@ ul.bigLinks {
margin: 10px 0;
padding: 0;
list-style: none;
-
+
}
ul.bigLinks li {
@@ -181,7 +164,7 @@ ul.bigLinks li {
}
ul.bigLinks li a,
-ul.bigLinks li a:visited {
+ul.bigLinks li a:visited {
display: block;
margin: 10px 0;
@@ -189,7 +172,7 @@ ul.bigLinks li a:visited {
text-decoration: none;
background-color: #FFF;
- border: 0;
+ border: 0;
}
ul.bigLinks li a:hover {
@@ -199,7 +182,7 @@ ul.bigLinks li a:hover {
}
ul.bigLinks li a span.title {
- color: #5E9040;
+ color: #5E9040;
border-bottom: 1px solid #B8E78B;
}
@@ -217,8 +200,6 @@ ul.bigLinks li a:hover span.desc {
color: #555;
}
-
-
/**************************************************************
Width classes used by the site columns
**************************************************************/
@@ -247,8 +228,6 @@ ul.bigLinks li a:hover span.desc {
width: 23%;
}
-
-
/**************************************************************
Alignment classes
**************************************************************/
@@ -269,8 +248,6 @@ ul.bigLinks li a:hover span.desc {
text-align: right;
}
-
-
/**************************************************************
Generic display classes
**************************************************************/
@@ -284,11 +261,11 @@ ul.bigLinks li a:hover span.desc {
}
.big {
- font-size: 1.3em;
+ font-size: 1.3em;
}
.small {
- font-size: 0.85em;
+ font-size: 0.85em;
}
.bold {
@@ -311,7 +288,6 @@ ul.bigLinks li a:hover span.desc {
color: #512103;
}
-
.greenBg {
padding: 0 10px;
background-color: #F1FFE3;
@@ -324,7 +300,7 @@ ul.bigLinks li a:hover span.desc {
border-top: 1px solid #BDEDDE;
}
-
-
-
-
+ul.menuish {
+ display: inline;
+ list-style: none;
+} \ No newline at end of file