Advertisement
Guest User

Untitled

a guest
Dec 14th, 2019
653
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.50 KB | None | 0 0
  1. body {
  2.   background-color: #f6eeea;
  3. }
  4. nav{
  5.     float: right;
  6.     list-style-type: none;
  7.     margin-top: auto;
  8. }
  9.  ul li a{
  10.     text-decoration: none;
  11.     color: #fff;
  12.     padding: 20px 20px;
  13.    
  14.  }
  15.  
  16. ul {
  17.   list-style-type: none;
  18.   margin: 0;
  19.   padding: 0;
  20.   width: 300px;
  21.   background-color:#8e8268;
  22. }
  23.  
  24. li a {
  25.   display: block;
  26.   color: #000;
  27.   padding: 800px 16px;
  28.   text-decoration: none;
  29. }
  30.  
  31. li a.active {
  32.   background-color: #4A2511;
  33.   color: white;
  34. }
  35.  
  36. li a:hover:not(.active) {
  37.   background-color: #555;
  38.   color: white;
  39. }
  40.  
  41. <style>
  42. body {font-family: Arial, Helvetica, sans-serif;}
  43. * {box-sizing: border-box}
  44.  
  45. /* Full-width input fields */
  46. input[type=text], input[type=password] {
  47.   width: 100%;
  48.   padding: 15px;
  49.   margin: 5px 0 22px 0;
  50.   display: inline-block;
  51.   border: none;
  52.   background: #f1f1f1;
  53. }
  54.  
  55. input[type=text]:focus, input[type=password]:focus {
  56.   background-color: #ddd;
  57.   outline: none;
  58. }
  59.  
  60. hr {
  61.   border: 1px solid #f1f1f1;
  62.   margin-bottom: 25px;
  63. }
  64.  
  65. /* Set a style for all buttons */
  66. button {
  67.   background-color: #4CAF50;
  68.   color: white;
  69.   padding: 14px 20px;
  70.   margin: 8px 0;
  71.   border: none;
  72.   cursor: pointer;
  73.   width: 100%;
  74.   opacity: 0.9;
  75. }
  76.  
  77. button:hover {
  78.   opacity:1;
  79. }
  80.  
  81. /* Extra styles for the cancel button */
  82. .cancelbtn {
  83.   padding: 14px 20px;
  84.   background-color: #f44336;
  85. }
  86.  
  87. /* Float cancel and signup buttons and add an equal width */
  88. .cancelbtn, .signupbtn {
  89.   float: left;
  90.   width: 50%;
  91. }
  92.  
  93. /* Add padding to container elements */
  94. .container {
  95.   padding: 16px;
  96. }
  97.  
  98. /* Clear floats */
  99. .clearfix::after {
  100.   content: "";
  101.   clear: both;
  102.   display: table;
  103. }
  104.  
  105. /* Change styles for cancel button and signup button on extra small screens */
  106. @media screen and (max-width: 300px) {
  107.   .cancelbtn, .signupbtn {
  108.      width: 100%;
  109.   }
  110. }
  111.  
  112.  
  113. .footer {
  114.    position:fixed;
  115.    left: 0;
  116.    bottom: 0;
  117.    width: 100%;
  118.    padding-top:1px;
  119.    background-color: #4A2511;
  120.    color: white;
  121.    text-align: center;
  122.    
  123. }
  124. .fa {
  125.   padding: 8px;
  126.   font-size: 30px;
  127.   width: 30px;
  128.   text-align: center;
  129.   text-decoration: none;
  130.   margin: 5px 2px;
  131. }
  132.  
  133. .fa:hover {
  134.     opacity: 0.7;
  135. }
  136.  
  137. .fa-facebook {
  138.   background: #3B5998;
  139.   color: white;
  140. }
  141.  
  142. .fa-twitter {
  143.   background: #55ACEE;
  144.   color: white;
  145. }
  146.  
  147. .fa-amazon {
  148.   background: #dd4b39;
  149.   color: white;
  150. }
  151.  
  152. .fa-spotify {
  153.   background:#1bd75f;
  154.   color: white;
  155. }
  156.  
  157. .fa-youtube {
  158.   background: #bb0000;
  159.   color: white;
  160. }
  161.  
  162. .fa-instagram {
  163.   background: #b53caf;
  164.   color: white;
  165. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement