initial commit
[emacs-init.git] / nxhtml / nxhtml / doc / wd / grapes / nxhtml-grapes.css
1 /* Grapes, web template for business or for fun */
2 /* By Dave Reeder, www.davereederdesign.com */
3
4 body {margin: 0; padding: 0; background: #213205}
5
6 /* * {margin: 0; padding: 0; border: 0; font-family:  Arial, Helvetica, sans-serif} */
7 * {font-family:  Arial, Helvetica, sans-serif}
8
9 /*----------------------------------------------Basic styles------------------------------------------------*/
10
11 h1, h2, h3, h4 {font-family: Georgia, Georgia, serif; margin: 15px 0 0 5px; color: #fff; font-weight: normal; text-decoration: none}
12 h1 em, h2 em, h3 em, h4 em {font-family: Georgia, Georgia, serif; font-weight: normal}  /* italic words in titles */
13
14 h1 {xposition: absolute; right: 0px; top: 30px; font-size: 2.25em; letter-spacing: 0.1em; line-height: 1.00em; padding-right: 10px; border-right: 15px solid #fff}
15 h1:first-letter {font-family: Georgia, Georgia, serif; font-size: 2.25em} /* styles the first letter of the main title to make it large */
16
17 p#tagline {position: absolute; right: 0px; top: 125px; font-style: italic; color: #648D20; font-size: 0.90em}  /* sits under main title */
18
19 h2 {font-size: 1.40em; letter-spacing: 0.05em}
20 h3 {font-size: 1.00em; letter-spacing: 0.05em}
21
22 p {
23 /*     margin: 10px 10px 0 7px; */
24 }
25 p, ul, ol {
26     font-size: 0.75em; xline-height: 1.60em; color: #000; letter-spacing: 0.05em
27 }
28 dt {font-size: 0.9em;}
29 ul li ul {font-size: 1em;}
30 ul li ul {
31     margin-bottom: 0;
32     margin-top: 0;
33 }
34
35 code {font-family: monospace; font-size: 1.20em; color: #E20000}
36
37 /* p span {font-size: 1.50em; font-weight: bold} /\* shouting words *\/ */
38
39 a:link, a:visited {
40     color: #792533;
41     /* font-weight: bold; */
42     /* I can see why a border-bottom was used, but I do not have time to
43        fix it now */
44     /* text-decoration: none; */
45     /*    border-bottom: 1px solid #792533; */
46 }
47 a:hover, a:active {color: #fff; border-color: #fff}
48
49 #getit a {
50     text-decoration: none;
51 }
52 #getit a:visited {
53     color: #792533;
54 }
55 #getit a:hover, #getit a:active {
56     color: red;
57 }
58 #nxhtml-home a:hover, #nxhtml-home a:active {
59     color: red;
60 }
61 #nxhtml-home {
62     margin-bottom:3em;
63     background-color:white;
64     padding: 0.5em;
65 }
66
67 nul {list-style: inside square} /* general lists */
68 nul ul {list-style: inside circle} /* general lists */
69
70 acronym {font-weight: bold; border-bottom: 1px dashed #000; cursor: help}
71
72 p, li, dt, dd {
73     margin-right: 1em;
74 }
75 dt {
76     margin-top:    1em;
77     margin-bottom: 0.5em;
78 }
79 li ul li {
80     margin-right: 0;
81 }
82 table, td {
83     margin: 0;
84     padding: 0;
85     cell-padding: 0;
86     //font-size:0.9em;
87 }
88
89 li p {
90     font-size: 1em;
91 }
92
93 /*-----------------------------------------------Layout DIVS------------------------------------------------*/
94
95 #xgetit {
96     font-size: 0.6em;
97     float: left;
98     width: 20em;
99     background: white;
100     text-decoration: none;
101     padding: 0.5em;
102     padding-left: 1em;
103     margin-left: 1em;
104     margin-top: 1em;
105 }
106 /* * { text-decoration: none; } */
107 #container {  /* keeps everything together */
108     position: absolute;
109     margin: 0 auto;
110     margin-top: 0;
111     /*               width: 620px; */
112     margin-right: 17%;
113     background: url(images/bkgrnd.gif) 0 0 repeat-y #CCCC33;  /* Important image, do not remove */
114     xoverflow: hidden;
115 }
116
117 #hdr {  /* div containing h1, nav and grapes image */
118     float: left;
119     width: 260px;
120     height: 250px;
121     background: url(images/grapes.jpg) 0 0 no-repeat #CCCC33  /* Image of Grapes */
122 }
123
124 #xmainhdr {
125     xfloat: right;
126     width: 100px;
127     height: 100px;
128 }
129
130 #lftcol table li a {
131     /* text-decoration: none; */
132 }
133 #lftcol {   /* left column */
134     /*             position: absolute; */
135     float: right;
136     /* left: 0px; */
137     /* top: 200px; */
138     /* margin-left: 50px;  /* leave this so that background image lines up with edge of this div */
139     margin-bottom: 50px; /* Quck fix for img menu */
140     margin-right: 1em;
141     background: transparent;
142 }
143
144 #rgtcol {
145     xfloat: left;
146     clear: both;
147     margin-left: 100px;
148     max-width: 600px;
149     padding-bottom: 30px; background: transparent; xoverflow: hidden;  /* right column */
150 }
151
152 .footer {
153     float: left;
154     width: 19em;
155     clear: both;
156 }
157 hr.footer {
158     width: 19em;
159     float: left;
160     text-align: left;
161     margin-bottom: 0;
162     margin-left: 0;
163     padding-left: 0;
164 }
165 p.footer {
166     margin-left: 1em;
167     margin-right: 1em;
168     color: #564;
169     //font-size: 0.8em;
170     //padding: 0;
171     //margin-bottom: 1em;
172     //padding-bottom: 1em;
173 }
174
175 #bttmbar {float: right; text-align: center; font-size: 0.70em; height: 4em; line-height: 4em; width: 570px; background: #CCCC33; border-top: 1px solid #D9D93C}
176
177 #quote {    /* Quote box in left column */
178     float: left;
179     margin: 10px 0 20px 10px;
180     padding: 10px 0;
181     width: 170px;
182     text-align: center;
183     background: url(images/quote.gif) no-repeat 0 0
184 }
185
186 #quote p {color: #444; font-size: 0.80em; font-weight: bold; line-height: 2.00em}  /* Quote box text */
187
188
189 /*---------------------------------------------Main Navigation-----------------------------------------------*/
190
191 ul#nav {   /* navigation list */
192     margin: 53px 0 20px 0; /* the 53px is where the nav begins (margin top) */
193     padding: 0;
194     list-style: none inside
195 }
196
197 ul#nav li {float: left; display: block}
198
199 ul#nav li a {
200     width: 170px;
201     margin: 3px 0 0 0;  /* a little top margin */
202     border: 0;
203     border-left: 10px solid #CCCC33;
204     padding: 10px 5px;
205     font-family: Georgia, Georgia, serif;
206     font-weight: normal;
207     text-decoration: none;
208     display: block;
209     color: #450F1F;
210     background: #D9D93C
211 }
212
213 ul#nav li a#current {border-color: #fff}   /* current page, move id in the xhtml when creating a new page */
214
215 ul#nav li a:hover {background: #9EA219; color: #fff}
216
217 #PAGETOC {
218     float: left;
219 }
220 #PAGETOC * {
221     font-size: 12px;
222 }
223 #PAGETOC ul {
224     margin: 0;
225     margin-top: 1em;
226     padding: 0;
227 }
228 #PAGETOC li {
229     font-size: 1em;
230     list-style-type: none;
231     margin: 0em;
232 }
233 #PAGETOC ul li ul {
234     padding-left: 1.5em;
235     margin: 0em;
236 }
237 #PAGETOC li, #PAGETOC li ul li {
238     font-weight: bold;
239     display: block;
240 }
241 #PAGETOC li ul li {
242     font-weight: 500;
243 }
244
245 #PAGETOC .tochead {
246     font-size: 10px;
247     background-color: #c0ff3e;
248     background-color: #9acd32;
249     background-color: #b3ee3a;
250     padding: 4px;
251 }
252