Guest User

Untitled

a guest
Sep 19th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.87 KB | None | 0 0
  1. .hack-wrap {
  2.     margin: 20px auto;
  3.     background-color: #2a2a2a;
  4.     position: relative;
  5.     width: 90%;
  6.     height: 70vh;
  7.     border-radius: 10px;
  8. }
  9.  
  10. .hack-generator {
  11.     max-width: 768px;
  12.     background-color: #2a2a2a;
  13.     border-radius: 10px;
  14.     font-family: 'Arial', sans-serif;
  15. }
  16.  
  17. .hack-header {
  18.     height: 10%;
  19.     width: 100%;
  20.     background-color: #C272D9;
  21.     text-transform: uppercase;
  22.     position: absolute;
  23.     border-radius: 10px 10px 0 0;
  24. }
  25.  
  26. .hack-header p {
  27.     position: absolute;
  28.     top: 50%;
  29.     left: 2%;
  30.     line-height: 10%;
  31.     transform: translateY(-50%);
  32.     color: white;
  33. }
  34.  
  35. img.hack-avatar {
  36.     border-radius: 50%;
  37.     width: 10vh;
  38.     position: absolute;
  39.     top: 12%;
  40.     left: 50%;
  41.     transform: translateX(-50%);
  42.     border: 5px yellow solid;
  43. }
  44.  
  45. input.hack-username {
  46.     background: none;
  47.     position: absolute;
  48.     height: 10%;
  49.     width: 80%;
  50.     background-color: #4C4945;
  51.     border-radius: 5px;
  52.     top: 30%;
  53.     left: 50%;
  54.     transform: translateX(-50%);
  55.     text-indent: 20px;
  56.     border-style: none;
  57.     font-weight: 700;
  58.     font-size: 24px;
  59.     color: white;
  60. }
  61.  
  62. input.hack-username::placeholder {
  63.     color: #999794;
  64.     font-size: 24px;
  65. }
  66.  
  67. .hack-resource1 {
  68.     position: absolute;
  69.     top: 55%;
  70.     left: 50%;
  71.     transform: translate(-50%, -50%);
  72.     width: 100%;
  73.     height: 7vh;
  74. }
  75.  
  76. .hack-resource1 img {
  77.     position: absolute;
  78.     width: 7vh;
  79.     height: 7vh;
  80.     left: 15%;
  81. }
  82.  
  83. .hack-value {
  84.     position: absolute;
  85.     left: 50%;
  86.     top: 50%;
  87.     transform: translate(-50%, -50%);
  88.     width: 40%;
  89.     background-color: #4C4945;
  90.     border-radius: 5px;
  91.     height: 7vh;
  92. }
  93.  
  94. .hack-value p {
  95.     position: absolute;
  96.     left: 50%;
  97.     top: 50%;
  98.     transform: translate(-50%, -100%);
  99.     text-align: center;
  100.     color: #F0ED62;
  101.     font-weight: 700;
  102.     font-size: 24px;
  103. }
  104.  
  105. .plus-minus {
  106.     position: absolute;
  107.     color: white;
  108.     top: 65%;
  109.     width: 100%;
  110.     height: 10%;
  111.     display: flex;
  112.     align-items: center;
  113. }
  114.  
  115. .hack-minus,
  116. .hack-plus {
  117.     font-size: 22px;
  118.     width: 20%;
  119.     text-align: center;
  120.     cursor: pointer;
  121.     padding: 5px 10px;
  122.     position: absolute;
  123.     transform: translateX(-50%);
  124.     border-style: none;
  125. }
  126.  
  127. .hack-minus {
  128.     background-color: #E74C3C;
  129.     left: 37.5%;
  130. }
  131.  
  132. .hack-plus {
  133.     background-color: #2ECC71;
  134.     left: 62.5%;
  135. }
  136.  
  137. .hack-start {
  138.     position: absolute;
  139.     left: 50%;
  140.     margin-top: 10px;
  141.     top: 85%;
  142.     transform: translate(-50%, -50%);
  143.     background-color: #F0ED63;
  144.     border-style: none;
  145.     padding: 10px 30px;
  146.     font-size: 24px;
  147.     text-transform: uppercase;
  148.     cursor: pointer;
  149. }
  150.  
  151. @media (max-width: 900px) {
  152.     .hack-start {
  153.         font-size: 16px;
  154.     }
  155.  
  156. }
  157.  
  158. @media (max-width: 780px) {
  159.     input.hack-username {
  160.         text-indent: 0;
  161.     }
  162. }
Add Comment
Please, Sign In to add comment