expoweb/css/main2.css

294 lines
6.4 KiB
CSS
Raw Normal View History

/*This CSS file has been edited for CUCC - Expo website by A. Zabala on 2011*/
2011-09-27 14:42:49 +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;
}
2011-10-05 11:05:33 +01:00
a:hover,
a:visited:hover {
2011-04-28 15:54:43 +01:00
color: #d7442b;
}
2011-10-05 11:05:33 +01:00
a:visited {
color: #636363;
}
div.centre img {
border: 2px solid #99CCCC;
margin: 25px;
vertical-align: middle;
}
2011-05-01 14:49:30 +01:00
hr {
border: 1px solid #99CCCC;
margin: 25px 0;
}
dt {
clear: both;
font-weight: bold;
margin-top: 10px;
}
dd {
display: inline;
margin-left: 0pt;
}
2011-04-28 15:54:43 +01:00
/*HEADINGS*/
h1, h2, h3, h4 {
font-family: Tahoma,'Trebuchet MS','Lucida Grande',Verdana,Arial,Sans-Serif;
}
2011-11-16 15:40:36 +00:00
h1 {
text-align: center;
font-size: 210%;
line-height: 100%;
margin: 35px 0 55px;
}
h2, h3, h4 {
2011-11-16 15:40:36 +00:00
color: #005151;
}
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; margin: 10px 0; }
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 {
2011-09-27 16:05:34 +01:00
background: #fff url(../images/style/menu-main.png) no-repeat 16px 4px;
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-09-27 16:05:34 +01:00
padding: 42px 20px 18px;
text-align: left;
border-top-right-radius: 1em;
2011-04-28 15:54:43 +01:00
}
.menu {
top: 20px;
}
ul#links {
2011-09-27 14:42:49 +01:00
/*background-image: url(../images/style/menu-second.png);
border-color: #C8E1E2;
border-style: dotted;*/
2011-11-16 15:40:36 +00:00
top: 15px /*300px; to be set once the menu is in all pages*/
}
2011-10-05 11:05:33 +01:00
ul#links a {
text-decoration: none;
}
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-09-27 16:05:34 +01:00
margin: 6px 0;
2011-09-27 15:58:00 +01:00
list-style: none outside none;
2011-04-28 15:54:43 +01:00
}
ul#links li {
2011-09-27 15:58:00 +01:00
margin: 5px 0 0 0;
}
ul#links li ul {
padding: 5px 0 5px 10px;
}
ul#links li li {
margin: 0 0 0 5px;
}
2011-09-27 15:58:00 +01:00
.menu li a,
ul#links li a {
background: url(../images/style/cave-picto.png) no-repeat 0 8px;
padding-left: 18px;
}
.menu li a:hover,
ul#links li a:hover {
2011-09-27 15:58:00 +01:00
background-position: 0 -8px;
2011-04-28 15:54:43 +01:00
border-bottom: 2px solid #d7442b;
}
2011-09-27 15:58:00 +01:00
ul#links li a.editlink {
background: url(../images/style/edit-picto.png) no-repeat 100% 0;
font-size: 85%;
padding: 0 18px;
}
ul#links li a.editlink:hover {
background-position: 100% -18px;
}
/* TABLES */
table.trad, table.centre {
2011-05-01 14:49:30 +01:00
border-collapse: collapse;
}
table.trad, table.trad th, table.trad td,
table.centre, table.centre th, table.centre td {
2011-05-01 14:49:30 +01:00
border: 1px solid #008787;
margin: 0px;
}
table.trad th,
table.centre th {
2011-05-01 14:49:30 +01:00
background-color: #C8E1E2;
}
table.trad td,
table.centre td {
2011-05-01 14:49:30 +01:00
padding: 5px;
border-color: #99CCCC;
}
table.centre {
margin-left: auto;
margin-right: auto;
}
table.centre td {
text-align: left;
}
table.bigfatborder {
border-width: 6px;
}
/*SPECIAL PAGES*/
/*caves*/
table#cavepage {
background: none repeat scroll 0 0 #FFFFFF;
border: 2px solid #99CCCC;
font-size: 160%;
margin-top: 25px;
padding: 25px;
width: 100%;
}
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%; }
/*Trip logbooks*/
#logbk hr {
display: none;
}
.tripdate, .trippeople {
background-color: #C6E4E3;
float: left;
margin: 2px 1px 1px 1px;
padding: 10px;
border-bottom-right-radius: 1em;
}
.trippeople {
background-color: #fff;
float: right;
font-style: italic;
margin-bottom: 10px;
}
.triptitle {
border: 1px solid #99CCCC;
border-top-width: 2px;
color: #008787;
font-size: 120%;
font-weight: bold;
padding-bottom: 15px;
padding-top: 55px;
text-align: center;
}
.timeug {
text-align: right;
font-weight: bold;
margin-bottom: 10px;}
/*RULES OVERRIDING JQUERY CSS FOR CAVES DESCRIPTION*/
/*This method is faster but less efficient. These would better be directly written in the jquery css file currently in http://expo.survex.com/site_media/css/redmond/jquery-ui-1.8.14.custom.css*/
body .ui-widget {
font-family: inherit;
font-size: inherit;
}
body .ui-widget-content a {
2011-11-16 15:40:36 +00:00
color: #008787;
}
2011-11-16 15:40:36 +00:00
body .ui-widget-content a:hover,
2011-11-16 16:39:03 +00:00
body .ui-widget-content a:visited:hover,
body .ui-state-default a:hover {
2011-11-16 15:40:36 +00:00
color: #d7442b;
}
body .ui-widget-content a:visited {
color: #636363;
}
body .ui-widget-content {
color: inherit;
}
body .ui-tabs-nav li {
font-family: Tahoma,'Trebuchet MS','Lucida Grande',Verdana,Arial,Sans-Serif;
}
body .ui-widget-header {
2011-11-16 15:40:36 +00:00
background: url("../images/style/ui-bg_gloss-wave_green.png") repeat-x scroll 50% 50% #85bdbe;
border: 1px solid #85bdbe;
color: #FFFFFF;
}
body .ui-widget-content {
border: 2px solid #99CCCC;
border-radius: 0 !important;
border-top: none;
}
body .ui-tabs {
padding: 0;
2011-11-16 15:40:36 +00:00
border-radius: 0 !important;
}
body .ui-tabs-nav {
2011-11-16 15:40:36 +00:00
border-radius: 0 !important;
}
2011-11-16 16:22:27 +00:00
body .ui-state-default a, body .ui-state-default a:link, body .ui-state-default a:visited {
2011-11-16 15:40:36 +00:00
color: #008787;
text-decoration: none;
}
body .ui-state-default, body .ui-widget-content .ui-state-default, body .ui-widget-header .ui-state-default {
border: 1px solid #85bdbe;
background: #85bdbe url("../images/style/ui-bg_glass_green.png") 50% 50% repeat-x;
font-weight: bold;
color: #008787;
}
2011-11-17 23:06:32 +00:00
body #tabs .ui-tabs .ui-state-default .ui-tabs-selected {
2011-11-16 16:22:27 +00:00
background: #fff;
2011-11-16 16:39:03 +00:00
color: #E17009;
margin-left: 10px;
2011-11-16 16:22:27 +00:00
}
body .ui-tabs .ui-tabs-nav li {
margin: 0 15px 1px 0;
2011-11-16 16:39:03 +00:00
padding-right: 5px;
2011-11-16 16:22:27 +00:00
}
body .ui-corner-all, body .ui-corner-top, body .ui-corner-right, body .ui-corner-tr {
border-top-right-radius: 30px;
}