Team:WITS-CSIR SA/css/presentation.css

From 2011.igem.org

(Difference between revisions)
(b)
Line 363: Line 363:
table.pretty th, table.pretty td
table.pretty th, table.pretty td
{
{
-
     padding: 18px 28px 18px;
+
     padding: 4px 9px 4px;
     text-align: center;
     text-align: center;
}
}

Revision as of 12:51, 20 September 2011

body {

   font-family: Tahoma, Sans-Serif, Verdana, Arial;
   font-size: 0.8em;

}

.west {

   border-right: 1px solid #111111;

}

h1, h2, h3, h4, h5, h6 {

   font-weight: bold !important;

}

.banner h1 {

   margin: 0px;
   padding: 0px;
   border: none !important;
   color: White !important;

}

body.start {

   color: #3C6792;

}

.padding {

   padding: 5px;

}

.margin {

   margin: 5px;

}

.spacer {

   height: 76px;

}

.ui-resizable-handle {

   display: none !important;

}

.banner {

   position: absolute;
   top: 0px;
   height: 30px;
   padding: 10px;
   background-color: #5C87B2;
   color: #ffffff;
   text-shadow: 2px 2px 2px #111111;
   z-index: 10;
   width: 100%;

}

.menu {

   color: #A2BAED !important;
   text-shadow: 1px 1px 1px #111111;
   font-weight: bold;
   z-index: 10;
   width: 100%;
   height: 30px;

}

.menu a {

   text-decoration: none;
   color: #A2BAED !important;
   padding-right: 5px;

}

.menu a:hover {

   text-decoration: underline;
   color: #B2CAFD !important;

}

.menu a.current {

   color: #B2CAFD !important;
   text-decoration: underline;

}

.banner a {

   color: #ffffff;
   text-decoration: none;

}

input[type=text] {

   height: 23px;
   border: 1px solid #B2CAFD;

}

div.calendar ul {

   list-style-type: none;
   margin: 0px;
   padding: 0px;

}

div.calendar ul li {

   margin: 2px;
   padding: 0px;

}

.center {

   text-align: left !important;

}

.center h1 {

   color: #3C6792 !important;
   font-size: 16pt !important;
   margin-bottom: 0.5em !important;
   border: none !important;

}

h2 {

   font-size: 14pt;

}

ul.sideMenu {

   list-style-type: none;
   margin: 0px;
   padding: 0px;

}

ul.sideMenu li {

   padding: 3px;
   border: 1px solid #3C6792;
   background-color: #eeeeff;
   margin: 2px;
   cursor: pointer;

}

ul.sideMenu li a {

   text-decoration: none;
   color: #3C6792;

}

ul.sideMenu li:hover a {

   font-weight: bold;
   color: #5C87B2;

}

ul.sideMenu li.current {

   border: 1px solid #3C6792;
   background-color: #5C87B2;

}

ul.sideMenu li.current a {

   font-weight: bold;
   color: #eeeeff;

}

.center a:link {

   text-decoration: none;
   color: #3C6792;

}

.center a:visited {

   text-decoration: none;
   color: #3C6792;

}

.center a:hover {

   text-decoration: underline;
   color: #5C87B2;

}

.center a:active {

   color: #5C87B2;

}

div.box {

   border: 1px solid #3C6792;
   padding: 3px;
   font-size: 0.9em;
   color: #3C6792;
   background-color: #eeeeff;
   margin-bottom: 10px;

}

img.thumbnail {

   border: 1px solid #3C6792;
   width: 150px;
   height: 200px;
   float: left;

}

div.box table {

   margin-left: 160px;

}

div.box table tr th {

   text-align: left;

}

div.slider {

   border: 1px solid #3C6792;

}

div.slider img {

   border: 1px solid #3C6792;

}

div.slider div.thumbs {

   border: 1px solid #3C6792;
   margin: 3px;
   height: 69px;
   overflow: hidden;
   overflow-x: scroll;
   white-space: nowrap;
   padding: 3px;

}

