CSS: hr lines, tables

This commit is contained in:
Aiora Zabala 2011-05-01 15:49:30 +02:00
parent cff25ee574
commit 9b945f0e10
4 changed files with 24 additions and 8 deletions

View File

@ -1,6 +1,3 @@
to add it:
<?php> include("common/_menu.php"); ?>
<div class="menu"> <div class="menu">
<p id="topheader"><a href="index">Cambridge University<br />Caving Club Expedition</a><br /> main content:</p><br /> <p id="topheader"><a href="index">Cambridge University<br />Caving Club Expedition</a><br /> main content:</p><br />
<ul> <ul>

View File

@ -1,5 +1,6 @@
/*This CSS file has been edited for CUCC - Expo website by A. Zabala on 2011*/ /*This CSS file has been edited for CUCC - Expo website by A. Zabala on 2011*/
/* code of colours /* code of colours
#C8E1E2 very light
#99CCCC light blue #99CCCC light blue
#008787 darker blue for fonts #008787 darker blue for fonts
#004C4C very dark #004C4C very dark
@ -34,6 +35,10 @@ a {
} }
a:link, a:visited { text-decoration: none; } a:link, a:visited { text-decoration: none; }
div.centre img { vertical-align: middle; } div.centre img { vertical-align: middle; }
hr {
border: 1px solid #99CCCC;
margin: 25px 0;
}
/*HEADINGS*/ /*HEADINGS*/
h1, h2, h3, h4 { h1, h2, h3, h4 {
@ -73,7 +78,7 @@ ul#links {
font-size: 75%; font-size: 75%;
color: #888; color: #888;
width: 150px; width: 150px;
padding: 30px 20px 15px; padding: 32px 20px 15px;
text-align: left; text-align: left;
} }
.menu { .menu {
@ -113,11 +118,25 @@ ul#links li a:hover {
} }
/* "Traditional" table with borders.*/ /* "Traditional" table with borders.*/
table.trad { margin: 0pt; border: 1px solid #000; table.trad {
border-color: #c0c0c0 #8d8d8d #8d8d8d #c0c0c0; } 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; } table.bigfatborder { border-width: 6px; }
table.trad td, table.trad th { margin: 0pt; border: 1px solid #aaa; /*table.trad td, table.trad th { margin: 0pt; border: 1px solid #aaa;
border-color: #8d8d8d #c0c0c0 #c0c0c0 #8d8d8d; } border-color: #8d8d8d #c0c0c0 #c0c0c0 #8d8d8d; }*/
/* You are not expected to understand this. It is necessary. */ /* You are not expected to understand this. It is necessary. */
table.centre { margin-left: auto; margin-right: auto; } table.centre { margin-left: auto; margin-right: auto; }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB