isama92

Finale CSS

Feb 2nd, 2017
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.77 KB | None | 0 0
  1. body{
  2.   background: lightgrey;
  3.   color: #666;
  4.   padding: 0px;
  5.   margin: 0px;
  6. }
  7.  
  8. #container{
  9.   width: 1200px;
  10.   margin: 0px auto;
  11. }
  12.  
  13. .title-container{
  14.   width: 100%;
  15.   height: 100px;
  16.   line-height: 100px;
  17.   background: #77C0CB;
  18. }
  19.  
  20. .title-box{
  21.   width: 135px;
  22.   margin: 0 auto;
  23. }
  24.  
  25. .title-text{
  26.   text-transform: uppercase;
  27.   font-size: 30px;
  28.   color: white;
  29. }
  30.  
  31. .menu{
  32.   background: grey;
  33.   height: 40px;
  34.   line-height: 40px;
  35.   width: 100%;
  36. }
  37.  
  38. .menu ul{
  39.   list-style-type: none;
  40.   margin: 0px auto;
  41.   width: 700px;
  42. }
  43.  
  44. .menu li{
  45.   display: inline;
  46.   padding: 20px;
  47.   text-transform: uppercase;
  48.   font-size: 20px;
  49.   color: #77cECB;
  50. }
  51.  
  52. .menu a{
  53.   color: #77cecb;
  54.   text-decoration: none;
  55. }
  56.  
  57. .menu a:hover{
  58.   text-decoration: underline;
  59.   color: #37aECB;
  60. }
  61.  
  62. .main-image{
  63.   width: 1200px;
  64.   height: 500px;
  65. }
  66.  
  67. .article-body{
  68.   background: white;
  69. }
  70.  
  71. .article-container{
  72.   width:350px;
  73.   float:left;
  74.   margin-left: 20px;
  75.   margin-bottom: 40px;
  76. }
  77.  
  78. .article-title{
  79.   color: black;
  80.   margin: 20px 0px 10px 0px;
  81.   font-weight: bold;
  82.   font-size: 20px;
  83.   font-family: monospace;
  84.   text-transform: uppercase;
  85. }
  86.  
  87. #clearFloat{
  88.   clear: both;
  89. }
  90.  
  91. .fullwidth-title{
  92.   color: black;
  93.   text-transform: uppercase;
  94.   font-size: 20px;
  95.   font-family: monospace;
  96.   margin: 30px;
  97.   letter-spacing: 5px;
  98. }
  99.  
  100. .art-container{
  101.   width: 400px;
  102.   height: 240px;
  103. }
  104.  
  105. .art-image{
  106.   padding: 20px;
  107.   float: left;
  108. }
  109.  
  110. .art-cont{
  111.   width: 600px;
  112.   margin-right: 50px;
  113. }
  114.  
  115. .art-title{
  116.   padding: 20px;
  117.   color: black;
  118.   text-transform: uppercase;
  119.   font-size: 20px;
  120.   font-family: monospace;
  121. }
  122.  
  123. .article-full-container{
  124.   background: white;
  125.   width: 100%;
  126. }
  127.  
  128. .art-full-container{  /*   CONTENITORE 2 ARTICOLI E IMMAGINI */
  129.   float: left;
  130.   width: 700px;
  131. }
  132.  
  133. .art-sidebar{ /* CONTENITORE SIDEBAR */
  134.   width: 250px;
  135.   float: left;
  136. }
  137.  
  138. .art-sidebar-title{
  139.   text-transform: uppercase;
  140.   font-family: monospace;
  141.   color: black;
  142.   font-size: 20px;
  143.   padding: 20px 0px 0px 20px;
  144. }
  145.  
  146. .art-sidebar a{
  147.   text-decoration: none;
  148.   color: green;
  149. }
  150.  
  151. .art-sidebar a:hover{
  152.   text-decoration: underline;
  153. }
  154.  
  155. .footer{
  156.   height: 80px;
  157.   width: 100%;
  158.   background: grey;
  159.   line-height: 80px;
  160.  
  161. }
  162.  
  163. .footer-text{
  164.   color: white;
  165.   font-size: 16px;
  166.   font-weight: bold;
  167.   margin-left: 20px;
  168. }
  169.  
  170. @media only screen and (min-width: 0px) and (max-width: 950px)
  171. {
  172.  
  173. .menu ul{
  174.   list-style-type: none;
  175.   margin: 0px;
  176.   width: 300px;
  177.   height: 600px;
  178. }
  179.  
  180. .menu li{
  181.   display: block;
  182.   padding: 5px;
  183.   text-transform: uppercase;
  184.   font-size: 20px;
  185.   color: #77cECB;
  186. }
  187.  
  188. .menu{
  189.   background: grey;
  190.   height: 250px;
  191.   width: 180px;
  192. }
  193.  
  194. .menu-thin{
  195.   background: #77C0CB;
  196.   float: left;
  197. }
  198.  
  199. .main-image{
  200.   width: 700px;
  201. }
  202.  
  203. }
Advertisement
Add Comment
Please, Sign In to add comment