[MPlayer-DOCS] CVS: homepage/design7 default.css,1.29,1.30
Diego Biurrun CVS
syncmail at mplayerhq.hu
Thu Jan 27 19:11:28 CET 2005
CVS change done by Diego Biurrun CVS
Update of /cvsroot/mplayer/homepage/design7
In directory mail:/var2/tmp/cvs-serv32482/design7
Modified Files:
default.css
Log Message:
Convert navigation links into <ul> with the help of CSS.
Index: default.css
===================================================================
RCS file: /cvsroot/mplayer/homepage/design7/default.css,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- default.css 27 Jan 2005 17:57:47 -0000 1.29
+++ default.css 27 Jan 2005 18:11:26 -0000 1.30
@@ -22,16 +22,22 @@
div#menu {
background: url(images/left.jpg) no-repeat #303028; float: left;
width: 205px; padding-top: 200px;
+ text-align: right;
}
-#menu hr {
- height: 1px; border: 0px; margin: 0px; background-color: #2a2722
-}
-#menu div:hover {
+#menu div:hover, #menu li:hover {
background-color: #202020
}
-#menu div {
- text-align: right; padding-right: 2ex; padding-top: 0.2ex; padding-bottom: 0.2ex;
- color: #C3C0AE
+#menu div, #menu li {
+ padding-right: 2ex; padding-top: 0.2ex; padding-bottom: 0.2ex;
+ border-top: solid 1px #2A2722;
+}
+#menu ul {
+ display: inline;
+ padding: 0; /* Firefox wants this */
+ margin: 0; /* Opera wants this */
+}
+#menu li {
+ display: block;
}
#menu span.mirror {
font-size: 10px
@@ -67,4 +73,4 @@
}
.center {
text-align: center;
-}
\ No newline at end of file
+}
More information about the MPlayer-DOCS
mailing list