diff --git a/example/example.css b/example/example.css new file mode 100644 index 0000000..3baba39 --- /dev/null +++ b/example/example.css @@ -0,0 +1,130 @@ +* { + margin: 0; + padding: 0; +} + +html { + background: #222 url("bg.png") repeat; +} + +body { + _width: 70%; + color: #888; + font: 14px/20px Helvetica, Arial, sans-serif; + margin: 20px auto 0; + max-width: 800px; + text-align: center; + text-shadow: 0 -2px 1px #000; + -webkit-font-smoothing: antialiased; +} + +h1 { + font: 40px/60px "Helvetica Neue", Helvetica, Arial, sans-serif; + color: #fff; + font-weight: 200; + } + +h2 { + font: 16px/20px "Helvetica Neue", Helvetica, Arial, sans-serif; + margin-bottom: 40px; + } + +#wrapper { + padding: 20px; +} + +p,h3,h4,pre { + text-align: left; + max-width: 540px; + margin: 0 auto 20px; + } + +.rslides { + box-shadow: 0 0 20px #000; + -moz-box-shadow: 0 0 20px #000; + -webkit-box-shadow: 0 0 20px #000; + margin: 0 auto 40px; +} + +#slides2 { + box-shadow: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; + margin: 0 auto; + } + +.rslides_tabs { + background: rgba(0,0,0,.25); + box-shadow: 0 0 1px rgba(255,255,255,.3), inset 0 0 5px rgba(0,0,0,1.0); + -moz-box-shadow: 0 0 1px rgba(255,255,255,.3), inset 0 0 5px rgba(0,0,0,1.0); + -webkit-box-shadow: 0 0 1px rgba(255,255,255,.3), inset 0 0 5px rgba(0,0,0,1.0); + font-size: 18px; + list-style: none; + margin: 0 auto 50px; + max-width: 540px; + padding: 10px 0; + text-align: center; + width: 100%; +} + +.rslides_tabs li { + display: inline; + float: none; + margin-right: 1px; +} + +.rslides_tabs a { + width: auto; + line-height: 20px; + padding: 9px 20px; + height: auto; + background: transparent; + display: inline; +} + +.rslides_tabs li:first-child { + margin-left: 0; +} + +.rslides_tabs .rslides_here a { + background: rgba(255,255,255,.1); + color: #fff; + font-weight: bold; +} + +a { + color: #fff; + text-decoration: none; +} + +#download { + background: #333; + background: rgba(255,255,255,.1); + border: 1px solid rgba(255,255,255,.1); + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + box-shadow: 0 0 10px #000; + -moz-box-shadow: 0 0 10px #000; + -webkit-box-shadow: 0 0 10px #000; + display: block; + font-size: 20px; + font-weight: bold; + margin: 60px auto; + max-width: 500px; + padding: 20px; +} + +#download:hover { + background: rgba(255,255,255,.15); +} + +.footer { + font-size: 11px; +} + +@media screen and (max-width: 600px) { + h1 { + font: 30px/50px "Helvetica Neue", Helvetica, Arial, sans-serif; + } +} \ No newline at end of file diff --git a/example/index.html b/example/index.html index a54719e..9be911b 100644 --- a/example/index.html +++ b/example/index.html @@ -5,22 +5,19 @@