Advertisement
Guest User

Untitled

a guest
Mar 18th, 2015
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.19 KB | None | 0 0
  1. *{margin: 0px;
  2.     padding: 0px;}
  3.  
  4. body{
  5.     background:#CCC;
  6.     width: 70%;
  7.     margin-left: 20%;
  8.     margin-top: 0px;
  9.     height: 900px;
  10. }
  11.  
  12. .mainHeader{
  13.     padding: 0;
  14.     background:#666;
  15.     height:36px;
  16.     width:100%;
  17.     border-radius: 5px;
  18.     position: relative;
  19.     top: 150px;
  20.     left: -70px;
  21.     box-shadow: 10px 10px 10px #767373;
  22. }
  23.  
  24. .mainHeader nav ul li{
  25.     display:inline-block;
  26.     list-style:none;
  27.     margin: 10px 0px 0px -30px;
  28.     float: left;
  29.     margin-left: 15px;
  30.     position: relative;
  31.     top:  -128px;
  32.     left: 10px;
  33. }
  34.  
  35. .mainHeader nav ul li a{
  36.     text-decoration: none;
  37.     border-radius: 3px;
  38.     color: white;
  39.     padding: 7px 20px 10px 20px;
  40.     margin-right: -15px;
  41.     font-family: 'Eras ITC';
  42. }
  43.  
  44. .mainHeader nav ul li a:hover{
  45.     background: #f18529;
  46. }
  47.  
  48. .mainHeader nav ul .active {
  49.     background: #f18529;
  50. }
  51.  
  52. .mainInfo{
  53.     background:white;
  54.     height: 500px;
  55.     width: 100%;
  56.     position: relative;
  57.     top: 200px;
  58.     left: -70px;
  59.     border-radius: 5px;
  60.     box-shadow: 10px 10px 10px #727272 ;
  61. }
  62.  
  63. .mainInfo .miInfo p{
  64.     font-family: Arial;
  65.     padding:  10px 10px 10px 10px;
  66.     text-align: left;
  67. }
  68.  
  69. .mainHeader .logoArea p{
  70.     position: relative;
  71.     top: -100px;
  72.    
  73. }
  74.  
  75. .mainHeader .logoArea img{
  76.     position: relative;
  77.     top: -130px;
  78.     left: 230px;
  79.    
  80. }
  81.  
  82. @media only screen and (min-width: 150px) and (max-width: 600px) {
  83.     body{
  84.     width: 100%;
  85. }
  86.    
  87.     .mainHeader{
  88.         padding: 0;
  89.         background:#666;
  90.         height:70px;
  91.         width:80%;
  92.         border-radius: 5px;
  93.         position: relative;
  94.         top: 150px;
  95.         left: -70px;
  96.         list-style-type: none;
  97.     }
  98.  
  99.     .mainHeader nav ul li{
  100.         text-align: center;
  101.         height: 100%;
  102.         word-break: break-all;
  103.  
  104. }
  105.  
  106.  .mainHeader nav ul li a{
  107.         width: 100%;
  108.         height: 20px;
  109.         padding:  10px 5px;
  110.         display: inline-block;
  111.         margin: 10px;
  112.        
  113. }
  114.  .mainInfo{
  115.     background:white;
  116.     height: 300px;
  117.     width:80%;
  118.     position: relative;
  119.     top: 200px;
  120.     left: -70px;
  121.     border-radius: 5px;
  122.     box-shadow: 10px 10px 10px #727272;
  123.  
  124.    
  125. }
  126.  
  127. .mainInfo .miInfo{
  128.  
  129. }
  130.  
  131.  
  132. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement