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 { .call-to-action {
margin-top: 3em; margin-top: 3em;
margin-bottom: 3em; margin-bottom: 3em;
padding-right: 6em;
small { small {
font-style: italic; font-style: italic;
font-size: 80% font-size: 80%

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

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

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

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

Loading…
Cancel
Save