Commit ·
c6dd1ec
1
Parent(s): c0833b5
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,28 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
|
|
|
|
|
|
| 28 |
}
|
|
|
|
| 1 |
+
body,
|
| 2 |
+
html {
|
| 3 |
+
height: 100%;
|
| 4 |
+
}
|
| 5 |
+
|
| 6 |
body {
|
| 7 |
+
font-family: monospace;
|
| 8 |
+
font-weight: bold;
|
| 9 |
+
font-size: 20px;
|
| 10 |
+
margin: 0;
|
| 11 |
+
overflow: hidden;
|
| 12 |
+
background-color: #222;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
body,
|
| 16 |
+
#box {
|
| 17 |
+
display: flex;
|
| 18 |
+
align-items: center;
|
| 19 |
+
justify-content: center;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
#box {
|
| 23 |
+
color: #aaa;
|
| 24 |
+
height: 20em;
|
| 25 |
+
width: 30em;
|
| 26 |
+
max-width: 80%;
|
| 27 |
+
max-height: 80%;
|
| 28 |
+
background-color: #333;
|
| 29 |
+
border-radius: 0.4em;
|
| 30 |
+
border: 2px solid #555;
|
| 31 |
+
position: relative;
|
| 32 |
+
flex-direction: column;
|
| 33 |
+
transition-duration: 0.2s;
|
| 34 |
+
overflow: hidden;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
#box:hover,
|
| 38 |
+
#box[drag] {
|
| 39 |
+
border-color: #38f;
|
| 40 |
+
color: #ddd;
|
| 41 |
}
|
| 42 |
|
| 43 |
+
#input {
|
| 44 |
+
cursor: pointer;
|
| 45 |
+
position: absolute;
|
| 46 |
+
left: 0;
|
| 47 |
+
top: 0;
|
| 48 |
+
width: 100%;
|
| 49 |
+
height: 100%;
|
| 50 |
+
opacity: 0;
|
| 51 |
}
|
| 52 |
|
| 53 |
+
#display {
|
| 54 |
+
width: 100%;
|
| 55 |
+
height: 100%;
|
|
|
|
|
|
|
| 56 |
}
|
| 57 |
|
| 58 |
+
select,
|
| 59 |
+
button {
|
| 60 |
+
padding: 0.6em 0.4em;
|
| 61 |
+
margin: 0.5em;
|
| 62 |
+
width: 15em;
|
| 63 |
+
max-width: 100%;
|
| 64 |
+
font-family: monospace;
|
| 65 |
+
font-weight: bold;
|
| 66 |
+
font-size: 16px;
|
| 67 |
+
background-color: #444;
|
| 68 |
+
color: #aaa;
|
| 69 |
+
border-radius: 0.4em;
|
| 70 |
+
border: 1px solid #555;
|
| 71 |
+
cursor: pointer;
|
| 72 |
+
transition-duration: 0.2s;
|
| 73 |
}
|
| 74 |
|
| 75 |
+
select:hover,
|
| 76 |
+
button:hover {
|
| 77 |
+
background-color: #666;
|
| 78 |
+
color: #ddd;
|
| 79 |
}
|