Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .hack-wrap {
- margin: 20px auto;
- background-color: #2a2a2a;
- position: relative;
- width: 90%;
- height: 70vh;
- border-radius: 10px;
- }
- .hack-generator {
- max-width: 768px;
- background-color: #2a2a2a;
- border-radius: 10px;
- font-family: 'Arial', sans-serif;
- }
- .hack-header {
- height: 10%;
- width: 100%;
- background-color: #C272D9;
- text-transform: uppercase;
- position: absolute;
- border-radius: 10px 10px 0 0;
- }
- .hack-header p {
- position: absolute;
- top: 50%;
- left: 2%;
- line-height: 10%;
- transform: translateY(-50%);
- color: white;
- }
- img.hack-avatar {
- border-radius: 50%;
- width: 10vh;
- position: absolute;
- top: 12%;
- left: 50%;
- transform: translateX(-50%);
- border: 5px yellow solid;
- }
- input.hack-username {
- background: none;
- position: absolute;
- height: 10%;
- width: 80%;
- background-color: #4C4945;
- border-radius: 5px;
- top: 30%;
- left: 50%;
- transform: translateX(-50%);
- text-indent: 20px;
- border-style: none;
- font-weight: 700;
- font-size: 24px;
- color: white;
- }
- input.hack-username::placeholder {
- color: #999794;
- font-size: 24px;
- }
- .hack-resource1 {
- position: absolute;
- top: 55%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 100%;
- height: 7vh;
- }
- .hack-resource1 img {
- position: absolute;
- width: 7vh;
- height: 7vh;
- left: 15%;
- }
- .hack-value {
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- width: 40%;
- background-color: #4C4945;
- border-radius: 5px;
- height: 7vh;
- }
- .hack-value p {
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -100%);
- text-align: center;
- color: #F0ED62;
- font-weight: 700;
- font-size: 24px;
- }
- .plus-minus {
- position: absolute;
- color: white;
- top: 65%;
- width: 100%;
- height: 10%;
- display: flex;
- align-items: center;
- }
- .hack-minus,
- .hack-plus {
- font-size: 22px;
- width: 20%;
- text-align: center;
- cursor: pointer;
- padding: 5px 10px;
- position: absolute;
- transform: translateX(-50%);
- border-style: none;
- }
- .hack-minus {
- background-color: #E74C3C;
- left: 37.5%;
- }
- .hack-plus {
- background-color: #2ECC71;
- left: 62.5%;
- }
- .hack-start {
- position: absolute;
- left: 50%;
- margin-top: 10px;
- top: 85%;
- transform: translate(-50%, -50%);
- background-color: #F0ED63;
- border-style: none;
- padding: 10px 30px;
- font-size: 24px;
- text-transform: uppercase;
- cursor: pointer;
- }
- @media (max-width: 900px) {
- .hack-start {
- font-size: 16px;
- }
- }
- @media (max-width: 780px) {
- input.hack-username {
- text-indent: 0;
- }
- }
Add Comment
Please, Sign In to add comment