Team:McMaster-Ontario/css

From 2012.igem.org

(Difference between revisions)
 
(184 intermediate revisions not shown)
Line 1: Line 1:
-
<html>
+
/* Converts generic template into empty one.
-
<head>
+
   Ne touche pas                                */
-
<style type="text/css">
+
-
 
+
-
html,body {height:100%;margin:0;padding:0;}
+
-
 
+
-
 
+
-
body {
+
-
background-image: url(http://2012.igem.org/wiki/images/3/33/Antibody.jpg);
+
-
        background-repeat:repeat-y repeat-x;
+
-
       
+
-
}
+
-
.gradient_golden {
+
-
   -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#E1A946, endColorstr=#B28336)";
+
-
  background-image: -ms-linear-gradient(top, #E1A946 0%, #B28336 100%);
+
-
  background-image: -moz-linear-gradient(top, #E1A946 0%, #B28336 100%);
+
-
  background-image: -o-linear-gradient(top, #E1A946 0%, #B28336 100%);
+
-
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #E1A946), color-stop(1, #B28336));
+
-
  background-image: -webkit-linear-gradient(top, #E1A946 0%, #B28336 100%);
+
-
  background-image: linear-gradient(to bottom, #E1A946 0%, #B28336 100%);
+
-
}
+
-
 
+
-
#igem_home {
+
-
  font-size: 95%;
+
-
  left: 425px;
+
-
  position: absolute;
+
-
  top: -4px;
+
-
}
+
-
 
+
-
.gradient_grey{
+
-
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#FFFFFF, endColorstr=#E6E6E6)";
+
-
  background-image: -ms-linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
+
-
  background-image: -moz-linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
+
-
  background-image: -o-linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
+
-
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #E6E6E6));
+
-
  background-image: -webkit-linear-gradient(top, #FFFFFF 0%, #E6E6E6 100%);
+
-
  background-image: linear-gradient(to bottom, #FFFFFF 0%, #E6E6E6 100%);
+
-
}
+
-
 
+
-
.white_bg {
+
-
  background-color: white;
+
-
}
+
-
 
+
-
.box_round {
+
-
  padding: 5px;
+
-
  border-radius: 5px;
+
-
  box-shadow:5px 5px 5px #666;
+
-
}
+
-
 
+
-
.box_round p {
+
-
  text-align:justify;
+
-
}
+
-
 
+
-
.no_padding {
+
-
  padding: 0px;
+
-
}
+
-
 
+
-
.nav_menu {
+
-
  height: 35px;
+
-
  box-shadow:5px 5px 5px #666;
+
-
}
+
-
 
+
-
#menu .selected {
+
-
  background-color:#B41111;
+
-
  height: 27px;
+
-
  border-top-right-radius: 5px;
+
-
  border-top-left-radius: 5px;
+
-
}
+
-
 
+
-
#menu {
+
-
  display: block;
+
-
  margin: 0px;
+
-
  padding: 8px;
+
-
  position:relative;
+
-
  left: 50%;
+
-
  text-align: center;
+
-
}
+
-
 
+
-
#menu ul {
+
-
  margin: 0px;
+
-
 
+
-
}
+
-
 
+
-
#menu li {
+
-
  list-style: none outside none;
+
-
  float:left;
+
-
  padding-left: 15px;
+
-
  padding-right: 15px;
+
-
  margin-right:25px;
+
-
  margin-left:25px;
+
-
  font-weight: 900;
+
-
}
+
-
 
+
-
#menu li ul{
+
-
  list-style: none outside none;
+
-
  display:none;
+
-
  position: absolute;
+
-
  margin : 0px;
+
-
  padding: 0px;
+
-
}
+
-
 
+
-
#menu ul ul {
+
-
  padding: 0px;
+
-
}
+
-
 
+
-
#menu li ul li{
+
-
  margin : 0px;
+
-
  width:inherit;
+
-
  font-weight: normal;
+
-
}
+
-
 
+
-
#menu li ul li:hover {
+
-
  height:auto;
+
-
  float:none;
+
-
  text-align:left;
+
-
}
+
-
 
+
-
 
+
-
#menu ul li {
+
-
  clear: both;
+
-
}
+
-
 
+
-
#menu a {
+
-
  display: block;
+
-
  color: white;
+
-
}
+
-
 
+
-
#menu a:hover {
+
-
  text-decoration:none;
+
-
}
+
-
 
+
-
#menu li:hover {
+
-
  background-color:#B41111;
+
-
  height: 27px;
+
-
  border-top-right-radius: 5px;
+
-
  border-top-left-radius: 5px;
+
-
}
+
-
 
+
-
 
+
-
#menu li:hover ul {
+
-
    display:block;
