Team:Stanford-Brown/Templates/css

From 2012.igem.org

(Difference between revisions)
 
(468 intermediate revisions not shown)
Line 1: Line 1:
/*--STANFORD-BROWN iGEM 2012--*/
/*--STANFORD-BROWN iGEM 2012--*/
-
#contentSub, #search-controls, .firstHeading, #catlinks, #p-logo {
+
/* Header formatting */
-
    display:none;}
+
h1, h2, h3, h4, h5 { font-family: "Trebuchet MS", sans-serif; padding:10px; }
 +
h2, h2 a, h2 a:visited { background: #444; color: #AAA; }
 +
h3, h3 a, h3 a:visited { color: #444; text-decoration: bold;}
-
#content {
+
/* Full page formatting */
-
    position: relative;
+
body#space { background-image: url('https://static.igem.org/mediawiki/2012/4/4f/Space.jpg'); background-attachment: fixed; }
-
    width: 975px;
+
#top-section { position: relative; height: 20px; width: 975px; }
-
    margin: 0 auto;
+
#contentSub, #search-controls, .firstHeading, #catlinks, #p-logo { display:none; }
-
    padding: 5px 0px 5px 0px;;
+
#container { margin: 15px 0px auto auto; width: 975px; }
-
    background-color: #fff;
+
#globalwrapper { margin: 0px 0px auto auto; }
-
    border-radius: 0px 0px 5px 5px;
+
-
    box-shadow: 0px 2px 6px 2px #222;
+
-
    background-attachment: fixed;
+
-
    border-left: 0px;
+
-
    border-right: 0px;
+
-
    color: black;
+
-
    z-index: 2;
+
-
}
+
-
#top-section {
+
/* Title panel formatting */
-
    position: relative;
+
#top-panel { height: 260px; background-color: white; background-image: url('https://static.igem.org/mediawiki/2012/5/52/Planets.png'); }
-
    height: 20px;
+
#top-panel { margin: -20px -10px auto -10px; border-radius: 5px 5px 0px 0px; box-shadow: 0px -2px 6px 2px #222; }
-
    width: 975px;
+
#trans { text-align: right; color: #555; letter-spacing: 1.3px; }
-
    margin-left: 1px;
+
#sa { line-height: 100%; font-family: "Trebuchet MS", sans-serif; font-size: 36px; }
-
margin: 0 auto 0 auto;
+
#sa { color: #008ACF; padding-top: 55px; letter-spacing: 1.3px; text-align: right; }
-
    border-left: 0px;
+
-
    border-right: 0px;
+
-
    border-bottom: 0px;
+
-
}
+
 +
/* Border above main menu formatting */
 +
#border-top { background-color: #6c6c6c; height: 6px; width: 995px; margin: 0px -10px 0px -10px; }
-
#menubar {
+
/* Main menu formatting */
-
    width: auto;}
+
#nav { font-family: "Trebuchet MS", sans-serif; font-size: 15px; color: white;}
 +
#nav { background-color: #A32C2C; width: 1025px; list-style: none; }
 +
#nav { float: left; margin: 0px 0px auto -25px; z-index: 5; }
 +
#nav li { float: left; margin: 0px 10px 0px -5px; position:relative; }
 +
#nav a { display: block; padding: 5px 15px; text-decoration: none; color: white; border-style: none; }
 +
#nav a:hover { color: #008ACF; }
-
#footer-box {
+
/* Sub-menu formatting */
-
width: 965px;
+
#subHeaderList { margin: auto; width: 975px; padding: 0px 0px 30px 10px;}
-
padding: 5px;
+
#subHeaderList ul, #subHeaderList li { display: inline; float: left; font-weight: bold; }
-
background-color: white;
+
#subHeaderList a:link, #subHeaderList a:visited { float: left; line-height: 14px; font-weight: bold; }
-
        margin: 0 auto;
+
#subHeaderList a:link, #subHeaderList a:visited { margin: 5px 10px 4px 10px; text-decoration: none; color: #888; }
-
        border-radius: 5px 5px 5px 5px;
