-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
110 lines (91 loc) · 1.61 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
106
107
108
109
110
body {
font-family: monospace;
color: #F9A742;
background-image: url("stars.jpg");
background-size: cover;
}
h1 {
font-size: 3em;
margin-top: 1.5em;
margin-bottom: 1em;
text-align: center;
text-shadow: 2px 2px black;
font-style:
}
p {
font-size: 2em;
text-align: center;
text-shadow: 2px 2px black;
}
main {
display: flex;
justify-content:center;
margin-bottom: 1em;
}
img {
display: inline-block;
}
#test {
width: 150px;
padding: 6px;
background-color: rgba(0,0,0,0.5);
margin-left: 1em;
display: inline-block;
list-style: none;
font-size: 12px;
text-align: right;
}
.controls {
margin-top: 1em;
display: flex;
justify-content:center;
}
input {
display: block;
margin: auto;
padding: 1em;
font-size: 16px;
background-color: black;
color: #F9A742;
font-family: monospace;
border: none;
width: 330px;
}
button {
margin: 1em;
padding: 1em 0;
width: 150px;
background-color: #F9A742;
color: black;
font-family: monospace;
font-size: 16px;
/*transition-duration: 0.4s;*/
border: 2px solid transparent;
box-shadow: 3px 3px black;
}
button:hover {
border: 2px solid #F9A742;
background-color: transparent;
color: #F9A742;
text-shadow: 2px 2px black;
}
button:focus {
border: 2px solid #F9A742;
background-color: transparent;
color: #F9A742;
text-shadow: 2px 2px black;
outline: none;
}
/*different classes for the image to rotate it in the direction that the rover points.*/
.north {
transform: rotate(0deg);
}
.east {
transform: rotate(90deg);
}
.south {
transform: rotate(180deg);
}
.west {
transform: rotate(-90deg);
}