Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .container-fluid.main{
- position: relative; /* To make the navbar positions relative to this container */
- padding: 0;
- }
- .navbar-default {
- background-image: none;
- background-color: transparent; /* Make the menu become transparent */
- border-radius: 0px;
- border: 0;
- box-shadow: none;
- padding: 10px;
- position: absolute; /* Make the menu out of the document flow so it can placed anywhere without disturbing other widgets */
- top: 0;
- left: 0;
- right: 0;
- z-index: 10; /* If you delete this line, your menu link won't be clicked because it is behind the background. Applying this code bring the menu in front of the background */
- }
- .navbar-default .navbar-brand {
- font-family: Verdana;
- color: #ffffff;
- font-size: 20px;
- }
- .navbar-default .navbar-brand:hover,
- .navbar-default .navbar-brand:focus {
- color: #ffffff;
- background-color: transparent;
- }
- .navbar-default .navbar-nav > li > a {
- color: #ffffff;
- }
- .navbar-default .navbar-nav > li > a:hover,
- .navbar-default .navbar-nav > li > a:focus {
- color: #ffffff;
- background-color: transparent;
- }
- .navbar-default .navbar-toggle {
- border-color: transparent;
- }
- .navbar-default .navbar-toggle:hover {
- background-color: transparent;
- }
- .navbar-default .navbar-toggle:focus {
- background-color: transparent;
- }
- .navbar-default .navbar-toggle .icon-bar {
- background-color: #ffffff;
- }
- .carousel .background {
- background-position: center center;
- background-size: 100% 100%;
- background-repeat: no-repeat;
- height: 700px;
- }
- @media (max-width:991px) {
- .carousel .background {
- background-size: cover; /* To make the background image looks good */
- }
- }
- .carousel .background.a {
- background-image: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://static.pexels.com/photos/108140/pexels-photo-108140-large.jpeg");
- }
- .carousel .background.b {
- background-image: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://static.pexels.com/photos/108142/pexels-photo-108142-large.jpeg");
- }
- .carousel .background.c {
- background-image: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://static.pexels.com/photos/108139/pexels-photo-108139-large.jpeg");
- }
- .carousel-fade .carousel-inner .item {
- opacity: 0;
- transition: opacity 0.5s; /* The 0.5s describes the duration to make the opacity from 0 to 1 */
- }
- .carousel-fade .carousel-inner .active {
- opacity: 1;
- }
- /* CSS Hack to trigger GPU for smooth transition */
- @media all and (transform-3d),
- (-webkit-transform-3d) {
- .carousel-fade .carousel-inner > .item.next,
- .carousel-fade .carousel-inner > .item.active.right {
- opacity: 0;
- -webkit-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- .carousel-fade .carousel-inner > .item.prev,
- .carousel-fade .carousel-inner > .item.active.left {
- opacity: 0;
- -webkit-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- .carousel-fade .carousel-inner > .item.next.left,
- .carousel-fade .carousel-inner > .item.prev.right,
- .carousel-fade .carousel-inner > .item.active {
- opacity: 1;
- -webkit-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- }
- }
- /* CSS Hack to trigger GPU for smooth transition */
- .covertext {
- position: absolute; /* To make the div to be place anywhere. It is out of the document flow */
- top: 200px; /* The distance between the div with the top of document */
- left: 0px; /* Make the div full width */
- right: 0px; /* Make the div full width */
- }
- .title {
- font-family: Verdana;
- font-weight: 600;
- font-size: 60px;
- color: #ffffff;
- text-align: center;
- }
- .subtitle {
- font-family: Verdana;
- font-size: 23px;
- color: #ffffff;
- text-align: center;
- }
- .explore {
- text-align: center;
- margin-top: 10px;
- }
- .explore .btn-lg,
- .explore .btn-lg:hover {
- border-radius: 30px;
- padding: 15px 25px;
- font-size: 22px;
- background-image: none;
- background-color: #FF4000;
- border-color: #FF4000;
- color: #ffffff;
- }
- .btn,
- .btn:hover {
- border-radius: 0px;
- background-image: none;
- background-color: #FF4000;
- border-color: #FF4000;
- color: #ffffff;
- margin-bottom: 20px;
- box-shadow: none;
- outline: none;
- }
- .btn:focus,
- .btn:active:focus,
- .btn.active:focus,
- .btn.focus,
- .btn:active.focus,
- .btn.active.focus {
- color: #ffffff;
- outline: none;
- }
Add Comment
Please, Sign In to add comment