+
#subHeaderList a:hover { color: #A32C2C; }
-
        box-shadow: 0px 2px 6px 2px #222;
+
#subHeaderList a:link#current, #subHeaderList a:visited#current { padding-bottom: 2px; border-bottom: 4px solid #333; background: transparent; color: #666; }
-
}
+
#subHeaderList a:link#project, #subHeaderList a:visited#project { font-size: 15px; solid #333; background: transparent; color: #444; padding-top: 1px; margin-right: 5px}
-
  #container {
+
/* General content formatting */
-
    margin-top: 15px;
+
#content { position: relative; width: 975px; padding: 0px 10px 10px 10px; align: center; }
-
    margin-left: auto;
+
#content { border-radius: 0px 0px 5px 5px; box-shadow: 0px 2px 6px 3px #222; z-index: 2;}
-
    margin-right: auto;
+
-
    width: 975px;
+
-
  }
+
-
body#space {
+
/* Main page abstract panel formatting */
-
    background-color: #DBEFFF;
+
#bottom-panel { background-color: #fff; width: 995px; height: 470px; margin: 33px 20px 0px -10px; }
-
    background-image: url('https://static.igem.org/mediawiki/2012/4/4f/Space.jpg');
+
#bottom-panel { border-radius: 0px 0px 5px 5px; box-shadow: 0px 2px 6px 2px #222; }
-
    background-attachment: fixed;
+
#abs-title { font-size: 30px; font-family: "Trebuchet MS", sans-serif; color: #6c6c6c; }
-
  }
+
#abs-title { float: left; margin: 20px auto 0px 40px; }
-
  #globalwrapper {
+
#abs-title a:link, #abs-title a:visited { float: left; font-weight: bold; }
-
    margin-top: none;
+
#abs-title a:link, #abs-title a:visited { text-decoration: none; color: #888; }
-
    margin-left: none;
+
#abs-title a:hover { color: #A32C2C; }
-
    margin-right: auto;
+
#abs-text { font-size: 13px; font-family: "Trebuchet MS", sans-serif; color: #333; }
 +
#abs-text { text-align: left; line-height: 180%; margin: 20px 0px auto 40px }
-
  }
+
/* Main page accomplishments formatting */
 +
.accomps { font-size: 18px; font-family: "Trebuchet MS", sans-serif; color: #008ACF;}
 +
.accomps { width: 320px; margin: 0px 0px 10px 30px; background: #fff; }
 +
.accomps { border-radius: 5px; border: 1px solid #aaa; box-shadow: 0px 1px 2px 1px #ccc; }
 +
.accomps ul { color: #555; font-size: 12px; list-style-type: none; padding: 5px 5px 8px 15px; }
 +
.accomps ul li { padding-bottom: 8px; }
 +
.accomps a, .accomps a:visited { color: #555; font-size: 12px; text-decoration:none; padding: 5px 5px 8px 0px;}
 +
.accomps a:hover { color: #008ACF;}
-
  #nav {
+
/* Main page project panel formatting */
-
    z-index: 500;
+
#proj-panel { background-color: #fff; height: 440px; width: 995px; margin: 15px 20px 15px -10px; }
-
    font-family: 'Ubuntu Condensed', sans-serif;
+
#proj-panel { border-radius: 5px 5px 5px 5px; box-shadow: 0px 2px 6px 2px #222; }
-
    font-size: 17px;
+
.feature { font-size: 18px; font-family: "Trebuchet MS", sans-serif; margin: 20px 0px 0px 16px; }
-
    font-weight: 300;
+
.feature { color: #008ACF; background: #fff; width: 285px; height: 300px; border-style: none; }
-
    color: white;
+
.brief { font-size: 13px; font-family: sans-serif; color: #333; }
-
  width: 975px;
+
.brief { margin: 10px 10px 0px 0px; text-align: left; line-height: 180%; }
-
  float: left;
+
-
  margin: 0 0 3em 0;
+
-
  margin-left: 1px;
+
-
  list-style: none;
+
-
  background-color: #A32C2C;
+
-
  box-shadow: 1px 0px 4px 1px #222;
+
-
  border-radius: 0px 1px 1px 0px;
+
-
z-index: 5;
+
-
  }
+
-
  #nav li {
+
-
  float: left;
+
-
margin-right:10px;
+
-
position:relative;
+
-
  }
+
-
  #nav a {
+
-
  display: block;
+
-
  padding: 5px 15px;
+
-
  text-decoration: none;
+
-
    color: white;
+
-
  border-style: none  
+
-
  }
+
-
  #nav a:hover {
+
-
  color: #008ACF;
+
-
  }
+
-
/*--Dropdown stuff. Thanks to csswizardry.com--*/
+
/* Footer box formatting */
-
 
+
#footer-box { border: 0px; width: 965px; }
-
#nav ul{
+
-
background:#fff;
+
-
background:rgba(255,255,255,0);
+
-
left:-9999px; /* Hide off-screen */
+
-
list-style:none;
+
-
position:absolute;
+
-
}
+
-
#nav ul li{
+
-
padding-top:1px; /* Introducing a padding between the li and the a give the illusion spaced items */
+
-
float:none;
+
-
        box-shadow: 0px 1px 3px 1px #222;
+
-
}
+
-
#nav ul a{
+
-
white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
+
-
}
+
-
#nav li:hover ul{ /* Display the dropdown on hover */
+
-
left:-26px; /* Bring back on-screen when needed */
+
-
top:38px;
+
-
}
+
-
#nav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
+
-
background:#A32C2C;
+
-
        box-shadow: 0px 1px 3px 1px #222;
+
-
}
+
-
#nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
+
-
text-decoration:none;
+
-
}
+
-
 
+
-
/*-end dropdown-*/
+
-
 
+
-
  #border-top {
+
-
    background-color: #6c6c6c;
+
-
    height: 6px;
+
-
    width: 975px;
+
-
    margin-left: 1px;
+
-
    border-radius: 0px 1px 0px 0px;
+
-
 
+
-
  }
+
-
  #border-bottom {
+
-
    background-color: #6c6c6c;
+
-
    height: 5px;
+
-
    width: 975px;
+
-
    margin-left: 1px;
+
-
    padding-top: 36px;
+
-
  border-radius: 0px 1px 0px 0px;
+
-
  }
+
-
  #top-panel {
+
-
    background-color: #fff;
+
-
    height: 235px;
+
-
    margin-left: 1px;
+
-
    margin-top:-20px;
+
-
    border-radius: 5px 5px 0px 0px;
+
-
    box-shadow: 0px -2px 6px 2px #222;
+
-
  }
+
-
 
+
-
  #bottom-panel {
+
-
    background-color: #fff;
+
-
    width: 975px;
+
-
    height: 390px;
+
-
    margin-left: 1px;
+
-
    margin-right: 30px;
+
-
    margin-top: 0px;
+
-
    border-radius: 0px 0px 5px 5px;
+
-
    box-shadow: 0px 2px 6px 2px #222;
+
-
  }
+
-
 
+
-
  #sa {
+
-
    line-height: 100%;
+
-
    font-family: Sans-Serif;
+
-
    font-size: 36px;
+
-
    font-weight: 300;
+
-
    color: #008ACF;
+
-
    padding-top: 55px;
+
-
    letter-spacing: 1.3px;
+
-
    text-align: right; 
+
-
  }
+
-
  #trans {
+
-
    text-align: right;
+
-
    color: #555;
+
-
    font-weight: 100;
+
-
    letter-spacing: 1.3px;
+
-
  }
+
-
  #abs-title {
+
-
    font-weight: 400;
+
-
    font-size: 30px;
+
-
    font-family: "Helvetica Neue";
+
-
    float: left;
+
-
    margin-left: 40px;
+
-
    color: #6c6c6c;
+
-
    margin-top: 30px;
+
-
  }
+
-
  #abs-text {
+
-
    margin-top: 20px;
+
-
    font-weight: 300;
