X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=styles%2Fairpolytech.css;h=a5e5ebc4062f4462d0daa2cc95f71d01f10df0f7;hb=01135b89a6848059df608e8c23e8684233772b4f;hp=3093507bf55365b94c7203b89e200cd79273d052;hpb=fb6aedc24c1522dd61aabe01263eb88f69accee0;p=Project_webapp.git diff --git a/styles/airpolytech.css b/styles/airpolytech.css index 3093507..a5e5ebc 100644 --- a/styles/airpolytech.css +++ b/styles/airpolytech.css @@ -3,14 +3,115 @@ body { color: #eeeeee; font-family: 'Encode Sans Semi Condensed', Arial, Helvetica, Verdana, sans-serif; display: block; - margin: 8px; + text-align: center; + line-height: 2em; + margin: 2em; } -#footer { - text-align: center; +a, a:link a:active { + text-decoration: none; + color: #B11508; +} + +a:visited { + text-decoration: none; + color: #B11508; +} + +a:hover { + text-decoration: none; + color: #909090; +} + +form { + width: 680px; + margin: 0px auto; + line-height: 2.5em; +} + +form#login { + width: 680px; +} + +form#search { + width: 620px; +} + +form#register { + width: 720px; +} + +form#booking { + width: 250px; +} + +label, input { + /* in order to define widths */ + display: inline-block; +} + +label { + width: 30%; + /* positions the label text beside the input */ + text-align: right; +} + +label + input { + width: 30%; + /* large margin-right to force the next element to the new-line + and margin-left to create a gutter between the label and input */ + margin: 0 30% 0 4%; +} + +/* only the submit button is matched by this selector, + but to be sure you could use an id or class for that button */ +input + input { + float: right; +} + +table { + margin: 0px auto; + width: 100%; +} + +table#home { + font-size: 3em; + line-height: 2.5em; +} + +table#search { + border: none; +} + +table#search tr:nth-child(even) { + background-color: #675b5b; +} + +table#search tr:nth-child(odd) { + background-color: #474343; } #header { - font-size: 44px; + font-size: 4em; + text-align: center; + margin-top: 1em; + margin-bottom: 1em; +} + +#account { + text-align: right; + line-height: 1.2em; +} + +#menu { + font-size: 2em; + text-align: center; + margin-top: 1em; + margin-bottom: 1em; +} + +#footer { text-align: center; + margin-top: 1em; + margin-bottom: 1em; }