GrassClipper/resources/style/index.css
2022-04-20 17:06:35 -07:00

125 lines
2.0 KiB
CSS

body {
overflow: hidden;
height: 85vh;
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
.playBtn:hover, .smolBtn:hover {
cursor: pointer;
}
.playBtn {
padding: 0 30px;
border-radius: 5px;
border: none;
background: linear-gradient(#ffd326, #ffc61e);
color: #704a1d;
font-weight: bold;
height: 50px;
font-size: 20px;
}
.playBtn:hover {
background: linear-gradient(#ffc61e, #ffd326);
}
.smolBtn {
padding: 0 20px;
border-radius: 5px;
border: none;
background: linear-gradient(#ffd326, #ffc61e);
color: #704a1d;
font-weight: bold;
height: 40px;
font-size: 14px;
}
.smolBtn:hover {
background: linear-gradient(#ffc61e, #ffd326);
}
#bottomBar {
display: flex;
justify-content: center;
width: 100%;
height: 100%;
padding: 20px 0px;
background: #141414;
}
.bottomSection {
display: flex;
flex-direction: column;
height: 100%;
background: #141414;
}
#genshinPath {
color: white;
font-size: 14px;
}
#halvesContainer {
width: 100%;
height: 100%;
position: relative;
overflow: hidden;
display: flex;
}
#firstHalf, #secondHalf {
display: flex;
justify-content: center;
width: 100%;
background-repeat: no-repeat;
background-size: cover;
}
#firstHalf {
border-right: 1px solid black;
background-position: -340px;
}
/* Move the first official button to the position on the png */
#firstHalf button {
position: relative;
transform: translate(115px, 480px);
width: 300px;
height: 60px;
}
#ip {
display: block;
}
#secondHalf button {
display: block;
width: 300px;
height: 60px;
}
#secondHalf input {
margin-bottom: 4px;
height: 20px;
background: white;
border: none;
border-bottom: 2px solid #4d4d4d;
padding: 8px;
/* border bottom anim */
transition: border-bottom 0.1s ease-in-out;
}
#secondHalf input:focus {
outline: none;
border-bottom: 2px solid #ffc61e;
}
/* Move the second private button the near-bottom */
#secondControlContainer {
position: relative;
transform: translate(115px, 446px);
width: 300px;
height: 60px;
}