|
|
Line 56: |
Line 56: |
| } | | } |
| | | |
− |
| |
− |
| |
− | .image-bg-fluid-height,
| |
− | .image-bg-fixed-height {
| |
− | text-align: center;
| |
− | -webkit-background-size: cover;
| |
− | -moz-background-size: cover;
| |
− | background-size: cover;
| |
− | -o-background-size: cover;
| |
− | }
| |
− |
| |
− | .image-bg-fluid-height {
| |
− | background: url('https://static.igem.org/mediawiki/2016/1/15/Edinburgh2_front_page.jpeg');
| |
− | padding: 450px 0;
| |
− | }
| |
− |
| |
− | .image-bg-fixed-height {
| |
− | background: url('http://lorempixel.com/g/1920/500/') no-repeat center center scroll;
| |
− | height: 450px;
| |
− | }
| |
− |
| |
− | .img-center {
| |
− | position: absolute;
| |
− | margin: auto;
| |
− | top: 125px;
| |
− | left: 400px;
| |
− | right: 0px;
| |
− | }
| |
| | | |
| } | | } |
Line 102: |
Line 74: |
| .section-paragraph { | | .section-paragraph { |
| margin: 30px 0; | | margin: 30px 0; |
− | }
| |
− |
| |
− | .header-image {
| |
− | display: block;
| |
− | width: 100%;
| |
− | text-align: center;
| |
− |
| |
− | -webkit-background-size: cover;
| |
− | -moz-background-size: cover;
| |
− | background-size: cover;
| |
− | -o-background-size: cover;
| |
| } | | } |
| | | |
Line 124: |
Line 85: |
| } | | } |
| } | | } |
− |
| |
− | p1 {
| |
− | text-align: center;
| |
− | font-size: 200%;
| |
− | }
| |
| | | |
| </style> | | </style> |
− |
| |
− | <script>
| |
− | $(function(){
| |
− | $('.your-class').slick({arrows:false});
| |
− | $('#next').click(function(){
| |
− | $('.your-class').slick('slickNext');
| |
− | });
| |
− | $('#prev').click(function(){
| |
− | $('.your-class').slick('slickPrev');
| |
− | });
| |
− | });
| |
− | </script>
| |
| | | |
| <div id="custom-bootstrap-menu" class="navbar navbar-default navbar-fixed-top" role="navigation"> | | <div id="custom-bootstrap-menu" class="navbar navbar-default navbar-fixed-top" role="navigation"> |