Last active
August 29, 2015 14:07
-
-
Save ishitcno1/083bcf14a197e6a2aad7 to your computer and use it in GitHub Desktop.
impress.js custom style css
This file contains hidden or 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
body { | |
font-family: sans-serif; | |
line-height: 1.5; | |
font-size: 48px; | |
background: #333333; | |
background: -webkit-radial-gradient(center bottom, circle farthest-corner, #666666, #333333, black); | |
background: -moz-radial-gradient(center bottom, circle farthest-corner, #666666, #333333, black); | |
background: -o-radial-gradient(center bottom, circle farthest-corner, #666666, #333333, black); | |
background: -ms-radial-gradient(center bottom, circle farthest-corner, #666666, #333333, black); | |
background: radial-gradient(center bottom, circle farthest-corner, #666666, #333333, black); | |
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); | |
} | |
.step { | |
width: 900px; | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
-ms-box-sizing: border-box; | |
-o-box-sizing: border-box; | |
box-sizing: border-box; | |
-webkit-transition: opacity 1s; | |
-moz-transition: opacity 1s; | |
-ms-transition: opacity 1s; | |
-o-transition: opacity 1s; | |
transition: opacity 1s; | |
text-shadow: rgba(0,0,0,.01) 0 0 1px; /* Chrome @font-face anti-aliasing fix */ | |
} | |
.step:not(.active) { | |
opacity: 0; | |
} | |
.slide { | |
display: block; | |
width: 900px; | |
height: 700px; | |
color: #eee; | |
text-shadow: 0 2px 2px rgba(0, 0, 0, .9); | |
font-size: 30px; | |
line-height: 36px; | |
letter-spacing: -1px; | |
position: relative; | |
-webkit-border-radius: 10px; | |
-moz-border-radius: 10px; | |
border-radius: 10px; | |
} | |
.title { | |
color: #eee; | |
font-size: 60px; | |
padding: 20px; | |
line-height: 65px; | |
text-align: center; | |
position: absolute; | |
letter-spacing: normal; | |
top: 25%; | |
} | |
.slide-title { | |
color: #fff; | |
height: 120px; | |
font-size: 36px; | |
line-height: 120px; | |
} | |
.slide-content { | |
font-size: 30px; | |
text-align: justify; | |
padding: 15px 40px; | |
line-height: 40px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment