fitraagungdp

Untitled

Sep 17th, 2022
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.86 KB | Source Code | 0 0
  1. @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&family=Roboto&display=swap');
  2. *{
  3.     margin: 0;
  4.     padding: 0;
  5.     box-sizing: border-box;
  6.    
  7. }
  8. body{
  9.     background: #1a0327;
  10.     font-family: 'Poppins', sans-serif;
  11.     height: 350vh;
  12. }
  13. .container{
  14.     width: 100%;
  15.     height: 100vh;
  16.     background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(image/varus.jpg);
  17.     background-size: cover;
  18.     background-position: center;
  19.     background-attachment: fixed;
  20. }
  21. header{
  22.     width: 100%;
  23.     height: 10vh;
  24.     background:rgba(0,0,0,0.5);
  25.     display: flex;
  26.     align-items: center;
  27.     justify-content: space-between;
  28. }
  29. .logo{
  30.     width: 300px;
  31.     height: 10vh;
  32.     background: #550381;
  33.     display: flex;
  34.     align-items: center;
  35.     justify-content: center;
  36.     color: #fff;
  37.     clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  38.     padding: 10px;
  39.     line-height: 1.3rem;
  40. }
  41. .logo li p{
  42.     width: 130px;
  43.     margin-left: 10px;
  44.     font-size: 20px;
  45. }
  46.  
  47. .logo .fas {
  48.     padding-right: 1rem;
  49.     font-size: 50 px;
  50. }
  51.  
  52. ul.navbar{
  53.     display: flex;
  54.     list-style: none;
  55. }
  56. ul.navbar li{
  57.     width: 120px;
  58. }
  59. ul.navbar li a{
  60.     text-decoration: none;
  61.     color: #fff;
  62.     font-weight: bold;
  63. }
  64.  
  65. .content-wrapper{
  66.     width: 80%;
  67.     min-height: 80vh;
  68.     margin: auto;
  69.     display: flex;
  70.     justify-content: space-between;
  71.     align-items: center;
  72.     color: #fff;
  73. }
  74.  
  75. #btn2{
  76.     width: 350px;
  77.     height: 10vh;
  78.     padding-left: 20px;
  79.     outline: none;
  80.     border: none;
  81.     background: #FEC53A;
  82.     font-size: 1.2rem;
  83.     font-weight: bold;
  84.     margin-top: 15px;
  85.     clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  86.     border-radius: 20px;
  87.     text-align: left;
  88. }
  89. .main-photo{
  90.     width: 700px;
  91.     height: 400px;
  92.     background: linear-gradient(rgba(38, 2, 39, 0.849),rgb(204, 115, 14));
  93.     background-size: cover;
  94.     background-position: center;
  95.     position: relative;
  96. }
  97.  
  98. .main-photo::after{
  99.     content: '';
  100.     width: 700px;
  101.     height: 400px;
  102.     background: url(image/lolmain.jpg);
  103.     background-size: cover;
  104.     background-position: center;
  105.     position: absolute;
  106.     bottom: 0px;
  107.     left: 0px;
  108. }
  109.  
  110. <!--Info-Content---->
  111. .info-section-bar{
  112.     display: flex;
  113.     align-items: center;
  114.     justify-content: center;
  115.     margin: 30px 0;
  116. }
  117. .info-section-bar .fas{
  118.     align-items: center;
  119.     font-size: 6rem;
  120.     color: #FEC53A;
  121. }
  122. .info-section-bar h1{
  123.     width: 250px;
  124.     align-items: center;
  125.     font-size: 2rem;
  126.     color: #FEC53A;
  127.     margin-left: 10px;
  128. }
  129.  
  130. .info-section{
  131.     width: 100%;
  132.     height: auto;
  133.     background: linear-gradient(rgba(0, 0, 0, 0.767),rgba(0, 0, 0, 0.712)),
  134.     url(image/mario.jpg);
  135.     background-size: cover;
  136.     background-position: center;
  137.     background-attachment: fixed;
  138. }
  139.  
  140. .info-container{
  141.     display: flex;
  142.     justify-content: center;
  143.     align-items: center;
  144.     margin: 20px 0px;
  145.     flex-wrap: wrap;
  146. }
  147.  
  148. .info-box{
  149.     width: 700 px;
  150.     height: 398 px;
  151.     background-color: rgba(255, 255, 255, 0.11);
  152.     border: 1px solid rgba(255, 255, 255, 0);
  153.     margin-left: 30rem;
  154.     margin-right: 30rem;
  155.     margin-top: 2rem;
  156. }
  157.  
  158. .info-img{
  159.     width: 700 px;
  160.     height: 398 px;
  161.    
  162. }
  163.  
  164. .info-img img{
  165.     width: 700 px;
  166.     height: 398 px;
  167.     object-fit: cover;
  168.    
  169. }
  170.  
  171. .info-text{
  172.     padding: 30px;
  173.     display: flex;
  174.     flex-direction: column;
  175.    
  176. }
  177.  
  178. .info-text span{
  179.     color: red;
  180.     font-size: 1rem;
  181.    
  182. }
  183.  
  184. .info-text .info-title{
  185.     font-size: 1.5rem;
  186.     font-weight: 500;
  187.     color: white;
  188. }
  189.  
  190. .info-text .info-title:hover{
  191.     color: blue;
  192.     transition: all  ease 0.3s;
  193. }
  194.  
  195. .info-text p{
  196.     color: white;
  197.     font-size: 1.2rem;
  198. }
  199.  
  200. .info-text a{
  201.     color: white;
  202. }
  203.  
  204. .info-text a:hover{
  205.     color: blue;
  206.     transition: all  ease 0.3s;
  207. }
  208.  
Add Comment
Please, Sign In to add comment