Change the color scheme to be more IHM rules compliant.
[Project_webapp.git] / styles / airpolytech.css
... / ...
CommitLineData
1body {
2 background-color: white;
3 color: black;
4 font-family: 'Encode Sans Semi Condensed', Arial, Helvetica, Verdana, sans-serif;
5 display: block;
6 text-align: center;
7 line-height: 2em;
8 margin: 2em;
9}
10
11a, a:link a:active {
12 text-decoration: none;
13 color: #B11508;
14}
15
16a:visited {
17 text-decoration: none;
18 color: #B11508;
19}
20
21a:hover {
22 text-decoration: none;
23 color: #ff0000;
24}
25
26form {
27 width: 680px;
28 margin: 0px auto;
29 line-height: 2.5em;
30}
31
32form#login {
33 width: 680px;
34}
35
36form#search {
37 width: 620px;
38}
39
40form#register {
41 width: 720px;
42}
43
44form#fpassword {
45 width: 720px;
46}
47
48form#booking {
49 width: 250px;
50}
51
52form#reservations {
53 width: 130px;
54}
55
56label, input, select {
57 /* in order to define widths */
58 display: inline-block;
59}
60
61label {
62 width: 30%;
63 /* positions the label text beside the input */
64 text-align: right;
65}
66
67label+input {
68 width: 30%;
69 /* large margin-right to force the next element to the new-line
70 and margin-left to create a gutter between the label and input */
71 margin: 0 30% 0 4%;
72}
73
74label+select {
75 width: 30%;
76 /* large margin-right to force the next element to the new-line
77 and margin-left to create a gutter between the label and select */
78 margin: 0 30% 0 4%;
79}
80
81/* only the submit button is matched by this selector,
82 but to be sure you could use an id or class for that button */
83input+input {
84 float: right;
85}
86
87table {
88 margin: 0px auto;
89 width: 100%;
90 vertical-align: middle;
91}
92
93table#taccount {
94 width: 30%;
95}
96
97table#home {
98 font-size: 3em;
99 line-height: 2.5em;
100}
101
102table#search {
103 border: none;
104}
105
106table#search tr:nth-child(even) {
107 background-color: #bfbfbf;
108}
109
110table#search tr:nth-child(odd) {
111 background-color: #dedede;
112}
113
114table#reservations {
115 border: none;
116}
117
118table#reservations tr:nth-child(even) {
119 background-color: #bfbfbf;
120}
121
122table#reservations tr:nth-child(odd) {
123 background-color: #dedede;
124}
125
126#header {
127 font-size: 4em;
128 text-align: center;
129 margin-top: 1em;
130 margin-bottom: 1em;
131}
132
133#account {
134 text-align: right;
135 line-height: 1.2em;
136}
137
138#menu {
139 font-size: 2em;
140 text-align: center;
141 margin-top: 1em;
142 margin-bottom: 1em;
143}
144
145#footer {
146 text-align: center;
147 margin-top: 1em;
148 margin-bottom: 1em;
149}