-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
105 lines (96 loc) · 1.5 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
@import url('https://fonts.googleapis.com/css?family=Oswald');
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Oswald';
}
#canvas {
display: block;
margin: 0 auto;
background-image: url("img/mars_bg.svg")
}
#console {
width: 550px;
display: flex;
margin: 0 auto;
background-color: #333;
padding: .25rem;
}
#form {
display: flex;
align-items: stretch;
outline: none
}
#input {
color: grey;
outline: none;
padding: 0.25rem;
margin-right: 0.25rem;
border: 0;
}
#submit-button {
color: whitesmoke;
text-align: center;
font-weight: bold;
outline: none;
border: none;
cursor: pointer;
background-color: #FB3B49;
padding: 0.25rem;
}
#submit-button:hover {
background-color: #561519;
}
.input-element {
display: flex;
align-items: center;
background-color: #CADC9F;
color: #0f380f;
flex-grow: 1;
font-size: 2em;
margin-right: 0.25rem;
overflow: hidden;
white-space: nowrap;
}
#stats {
padding: 0;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: stretch;
max-width: 25px;
min-width: 25px;
}
#stats div {
display: flex;
align-items: center;
line-height: 0.2em;
font-size: 0.3em;
font-weight: bold;
flex-grow: 1;
border: 1px solid grey;
}
#control-panel {
display: flex;
flex-direction: column;
justify-content: center;
align-items: stretch;
margin-right: 0.25rem;
max-width: 50px;
color: whitesmoke;
font-size: 0.7em;
}
input,textarea{
width:100%;
}
.display-grid-wrap{
display: flex;
align-items: center;
}
#rock-number {
outline: none
}
.red-background{
background-color: #D92100;
}