ujiajah1

jaringanqu/webku.css

Jun 7th, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.40 KB | None | 0 0
  1. .container-fluid.main{
  2.   position: relative; /* To make the navbar positions relative to this container */
  3.   padding: 0;
  4. }
  5.  
  6. .navbar-default {
  7.   background-image: none;
  8.   background-color: transparent; /* Make the menu become transparent */
  9.   border-radius: 0px;
  10.   border: 0;
  11.   box-shadow: none;
  12.   padding: 10px;
  13.   position: absolute; /* Make the menu out of the document flow so it can placed anywhere without disturbing other widgets */
  14.   top: 0;
  15.   left: 0;
  16.   right: 0;
  17.   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 */
  18. }
  19.  
  20. .navbar-default .navbar-brand {
  21.   font-family: Verdana;
  22.   color: #ffffff;
  23.   font-size: 20px;
  24. }
  25.  
  26. .navbar-default .navbar-brand:hover,
  27. .navbar-default .navbar-brand:focus {
  28.   color: #ffffff;
  29.   background-color: transparent;
  30. }
  31.  
  32. .navbar-default .navbar-nav > li > a {
  33.   color: #ffffff;
  34. }
  35.  
  36. .navbar-default .navbar-nav > li > a:hover,
  37. .navbar-default .navbar-nav > li > a:focus {
  38.   color: #ffffff;
  39.   background-color: transparent;
  40. }
  41.  
  42. .navbar-default .navbar-toggle {
  43.   border-color: transparent;
  44. }
  45.  
  46. .navbar-default .navbar-toggle:hover {
  47.   background-color: transparent;
  48. }
  49.  
  50. .navbar-default .navbar-toggle:focus {
  51.   background-color: transparent;
  52. }
  53.  
  54. .navbar-default .navbar-toggle .icon-bar {
  55.   background-color: #ffffff;
  56. }
  57.  
  58. .carousel .background {
  59.   background-position: center center;
  60.   background-size: 100% 100%;
  61.   background-repeat: no-repeat;
  62.   height: 700px;
  63. }
  64.  
  65. @media (max-width:991px) {
  66.   .carousel .background {
  67.     background-size: cover; /* To make the background image looks good */
  68.   }
  69. }
  70.  
  71. .carousel .background.a {
  72.   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");
  73. }
  74.  
  75. .carousel .background.b {
  76.   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");
  77. }
  78.  
  79. .carousel .background.c {
  80.   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");
  81. }
  82.  
  83. .carousel-fade .carousel-inner .item {
  84.   opacity: 0;
  85.   transition: opacity 0.5s; /* The 0.5s describes the duration to make the opacity from 0 to 1 */
  86. }
  87.  
  88. .carousel-fade .carousel-inner .active {
  89.   opacity: 1;
  90. }
  91.  
  92. /* CSS Hack to trigger GPU for smooth transition */
  93. @media all and (transform-3d),
  94. (-webkit-transform-3d) {
  95.   .carousel-fade .carousel-inner > .item.next,
  96.   .carousel-fade .carousel-inner > .item.active.right {
  97.     opacity: 0;
  98.     -webkit-transform: translate3d(0, 0, 0);
  99.     transform: translate3d(0, 0, 0);
  100.   }
  101.   .carousel-fade .carousel-inner > .item.prev,
  102.   .carousel-fade .carousel-inner > .item.active.left {
  103.     opacity: 0;
  104.     -webkit-transform: translate3d(0, 0, 0);
  105.     transform: translate3d(0, 0, 0);
  106.   }
  107.   .carousel-fade .carousel-inner > .item.next.left,
  108.   .carousel-fade .carousel-inner > .item.prev.right,
  109.   .carousel-fade .carousel-inner > .item.active {
  110.     opacity: 1;
  111.     -webkit-transform: translate3d(0, 0, 0);
  112.     transform: translate3d(0, 0, 0);
  113.   }
  114. }
  115. /* CSS Hack to trigger GPU for smooth transition */
  116.  
  117. .covertext {
  118.   position: absolute; /* To make the div to be place anywhere. It is out of the document flow */
  119.   top: 200px; /* The distance between the div with the top of document */
  120.   left: 0px; /* Make the div full width */
  121.   right: 0px; /* Make the div full width */
  122. }
  123.  
  124. .title {
  125.   font-family: Verdana;
  126.   font-weight: 600;
  127.   font-size: 60px;
  128.   color: #ffffff;
  129.   text-align: center;
  130. }
  131.  
  132. .subtitle {
  133.   font-family: Verdana;
  134.   font-size: 23px;
  135.   color: #ffffff;
  136.   text-align: center;
  137. }
  138.  
  139. .explore {
  140.   text-align: center;
  141.   margin-top: 10px;
  142. }
  143.  
  144. .explore .btn-lg,
  145. .explore .btn-lg:hover {
  146.   border-radius: 30px;
  147.   padding: 15px 25px;
  148.   font-size: 22px;
  149.   background-image: none;
  150.   background-color: #FF4000;
  151.   border-color: #FF4000;
  152.   color: #ffffff;
  153. }
  154.  
  155. .btn,
  156. .btn:hover {
  157.   border-radius: 0px;
  158.   background-image: none;
  159.   background-color: #FF4000;
  160.   border-color: #FF4000;
  161.   color: #ffffff;
  162.   margin-bottom: 20px;
  163.   box-shadow: none;
  164.   outline: none;
  165. }
  166.  
  167. .btn:focus,
  168. .btn:active:focus,
  169. .btn.active:focus,
  170. .btn.focus,
  171. .btn:active.focus,
  172. .btn.active.focus {
  173.   color: #ffffff;
  174.   outline: none;
  175. }
Add Comment
Please, Sign In to add comment