Skip to content

Instantly share code, notes, and snippets.

@theJasonJones
Created August 30, 2016 18:58
Show Gist options
  • Save theJasonJones/989401e4ba1a1dff2d2aa5d057bd45b7 to your computer and use it in GitHub Desktop.
Save theJasonJones/989401e4ba1a1dff2d2aa5d057bd45b7 to your computer and use it in GitHub Desktop.
Bootstrap Carousel Reset
.slider-wrap { margin-bottom:20px; margin-top:50px; text-align: center;
.project-heading { font-size: 30px; line-height: 36px; margin-bottom: 20px; }
.carousel { .clearfix; }
.carousel-inner { text-align:center; margin: auto;
.item { min-height:750px;
@media( max-width: @screen-sm-max ){ min-height: 500px; }
@media( max-width: 480px ){ min-height: 400px; }
img { margin:auto;
@media( max-width: @screen-sm-max ){ max-width: 75%;}
}
.recent-work-title { color:@pk-orange; margin-bottom:20px; }
}
}
.carousel-indicators { display:inline-block; line-height:30px; margin:auto; position:absolute; width:auto; bottom: 0; left: 45%;
li { background:#ddd; border-color:#ddd; margin:0 5px; vertical-align:middle;
&.active { background:#313131; border-color:#313131; height: 10px; width: 10px; }
}
}
.control { color:@gray-dark; display:inline-block; outline:none; margin:0 5px;
.fa { vertical-align:middle; top: 50%; text-shadow: none; color: #cecece; font-size: 24px; }
}
.carousel-control { background-color: transparent; background-image: none;
.fa { vertical-align: middle; position: absolute; top: 40%; text-shadow: none; color: #cecece; font-size: 24px; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment