Initial background styling

This commit is contained in:
ElPumpo
2018-04-15 14:37:30 +02:00
parent cb68068cb7
commit 20e0cabe87
2 changed files with 15 additions and 15 deletions
+4
View File
@@ -19,4 +19,8 @@
<script src="script.js" type="text/javascript"></script>
</body>
</form>
</div>
<script src="script.js" type="text/javascript"></script>
</body>
</html>
+11 -15
View File
@@ -1,9 +1,3 @@
body {
font-family: sans-serif;
overflow: hidden;
display: none;
}
#cursor {
position: absolute;
z-index: 999999;
@@ -13,10 +7,13 @@ body {
.dialog {
width: 300px;
position: absolute;
left: 50%;
transform: translateX(-50%);
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
padding: 10px;
background-color: rgba(0, 0, 0, 0.5);
box-shadow: 0px 0px 50px 0px #000;
overflow: hidden;
}
form {
@@ -24,8 +21,8 @@ form {
}
input[type=text] {
width: 100%;
padding: 10px;
width: 93%;
padding: 7px;
text-align: center;
}
@@ -33,7 +30,7 @@ button {
display: block;
margin-top: 5px;
padding: 10px;
background-color: Blue;
background-color: #506be6;
border: 0;
color: #fff;
width: 100%;
@@ -44,9 +41,8 @@ h1 {
margin-top: 5px;
margin-right: 5px;
padding: 10px;
background-color: Blue;
border: 0;
background-color: #506be6;
color: #fff;
width: 93%;
text-align: center;
}
}