Guest User

style.css

a guest
May 26th, 2015
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.35 KB | None | 0 0
  1. body {
  2.     /*background: url('bg.jpg');*/
  3.  margin: 0;
  4.  padding: 0;
  5.     font-family: Roboto;
  6.     overflow: hidden;
  7.     font-size: 14pt;
  8. }
  9.  
  10. div {
  11.     display: block;
  12.     width: 25%;
  13.     margin: 5% auto;
  14.     margin-top: 10%;
  15.     padding: 0;
  16.     list-style: none;
  17.     text-align: center;
  18.     }
  19.    
  20.    
  21.         /* Searchbox */
  22.        
  23.        
  24. .search {
  25.     padding: 0px;
  26.     }
  27. .search li {
  28.     display: block;
  29.     width: 100%;
  30.     padding: 0;
  31.     list-style: none;
  32.     text-align: center;
  33.     }
  34. #search {
  35.     width: 100%
  36.     }  
  37. #search input {
  38.     height: 43px;
  39.     width: 100%;
  40.     font-family: Roboto;
  41.     overflow: hidden;
  42.     font-size: 14pt;
  43.     border: none;
  44.     color: #fff;
  45.     background: #0086ca;
  46.     transition: all .3s ease;
  47.     box-shadow: 0px 0px 10px #000;
  48.     text-align: center;
  49.     text-decoration: none;
  50.     opacity: 0.80;
  51.     }  
  52. #search input:hover {
  53.     background: #44a6d8;
  54.     opacity: 1;
  55.     transition: all .3s ease;
  56.     }  
  57.    
  58.    
  59.     /* Linkbox */
  60.    
  61.    
  62. ul.border {
  63.     box-shadow: 0px 0px 10px #000;
  64. }
  65.  
  66. ul {
  67.     display: block;
  68.     width: 25%;
  69.     margin: 5% auto;
  70.     margin-top: -4%;
  71.     padding: 0;
  72.     list-style: none;
  73.     text-align: center;
  74. }
  75.  
  76. a {
  77.     display: block;
  78.     padding: 10px;
  79.     color: #fff;
  80.     text-decoration: none;
  81.     transition: all .3s ease;
  82.     opacity: 0.80;
  83. }
  84.  
  85. a:hover {
  86.     color: #fff;
  87.     opacity: 1;
  88.     transition: all .3s ease;
  89. }
  90.  
  91. a.parent1 {background: #0086ca;transition: all .3s ease;}
  92. a.parent1:hover {background: #44a6d8;transition: all .3s ease;}
  93. a.tab1 {background: #222;transition: all .3s ease;}
  94. a.tab1:hover {background: #44a6d8;transition: all .3s ease;}
  95. ul > li:hover > a.parent1 {background: #44a6d8;transition: all .3s ease;opacity: 1;color: #fff;}
  96.  
  97. a.parent2 {background: #0086ca;transition: all .3s ease;}
  98. a.parent2:hover {background: #44a6d8;transition: all .3s ease;}
  99. a.tab2 {background: #222;transition: all .3s ease;}
  100. a.tab2:hover {background: #44a6d8;transition: all .3s ease;}
  101. ul > li:hover > a.parent2 {background: #44a6d8;transition: all .3s ease;opacity: 1;color: #fff;}
  102.  
  103. a.parent3 {background: #0086ca;transition: all .3s ease;}
  104. a.parent3:hover {background: #44a6d8;transition: all .3s ease;}
  105. a.tab3 {background: #222;transition: all .3s ease;}
  106. a.tab3:hover {background: #44a6d8;transition: all .3s ease;}
  107. ul > li:hover > a.parent3 {background: #44a6d8;transition: all .3s ease;opacity: 1;color: #fff;}
  108.  
  109. a.parent4 {background: #0086ca;transition: all .3s ease;}
  110. a.parent4:hover {background: #44a6d8;transition: all .3s ease;}
  111. a.tab4 {background: #222;transition: all .3s ease;}
  112. a.tab4:hover {background: #44a6d8;transition: all .3s ease;}
  113. ul > li:hover > a.parent4 {background: #44a6d8;transition: all .3s ease;opacity: 1;color: #fff;}
  114.  
  115. a.parent5 {background: #0086ca;transition: all .3s ease;}
  116. a.parent5:hover {background: #44a6d8;transition: all .3s ease;}
  117. a.tab5 {background: #222;transition: all .3s ease;}
  118. a.tab5:hover {background: #44a6d8;transition: all .3s ease;}
  119. ul > li:hover > a.parent5 {background: #44a6d8;transition: all .3s ease;opacity: 1;color: #fff;}
  120.  
  121. a.parent6 {background: #0086ca;transition: all .3s ease;}
  122. a.parent6:hover {background: #44a6d8;transition: all .3s ease;}
  123. a.tab6 {background: #222;transition: all .3s ease;}
  124. a.tab6:hover {background: #44a6d8;transition: all .3s ease;}
  125. ul > li:hover > a.parent6 {background: #44a6d8;transition: all .3s ease;opacity: 1;color: #fff;}
  126.  
  127. ul.subMenu {
  128.     display: block;
  129.     width: 100%;
  130.     margin: 0;
  131.     padding: 0;
  132. }
  133.  
  134. img {
  135.     width: 100%;
  136.     height: auto;
  137. }
Advertisement
Add Comment
Please, Sign In to add comment