Advertisement
Gomuboy

Listed - CSS

May 18th, 2016
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.38 KB | None | 0 0
  1. /*Landscape*/
  2. /*@media (min-width: 1919px)*/
  3. @media (orientation: landscape)
  4.     {
  5.         body
  6.             {
  7.                 background-image: url( wall1.jpg );
  8.             }
  9.        
  10.         .container
  11.             {
  12.                 margin: 80px 0px 0px 560px;
  13.                 width: 800px;
  14.                 /*height: 800px;           
  15.                 border: 2px solid white;*/
  16.             }
  17.        
  18.     }
  19.    
  20. /*Protrait*/
  21. /*@media (max-width: 1100px)*/
  22. @media (orientation: portrait)
  23.     {
  24.         body
  25.             {
  26.                 background-image: url( wall2.png );
  27.           }
  28.            
  29.         .container
  30.             {
  31.                 margin: 80px 0px 0px 80px;
  32.                 width: 800px;
  33.                 /*height: 800px;           
  34.                 border: 2px solid white;*/
  35.             }  
  36.        
  37.     }
  38.    
  39. /*For all the page*/   
  40. body
  41.     {
  42.         font-family: "Segoe UI";
  43.            
  44.     }
  45.  
  46. a
  47.     {
  48.         text-decoration: none;
  49.         color: #f7f7f7;
  50.     }
  51.    
  52. .container
  53.     {
  54.         background-color: rgba( 55, 54, 53, 0.5 );
  55.         box-shadow: 3px 3px 5px rgba( 55, 54, 53, 1);
  56.     }
  57.    
  58. ul
  59.     {
  60.         text-align: center;
  61.     }
  62.    
  63. li
  64.     {
  65.         list-style-type: none;
  66.         transition: height 1s, opacity 1s, padding 1s, background-color 1s;
  67.         height: 0px;
  68.         opacity: 0;
  69.     }  
  70.  
  71. ul, li
  72.     {
  73.         padding: 0px;
  74.         margin: 0px;
  75.         color: #f7f7f7;
  76.     }
  77.  
  78. .titulo
  79.     {
  80.         background-color: rgba( 36, 37, 38, 1 );
  81.         transition: all 1s;
  82.         padding: 1.5%;
  83.     }
  84.  
  85. ul:hover li
  86.     {      
  87.         height: 18px;
  88.         opacity: 1;
  89.         padding: 1% !important;
  90.     }
  91.    
  92. ul:hover .titulo
  93.     {
  94.         background-color: rgba( 48, 50, 51, 1 );
  95.     }
  96.    
  97. li:hover
  98.     {
  99.         background-color: rgba( 235, 234, 234, 0.5 );
  100.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement