50 lines
706 B
CSS
50 lines
706 B
CSS
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#black {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: -1;
|
|
background-color: rgba(0, 0, 0, .3);
|
|
}
|
|
|
|
.input-main {
|
|
display: block;
|
|
width: 70%;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
|
|
background-color: rgba(0, 0, 0, .8);
|
|
padding: 10px;
|
|
}
|
|
|
|
.input-main h1 {
|
|
color: white;
|
|
font-size: 24px;
|
|
font-family: "Arial";
|
|
font-weight: lighter;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.input-main input {
|
|
width: 100%;
|
|
background-color: black;
|
|
outline: 0;
|
|
border: grey 1px solid;
|
|
color: white;
|
|
padding: 5px;
|
|
font-size: 20px;
|
|
font-family: "Arial";
|
|
font-weight: lighter;
|
|
}
|