Permalink
Browse files

modify css of carousel

  • Loading branch information...
1 parent dabfb06 commit 9cfdf6c7b7ea280f87a1f654363f828b362b22b6 @liudangyi liudangyi committed Oct 31, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 app/views/home/index.html.slim
View
11 app/views/home/index.html.slim
@@ -7,8 +7,18 @@
background-color: #FFFFFF;
box-shadow: 0px 1px 4px #555;
position: relative;
+ .carousel-control {
+ border-radius: 5px;
+ padding: 20px 0px;
+ border-width: 1px;
+ opacity: 0.2;
+ &:hover {
+ opacity: 0.4;
+ }
+ }
.carousel-caption {
padding: 10px 15px;
+ background-color: rgba(0, 0, 0, 0.5);
h4 {
color: #DDD;
font-size: 15px;
@@ -21,6 +31,7 @@
}
&:hover {
text-decoration: none;
+ background-color: rgba(0, 0, 0, 0.65);
p, h4 {
color: #FFF;
text-shadow: 0 0 1.5px #FDFEE2;

0 comments on commit 9cfdf6c

Please sign in to comment.