-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
161 lines (133 loc) · 2.82 KB
/
style.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
154
155
156
157
158
159
160
161
body {
font-family: Verdana, serif;
background-color: #F8F7C4;
/* body has default margin */
margin:0;
}
#header {
background-color:#FCF2E6;
background-image:url('pictures/wernsbach.jpg');
background-repeat: no-repeat;
background-position: center center;
height:102px;
border-bottom-color: #505D00;
border-bottom-style: solid;
border-bottom-width: 2px;
}
#header h1 {
text-align:center;
color:#F6F2EC;
/* h1 has default margin */
margin-top:0;
margin-bottom:0;
/* vertical middle alignmnet */
padding-top:20px;
}
#menu {
font-size: small;
font-weight: bold;
height: 26px;
}
/* ul have default padding */
#menu ul {
padding:0;
margin:0;
background-color: #505D00;
}
#menu li {
list-style: none;
display: block;
}
/* Places the menu in the middle */
#menu .menu {
height:26px;
width:800px;
margin-top: 0;
margin-bottom: 0;
margin-right: auto;
margin-left: auto;
}
#menu .menu > li {
border-right: 1px solid #FCF2E6;
float:left;
position: relative;
/* vertical middle alignment of text */
line-height:25px;
height:26px;
}
/* For the 2nd level menu */
#menu .menu li ul {
position: absolute;
}
#menu .menu li ul li {
float :none;
border-top: 1px solid #FCF2E6;
}
#menu .menu a {
color: #FCF2E6;
text-decoration: none;
height:26px;
display:block;
text-align:left;
padding-right: 17px;
padding-left: 7px;
border-left:10px solid #505D00;
}
#menu .menu a:hover {
background-color: #979F46;
border-left-color: #5D3E1B;
}
div.content {
background-color: #FCF2E6;
border: 3px dashed #8D9719;
padding: 0 20px 10px;
width:754px;
margin-top: 10px;
margin-right: auto;
margin-left: auto;
}
div.content h2 {
font-size: large;
border-bottom: 1px solid #A77272;
}
div.content h3 {
margin: 0;
font-size: medium;
}
div.content p {
margin-bottom: 10px;
font-size: small;
padding-left: 40px;
}
div.content img {
float:right;
border:0;
}
/* For the menu hover */
ul.menu li ul {display: none}
ul.menu li:hover ul {display: block}
/* The box on the right for the calendar */
div.rightcol {
background-color:#FCF2E6;
border:dashed 3px #8D9719;
width:200px;
/* Position the box absolutely in the middle.
* Without margin-left it would overlap now with the content box
*/
position: absolute;
left: 50%;
/* This is the ca. the half of div.content.width so its aligned correctly on
* the right side of div.content
*/
margin-left: 420px;
margin-top: 10px;
padding:0 8px 7px;
}
/* Some space between data calendar entries */
div.rightcol ul li {
padding-top: 10px;
}
/* Align the calendar heading to middle */
div.rightcol h3 {
text-align: center;
}