jacobinathanialpeterson commited on
Commit
c6dd1ec
·
1 Parent(s): c0833b5

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +69 -18
style.css CHANGED
@@ -1,28 +1,79 @@
 
 
 
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
 
 
 
 
 
 
 
 
 
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
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
  }