You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
393 lines
8.9 KiB
393 lines
8.9 KiB
|
|
|
|
/*Here is downtown2.css, a variation of downtown.css that I
|
|
made 2 days ago for my W3C people page. As a beginner in CSS
|
|
I was exposing to a colleague how I wanted images to spring out
|
|
on mouse hover without knowing if that was at all feasible ; I was
|
|
pointed to http://diveintomark.org/ and was told "I think it does
|
|
what you want." I was told it was a bit tricky. The style at
|
|
diveintomark.org is exactly the one I was looking for! --05jan2005
|
|
"Based
|
|
on stylesheets from diveintomark.org, copyright (c) 2004 Mark Pilgrim.
|
|
Used here with permission" --18feb2004
|
|
--memento background-color:
|
|
purple: a880bd
|
|
rosy: ecdeff--
|
|
Opera 7.54u1:mac displays a scaled flower in the top square on the lelft.--09jan2005*/
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: verdana, arial, helvetica, sans-serif;
|
|
color: #000000;
|
|
}
|
|
|
|
/*diveintomark.org nifty looking banner on top of page*/
|
|
|
|
.skip {
|
|
display: none;
|
|
}
|
|
|
|
.squares {
|
|
position: absolute;
|
|
width: 688px;
|
|
left: 50%;
|
|
top: 25px;
|
|
margin-left: -344px;
|
|
padding-bottom: 20px;
|
|
height: 180px;
|
|
/*clear: both; evite que ca se superimpose --ne marche que pour les positions statiques*/
|
|
}
|
|
|
|
#a1, #a2, #a3, #a4, #a5, #a6, #a7, #a8, #a9, #a10, #a11, #a12, #a13 {
|
|
top: 0px;
|
|
}
|
|
|
|
#b1, #b2, #b3, #b4, #b5, #b6, #b7, #b8, #b9, #b10, #b11, #b12, #b13 {
|
|
top: 58px;
|
|
}
|
|
|
|
#c1, #c2, #c3, #c4, #c5, #c6, #c7, #c8, #c9, #c10, #c11, #c12, #c13 {
|
|
top: 116px;
|
|
}
|
|
|
|
#a1, #b1, #c1 {
|
|
left: 0px;
|
|
}
|
|
|
|
#a2, #b2, #c2 {
|
|
left: 58px;
|
|
}
|
|
|
|
#a3, #b3, #c3 {
|
|
left: 116px;
|
|
}
|
|
|
|
#a4, #b4, #c4 {
|
|
left: 174px;
|
|
}
|
|
|
|
#a5, #b5, #c5 {
|
|
left: 232px;
|
|
}
|
|
|
|
#a6, #b6, #c6 {
|
|
left: 290px;
|
|
}
|
|
|
|
#a7, #b7, #c7 {
|
|
left: 348px;
|
|
}
|
|
|
|
#a8, #b8, #c8 {
|
|
left: 406px;
|
|
}
|
|
|
|
#a9, #b9, #c9 {
|
|
left: 464px;
|
|
}
|
|
|
|
#a10, #b10, #c10 {
|
|
left: 522px;
|
|
}
|
|
|
|
#a11, #b11, #c11 {
|
|
left: 580px;
|
|
}
|
|
|
|
#a12, #b12, #c12 {
|
|
left: 638px;
|
|
}
|
|
|
|
#a13, #b13, #c13 {
|
|
left: 696px;
|
|
}
|
|
|
|
.squares span, .squares a {
|
|
background-image: url(orchids.jpg);
|
|
}
|
|
|
|
#a1 { background-position: -3px -3px; }
|
|
#a2 { background-position: -61px -3px; }
|
|
#a3 { background-position: -119px -3px; }
|
|
#a4 { background-position: -177px -3px; }
|
|
#a5 { background-position: -235px -3px; }
|
|
#a6 { background-position: -293px -3px; }
|
|
#a7 { background-position: -351px -3px; }
|
|
#a8 { background-position: -409px -3px; }
|
|
#a9 { background-position: -467px -3px; }
|
|
#a10 {background-position: -525px -3px; }
|
|
#a11 {background-position: -583px -3px; }
|
|
#a12 {background-position: -641px -3px; }
|
|
|
|
#b1 { background-position: -3px -61px; }
|
|
#b2 { background-position: -61px -61px; }
|
|
#b3 { background-position: -119px -61px; }
|
|
#b4 { background-position: -177px -61px; }
|
|
#b5 { background-position: -235px -61px; }
|
|
#b6 { background-position: -293px -61px; }
|
|
#b7 { background-position: -351px -61px; }
|
|
#b8 { background-position: -409px -61px; }
|
|
#b9 { background-position: -467px -61px; }
|
|
#b10 {background-position: -525px -61px; }
|
|
#b11 {background-position: -583px -61px; }
|
|
#b12 {background-position: -641px -61px; }
|
|
|
|
#c1 { background-position: -3px -119px; }
|
|
#c2 { background-position: -61px -119px; }
|
|
#c3 { background-position: -119px -119px; }
|
|
#c4 { background-position: -177px -119px; }
|
|
#c5 { background-position: -235px -119px; }
|
|
#c6 { background-position: -293px -119px; }
|
|
#c7 { background-position: -351px -119px; }
|
|
#c8 { background-position: -409px -119px; }
|
|
#c9 { background-position: -467px -119px; }
|
|
#c10 {background-position: -525px -119px; }
|
|
#c11 {background-position: -583px -119px; }
|
|
#c12 {background-position: -641px -119px; }
|
|
|
|
.squares span.q,
|
|
.squares a.t,
|
|
.squares a.nav {
|
|
display: block;
|
|
position: absolute;
|
|
border: 1px solid #ccc;
|
|
width: 50px;
|
|
height: 50px;
|
|
text-align: center;
|
|
background-color: #ecdeff;
|
|
color: #fff;
|
|
}
|
|
|
|
.squares a.t {
|
|
font-family: monospace;
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
background-color: #ecdeff;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
padding-top: 12px;
|
|
height: 38px;
|
|
/*text-shadow: 2px 2px 2px #999;*/
|
|
}
|
|
|
|
.squares a.t:hover {
|
|
margin-top: -3px;
|
|
margin-left: -3px;
|
|
padding: 13px 3px 5px 3px;
|
|
font-size: 28px;
|
|
}
|
|
|
|
.squares span.q:hover {
|
|
margin-top: -3px;
|
|
margin-left: -3px;
|
|
width: 56px;
|
|
height: 56px;
|
|
}
|
|
|
|
htmlbody #a1:hover { background-position: 0 0; }
|
|
htmlbody #a2:hover { background-position: -58px 0; }
|
|
htmlbody #a3:hover { background-position: -116px 0; }
|
|
htmlbody #a4:hover { background-position: -174px 0; }
|
|
htmlbody #a5:hover { background-position: -232px 0; }
|
|
htmlbody #a6:hover { background-position: -290px 0; }
|
|
htmlbody #a7:hover { background-position: -348px 0; }
|
|
htmlbody #a8:hover { background-position: -406px 0; }
|
|
htmlbody #a9:hover { background-position: -464px 0; }
|
|
htmlbody #a10:hover {background-position: -522px 0; }
|
|
htmlbody #a11:hover {background-position: -580px 0; }
|
|
htmlbody #a12:hover {background-position: -638px 0; }
|
|
|
|
htmlbody #b1:hover { background-position: 0 -58px; }
|
|
htmlbody #b2:hover { background-position: -58px -58px; }
|
|
htmlbody #b3:hover { background-position: -116px -58px; }
|
|
htmlbody #b4:hover { background-position: -174px -58px; }
|
|
htmlbody #b5:hover { background-position: -232px -58px; }
|
|
htmlbody #b6:hover { background-position: -290px -58px; }
|
|
htmlbody #b7:hover { background-position: -348px -58px; }
|
|
htmlbody #b8:hover { background-position: -406px -58px; }
|
|
htmlbody #b9:hover { background-position: -464px -58px; }
|
|
htmlbody #b10:hover {background-position: -522px -58px; }
|
|
htmlbody #b11:hover {background-position: -580px -58px; }
|
|
htmlbody #b12:hover {background-position: -638px -58px; }
|
|
|
|
htmlbody #c1:hover { background-position: 0 -116px; }
|
|
htmlbody #c2:hover { background-position: -58px -116px; }
|
|
htmlbody #c3:hover { background-position: -116px -116px; }
|
|
htmlbody #c4:hover { background-position: -174px -116px; }
|
|
htmlbody #c5:hover { background-position: -232px -116px; }
|
|
htmlbody #c6:hover { background-position: -290px -116px; }
|
|
htmlbody #c7:hover { background-position: -348px -116px; }
|
|
htmlbody #c8:hover { background-position: -406px -116px; }
|
|
htmlbody #c9:hover { background-position: -464px -116px; }
|
|
htmlbody #c10:hover {background-position: -522px -116px; }
|
|
htmlbody #c11:hover {background-position: -580px -116px; }
|
|
htmlbody #c12:hover {background-position: -638px -116px; }
|
|
|
|
.squares ul.nav {
|
|
list-style: none;
|
|
}
|
|
.squares a.nav {
|
|
text-decoration: none;
|
|
background-color: #ecdeff;
|
|
color: #fff;
|
|
padding-top: 19px;
|
|
height: 31px;
|
|
font-size: 11px;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.squares a.nav:hover {
|
|
background-color: #ecdeff;
|
|
color: #fff;
|
|
margin-top: -3px;
|
|
margin-left: -3px;
|
|
padding: 20px 3px 5px 3px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.squares a.navcontact,
|
|
.squares a.navwhat,
|
|
.squares a.navwho,
|
|
.squares a.navlinks,
|
|
.squares a.navfun {
|
|
background-color: #a880bd;
|
|
color: #fff;
|
|
}
|
|
|
|
/* For the pullquote or other text directly under the navigation bar. */
|
|
|
|
#headline {
|
|
font-size: .65em;
|
|
padding-top: 10px;
|
|
text-align: justify;
|
|
background-color: #ecdeff;
|
|
padding-left: 100px;
|
|
padding-right: 100px;
|
|
padding-bottom: 4px;
|
|
margin-left: 110px;
|
|
margin-right: 110px;
|
|
margin-bottom: 0;
|
|
line-height: 1.5em;
|
|
margin-top: 200px;
|
|
border-top: 10px solid white; }
|
|
|
|
/* For the byline on the pullquote. */
|
|
|
|
p.byline {
|
|
text-align: right;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* Banner across top of page that says the name of the whole site */
|
|
|
|
#main-title {
|
|
font-size: 0.8em;
|
|
margin-bottom: 0px;
|
|
margin-left: 110px;
|
|
margin-right: 110px;
|
|
text-align: left;
|
|
margin-top: 0px;
|
|
padding-bottom: 8px;
|
|
font-weight: bold;
|
|
padding-top: 8px;
|
|
padding-left: 50px;
|
|
background-color: #a880bd;
|
|
color: #ffffff;
|
|
border-top: 1px #000000 solid;
|
|
border-bottom: 1px #000000 solid;
|
|
letter-spacing: 0.1em; }
|
|
|
|
|
|
/* Contains all the main body of text on the page, including the h2 elements. */
|
|
|
|
h1 {
|
|
margin-left: 110px;
|
|
font-size: .8em;
|
|
padding-bottom: 3px;
|
|
padding-top: 23px;
|
|
padding-left: 50px;
|
|
padding-right: 50px;
|
|
border-bottom: 1px #a880bd solid;
|
|
font-weight: normal;
|
|
background-color: #ecdeff;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
top: 0px;
|
|
margin-right: 110px;
|
|
letter-spacing: 0.1em; }
|
|
|
|
h2 {
|
|
padding-bottom: 3px;
|
|
padding-right: 0;
|
|
color: #000000;
|
|
border-bottom: 1px #000000 solid;
|
|
font-weight: normal;
|
|
margin-left: 50px;
|
|
margin-right: 50px;
|
|
font-size: 1em;
|
|
padding-top: 10px;
|
|
letter-spacing: 0.1em; }
|
|
|
|
#main-text {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
margin-left: 110px;
|
|
margin-right: 110px;
|
|
font-size: .7em;
|
|
line-height: 1.8em;
|
|
background-color: #ecdeff;
|
|
}
|
|
|
|
#main-text p {
|
|
text-align: justify;
|
|
margin-left: 50px;
|
|
margin-right: 50px;
|
|
}
|
|
|
|
p, ul, ol, table {
|
|
margin-top: 17px;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
ol, ul {
|
|
margin-left: 75px;
|
|
margin-right: 75px;
|
|
}
|
|
|
|
a:link, a:visited {
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
color: #854e92;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Styles for the footer at the bottom of the page */
|
|
|
|
#footer {
|
|
text-align: center;
|
|
padding-bottom: 8px;
|
|
font-size: .65em;
|
|
margin-top: 20px;
|
|
padding-right: 50px;
|
|
background-color: #a880bd;
|
|
color: #ffffff;
|
|
font-weight: bold;
|
|
border-top: 1px #000000 solid;
|
|
border-bottom: 1px #000000 solid;
|
|
margin-bottom: 20px;
|
|
padding-top: 8px;
|
|
padding-left: 50px;
|
|
}
|
|
|
|
#footer a:link, #footer a:visited {
|
|
color: #ffffff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#footer a:hover {
|
|
text-decoration: underline;
|
|
color: #ffffff;
|
|
}
|