body{ background-image: url("../images/39H.jpg"); background-position: center center; background-repeat: no-repeat; background-attachment: fixed; background-size: cover; background-color: black; } /*Here we modify headers elements*/ #headerDiv{ position: relative; margin: 0 auto 0 auto; height: 70px; width: 95%; font-family: 'Trebuchet MS'; font-size:120%; background: url("../images/html5.png") no-repeat 0px 0px; background-size: 70px 70px; background-color: #C0C0C0; border-radius: 5px; } #nameOfAuthor{ position: relative; font-size:100%; font-weight: bold; } p{ text-align: right; margin-right: 30px; font-family: 'Trebuchet MS'; margin-top: 10px; } #borderNameOfAuthor{ float: right; height: 50px; width: 500px; margin-top: 10px; margin-right: 10px; background-color: #808080; border-radius: 5px; } /*Here we modify nav elements*/ nav{ margin: 0 auto; text-align: left; width: 85%; border-top: 50px solid #808080; border-left: 50px solid transparent; border-right: 50px solid transparent; } ul{ float: left; list-style-type: none; padding: 0px; position: relative; left: 50%; margin-top: -40px; } #menu li{ float: left; position: relative; right: 50%; } #menu li a{ /*Distance between buttons*/ margin: 20px; font-family: 'Trebuchet MS'; font-size: 100%; /*font-family: "klavikalight",Helvetica,Arial,sans-serif;*/ padding: 10px; text-decoration:none; } .button{ margin-top: 15px; /*background: #808080;*/ color: #f2f2f2; font-size: 18px; text-decoration: none; text-align: center; } .button:hover{ color: black; } .carousel-inner > .item > img, .carousel-inner > .item > a > img { /*Width of images*/ width: 120%; /*Height of images*/ height: 100%; margin: auto; } .block{ /*Shadow of box*/ -moz-box-shadow: 0 0 2px black; -webkit-box-shadow: 0 0 2px black; box-shadow: 0 0 2px black; /*background box*/ background-image: linear-gradient(to bottom, transparent 0px, rgba(0, 0, 0, 0.5) 100%); margin-bottom: -30px; } .container{ /*Margin of container to nav*/ margin-top: 50px; } .item{ /*Height of item, that contains the images*/ height: 600px; } .itemImages{ border: solid #808080 4px; } .carousel-indicators { /*Here we are putting the indicators below images*/ bottom: -50px; }