Advertisement
Atanasov_88

Untitled

Feb 20th, 2017
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.85 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Open+Sans');
  2.  
  3. body{
  4.  
  5.     font-family: 'Open Sans', sans-serif;
  6.  
  7.     Background: linear-gradient(to bottom, #567788 0%,#121f25 100%) no-repeat center center;
  8.     font-size: 14px;
  9.     color: #333333;
  10. }
  11.  
  12.     nav{
  13.        background-color: #EFF4F7;
  14.         margin: 35px;
  15.         height: 80px;
  16.         z-index: 5;
  17.         position: relative;
  18.     }
  19.  
  20.     nav ul{
  21.         color: #AFB4B8;
  22.         letter-spacing: 2px;
  23.         Padding: 20px 20px 0 20px;
  24.         float: right;
  25.     }
  26.  
  27.         nav ul li{
  28.             display: inline-block;
  29.  
  30.             list-style-type: none;
  31.             margin-right: 20px;
  32.             border-bottom: 23px;
  33.  
  34.         }
  35.  
  36.         nav ul li a{
  37.             text-decoration: none;
  38.             color: #323335;
  39.         }
  40.  
  41.         nav ul li a:hover{
  42.  
  43.             cursor: pointer;
  44.             border-bottom: 5px solid #7AE5F7;
  45.             text-decoration: none;
  46.         }
  47.  
  48.         .logo{
  49.             background-color: #ea3d51;
  50.             position: absolute;
  51.             top: -7px;
  52.             left: 550px;
  53.             width: 140px;
  54.             height: 140px;
  55.             margin: 20px;
  56.             z-index: -1;
  57.         }
  58.             .brand{
  59.                 color: white;
  60.                 text-transform: uppercase;
  61.                 font-size: 50px;
  62.                 text-align: center;
  63.                 position: relative;
  64.                 top: 43px;
  65.                 font-weight: 900;
  66.                 letter-spacing: 10px;
  67.             }
  68.  
  69.         main{
  70.             background-color: #CCD0D9;
  71.             width: 80%;
  72.             margin: 0 auto;
  73.         }
  74.             .book-title{
  75.                 position: relative;
  76.                 z-index: 10;
  77.                 font-size: 54px;
  78.                 color: #121f25;
  79.                 text-transform: uppercase;
  80.                 margin-bottom: 15px;
  81.                 text-align: center;
  82.                 margin: 0;
  83.             }
  84.  
  85.             .book-genre{
  86.                 color: #6dffb8;
  87.                 text-transform: uppercase;
  88.                 font-size: 120px;
  89.                 z-index: 3;
  90.                 position: relative;
  91.                 left: 75px;
  92.                 top: -80px;
  93.                 text-align: center;
  94.                 margin: 0;
  95.             }
  96.  
  97.             .red-container{
  98.  
  99.                 background: linear-gradient(to bottom, #eb3c53 0%, #e6135c 100%) no-repeat center center;
  100.                 margin: 0 auto;
  101.                 z-index: 8;
  102.                 color: #ffffff;
  103.                 width: 300px;
  104.                 text-align: center;
  105.                 position: relative;
  106.                 padding: 40px;
  107.             }
  108.  
  109.             .red-container img{
  110.  
  111.                 padding-top: 10px;
  112.                 margin: 0 auto;
  113.                 display: block;
  114.                 max-width: 80px;
  115.                 width: 100%;
  116.                 border-radius: 50%;
  117.             }
  118.  
  119.             p:nth-child(3)::before {
  120.  
  121.                 content: ' " ';
  122.                 color: #af213d;
  123.                 font-size: 30px;
  124.                 font-weight: 800;
  125.             }
  126.  
  127.             p:nth-child(3)::after {
  128.  
  129.                 content: ' " ';
  130.                 color: #af213d;
  131.                 font-size: 30px;
  132.                 font-weight: 800;
  133.             }
  134.  
  135.             .donate-button{
  136.  
  137.                 background: none;
  138.                 border: 3px solid #6FECFE;
  139.                 margin: 3px;
  140.                 padding-right: 10px;
  141.                 padding-left: 10px;
  142.                 padding-bottom: 5px;
  143.                 padding-top: 5px;
  144.                 text-transform: uppercase;
  145.                 color: #ffffff;
  146.                 font-size: 12px;
  147.             }
  148.  
  149.             .donate-button:hover{
  150.  
  151.                 cursor: pointer;
  152.                 color: black;
  153.                 background-color: #6FECFE;
  154.             }
  155.  
  156.             .second-section{
  157.  
  158.                 background: white;
  159.                 width: 80%;
  160.                 margin: 0 auto;
  161.                 position: relative;
  162.                 z-index: 4;
  163.                 padding: 250px 35px 35px 35px;
  164.                 top: -190px;
  165.             }
  166.  
  167.             .second-section h1{
  168.  
  169.                 color: #47EF98;
  170.                 text-transform: capitalize;
  171.                 font-size: 42px;
  172.             }
  173.  
  174.             .second-section p {
  175.                 width: 70%;
  176.             }
  177.  
  178.             .second-section button{
  179.  
  180.                 background: none;
  181.                 border: 3px solid #628291;
  182.                 color: #333;
  183.                 font-size: 12px;
  184.                 text-transform: uppercase;
  185.             }
  186.  
  187.                 .second-section button:hover{
  188.  
  189.                     background-color: #628291;
  190.                     color: #92E8CF;
  191.                     cursor: pointer;
  192.                     text-transform: uppercase;
  193.                 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement