Template:Team:Aberdeen Scotland/CSS

From 2014.igem.org

(Difference between revisions)
Line 1: Line 1:
#top, .firstHeading {
#top, .firstHeading {
-
        display: none;
+
display: none;
}
}
body {
body {
-
/*all body properties*/
 
background: #8B2942; /*E6E6E6*/
background: #8B2942; /*E6E6E6*/
color: #8B2942;
color: #8B2942;
Line 38: Line 37:
#wrapper{
#wrapper{
-
/*global wrapper*/
 
background: #8B2942;
background: #8B2942;
width: 975px;
width: 975px;
Line 45: Line 43:
#header {
#header {
-
/*header props*/
 
width: auto;
width: auto;
margin: auto;
margin: auto;
Line 60: Line 57:
#navbar {
#navbar {
-
/*navigation bar props*/
 
margin-top: -33px;
margin-top: -33px;
z-index: 1;
z-index: 1;
Line 108: Line 104:
position: relative;
position: relative;
margin-top: 0px;
margin-top: 0px;
-
/*bottom: -3px;*/
 
-
/*line-height: 30px;*/
 
border-bottom: 3px solid #FFF;
border-bottom: 3px solid #FFF;
}
}
Line 143: Line 137:
.social li a:hover {
.social li a:hover {
-
        position: relative;
+
position: relative;
-
        margin-top: -2px;
+
margin-top: -2px;
-
        margin-left: -1px;
+
margin-left: -1px;
-
        margin-right: 13px;
+
margin-right: 13px;
}
}
.social li a:hover img {
.social li a:hover img {
-
        display: block;
+
display: block;
-
        width: 23px;
+
width: 23px;
-
        height: 23px;
+
height: 23px;
}
}

Revision as of 12:14, 18 July 2014

  1. top, .firstHeading {

display: none; }

body { background: #8B2942; /*E6E6E6*/ color: #8B2942; font-family:Arial, Helvetica, sans-serif; }

.pg_break { clear: both; border: 1px dotted #8B2942; }

  • {

margin: 0px; padding: 0px; }

p { margin: 0px; padding: 0px; }

a { margin: 0px; padding: 0px; text-decoration: none; }

ul { margin: 0px; padding: 0px; list-style: none; }

  1. wrapper{

background: #8B2942; width: 975px; margin: auto; }

  1. header {

width: auto; margin: auto; }

.logo a { background-image: url(Head.png); background-repeat: no-repeat; display: block; width: 975px; height: 327px; z-index: -1; }

  1. navbar {

margin-top: -33px; z-index: 1; }

ul.navbar { float: center; margin: 0px; margin-left: 10px; padding: 0px; text-align: center; display: block; }

ul.navbar li { padding: 0px; margin: 0px; display: inline-block; float: left; }

.navbar li a { float: left; margin-top: 3px; margin-bottom: 1px; padding-left: 12px; padding-right: 12px; font-family: "Calibri", tahoma, arial, sans-serif; font-size: 18px; color: #FFF; background: #8B2942; line-height: 30px; text-decoration: none; border-right: 1px dotted #FFF; }

.navbar li a.Act { background: #FFF; color: #8B2942; margin-top: 0px; border-bottom: 3px solid #FFF; }

.navbar li a:hover { background: #FFF; color: #8B2942; position: relative; margin-top: 0px; border-bottom: 3px solid #FFF; }

.navbar li a.Act:hover { background: #FFF; color: #8B2942; margin-top: 0px; border-bottom: 3px solid #FFF; }

  1. social {

float: right; background: url(Blur.png); background-repeat: no-repeat; width: 114px; height: 29px; padding-top: 5px; display: block; }

ul.social { display: block; }

.social li a { float: right; margin-right: 12px; width: 22px; height: 22px; display: inline-block; }

.social li a:hover { position: relative; margin-top: -2px; margin-left: -1px; margin-right: 13px; }

.social li a:hover img { display: block; width: 23px; height: 23px; }

  1. pcontent {

background: #FFF; color: #8B2942; margin-top: -1px; z-index: 1; display: inline-block; }

  1. sidebar {

float: left; margin: 0; padding-left: 20px; width: 130px; display: inline-block; }

  1. container {

clear: right; float: right; width: 825px; display: inline-block;

}

  1. t_overview {

float: left; }

  1. t_overview h1 {

float: left; padding-top: 1px; }

  1. t_overview p {

margin: 2px; }

  1. footer {

}

  1. member {

}

div#member { width: 50%; float: left; display: block; /*background: rgba(139, 41, 66,0.1);*/ -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; border: 20px solid #FFF; -webkit-border-radius: 30px; border-radius: 30px; }

  1. member div {

display: inline-block; }

  1. members {

}

img.prof_pic { float: right; height: auto; max-width: 190px; margin-left: 25px; margin-right: 25px; margin-bottom: 5px; margin-top: 0px; }

  1. member img {

}

.name { float: left; margin: auto; padding: 15px; }

.member_descr { margin: auto; padding: 15px; display: inline-block; text-align: justify; }

.member_descr h2 { margin-top: 0px; font-size: 20px; }

.member_descr p {

}

.clear { clear: both; }