source: Dev/trunk/css/style.css @ 21

Last change on this file since 21 was 21, checked in by fpvanagthoven, 14 years ago

Polished margins

File size: 2.5 KB
Line 
1/*
2    Document   : style
3    Created on : 12-jul-2011, 15:12:02
4    Author     : fpvanagthoven
5    Description:
6        Purpose of the stylesheet follows.
7*/
8
9/*
10   TODO customize this sample style
11   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
12*/
13
14root {
15    display: block;
16}
17
18body {
19    font-family: sans-serif;
20    background-color: gainsboro;
21    margin: 0;
22    padding: 0;
23}
24
25#wrapper {
26    width: 80%;
27    min-width: 570px;
28    margin: auto;
29}
30
31#header {
32    height: 4em;
33    background-color: slategrey;
34}
35
36#logo {
37    font-size: 2em;
38    font-weight: bold;
39    color: white;
40    text-align: center;
41    line-height: 2em;
42    text-shadow: 2px 2px 2px black;
43}
44
45#content {
46    position: relative;
47    width: 100%;
48    padding: 2em 0;
49}
50
51#menu {
52    width: 20em;
53    margin: auto;
54    padding: 3em;
55    text-align: center;
56    background-color: #E3E3E3;
57    -moz-border-radius: 15px;
58    border-radius: 15px;
59}
60
61/* ##################################################################
62   ===================== STYLESHEET OF GLORY ======================== */
63
64#newSurveyButton{
65    height: 3em;
66    width: 10em;
67}
68
69#surveyCreation {
70    min-height: 10em;
71    background-color: #eee;
72    -moz-border-radius: 15px;
73    border-radius: 15px;
74    -moz-box-shadow: 2px 2px 2px #888;
75    -webkit-box-shadow: 2px 2px 2px #888;
76    box-shadow: 2px 2px 2px #888;
77    padding: 2em;
78}
79
80#surveyTitle {
81    font-size: large;
82    color: gray;
83}
84
85#surveyTitle:hover {
86    color: black;
87}
88
89#surveyDescription {
90    display: block;
91    font-family: sans-serif;
92    color: gray;
93}
94
95#surveyDescription:hover {
96    color: black;
97}
98
99#questionsDiv {
100    margin-top: 2em;
101}
102
103#submitSurvey {
104    display: block;
105    height: 3em;
106    width: 10em;
107    margin-top: 2em;
108}
109
110#addQuestionButton {
111    margin-top: 1em;
112    width: 20em;
113}
114
115#addOpt {
116    margin-left: 1em;
117}
118
119
120.surveyButton {
121 
122    color: gray;
123    background-color: #fff;
124    border: 1px solid #ddd;
125    -moz-border-radius: 8px;
126    border-radius: 8px;
127    -moz-box-shadow: 1px 1px 1px #555;
128    -webkit-box-shadow: 1px 1px 1px #555;
129    box-shadow: 1px 1px 1px #555;
130}
131
132.surveyButton:hover {
133    background-color: white;
134    color: #333;
135    border-color: deepskyblue;
136}
137
138.surveyButton:active {
139    border-style: inset;
140    border-color: orange;
141}
142
143.question { 
144    margin-top: 3em;
145    border-top: 1px solid #ddd;
146}
147
148.questionTable td{
149    width: 8em;
150}
151
152.questionTable th{
153    text-align: left;
154}
155
156label {
157    font-size: small;
158    font-weight: bold;
159    color: gray;
160}
Note: See TracBrowser for help on using the repository browser.