Created
October 31, 2013 16:13
-
-
Save melissacabral/7252439 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset "utf-8"; | |
/* CSS Document */ | |
#rad-slider { | |
position: relative; | |
list-style: none; | |
overflow: hidden; | |
width: 100%; | |
padding: 0; | |
margin: 0; | |
max-width:1120px; | |
line-height: 0; | |
font-size:0; | |
} | |
#rad-slider .slide { | |
-webkit-backface-visibility: hidden; | |
position: absolute; | |
display: none; | |
width: 100%; | |
left: 0; | |
top: 0; | |
} | |
#rad-slider .slide:first-child { | |
position: relative; | |
display: block; | |
float: left; | |
} | |
#rad-slider img { | |
display: block; | |
height: auto; | |
float: left; | |
width: 100%; | |
border: 0; | |
} | |
#rad-slider .slide-overlay{ | |
position:absolute; | |
width:31%; | |
max-width: 313px; | |
height:100%; | |
background-color:rgba(107,203,202,.85); | |
top:0; | |
right:left; | |
color:white; | |
font-size:16px; | |
line-height:18px; | |
} | |
#rad-slider .slide-text{ | |
max-height:80%; | |
overflow:hidden; | |
} | |
#rad-slider .slide-overlay h2 { | |
margin:20px; | |
font-size:2.5em; | |
line-height:1.2em; | |
font-weight: 200 | |
} | |
#rad-slider .slide-overlay p { | |
margin:20px; | |
font-size:1.3em; | |
line-height:1em; | |
} | |
#rad-slider .next{ | |
position:absolute; | |
top:80%; | |
right:15px; | |
z-index:50; | |
text-indent:-99999em; | |
cursor:pointer; | |
font-size:16px; | |
height:0; | |
width:20px; | |
border-top:solid 15px transparent; | |
border-bottom:solid 15px transparent; | |
border-left:solid 20px rgba(255,255,255,.5); | |
} | |
#rad-slider .next:hover{ | |
right:12px; | |
} | |
#rad-slider .prev{ | |
position:absolute; | |
height:10%; | |
top:80%; | |
left:15px; | |
z-index:50; | |
text-indent:-99999em; | |
cursor:pointer; | |
font-size:16px; | |
height:0; | |
width:20px; | |
border-top:solid 15px transparent; | |
border-bottom:solid 15px transparent; | |
border-right:solid 20px rgba(255,255,255,.5); | |
} | |
#rad-slider .prev:hover{ | |
left:12px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment