-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlayout1.css
More file actions
193 lines (172 loc) · 3.86 KB
/
layout1.css
File metadata and controls
193 lines (172 loc) · 3.86 KB
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
/* Originally cribbed from http://bluerobot.com/web/layouts/layout1.html
* However, people who merge the hotlink colors are evil and should be killed,
* so I removed that. Fixing font sizes in pixels is evil, too; is much as
* possible I has move all dimensions to be relative to the associated font
* size. Finally, light grey is a great background color, but lousy for
* foreground text on white.
*/
body {
margin:0;
padding:0;
font-family: helvetica, sans-serif;
color:#333;
background-color:white;
}
p {
font-family: helvetica, sans-serif;
margin:0 0 1em 0;
padding:0;
}
#Content>p {text-indent:2em; margin:0;}
#Content>p+p {text-indent:2em; margin-top: 1ex;}
h1 {
font-size: x-large;
margin-bottom: 0.25ex;
}
h2 {
font-size: large;
margin-bottom: 0.25ex;
}
a {
text-decoration:none;
font-family:verdana, arial, helvetica, sans-serif;
}
a:hover {background-color:#ccc;}
#layout-banner {
/* background-color: #73a0c5;*/
background-color: #eee;
color: #333;
font-family: sans-serif;
text-align: left;
padding: 0.8em 20px;
border-style:solid;
border-color:black;
border-width:1px 0;
}
#layout-title {
font-family: monospace;
font-size: 3.5em;
font-weight: bold;
letter-spacing: 0.1em;
margin: 0;
}
#Header {
font-weight:600;
font-size: x-large; /* should be same as an h1 header */
margin:20px 0 10px 0;
padding:0 0 2.0ex 20px;
border-style:solid;
border-color:black;
border-width:1px 0;
background-color:#eee;
/* Here is the ugly brilliant hack that protects IE5/Win from its own
stupidity. Thanks to Tantek Celik for the hack and to Eric Costello
for publicizing it. IE5/Win incorrectly parses the "\"}"" value,
prematurely closing the style declaration. The incorrect IE5/Win value
is above, while the correct value is below. See
http://glish.com/css/hacks.asp for details. */
voice-family: "\"}\"";
voice-family:inherit;
height:1ex+3px; /* UNTESTED! Was 14px */
}
/* I've heard this called the "be nice to Opera 5" rule. Basically, it
feeds correct length values to user agents that exhibit the parsing
error exploited above yet get the CSS box model right and understand
the CSS2 parent-child selector. ALWAYS include a "be nice to Opera 5"
rule every time you use the Tantek Celik hack (above). */
body>#Header {height:14px;}
#Content {
/* Left margin is menu width + 3em
*/
margin:0 50px 50px 11em;
padding:10px;
}
#Menu {
position:absolute;
top:80px;
left:20px;
width:120px;
padding:0.5em;
background-color:#eee;
border:1px dashed #999;
/* Again, the ugly brilliant hack. */
voice-family: "\"}\"";
voice-family:inherit;
width:8em;
}
/* Again, "be nice to Opera 5". */
body>#Menu {width:8em;}
#layout-menu {
background-color: #eee;
border:1px dashed #999;
/* border-right: 3px solid #eeeeee; */
width: 170px;
padding-top: 0.8em;
padding-left: 20px;
padding-right: 0.8em;
font-size: 1.0em;
font-family: sans-serif;
font-weight: bold;
}
#layout-menu a {
line-height: 2em;
margin-left: 0.5em;
}
#layout-menu a:link, #layout-menu a:visited, #layout-menu a:hover {
/* color: #527bbd;*/
color: #09c;
text-decoration: none;
}
#layout-menu a:hover {
color: #07a;
text-decoration: none;
}
#layout-menu #page-source {
border-top: 2px solid silver;
margin-top: 0.2em;
}
#layout-content {
margin:0px 220px 50px 10px;
padding:10px;
margin-left: 1.0em;
text-align: justify;
}
@media print {
#Content {
/* Left margin is menu width + 3em
*/
margin:0 50px 50px 0;
padding:10px;
}
#Menu {
display: none;
}
#layout-banner {
display: none;
}
#layout-menu {
display: none;
}
}
/* For convenience */
.centered {
text-align: center;
margin-left: auto;
margin-right: auto;
}
.right {
float:right;
margin:0px;
}
.notebox {
background-color:#eee;
border:1px dashed #999;
margin: 15px;
font-size:small;
text-indent: 0;
}
/*
Local Variables:
compile-command: "(cd ~/WWW; upload sitestyle.css)"
End:
*/