+
-
}
+
-
 
+
-
.box_round table  {
+
-
  background-color: transparent;
+
-
}
+
-
 
+
-
.block {
+
-
display: inline-block;
+
-
width : 350px;
+
-
height : 200px;
+
-
}
+
-
 
+
-
table {
+
-
  background-color: transparent;
+
-
}
+
-
 
+
-
table th {
+
-
  padding-left: 5px;
+
-
  padding-right: 5px;
+
-
}
+
-
 
+
#content {
#content {
-
  border: none;
+
border: none;
-
  background-color: transparent;
+
background-color: transparent;
 +
width:100%;
 +
margin:0;
 +
padding:0;
}
}
-
 
#catlinks {
#catlinks {
-
  border:none;
+
display: none;
-
  background-color: transparent;
+
}
}
-
 
+
#footer-box {  
-
 
+
display: none;
-
#footer-box {
+
height: 0px;
-
  border:none;
+
-
  background-color: transparent;
+
}
}
-
 
-
 
-
.center_box {
 
-
  text-align: center;
 
-
}
 
-
 
#p-logo {
#p-logo {
-
  display:none;
+
display: none;
}
}
-
 
#top-section {
#top-section {
-
border: none;
+
border: none;
-
height:0px;
+
height: 0px;
}
}
-
 
+
.firstHeading {
-
.firstHeading{
+
display: none;
-
display: none;
+
-
padding:0px;
+
}
}
-
 
+
#search-controls {
-
#banner-wrap {
+
display: none;
-
  padding: 0px;
+
-
 
+
}
}
-
 
+
input.searchButton:hover {
-
#portfolio {
+
color: #B41111;
-
z-index: -200;
+
-
height: 280px;
+
}
}
-
 
+
input.searchButton {
-
#portfolio img{
+
color: #ffffff;
-
  box-shadow:5px 5px 5px #666;
+
-
  width:965px;
+
-
  height: 280px;
+
}
}
-
 
+
p {
-
.rollover {
+
margin: 0;
-
  width: 975px;
+
padding: 0;
-
  text-align: center;
+
}
}
-
 
+
div .visualClear {
-
.rollover a{  
+
display: none;
-
  display: inline-block; 
+
-
  width : 200px;
+
-
  margin: 20px;
+
-
  height : 200px;
+
-
  border-radius : 12px;
+
-
  margin: 20px 20px 20px 20px;
+
-
  box-shadow:5px 5px 5px #666;
+
-
}
+
-
 
+
-
 
+
-
#rollover-image {
+
-
  background-image:url(http://2012.igem.org/wiki/images/e/ea/UP12Buttons.jpg);
+
-
  background-position: -88px -200px;
+
}
}
-
 
+
#globalWrapper {
-
#rollover-image:hover {
+
margin: 0;
-
  background-image:url(http://2012.igem.org/wiki/images/1/1f/UP12Buttons_red.jpg);
+
padding: 0px;
-
  background-position: -177px -100px;
+
overflow: hidden;
}
}
-
 
+
#menubar ul {
-
#rollover-image-2 {
+
position: fixed;
-
  background-image:url(http://2012.igem.org/wiki/images/e/ea/UP12Buttons.jpg);
+
-webkit-transform: translateZ(0);
-
  background-position: -328px -200px;
+
z-index: 1;
}
}
-
 
+
#menubar li a {
-
#rollover-image-2:hover {
+
background: none;
-
  background-image:url(http://2012.igem.org/wiki/images/1/1f/UP12Buttons_red.jpg);
+
-
  background-position: -401px -100px;
+
}
}
 +
/*End of Line*/
-
#rollover-image-3 {
 
-
  background-image:url(http://2012.igem.org/wiki/images/e/ea/UP12Buttons.jpg);
 
-
  background-position: -572px -200px;
 
-
}
 
-
#rollover-image-3:hover {
 
-
  background-image:url(http://2012.igem.org/wiki/images/1/1f/UP12Buttons_red.jpg);
 
-
  background-position: -640px -100px;
 
-
}
 
-
#rollover-image-4 {
 
-
  background-image:url(http://2012.igem.org/wiki/images/e/ea/UP12Buttons.jpg);
 
-
  background-position: -812px -440px;
 
-
}
 
-
#rollover-image-4:hover {
 
-
  background-image:url(http://2012.igem.org/wiki/images/1/1f/UP12Buttons_red.jpg);
 
-
  background-position: -869px -356px;
 
-
}
 
-
#rollover-image-5 {
+
body {
-
  background-image:url(http://2012.igem.org/wiki/images/0/0d/SocialBrick12.jpg)
+
background: black;
}
}
-
 
