better menuish stuff

darcs-hash:20080520205152-84dde-4261d3d07e172a365e383f75c646d46cdbfaeecb.gz
This commit is contained in:
Evan Prodromou 2008-05-20 16:51:52 -04:00
parent 121ae22108
commit 816fe407fa
3 changed files with 29 additions and 53 deletions

View File

@ -50,7 +50,7 @@ class SettingsAction extends Action {
} }
function settings_menu() { function settings_menu() {
common_element_start('ul', 'headmenu'); common_element_start('ul', 'settingsmenu menuish');
common_menu_item(common_local_url('profilesettings'), common_menu_item(common_local_url('profilesettings'),
_t('Profile')); _t('Profile'));
common_menu_item(common_local_url('avatar'), common_menu_item(common_local_url('avatar'),

View File

@ -175,7 +175,7 @@ function common_head_menu() {
} }
function common_foot_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')), common_menu_item(common_local_url('doc', array('title' => 'about')),
_t('About')); _t('About'));
common_menu_item(common_local_url('doc', array('title' => 'help')), common_menu_item(common_local_url('doc', array('title' => 'help')),

View File

@ -5,8 +5,6 @@
the menus the menus
**************************************************************/ **************************************************************/
/************************************************************** /**************************************************************
#wrapper & #content: wrapper positions and sets the width #wrapper & #content: wrapper positions and sets the width
on the content. The background is then applied to #content. on the content. The background is then applied to #content.
@ -20,7 +18,6 @@
text-align: left; text-align: left;
} }
#content { #content {
float: left; float: left;
width: 589px; width: 589px;
@ -30,15 +27,11 @@
background: url(../image/content.gif) repeat-y top center; background: url(../image/content.gif) repeat-y top center;
} }
#content[id] { #content[id] {
height: auto; height: auto;
background: url(../image/content.png) repeat-y top center; background: url(../image/content.png) repeat-y top center;
} }
/************************************************************** /**************************************************************
#header: Holds the site title and header images #header: Holds the site title and header images
**************************************************************/ **************************************************************/
@ -54,7 +47,6 @@
} }
/* End hide from IE-mac */ /* End hide from IE-mac */
#header h1, #header h1,
#header h2 { #header h2 {
margin: 0; margin: 0;
@ -69,9 +61,6 @@
color: #6E310B; color: #6E310B;
} }
/************************************************************** /**************************************************************
#menu: The top level site menu #menu: The top level site menu
**************************************************************/ **************************************************************/
@ -146,9 +135,6 @@ ul.five li a {
padding: 2em 49px; padding: 2em 49px;
} }
/************************************************************** /**************************************************************
.footer: Site footer .footer: Site footer
**************************************************************/ **************************************************************/
@ -159,9 +145,6 @@ ul.five li a {
clear: both; clear: both;
} }
/************************************************************** /**************************************************************
.bigLinks: Large, clickable links .bigLinks: Large, clickable links
**************************************************************/ **************************************************************/
@ -217,8 +200,6 @@ ul.bigLinks li a:hover span.desc {
color: #555; color: #555;
} }
/************************************************************** /**************************************************************
Width classes used by the site columns Width classes used by the site columns
**************************************************************/ **************************************************************/
@ -247,8 +228,6 @@ ul.bigLinks li a:hover span.desc {
width: 23%; width: 23%;
} }
/************************************************************** /**************************************************************
Alignment classes Alignment classes
**************************************************************/ **************************************************************/
@ -269,8 +248,6 @@ ul.bigLinks li a:hover span.desc {
text-align: right; text-align: right;
} }
/************************************************************** /**************************************************************
Generic display classes Generic display classes
**************************************************************/ **************************************************************/
@ -311,7 +288,6 @@ ul.bigLinks li a:hover span.desc {
color: #512103; color: #512103;
} }
.greenBg { .greenBg {
padding: 0 10px; padding: 0 10px;
background-color: #F1FFE3; background-color: #F1FFE3;
@ -324,7 +300,7 @@ ul.bigLinks li a:hover span.desc {
border-top: 1px solid #BDEDDE; border-top: 1px solid #BDEDDE;
} }
ul.menuish {
display: inline;
list-style: none;
}