-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
130 lines (99 loc) · 1.7 KB
/
styles.css
File metadata and controls
130 lines (99 loc) · 1.7 KB
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
111
112
113
114
115
116
117
118
119
/* styles.css */
body {
text-align: center;
}
#box {
height: 200px;
width: 200px;
background: #fc3;
margin: 0 auto;
text-align: center;
line-height: 200px;
}
.thing {
height: 200px;
width: 200px;
background: #ac3;
margin: 20px auto;
text-align: center;
line-height: 200px;
border-top-left-radius: 200px;
}
button {
background: #933;
color: white;
padding: 10px;
border: solid 2px black;
border-radius: 5px;
font-size: 18px;
}
body#selectors {
text-align: left;
}
body#events {
width: 500px;
margin: 0 auto;
}
form input {
display: inline-block;
margin: 10px 0;
}
#racetrack {
background: url('../img/road.jpg') center left repeat-x;
height: 330px;
border-right: dashed 10px white;
box-sizing: border-box;
margin: 40px 0;
}
.car {
display: block;
position: relative;
}
#car1 { top: 30px; }
#car2 { top: 100px; }
#raceInfoContainer {
width: 80%;
margin: 40px auto 0;
background: #333;
height: 200px;
}
#raceInfoContainer h2 {
color: white;
text-transform: uppercase;
border-bottom: solid 1px white;
padding: 20px 0;
}
.raceInfo {
font-size: 24px;
font-weight: bold;
color: white;
width: 50%;
float: left;
}
.raceInfo span {
display: block;
font-weight: normal;
font-size: 18px;
color: white;
}
#raceInfo1 {
color: #77b82f;
}
#raceInfo2 {
color: #b82f3e;
}
input[type="button"] {
background: #77b72f;
color: white;
padding: 10px 20px;
border: solid 1px #444;
}
input#reset {
background: #fc3;
color: #444;
}
.clearfix:after {
content:"";
display: table;
clear: both;
}