+
-
    text-align: left;
+
-
    font-family: "Helvetica Neue";
+
-
    color: #333;
+
-
    font-size: 13px;
+
-
    line-height: 180%;
+
-
    margin-left: 40px;
+
-
  }
+
-
  .accomps {
+
-
    font-family: "Helvetica Neue";
+
-
    margin-top: -20px;
+
-
    margin-left: 35px;
+
-
    margin-bottom: 20px;
+
-
    background: #fff;
+
-
  width: 290px;
+
-
    border-radius: 5px;
+
-
    border:1px solid #aaa;
+
-
    box-shadow: 0px 1px 2px 1px #ccc;
+
-
    color: #008ACF;
+
-
    font-size: 18px;
+
-
  }
+
-
  .accomps ul {
+
-
    color: #555;
+
-
    font-weight: 500;
+
-
    font-size: 12px;
+
-
    list-style-type: none;
+
-
    padding-top: -2px;
+
-
    padding-left: 15px;
+
-
    padding-right: 15px;
+
-
  }
+
-
  .accomps ul li {
+
-
    padding-bottom: 8px;
+
-
  }
+
-
  #proj-panel {
+
-
    background-color: #fff;
+
-
    height: 400px;
+
-
    width: 975px;
+
-
    margin-left: 1px;
+
-
    margin-right: 30px;
+
-
    margin-top: 15px;
+
-
    margin-bottom: 15px;
+
-
    border-radius: 5px 5px 5px 5px;
+
-
    box-shadow: 0px 2px 6px 2px #222;
+
-
  }
+
-
  .feature {
+
-
    font-family: "Helvetica Neue";
+
-
    margin-top: 20px;
+
-
    margin-left: 16px;
+
-
    background: #fff;
+
-
  width: 285px;
+
-
  height: 300px;
+
-
    border-style: none;
+
-
    color: #008ACF;
+
-
    font-size: 18px;
+
-
  } 
+
-
  .brief {
+
-
    margin-top: 10px;
+
-
    font-weight: 300;
+
-
    text-align: left;
+
-
    font-family: "Helvetica Neue";
+
-
    color: #333;
+
-
    font-size: 13px;
+
-
    line-height: 180%;
+
-
    margin-right: 10px;
+
-
  }
+
-
 
+
-
table {
+
-
margin-left: 5px;
+
-
}
+

Latest revision as of 19:22, 3 December 2012

/*--STANFORD-BROWN iGEM 2012--*/

