Browse Source

responsive slides and call to action

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
87d9c0177c
  1. 1
      app/assets/stylesheets/pages/home.css.scss
  2. 3
      app/assets/stylesheets/slides.css.erb
  3. 3
      app/views/pages/home/_slides.html.erb

1
app/assets/stylesheets/pages/home.css.scss

@ -1,7 +1,6 @@
.call-to-action {
margin-top: 3em;
margin-bottom: 3em;
padding-right: 6em;
small {
font-style: italic;
font-size: 80%

3
app/assets/stylesheets/slides.css.erb

@ -1,7 +1,6 @@
#slidesWrapper {
width:470px;
position:relative;
margin-right: 20px;
margin-right: 10px;
}
#slides {

3
app/views/pages/home/_slides.html.erb

@ -11,9 +11,8 @@
<script type="text/javascript">
$("#slides")
.slides({
width: 470,
navigation: false,
//responsive: true,
responsive: true,
slide: {
interval: 500
},

Loading…
Cancel
Save