[Xfce4-commits] <www:master> Fix css.

Nick Schermer noreply at xfce.org
Tue Apr 17 20:22:03 CEST 2012


Updating branch refs/heads/master
         to 65fa2f914200c461b09ca87e298866059b7a9495 (commit)
       from 168198732e0e0c8450ad13746f46b24b123b602e (commit)

commit 65fa2f914200c461b09ca87e298866059b7a9495
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Apr 8 22:19:06 2012 +0200

    Fix css.

 style/frontpage.css |   27 ++++++++++++++++-----------
 1 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/style/frontpage.css b/style/frontpage.css
index 8b4fd17..272d097 100644
--- a/style/frontpage.css
+++ b/style/frontpage.css
@@ -10,10 +10,9 @@
 	padding: 0;
 }
 #slide {
-	float: inline-block; 
 	position: relative;
-	overflow: hidden; 
-	width: 800px; 
+	overflow: hidden;
+	width: 800px;
 	height: 400px;
 	background: #000;
 	cursor: default;
@@ -22,16 +21,16 @@
 	border: 12px #bcbcbc solid;
 }
 #slide ul {
-	position: absolute; 
-	list-style: none; 
-	top: 0; 
+	position: absolute;
+	list-style: none;
+	top: 0;
 	left: 0;
 	margin: 0;
 	padding: 0;
 }
 #slide li {
-	float: left; 
-	width: 800px; 
+	float: left;
+	width: 800px;
 	height: 400px;
 }
 #slide li p {
@@ -44,7 +43,10 @@
 	background:#333;
 	color:#fff;
 	border: 0;
+
 	border-radius: 6px;
+	-moz-border-radius: 6px;
+	-webkit-border-radius: 6px;
 }
 #slide li p {
 	background:rgba(0, 0, 0, 0.8)
@@ -53,21 +55,24 @@
 	background: #fff;
 }
 #slidenav {
-	list-style:none; 
+	list-style:none;
 	margin:0;
 	padding:0;
 	line-height: 0;
 }
 #slidenav li {
 	border: 1px solid #bcbcbc;
-	border-radius: 50%;
 	width: 12px;
 	height: 12px;
 	display: inline-block;
-	cursor:pointer; 
+	cursor:pointer;
 	margin: 12px 6px;
 	background: #dcdcdc;
 
+	border-radius: 7px;
+	-moz-border-radius: 7px;
+	-webkit-border-radius: 7px;
+
 	transition: background 0.2s linear;
 	-moz-transition: background 0.2s linear;
 	-webkit-transition: background 0.2s linear;


More information about the Xfce4-commits mailing list