/* Header formatting */ h1, h2, h3, h4, h5 { font-family: "Trebuchet MS", sans-serif; padding:10px; } h2, h2 a, h2 a:visited { background: #444; color: #AAA; } h3, h3 a, h3 a:visited { color: #444; text-decoration: bold;}

/* Full page formatting */ body#space { background-image: url('https://static.igem.org/mediawiki/2012/4/4f/Space.jpg'); background-attachment: fixed; }

  1. top-section { position: relative; height: 20px; width: 975px; }
  2. contentSub, #search-controls, .firstHeading, #catlinks, #p-logo { display:none; }
  3. container { margin: 15px 0px auto auto; width: 975px; }
  4. globalwrapper { margin: 0px 0px auto auto; }

/* Title panel formatting */

  1. top-panel { height: 260px; background-color: white; background-image: url('https://static.igem.org/mediawiki/2012/5/52/Planets.png'); }
  2. top-panel { margin: -20px -10px auto -10px; border-radius: 5px 5px 0px 0px; box-shadow: 0px -2px 6px 2px #222; }
  3. trans { text-align: right; color: #555; letter-spacing: 1.3px; }
  4. sa { line-height: 100%; font-family: "Trebuchet MS", sans-serif; font-size: 36px; }
  5. sa { color: #008ACF; padding-top: 55px; letter-spacing: 1.3px; text-align: right; }

/* Border above main menu formatting */

  1. border-top { background-color: #6c6c6c; height: 6px; width: 995px; margin: 0px -10px 0px -10px; }

/* Main menu formatting */

  1. nav { font-family: "Trebuchet MS", sans-serif; font-size: 15px; color: white;}
  2. nav { background-color: #A32C2C; width: 1025px; list-style: none; }
  3. nav { float: left; margin: 0px 0px auto -25px; z-index: 5; }
  4. nav li { float: left; margin: 0px 10px 0px -5px; position:relative; }
  5. nav a { display: block; padding: 5px 15px; text-decoration: none; color: white; border-style: none; }
  6. nav a:hover { color: #008ACF; }

/* Sub-menu formatting */

  1. subHeaderList { margin: auto; width: 975px; padding: 0px 0px 30px 10px;}
  2. subHeaderList ul, #subHeaderList li { display: inline; float: left; font-weight: bold; }
  3. subHeaderList a:link, #subHeaderList a:visited { float: left; line-height: 14px; font-weight: bold; }
  4. subHeaderList a:link, #subHeaderList a:visited { margin: 5px 10px 4px 10px; text-decoration: none; color: #888; }
  5. subHeaderList a:hover { color: #A32C2C; }
  6. subHeaderList a:link#current, #subHeaderList a:visited#current { padding-bottom: 2px; border-bottom: 4px solid #333; background: transparent; color: #666; }
  7. subHeaderList a:link#project, #subHeaderList a:visited#project { font-size: 15px; solid #333; background: transparent; color: #444; padding-top: 1px; margin-right: 5px}

/* General content formatting */

  1. content { position: relative; width: 975px; padding: 0px 10px 10px 10px; align: center; }
  2. content { border-radius: 0px 0px 5px 5px; box-shadow: 0px 2px 6px 3px #222; z-index: 2;}

/* Main page abstract panel formatting */

  1. bottom-panel { background-color: #fff; width: 995px; height: 470px; margin: 33px 20px 0px -10px; }
  2. bottom-panel { border-radius: 0px 0px 5px 5px; box-shadow: 0px 2px 6px 2px #222; }
  3. abs-title { font-size: 30px; font-family: "Trebuchet MS", sans-serif; color: #6c6c6c; }
  4. abs-title { float: left; margin: 20px auto 0px 40px; }
  5. abs-title a:link, #abs-title a:visited { float: left; font-weight: bold; }
  6. abs-title a:link, #abs-title a:visited { text-decoration: none; color: #888; }
  7. abs-title a:hover { color: #A32C2C; }
  8. abs-text { font-size: 13px; font-family: "Trebuchet MS", sans-serif; color: #333; }
  9. abs-text { text-align: left; line-height: 180%; margin: 20px 0px auto 40px }

/* Main page accomplishments formatting */ .accomps { font-size: 18px; font-family: "Trebuchet MS", sans-serif; color: #008ACF;} .accomps { width: 320px; margin: 0px 0px 10px 30px; background: #fff; } .accomps { border-radius: 5px; border: 1px solid #aaa; box-shadow: 0px 1px 2px 1px #ccc; } .accomps ul { color: #555; font-size: 12px; list-style-type: none; padding: 5px 5px 8px 15px; } .accomps ul li { padding-bottom: 8px; } .accomps a, .accomps a:visited { color: #555; font-size: 12px; text-decoration:none; padding: 5px 5px 8px 0px;} .accomps a:hover { color: #008ACF;}

/* Main page project panel formatting */

  1. proj-panel { background-color: #fff; height: 440px; width: 995px; margin: 15px 20px 15px -10px; }
  2. proj-panel { border-radius: 5px 5px 5px 5px; box-shadow: 0px 2px 6px 2px #222; }

.feature { font-size: 18px; font-family: "Trebuchet MS", sans-serif; margin: 20px 0px 0px 16px; } .feature { color: #008ACF; background: #fff; width: 285px; height: 300px; border-style: none; } .brief { font-size: 13px; font-family: sans-serif; color: #333; } .brief { margin: 10px 10px 0px 0px; text-align: left; line-height: 180%; }

/* Footer box formatting */

  1. footer-box { border: 0px; width: 965px; }