Difference between revisions of "Template:TU Delft/Header"
Line 37: | Line 37: | ||
} | } | ||
body { padding-top: 70px; } | body { padding-top: 70px; } | ||
+ | |||
.carousel-inner > .item > img, | .carousel-inner > .item > img, | ||
.carousel-inner > .item > a > img { | .carousel-inner > .item > a > img { | ||
Line 66: | Line 67: | ||
</nav> | </nav> | ||
</header> | </header> | ||
+ | |||
<body> | <body> | ||
+ | <div id="myCarousel" class="carousel slide" data-ride="carousel"> | ||
+ | <!-- Indicators --> | ||
+ | <ol class="carousel-indicators"> | ||
+ | <li data-target="#myCarousel" data-slide-to="0" class="active"></li> | ||
+ | <li data-target="#myCarousel" data-slide-to="1"></li> | ||
+ | <li data-target="#myCarousel" data-slide-to="2"></li> | ||
+ | <li data-target="#myCarousel" data-slide-to="3"></li> | ||
+ | </ol> | ||
− | + | <!-- Wrapper for slides --> | |
− | + | <div class="carousel-inner" role="listbox"> | |
− | + | <div class="item active"> | |
− | + | <img src="https://2015.igem.org/File:TU_Delft_Banner_Team1.jpg" alt="Team> | |
− | + | </div> | |
− | + | ||
− | + | ||
− | < | + | |
− | + | ||
− | </ | + | |
− | + | <div class="item"> | |
− | <div class=" | + | <img src="img_chania2.jpg" alt="Chania"> |
− | + | </div> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <div class="item"> | |
− | + | <img src="img_flower.jpg" alt="Flower"> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</div> | </div> | ||
− | < | + | <div class="item"> |
− | + | <img src="img_flower2.jpg" alt="Flower"> | |
− | < | + | </div> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </ | + | |
</div> | </div> | ||
+ | |||
+ | <!-- Left and right controls --> | ||
+ | <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev"> | ||
+ | <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> | ||
+ | <span class="sr-only">Previous</span> | ||
+ | </a> | ||
+ | <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next"> | ||
+ | <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> | ||
+ | <span class="sr-only">Next</span> | ||
+ | </a> | ||
</div> | </div> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 11:43, 9 July 2015