Bladeren bron

Added new style sheet

jorgen_falk 18 jaren geleden
bovenliggende
commit
2edc8cc697
1 gewijzigde bestanden met toevoegingen van 200 en 217 verwijderingen
  1. 200
    217
      dddsample/src/main/webapp/style.css

+ 200
- 217
dddsample/src/main/webapp/style.css Bestand weergeven

@@ -1,218 +1,201 @@
1
-/* css Zen Garden default style v1.02 */
2
-/* css released under Creative Commons License - http://creativecommons.org/licenses/by-nc-sa/1.0/  */
3
-
4
-/* This file based on 'Tranquille' by Dave Shea */
5
-/* You may use this file as a foundation for any new work, but you may find it easier to start from scratch. */
6
-/* Not all elements are defined in this file, so you'll most likely want to refer to the xhtml as well. */
7
-
8
-/* Your images should be linked as if the CSS file sits in the same folder as the images. ie. no paths. */
9
-
10
-
11
-/* basic elements */
12
-html {
13
-	margin: 0;
14
-	padding: 0;
15
-	}
16
-body { 
17
-	font: 75% georgia, sans-serif;
18
-	line-height: 1.88889;
19
-	color: #555753; 
20
-	background: #fff url(blossoms.jpg) no-repeat bottom right; 
21
-	margin: 0; 
22
-	padding: 0;
23
-	}
24
-p { 
25
-	margin-top: 0; 
26
-	text-align: justify;
27
-	}
28
-h3 { 
29
-	font: italic normal 1.4em georgia, sans-serif;
30
-	letter-spacing: 1px; 
31
-	margin-bottom: 0; 
32
-	color: #7D775C;
33
-	}
34
-a:link { 
35
-	font-weight: bold; 
36
-	text-decoration: none; 
37
-	color: #B7A5DF;
38
-	}
39
-a:visited { 
40
-	font-weight: bold; 
41
-	text-decoration: none; 
42
-	color: #D4CDDC;
43
-	}
44
-a:hover, a:active { 
45
-	text-decoration: underline; 
46
-	color: #9685BA;
47
-	}
48
-acronym {
49
-	border-bottom: none;
50
-	}
51
-
52
-
53
-/* specific divs */
54
-#container { 
55
-	background: url(zen-bg.jpg) no-repeat top left; 
56
-	padding: 0 175px 0 110px;  
57
-	margin: 0; 
58
-	position: relative;
59
-	}
60
-	
61
-#form {
62
-	padding: 0 175px 0 110px; 
63
-	font: 10pt/22pt georgia;
64
-	}	
65
-
66
-#intro { 
67
-	min-width: 470px;
68
-	}
69
-	
1
+
2
+/*********************************************************
3
+   HTML Elements
4
+ *********************************************************/
5
+
6
+html,
7
+body {
8
+  height: 100%;
9
+}
10
+
11
+body {
12
+  margin: 0;
13
+  padding: 0;
14
+  font: 400 0.7em verdana, arial, sans-serif;
15
+  line-height: 170%;
16
+  
17
+  color: #555;
18
+}
19
+
20
+
21
+/* Headers */
22
+h1, h2, h3, h4, h5, h6 {
23
+  margin: 0 0 10px 0;
24
+  padding: 0;
25
+}
26
+
27
+
28
+h1 {
29
+  padding-bottom: 0.2em;
30
+
31
+  font: 400 1.6em arial, sans-serif;
32
+  color: #536C71;
33
+  border-bottom: 6px solid #ddd;
34
+}
35
+
36
+h2 {
37
+  font-size: 1.2em;
38
+  color: #586B7A;
39
+}
40
+
41
+h3 {
42
+  text-transform: uppercase;
43
+  font-size: 0.9em;
44
+  color: #5D6F73;
45
+}
46
+
47
+h4 {
48
+  font-size: 0.85em;
49
+}
50
+
51
+h5 {
52
+  font-size: 0.8em;
53
+}
54
+
55
+
56
+/* Links */
57
+a {
58
+  text-decoration: none;
59
+  color: #3B5D77;
60
+}
61
+
62
+a:hover {
63
+  color: #668FA3;
64
+}
65
+
66
+a img {
67
+  border: 0;
68
+}
69
+
70
+a img.border {  
71
+  border: 1px solid #000;
72
+}
73
+
74
+a:hover img.border {  
75
+  /* Fixes IE bug - IE doesn't correctly apply the style on a:hover so need to mask it */
76
+  border: 1px solid #668FA3 !important;
77
+  border: 1px solid #FC3307;
78
+}
79
+
80
+
81
+
82
+/* Images */
83
+img.floatRight {
84
+  margin: 5px 0 10px 10px;
85
+}
86
+
87
+img.floatLeft {
88
+  margin: 5px 10px 10px 0;
89
+}
90
+
91
+
92
+
93
+/* Lists */
94
+ul li {
95
+}
96
+
97
+ol li {
98
+  font-weight: bold;
99
+  color: #668FA3;
100
+}
101
+
102
+ol li span {
103
+  font-weight: normal;
104
+  color: #444;
105
+}
106
+
107
+
108
+
109
+/* Blockquote */
110
+blockquote {
111
+  margin: 0;
112
+  padding: 0 20px;
113
+  background: #eee;
114
+  border-top: 1px solid #ccc;
115
+  border-bottom: 1px solid #ccc;
116
+}
117
+
118
+
119
+
120
+/**************************************************************
121
+   Form Elements
122
+ **************************************************************/
123
+
124
+form {
125
+  padding: 0;
126
+  margin: 0;
127
+  text-align: center;
128
+}
129
+
130
+/* If you're finding the input elements get pushed down, increase the width */
131
+label {
132
+  float: left;
133
+  width: 25%;
134
+  vertical-align: top;
135
+}
136
+
137
+input,
138
+textarea,
139
+select {
140
+  padding: 1px;
141
+  font: 400 1em verdana, sans-serif;
142
+  color: #999;
143
+  background: #EEE;
144
+  border: 1px solid #CCC;
145
+}
146
+
147
+input:focus,
148
+input:hover,
149
+textarea:focus,
150
+textarea:hover,
151
+select:focus,
152
+select:hover {
153
+  color: #000;
154
+  background: #E7F1F3;
155
+  border: 1px solid #888;
156
+}
157
+
158
+input.noBorder,
159
+input:focus.noBorder,
160
+input:hover.noBorder {
161
+  padding: 0;
162
+  border: 0;
163
+}
164
+
165
+input.button {
166
+  padding: 2px 5px;
167
+
168
+  font: 400 0.9em verdana, serif;
169
+  cursor: pointer;
170
+
171
+  color: #fff;
172
+  background: #ccc;
173
+  border-width: 1px;
174
+  border-style: solid;
175
+  border-color: #888 #888 #8880 #888;
176
+}
177
+
178
+input.radio {
179
+  background: none;
180
+  border: 0px;
181
+}
182
+
183
+
184
+
185
+
186
+/**************************************************************
187
+   Custom div
188
+ **************************************************************/
189
+#container {
190
+  text-align: left;
191
+  margin-left: 200px;
192
+  margin-right: 500px;
193
+}
194
+
195
+#search {
196
+  border-bottom: 6px solid #ddd;
197
+}
198
+
70 199
 #result {