+
#navbar {
-
#rollover-image-5:hover {
+
float: right;
-
  background-image:url(http://2012.igem.org/wiki/images/b/b2/SocialBrick22.jpg)
+
line-height: 70px;
 +
height: 70px;
}
}
-
 
+
#navbar .nav {
-
#rollover-image-6 {
+
list-style: none;
-
  background-image:url(http://2012.igem.org/wiki/images/e/ea/UP12Buttons.jpg);
+
display: block;
-
  background-position: -328px -440px;
+
margin: 0;
}
}
-
 
+
#content li {
-
#rollover-image-6:hover {
+
display: block;
-
  background-image:url(http://2012.igem.org/wiki/images/1/1f/UP12Buttons_red.jpg);
+
float: left;
-
  background-position: -385px -356px;
+
line-height: 112px;
 +
padding: 0 15px 0 15px;
 +
font-weight: 900;
 +
font-size: 1.25em;
}
}
-
#rollover-image-7 {
+
#content li a:link {
-
  background-image:url(http://2012.igem.org/wiki/images/e/ea/UP12Buttons.jpg);
+
color: grey;
-
  background-position: -100px -440px;
+
}
}
-
 
+
#content li a:visited {
-
#rollover-image-7:hover {
+
color: grey;
-
  background-image:url(http://2012.igem.org/wiki/images/1/1f/UP12Buttons_red.jpg);
+
-
  background-position: -169px -356px;
+
}
}
-
 
+
#content li a:hover {
-
#rollover-image-8 {
+
color: white;
-
  background-image:url(http://2012.igem.org/wiki/images/b/b3/Virusmodule1-2-1.jpg);
+
text-decoration: none;
}
}
-
#rollover-image-8:hover {
+
#header {
-
  background-image:url(http://2012.igem.org/wiki/images/a/af/Virusmodule1-1.jpg);
+
position: fixed;
 +
left: 0;
 +
top: 0;
 +
height: 112px;
 +
width: 100%;
 +
background: black;
 +
-webkit-transform: translateZ(0);
 +
z-index: 1;
 +
opacity: 0.9;
}
}
-
 
+
p {
-
#totop {
+
margin: 0.5em;
-
  background-image:url(http://2012.igem.org/wiki/images/0/0d/Pfeil.png);
+
}
-
  filter:alpha(opacity=50);
+
div .section {
-
  height: 76px;
+
width: 100%;
-
  width: 75px;
+
background: black;
-
  position: fixed;
+
background-size: 1500px;
-
  right: 10px;
+
background-repeat: no-repeat;
-
  z-index: -20;
+
background-position: top;
 +
padding: 50px 0px 50px 0px;
 +
}
 +
div .content {
 +
width: 50%;
 +
margin: 0 auto 0 auto;
 +
background: rgba(255,255,255,0.8);
 +
padding: 50px;
}
}
-
</style>
 
-
</head>
 
-
</html>
 

Latest revision as of 16:16, 10 May 2013

/* Converts generic template into empty one.

  Ne touche pas                                 */
  1. content {

border: none; background-color: transparent; width:100%; margin:0; padding:0; }

  1. catlinks {

display: none; }

  1. footer-box {

display: none; height: 0px; }

  1. p-logo {

display: none; }

  1. top-section {

border: none; height: 0px; } .firstHeading { display: none; }

  1. search-controls {

display: none; } input.searchButton:hover { color: #B41111; } input.searchButton { color: #ffffff; } p { margin: 0; padding: 0; } div .visualClear { display: none; }

  1. globalWrapper {

margin: 0; padding: 0px; overflow: hidden; }

  1. menubar ul {

position: fixed; -webkit-transform: translateZ(0); z-index: 1; }

  1. menubar li a {

background: none; } /*End of Line*/



body { background: black; }

  1. navbar {

float: right; line-height: 70px; height: 70px; }

  1. navbar .nav {

list-style: none; display: block; margin: 0; }

  1. content li {

display: block; float: left; line-height: 112px; padding: 0 15px 0 15px; font-weight: 900; font-size: 1.25em; }

  1. content li a:link {

color: grey; }

  1. content li a:visited {

color: grey; }

  1. content li a:hover {

color: white; text-decoration: none; }

  1. header {

position: fixed; left: 0; top: 0; height: 112px; width: 100%; background: black; -webkit-transform: translateZ(0); z-index: 1; opacity: 0.9; } p { margin: 0.5em; } div .section { width: 100%; background: black; background-size: 1500px; background-repeat: no-repeat; background-position: top; padding: 50px 0px 50px 0px; } div .content { width: 50%; margin: 0 auto 0 auto; background: rgba(255,255,255,0.8); padding: 50px; }