expoweb/css/main2.css

149 lines
3.6 KiB
CSS
Raw Normal View History

/*This CSS file has been edited for CUCC - Expo website by A. Zabala on 2011*/
2011-04-28 15:54:43 +01:00
/* code of colours
2011-05-01 14:49:30 +01:00
#C8E1E2 very light
2011-04-28 15:54:43 +01:00
#99CCCC light blue
#008787 darker blue for fonts
#004C4C very dark
2011-04-28 15:54:43 +01:00
*/
body {
background: #fff url(../images/style/bg-cambridge-caving-expedition.png) repeat-x 0 0;
color: #000;
font-family: 'Palatino Linotype','Book Antiqua',Palatino,serif;
font-size: 12pt;
margin-left: 275px;
2011-04-28 15:54:43 +01:00
text-align: justify;
max-width: 800px;
}
body#homepage {
margin-left: auto;
margin: auto;
}
.caption {
color: #004C4C;
font-family: Tahoma,'Trebuchet MS','Lucida Grande',Verdana,Arial,Sans-Serif;
font-size: 8pt;
font-weight: bold;
margin-bottom: 0;
2011-04-28 15:54:43 +01:00
}
.centre { text-align: center; }
.plus2pt { font-size: 160%; }
2011-04-28 15:54:43 +01:00
a {
color: #008787;
}
a:hover {
color: #d7442b;
}
a:link, a:visited { text-decoration: none; }
div.centre img { vertical-align: middle; }
2011-05-01 14:49:30 +01:00
hr {
border: 1px solid #99CCCC;
margin: 25px 0;
}
2011-04-28 15:54:43 +01:00
/*HEADINGS*/
h1, h2, h3, h4 {
font-family: Tahoma,'Trebuchet MS','Lucida Grande',Verdana,Arial,Sans-Serif;
}
h1 { text-align: center; font-size: 210%;
2011-04-28 15:54:43 +01:00
line-height: 100%; margin: 35px 0 55px;}
h2, h3, h4 {
color: #008787;
}
h2#tophead {
text-align: center;
margin: 10px 0 -22px;
}
2011-04-28 15:54:43 +01:00
/*IMAGES*/
img.onright, div.onright { vertical-align: top; float: right;
margin-left: 10pt; margin-bottom: 10pt;
margin-right: 8pt; }
img.onleft, div.onleft { vertical-align: top; float: left;
margin-right: 10pt; margin-bottom: 10pt;
margin-left: 8pt; }
img.icon { vertical-align: middle; }
img.aligntop { vertical-align: top; }
table.imgtable { margin-left: auto; margin-right: auto; }
table.imgtable td { vertical-align: middle; text-align: center;
padding: 10px; }
2011-04-28 15:54:43 +01:00
/*Menu*/
.menu,
ul#links {
background: #fff url(../images/style/menu-main.png) no-repeat 0 0;
clear: both;
2011-04-28 15:54:43 +01:00
border: 2px solid #99CCCC;
position: absolute;
left: 35px;
2011-04-28 15:54:43 +01:00
font-family: Tahoma,'Trebuchet MS','Lucida Grande',Verdana,Arial,Sans-Serif;
font-size: 75%;
color: #888;
width: 150px;
2011-05-01 14:49:30 +01:00
padding: 32px 20px 15px;
text-align: left;
2011-04-28 15:54:43 +01:00
}
.menu {
top: 20px;
}
ul#links {
background-image: url(../images/style/menu-second.png);
/*border-color: #C8E1E2;
border-style: dotted;*/
top: 20px /*300px; to be set once the menu is in all pages*/
}
2011-04-28 15:54:43 +01:00
p#topheader {
font-weight: bold;
margin: 10px 0 0;
}
.menu ul {
margin: 0 0 0 15px;
2011-04-28 15:54:43 +01:00
padding: 0;
}
.menu li,
ul#links li {
2011-04-28 15:54:43 +01:00
margin: 5px 0;
list-style: square outside none;
2011-04-28 15:54:43 +01:00
}
ul#links li {
margin: 5px 0 0 15px;
}
ul#links li ul {
padding: 5px 0 5px 10px;
}
ul#links li li {
margin: 0 0 0 5px;
}
.menu li a:hover,
ul#links li a:hover {
2011-04-28 15:54:43 +01:00
border-bottom: 2px solid #d7442b;
}
/* "Traditional" table with borders.*/
2011-05-01 14:49:30 +01:00
table.trad {
border-collapse: collapse;
}
table.trad, table.trad th, table.trad td {
border: 1px solid #008787;
margin: 0px;
}
table.trad th {
background-color: #C8E1E2;
}
table.trad td {
padding: 5px;
border-color: #99CCCC;
}
/*table.trad { margin: 0pt; border: 1px solid #000;
border-color: #c0c0c0 #8d8d8d #8d8d8d #c0c0c0; }*/
table.bigfatborder { border-width: 6px; }
2011-05-01 14:49:30 +01:00
/*table.trad td, table.trad th { margin: 0pt; border: 1px solid #aaa;
border-color: #8d8d8d #c0c0c0 #c0c0c0 #8d8d8d; }*/
/* You are not expected to understand this. It is necessary. */
table.centre { margin-left: auto; margin-right: auto; }
2004-05-07 15:17:42 +01:00
table.centre td { text-align: left; }
table#cavepage { width: 100%; font-size: 160%; }
table#cavepage th#kat_no { text-align: left; width: 25%; }
table#cavepage th#name { text-align: center; width: 50%; }
table#cavepage th#status { text-align: right; width: 25%; }