-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
153 lines (133 loc) · 3 KB
/
main.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
* {
box-sizing: border-box; }
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%; }
html {
font: 1.4em/1.7 "Lato", sans-serif;
font-weight: 400; }
body {
background-image: url(meeting.jpg);
background-size: cover;
background-attachment: fixed; }
section {
margin: 0 auto;
padding: 1em 2em 1.5em 2em;
max-width: 40em;
min-height: 100%;
color: white;
background: rgba(0, 0, 0, 0.85); }
h1 {
font: 3em/1 "Noticia Text", serif;
z-index: 100; }
h1:before {
display: block;
position: relative;
z-index: 1;
top: 100%;
content: '';
width: 100%;
height: 0.1em;
background-color: coral; }
h2 {
font: 1.9/1 "Lato", san-serif;
font-weight: 700; }
p {
margin-bottom: 0.5em; }
/* Button classes */
.button {
display: inline-block;
padding: 0.2em 0.5em;
font: 1.2em/1 "Lato", sans-serif;
color: coral;
background: rgba(255, 255, 255, 0.9);
border: 2px solid coral;
border-radius: 1em; }
.button:hover {
border: 2px solid white;
background: rgba(0, 0, 0, 0.2);
color: white; }
.button.center {
margin: 0 auto; }
.container {
margin: 0 auto;
max-width: 100%; }
#order-form {
display: inline-block;
margin: 0 auto; }
input {
text-align: center;
float: left;
clear: none;
margin: 12px;
width: 100;
height: 2em;
font-size: 1em;
border-radius: 0em;
padding: 0.3em 1em;
color: white;
background-color: rgba(0, 0, 0, 0.8);
border: 1px solid white; }
#order-submit {
width: 12em; }
.mile-supplies, .results .order ul {
padding: 0;
margin: 0;
list-style: none;
text-align: center; }
.mile-supplies li, .results .order ul li {
display: inline-block;
margin: 0.1em;
padding: 0.8em 1em;
border: 1px solid grey;
border-radius: 1em;
background-color: black;
color: white; }
.mile-supplies li.reward, .results .order ul li.reward {
background-color: rgba(100, 100, 0, 0.7); }
.mile-supplies li em, .results .order ul li em {
color: coral; }
#price-table {
width: 100%;
margin: 0 0 1em 0; }
#price-table th {
font-family: "Noticia Text", serif;
color: rgba(255, 255, 255, 0.8); }
#price-table td {
text-align: center; }
#price-table tr:nth-child(even) {
background-color: rgba(100, 100, 100, 0.3); }
.results {
display: inline-block;
width: 45%;
padding: 0.3em;
margin-top: -3em;
float: left; }
.results:nth-child(odd) {
margin-left: 1em; }
.results .order ul {
font-size: 0.6em; }
.win-title {
font: 0.5em/1 'Lato', sans-serif;
font-weight: 100;
margin: 0.5em;
padding: 0.5em;
vertical-align: top;
background-color: rgba(0, 100, 30, 0.7);
border-radius: 1em;
border: 2px solid #00641e; }
.revenue {
font: 2em/1 "Noticia Text", serif;
margin: 0.2em 0 0.2em 0;
text-align: center;
color: #646400;
text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.4); }
/* Helper classes for toggling visibility */
.visible {
display: block;
visibility: visible; }
.hidden {
display: none;
visibility: hidden; }