Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.00 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Roboto');
  2. @import url('https://fonts.googleapis.com/css?family=Lobster');
  3. @import url('https://fonts.googleapis.com/css?family=Open+Sans');
  4. @import url('https://fonts.googleapis.com/css?family=Saira+Semi+Condensed');
  5. @import url('https://fonts.googleapis.com/css?family=Indie+Flower');
  6.  
  7.  
  8. *{
  9.     padding: 0;
  10.     font-family: 'Roboto', sans-serif;
  11.  
  12.     margin: 0;
  13. }
  14.  
  15. nav{
  16.     width: 100%;
  17.     height: 80px;
  18.     background-color: white;
  19.     box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  20.     position: fixed;
  21. }
  22. .logo{
  23.     left: 0;
  24.     position: absolute;
  25.     top: 50%;
  26.     transform: translate(0,-50%);
  27.     margin-left: 80px;
  28.     font-family: 'Indie Flower', cursive;
  29.  
  30. }
  31. nav ul{
  32.     margin-right: 100px;
  33.     position: absolute;
  34.     right: 0;
  35.     top: 50%;
  36.     transform: translate(0,-50%);
  37.  
  38. }
  39. nav ul li{
  40.     display: inline-block;
  41.     padding: 0px 20px;
  42. }
  43. nav ul a{
  44.     text-decoration: none;
  45.     color: black;
  46.     font-family: 'Saira Semi Condensed', sans-serif;
  47.  
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement