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

Nick Schermer noreply at xfce.org
Sun Apr 8 22:26:01 CEST 2012


Updating branch refs/heads/xfce-4.10
         to c07a67e155e81381e8d6be788677a9ba8a50b24f (commit)
       from 68d5f8c1ac3b269a0cb46dadfe46844cc5d4b9b8 (commit)

commit c07a67e155e81381e8d6be788677a9ba8a50b24f
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