div.slider img.thumb {

   float: left;
   margin-left: 3px;

}

.center p {

   text-align: justify;
   line-height: 1.4em;

}

.left {

   float: left;

}

.right {

   float: right;

}

.margin-top {

   margin-top: 10px !important;

} .margin-bottom {

   margin-bottom: 10px !important;

} img.margin-left {

   margin-left: 10px !important;

} .margin-right {

   margin-right: 10px !important;

} .margin-all {

   margin: 10px !important;

}

.padding-top {

   padding-top: 10px !important;

} .padding-bottom {

   padding-bottom: 10px !important;

} .padding-left {

   padding-left: 10px !important;

} .padding-right {

   padding-right: 10px !important;

} .padding-all {

   padding: 10px !important;

}

.border {

   border: 1px solid #3C6792;

}

table {

   background-color: Transparent !important;

}

.searchBox {

   color: #A2BAED !important;

}

.center li, .west li {

   list-style-image: none !important;

}

  1. footer-box

{

   font-size: 75%;
   border: none !important;
   padding-top: 5px;

}

.right-menu a {

   background-color: transparent !important;

}


/* Pretty Table Styling CSS Tricks also has a nice writeup: http://css-tricks.com/feature-table-design/ */

table.pretty {

   overflow: hidden;
   border: 1px solid #d3d3d3;
   background: #fefefe;
   width: 70%;
   margin: 5% auto 0;
   -moz-border-radius: 5px; /* FF1+ */
   -webkit-border-radius: 5px; /* Saf3-4 */
   border-radius: 5px;
   -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
   -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);

}

table.pretty th, table.pretty td {

   padding: 4px 9px 4px;
   text-align: center;

}

table.pretty th {

   padding-top: 22px;
   text-shadow: 1px 1px 1px #fff;
   background: #e8eaeb;

}

table.pretty td {

   border-top: 1px solid #e0e0e0;
   border-right: 1px solid #e0e0e0;

}

table.pretty tr.odd-row td {

   background: #f6f6f6;

}

table.pretty td.first, table.pretty th.first {

   text-align: left;

}

table.pretty td.last {

   border-right: none;

}

/* Background gradients are completely unnecessary but a neat effect. */

table.pretty td {

   background: -moz-linear-gradient(100% 25% 90deg, #fefefe, #f9f9f9);
   background: -webkit-gradient(linear, 0% 0%, 0% 25%, from(#f9f9f9), to(#fefefe));

}

table.pretty tr.odd-row td {

   background: -moz-linear-gradient(100% 25% 90deg, #f6f6f6, #f1f1f1);
   background: -webkit-gradient(linear, 0% 0%, 0% 25%, from(#f1f1f1), to(#f6f6f6));

}

table.pretty th {

   background: -moz-linear-gradient(100% 20% 90deg, #e8eaeb, #ededed);
   background: -webkit-gradient(linear, 0% 0%, 0% 20%, from(#ededed), to(#e8eaeb));

}

/* I know this is annoying, but we need additional styling so webkit will recognize rounded corners on background elements. Nice write up of this issue: http://www.onenaught.com/posts/266/css-inner-elements-breaking-border-radius

And, since we've applied the background colors to td/th element because of IE, Gecko browsers also need it. */ /* table.pretty tr:first-child th.first {

   -moz-border-radius-topleft: 5px;
   -webkit-border-top-left-radius: 5px; 

}

table.pretty tr:first-child th.last {

   -moz-border-radius-topright: 5px;
   -webkit-border-top-right-radius: 5px;

}

table.pretty tr:last-child td.first {

   -moz-border-radius-bottomleft: 5px;
   -webkit-border-bottom-left-radius: 5px; 

}

table.pretty tr:last-child td.last {

   -moz-border-radius-bottomright: 5px;
   -webkit-border-bottom-right-radius: 5px; 

}

  • /

div.center{

   background-color: white !important;

}