Advertisement
LiMIllusion

Untitled

May 16th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.20 KB | None | 0 0
  1. CSS:
  2.  
  3. body
  4. {
  5. border:0%;
  6. margin: 0;
  7. }
  8.  
  9.  
  10. .container
  11. {
  12. margin: 0 auto;
  13. max-width: 1280px;
  14. width: 70%;
  15. }
  16.  
  17.  
  18. nav {
  19. color: #fff;
  20. background-color:#4CAF50 ;
  21. width: 100%;
  22. height: 56px;
  23. line-height: 56px;
  24. }
  25. nav a {
  26. color: #fff;
  27. text-decoration: none;}
  28. nav .nav-wrapper {
  29. position: relative;
  30. height: 100%; }
  31. nav .nav-wrapper i {
  32. display: block;
  33. font-size: 2rem; }
  34. nav .nome {
  35. position: absolute;
  36. color: #fff;
  37. display: inline-block;
  38. font-size: 2.1rem;
  39. padding: 0;
  40. white-space: nowrap; }
  41. nav ul {
  42. margin: 0;
  43. list-style-type: none; }
  44. nav ul li {
  45. -webkit-transition: background-color .3s;
  46. -moz-transition: background-color .3s;
  47. -o-transition: background-color .3s;
  48. -ms-transition: background-color .3s;
  49. transition: background-color .3s;
  50. box-decoration-break: none;
  51. float: left;
  52. padding: 0; }
  53. nav ul li:hover, nav ul li.active {
  54. background-color: rgba(0, 0, 0, 0.1); }
  55. nav ul a {
  56. font-size: 1rem;
  57. color: #fff;
  58. display: block;
  59. padding: 0 15px; }
  60. nav ul.right {
  61. float: right; }
  62. }
  63.  
  64. .verde{
  65. background-color: #4CAF50;
  66. }
  67.  
  68. .verde{
  69. background-color: #4CAF50;
  70. }
  71.  
  72. .sezione {
  73. padding-top: 1rem;
  74. padding-bottom: 1rem; }
  75. .sezione.no {
  76. padding: 0; }
  77. .sezione.nosot {
  78. padding-bottom: 0; }
  79. .sezione.nosu {
  80. padding-top: 0; }
  81.  
  82. }
  83. #index-banner {
  84. min-height: 632px;
  85. max-height: 864px;
  86. position: relative;
  87. background-color: #2196F3;
  88. }
  89. .header {
  90. padding: 15% 0;
  91. font-size: 4.0em;
  92. font-weight: 800;
  93. color:white;
  94. }
  95. .centro{
  96. text-align: center;
  97. }
  98. h1, h2, h3, h4, h5, h6 {
  99. font-weight: 400;
  100. line-height: 1.1; }
  101. h1 {
  102. font-size: 4.2rem;
  103. line-height: 110%;
  104. margin: 2.1rem 0 1.68rem 0; }
  105.  
  106.  
  107.  
  108.  
  109.  
  110. HTML
  111.  
  112.  
  113.  
  114.  
  115. <!DOCTYPE html>
  116. <html>
  117. <head>
  118. <meta name="theme-color" content="#4CAF50">
  119. <title>LiM Illusion</title>
  120. <!-- CSS -->
  121. <link href="css/style.css" type="text/css" rel="stylesheet">
  122. <link href="css/font-awesome.min.css" type="text/css" rel="stylesheet" >
  123. </head>
  124. <body id="top" class="scrollspy">
  125. <!--Barra di navigazione-->
  126. <nav>
  127. <div class="verde container">
  128. <div class="nav-wrapper">
  129. <a href="#" class="nome">LiM Illusion</a>
  130. <ul class="right hide-on-med-and-down">
  131. <li><a href="#intro">Service</a></li>
  132. <li><a href="#work">Work</a></li>
  133. <li><a href="#team">Team</a></li>
  134. <li><a href="#contact">Contact</a></li>
  135. <li><a href="https://github.com/joashp/material-design-template" target="_blank">Download</a></li>
  136. </ul>
  137. </div>
  138. </div>
  139. </nav>
  140. <div class="verde header centro sezione nosot" id="index-banner">
  141. <div class="container">
  142. <span>Ciao,sono </span>
  143. <span>
  144. <b class="is-visible">un mago</b>
  145. <b>un videomaker</b>
  146. <b>uno sviluppatore</b>
  147. <b>LiM</b>
  148. </span>
  149. </div>
  150. </div>
  151. </body>
  152. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement