Team:UT Dallas/css

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
/* Header formatting */
/* Header formatting */
-
h1, h2, h3, h4, h5 { font-family: "Trebuchet MS", sans-serif; padding:10px; }
+
h1,h2,h3,h4,h5 {
-
h2, h2 a, h2 a:visited { background: #444; color: #AAA; }
+
    font-family: "Trebuchet MS", sans-serif;
-
h3, h3 a, h3 a:visited { color: #444; text-decoration: bold;}
+
    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 */
/* Full page formatting */
#content {
#content {
-
padding: 0px 0px 0px 0px;
+
    padding: 0;
-
width:1024px;
+
    width: 1024px;
-
margin: 15px auto 15px;
+
    margin: 15px auto;
-
background: none repeat scroll 0 0 transparent;
+
    background: none repeat scroll 0 0 transparent;
-
border:0px;
+
    border: 0;
 +
}
 +
 
 +
#back {
 +
    background-color: #C2E0C2;
 +
}
 +
 
 +
/*FORMATS THE BACKGROUND FOR ALL PAGES*/
 +
#top-section {
 +
    position: relative;
 +
    height: 20px;
 +
    width: 975px;
 +
}
 +
 
 +
#contentSub,#search-controls,.firstHeading,#catlinks,#p-logo {
 +
    display: none;
 +
}
 +
 
 +
#container {
 +
    margin: 15px 0 auto auto;
 +
    width: 975px;
 +
}
 +
 
 +
#globalwrapper {
 +
    margin: 0 0 auto auto;
}
}
-
body#back { background-color: #C2E0C2 }  /*FORMATS THE BACKGROUND FOR ALL PAGES*/
 
-
#top-section { position: relative; height: 20px; width: 975px; }
 
-
#contentSub, #search-controls, .firstHeading, #catlinks, #p-logo { display:none; }
 
-
#container { margin: 15px 0px auto auto; width: 975px; }
 
-
#globalwrapper { margin: 0px 0px auto auto; }
 
/* Title panel formatting */
/* Title panel formatting */
-
#top-panel { height: 260px; background-color: white; background-image: url('https://static.igem.org/mediawiki/2013/d/dd/Nserl2.png'); } /*FORMATS HEADER BACKGROUND*/
+
#top-panel {
-
#top-panel { margin: -20px -10px auto -10px; border-radius: 5px 5px 0px 0px; box-shadow: 0px -2px 6px 2px #222; }
+
    height: 260px;
-
#trans { text-align: right; color: #555; letter-spacing: 1.3px; }
+
    background-color: #FFF;
-
#sa { line-height: 100%; font-family: "Trebuchet MS", sans-serif; font-size: 36px; }
+
    background-image: url(https://static.igem.org/mediawiki/2013/d/dd/Nserl2.png);
-
#sa { color: #008ACF; padding-top: 55px; letter-spacing: 1.3px; text-align: right; }
+
}
 +
 
 +
/*FORMATS HEADER BACKGROUND*/
 +
#top-panel {
 +
    margin: -20px -10px auto;
 +
    border-radius: 5px 5px 0 0;
 +
    box-shadow: 0 -2px 6px 2px #222;
 +
}
 +
 
 +
#trans {
 +
    text-align: right;
 +
    color: #555;
 +
    letter-spacing: 1.3px;
 +
}
 +
 
 +
#sa {
 +
    line-height: 100%;
 +
    font-family: "Trebuchet MS", sans-serif;
 +
    font-size: 36px;
 +
}
 +
 
 +
#sa {
 +
    color: #008ACF;
 +
    padding-top: 55px;
 +
    letter-spacing: 1.3px;
 +
    text-align: right;
 +
}
/* Border above main menu formatting */
/* Border above main menu formatting */
-
#border-top { background-color: #6c6c6c; height: 6px; width: 995px; margin: 0px -10px 0px -10px; }
+
#border-top {
 +
    background-color: #6c6c6c;
 +
    height: 6px;
 +
    width: 995px;
 +
    margin: 0 -10px;
 +
}
/* Main menu formatting */
/* Main menu formatting */
-
#nav { font-family: "Trebuchet MS", sans-serif; font-size: 15px; color: white;}  
+
#nav {
-
#nav { background-color: #339933; width: 1025px; list-style: none; }
+
    font-family: "Trebuchet MS", sans-serif;
-
#nav { float: left; margin: 0px 0px auto -25px; z-index: 5; }
+
    font-size: 15px;
-
#nav li { float: left; margin: 0px 20px 0px -5px; position:relative; }
+
    color: #FFF;
-
#nav a { display: block; padding: 5px 15px; text-decoration: none; color: white; border-style: none; }
+
}
-
#nav a:hover { color: #000000; }
+
 
 +
#nav {
 +
    background-color: #393;
 +
    width: 1025px;
 +
    list-style: none;
 +
}
 +
 
 +
#nav {
 +
    float: left;
 +
    margin: 0 0 auto -25px;
 +
    z-index: 5;
 +
}
 +
 
 +
#nav li {
 +
    float: left;
 +
    margin: 0 20px 0 -5px;
 +
    position: relative;
 +
}
 +
 
 +
#nav a {
 +
    display: block;
 +
    padding: 5px 15px;
 +
    text-decoration: none;
 +
    color: #FFF;
 +
    border-style: none;
 +
}
 +
 
 +
#nav a:hover {
 +
    color: #000;
 +
}
/* General content formatting */
/* General content formatting */
-
#content { position: relative; width: 975px; padding: 0px 10px 10px 10px; align: center; }
+
#content {
-
#content { border-radius: 0px 0px 5px 5px; box-shadow: 0px 2px 6px 3px #222; z-index: 2;}
+
    position: relative;
 +
    width: 975px;
 +
    padding: 0 10px 10px;
 +
    align: center;
 +
}
 +
 
 +
#content {
 +
    border-radius: 0 0 5px 5px;
 +
    box-shadow: 0 2px 6px 3px #222;
 +
    z-index: 2;
 +
}
/* Main page abstract panel formatting */
/* Main page abstract panel formatting */
-
#bottom-panel { background-color: #fff; width: 995px; height: 470px; margin: 33px 20px 0px -10px; }
+
#bottom-panel {
-
#bottom-panel { border-radius: 0px 0px 5px 5px; box-shadow: 0px 2px 6px 2px #222; }
+
    background-color: #fff;
-
#abs-title { font-size: 30px; font-family: "Trebuchet MS", sans-serif; color: #6c6c6c; }
+
    width: 995px;
-
#abs-title { float: left; margin: 20px auto 0px 40px; }
+
    height: 470px;
-
#abs-title a:link, #abs-title a:visited { float: left; font-weight: bold; }
+
    margin: 33px 20px 0 -10px;
-
#abs-title a:link, #abs-title a:visited { text-decoration: none; color: #888; }
+
}
-
#abs-title a:hover { color: #A32C2C; }
+
 
-
#abs-text { font-size: 13px; font-family: "Trebuchet MS", sans-serif; color: #333; }
+
#bottom-panel {
-
#abs-text { text-align: left; line-height: 180%; margin: 20px 0px auto 40px }
+
    border-radius: 0 0 5px 5px;
 +
    box-shadow: 0 2px 6px 2px #222;
 +
}
 +
 
 +
#abs-title {
 +
    font-size: 30px;
 +
    font-family: "Trebuchet MS", sans-serif;
 +
    color: #6c6c6c;
 +
}
 +
 
 +
#abs-title {
 +
    float: left;
 +
    margin: 20px auto 0 40px;
 +
}
 +
 
 +
#abs-title a:link,#abs-title a:visited {
 +
    float: left;
 +
    font-weight: 700;
 +
}
 +
 
 +
#abs-title a:link,#abs-title a:visited {
 +
    text-decoration: none;
 +
    color: #888;
 +
}
 +
 
 +
#abs-title a:hover {
 +
    color: #A32C2C;
 +
}
 +
 
 +
#abs-text {
 +
    font-size: 13px;
 +
    font-family: "Trebuchet MS", sans-serif;
 +
    color: #333;
 +
}
 +
 
 +
#abs-text {
 +
    text-align: left;
 +
    line-height: 180%;
 +
    margin: 20px 0 auto 40px;
 +
}
/* Main page sub box formatting */
/* Main page sub box formatting */
-
.subbox { font-size: 18px; font-family: "Trebuchet MS", sans-serif; color: #ff6600;}
+
.subbox {
-
.subbox { width: 320px; margin: 0px 0px 10px 30px; background: #fff; }
+
    font-size: 18px;
-
.subbox { border-radius: 5px; border: 1px solid #aaa; box-shadow: 0px 1px 2px 1px #ff6600; }
+
    font-family: "Trebuchet MS", sans-serif;
 +
    color: #f60;
 +
}
 +
 
 +
.subbox {
 +
    width: 320px;
 +
    margin: 0 0 10px 30px;
 +
    background: #fff;
 +
}
 +
 
 +
.subbox {
 +
    border-radius: 5px;
 +
    border: 1px solid #aaa;
 +
    box-shadow: 0 1px 2px 1px #f60;
 +
}
/* Main page project panel formatting */
/* Main page project panel formatting */
-
#proj-panel { background-color: #fff; height: 440px; width: 995px; margin: 15px 20px 15px -10px; }
+
#proj-panel {
-
#proj-panel { border-radius: 5px 5px 5px 5px; box-shadow: 0px 2px 6px 2px #222; }
+
    background-color: #fff;
-
.feature { font-size: 18px; font-family: "Trebuchet MS", sans-serif; margin: 20px 0px 0px 16px; }
+
    height: 440px;
-
.feature { color: #008ACF; background: #fff; width: 285px; height: 300px; border-style: none; }
+
    width: 995px;
-
.brief { font-size: 13px; font-family: sans-serif; color: #333; }
+
    margin: 15px 20px 15px -10px;
-
.brief { margin: 10px 10px 0px 0px; text-align: left; line-height: 180%; }
+
}
 +
 
 +
#proj-panel {
 +
    border-radius: 5px 5px 5px 5px;
 +
    box-shadow: 0 2px 6px 2px #222;
 +
}
 +
 
 +
.feature {
 +
    font-size: 18px;
 +
    font-family: "Trebuchet MS", sans-serif;
 +
    margin: 20px 0 0 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 0 0;
 +
    text-align: left;
 +
    line-height: 180%;
 +
}
/* Footer box formatting */
/* Footer box formatting */
-
#footer-box { border: 0px; width: 965px; }
+
#footer-box {
 +
    border: 0;
 +
    width: 965px;
 +
}

Revision as of 20:05, 6 September 2013

/* 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 */

  1. content {
   padding: 0;
   width: 1024px;
   margin: 15px auto;
   background: none repeat scroll 0 0 transparent;
   border: 0;

}

  1. back {
   background-color: #C2E0C2;

}

/*FORMATS THE BACKGROUND FOR ALL PAGES*/

  1. top-section {
   position: relative;
   height: 20px;
   width: 975px;

}

  1. contentSub,#search-controls,.firstHeading,#catlinks,#p-logo {
   display: none;

}

  1. container {
   margin: 15px 0 auto auto;
   width: 975px;

}

  1. globalwrapper {
   margin: 0 0 auto auto;

}

/* Title panel formatting */

  1. top-panel {
   height: 260px;
   background-color: #FFF;
   background-image: url(Nserl2.png);

}

/*FORMATS HEADER BACKGROUND*/

  1. top-panel {
   margin: -20px -10px auto;
   border-radius: 5px 5px 0 0;
   box-shadow: 0 -2px 6px 2px #222;

}

  1. trans {
   text-align: right;
   color: #555;
   letter-spacing: 1.3px;

}

  1. sa {
   line-height: 100%;
   font-family: "Trebuchet MS", sans-serif;
   font-size: 36px;

}

  1. 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: 0 -10px;

}

/* Main menu formatting */

  1. nav {
   font-family: "Trebuchet MS", sans-serif;
   font-size: 15px;
   color: #FFF;

}

  1. nav {
   background-color: #393;
   width: 1025px;
   list-style: none;

}

  1. nav {
   float: left;
   margin: 0 0 auto -25px;
   z-index: 5;

}

  1. nav li {
   float: left;
   margin: 0 20px 0 -5px;
   position: relative;

}

  1. nav a {
   display: block;
   padding: 5px 15px;
   text-decoration: none;
   color: #FFF;
   border-style: none;

}

  1. nav a:hover {
   color: #000;

}

/* General content formatting */

  1. content {
   position: relative;
   width: 975px;
   padding: 0 10px 10px;
   align: center;

}

  1. content {
   border-radius: 0 0 5px 5px;
   box-shadow: 0 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 0 -10px;

}

  1. bottom-panel {
   border-radius: 0 0 5px 5px;
   box-shadow: 0 2px 6px 2px #222;

}

  1. abs-title {
   font-size: 30px;
   font-family: "Trebuchet MS", sans-serif;
   color: #6c6c6c;

}

  1. abs-title {
   float: left;
   margin: 20px auto 0 40px;

}

  1. abs-title a:link,#abs-title a:visited {
   float: left;
   font-weight: 700;

}

  1. abs-title a:link,#abs-title a:visited {
   text-decoration: none;
   color: #888;

}

  1. abs-title a:hover {
   color: #A32C2C;

}

  1. abs-text {
   font-size: 13px;
   font-family: "Trebuchet MS", sans-serif;
   color: #333;

}

  1. abs-text {
   text-align: left;
   line-height: 180%;
   margin: 20px 0 auto 40px;

}

/* Main page sub box formatting */ .subbox {

   font-size: 18px;
   font-family: "Trebuchet MS", sans-serif;
   color: #f60;

}

.subbox {

   width: 320px;
   margin: 0 0 10px 30px;
   background: #fff;

}

.subbox {

   border-radius: 5px;
   border: 1px solid #aaa;
   box-shadow: 0 1px 2px 1px #f60;

}

/* Main page project panel formatting */

  1. proj-panel {
   background-color: #fff;
   height: 440px;
   width: 995px;
   margin: 15px 20px 15px -10px;

}

  1. proj-panel {
   border-radius: 5px 5px 5px 5px;
   box-shadow: 0 2px 6px 2px #222;

}

.feature {

   font-size: 18px;
   font-family: "Trebuchet MS", sans-serif;
   margin: 20px 0 0 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 0 0;
   text-align: left;
   line-height: 180%;

}

/* Footer box formatting */

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

}