71
-	padding: 0 175px 0 110px; 
72
-	font: italic 10pt/22pt georgia; 
73
-	text-align:right;
74
-	}
75
-#currentLocation{
76
-	font: bold 10pt/22pt georgia;
77
-	position: relative;
78
-	}
79
-#result table{
80
-	text-align:left;
81
-	font: 10pt/22pt georgia;
82
-	}
83
-
84
-/* using an image to replace text in an h1. This trick courtesy Douglas Bowman, http://www.stopdesign.com/articles/css/replace-text/ */
85
-#pageHeader h1 { 
86
-	background: transparent url(h1.gif) no-repeat top left; 
87
-	margin-top: 10px; 
88
-	width: 219px; 
89
-	height: 87px; 
90
-	float: left;
91
-	}
92
-#pageHeader h1 span {
93
-	display:none
94
-	}
95
-#pageHeader h2 { 
96
-	background: transparent url(h2.gif) no-repeat top left; 
97
-	margin-top: 58px; 
98
-	margin-bottom: 40px; 
99
-	width: 200px; 
100
-	height: 18px; 
101
-	float: right;
102
-	}
103
-#pageHeader h2 span {
104
-	display:none
105
-	}
106
-#pageHeader {
107
-	padding-top: 20px;
108
-}
109
-
110
-#quickSummary {
111
-	clear:both; 
112
-	margin: 20px 20px 20px 10px; 
113
-	width: 160px; 
114
-	float: left;
115
-	}
116
-#quickSummary p {
117
-	font: italic 10pt/22pt georgia; 
118
-	text-align:center;
119
-	}
120
-
121
-#preamble {
122
-	clear: right; 
123
-	padding: 0px 10px 0 10px;
124
-	}
125
-#supportingText {	
126
-	padding-left: 10px; 
127
-	margin-bottom: 40px;
128
-	}
129
-
130
-#footer { 
131
-	text-align: center; 
132
-	}
133
-#footer a:link, #footer a:visited { 
134
-	margin-right: 20px; 
135
-	}
136
-
137
-#linkList {
138
-	margin-left: 600px; 
139
-	position: absolute; 
140
-	top: 0; 
141
-	right: 0;
142
-	}
143
-#linkList2 { 
144
-	font: 10px verdana, sans-serif; 
145
-	background: transparent url(paper-bg.jpg) top left repeat-y; 
146
-	padding: 10px; 
147
-	margin-top: 150px; 
148
-	width: 130px; 
149
-	}
150
-#linkList h3.select { 
151
-	background: transparent url(h3.gif) no-repeat top left; 
152
-	margin: 10px 0 5px 0; 
153
-	width: 97px; 
154
-	height: 16px; 
155
-	}
156
-#linkList h3.select span {
157
-	display:none
158
-	}
159
-#linkList h3.favorites { 
160
-	background: transparent url(h4.gif) no-repeat top left; 
161
-	margin: 25px 0 5px 0; 
162
-	width: 60px; 
163
-	height: 18px; 
164
-	}
165
-#linkList h3.favorites span {
166
-	display:none
167
-	}
168
-#linkList h3.archives { 
169
-	background: transparent url(h5.gif) no-repeat top left; 
170
-	margin: 25px 0 5px 0; 
171
-	width:57px; 
172
-	height: 14px; 
173
-	}
174
-#linkList h3.archives span {
175
-	display:none
176
-	}
177
-#linkList h3.resources { 
178
-	background: transparent url(h6.gif) no-repeat top left; 
179
-	margin: 25px 0 5px 0; 
180
-	width:63px; 
181
-	height: 10px; 
182
-	}
183
-#linkList h3.resources span {
184
-	display:none
185
-	}
186
-
187
-
188
-#linkList ul {
189
-	margin: 0;
190
-	padding: 0;
191
-	}
192
-#linkList li {
193
-	line-height: 2.5ex; 
194
-	background: transparent url(cr1.gif) no-repeat top center; 
195
-	display: block; 
196
-	padding-top: 5px; 
197
-	margin-bottom: 5px;
198
-	list-style-type: none;
199
-	}
200
-#linkList li a:link {
201
-	color: #988F5E;
202
-	}
203
-#linkList li a:visited {
204
-	color: #B3AE94;
205
-	}
206
-
207
-
208
-#extraDiv1 {
209
-	background: transparent url(cr2.gif) top left no-repeat; 
210
-	position: absolute; 
211
-	top: 40px; 
212
-	right: 0; 
213
-	width: 148px; 
214
-	height: 110px;
215
-	}
216
-.accesskey {
217
-	text-decoration: underline;
218
-	}
200
+  font-size: 1.2em;
201
+}