Beautified navigation on top of page.

Signed-off-by: bennibu <benni@dresdener27.de>
This commit is contained in:
sandoz 2009-04-07 03:58:07 +08:00 committed by bennibu
parent 00696c0e64
commit 582e4b1c1b
5 changed files with 15 additions and 18 deletions

View file

@ -128,10 +128,9 @@ span.click-me {
#logininfo ul { #logininfo ul {
list-style: none; } list-style: none; }
#logininfo ul li { #logininfo ul li {
margin: 0 3px; margin: 0 0 0 5px;
float: left; } float: left; }
#logininfo a { #logininfo a {
padding: 0.2em;
color: #737272; color: #737272;
font-weight: bold; } font-weight: bold; }
#logininfo a:hover { #logininfo a:hover {

View file

@ -2,7 +2,8 @@
#nav { #nav {
position: relative; position: relative;
height: 3em; height: 3em;
text-align: right; } text-align: right;
margin-top: 5px; }
#nav ul { #nav ul {
padding: 0 0 0 0; padding: 0 0 0 0;
margin: -2.3em 0 0 0; margin: -2.3em 0 0 0;
@ -10,9 +11,10 @@
#nav ul li { #nav ul li {
display: inline; display: inline;
list-style: none; list-style: none;
padding: 0.3em 0.3em 0.3em 0; padding: 0.3em 0 0.3em 0;
margin: 0 0.2em; margin: 0 0 0 0.2em;
background: none; } background: none;
vertical-align: middle; }
#nav ul li a { #nav ul li a {
margin: 0.1em 0 0 0; margin: 0.1em 0 0 0;
text-align: center; text-align: center;
@ -21,9 +23,8 @@
text-decoration: none; text-decoration: none;
color: #737272; color: #737272;
border: none; border: none;
border-bottom: none;
background: #e3e3e3; background: #e3e3e3;
padding: 0.5em 1.2em 0.1em 1.2em; padding: 0.5em 1.2em 0.6em 1.2em;
margin-top: 0; } margin-top: 0; }
#nav ul li a:hover { #nav ul li a:hover {
color: #ED0606; } color: #ED0606; }
@ -43,7 +44,6 @@
border: none; border: none;
background: none; background: none;
color: #FFF; color: #FFF;
padding: 0.7em;
font-style: normal; font-style: normal;
font-size: 1em; } font-size: 1em; }
#nav ul li.current a { #nav ul li.current a {

View file

@ -128,10 +128,9 @@ span.click-me {
#logininfo ul { #logininfo ul {
list-style: none; } list-style: none; }
#logininfo ul li { #logininfo ul li {
margin: 0 3px; margin: 0 0 0 5px;
float: left; } float: left; }
#logininfo a { #logininfo a {
padding: 0.2em;
color: #737272; color: #737272;
font-weight: bold; } font-weight: bold; }
#logininfo a:hover { #logininfo a:hover {

View file

@ -143,10 +143,9 @@ span.click-me
ul ul
:list-style none :list-style none
li li
:margin 0 3px :margin 0 0 0 5px
:float left :float left
a a
:padding 0.2em
:color #737272 :color #737272
:font-weight bold :font-weight bold
a:hover a:hover

View file

@ -3,6 +3,7 @@
:position relative :position relative
:height 3em :height 3em
:text-align right :text-align right
:margin-top 5px
ul ul
:padding 0 0 0 0 :padding 0 0 0 0
:margin -2.3em 0 0 0 :margin -2.3em 0 0 0
@ -10,9 +11,10 @@
li li
:display inline :display inline
:list-style none :list-style none
:padding 0.3em 0.3em 0.3em 0 :padding 0.3em 0 0.3em 0
:margin 0 0.2em :margin 0 0 0 0.2em
:background none :background none
:vertical-align middle
a a
:margin 0.1em 0 0 0 :margin 0.1em 0 0 0
:text-align center :text-align center
@ -21,9 +23,8 @@
:text-decoration none :text-decoration none
:color #737272 :color #737272
:border none :border none
:border-bottom none
:background #e3e3e3 :background #e3e3e3
:padding 0.5em 1.2em 0.1em 1.2em :padding 0.5em 1.2em 0.6em 1.2em
:margin-top 0 :margin-top 0
a:hover a:hover
:color #ED0606 :color #ED0606
@ -45,7 +46,6 @@
:border none :border none
:background none :background none
:color #FFF :color #FFF
:padding 0.7em
:font-style normal :font-style normal
:font-size 1em :font-size 1em