Team:UChicago/stylesheet

From 2013.igem.org

(Difference between revisions)
m
 
(221 intermediate revisions not shown)
Line 1: Line 1:
-
/* Thanks to DTU 2011 https://2011.igem.org/Team:UChicago/How_to_customize_an_iGEM_wiki */
+
/* Removing wiki-like stuff */
-
/******************************************************************************************/
+
/****************************/
-
 
+
-
/* Removes MediaWiki Formatting */
+
-
/********************************/
+
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
-
     display:none;} /* removes header + footer */
+
     display:none;}
-
/* Redesigns MediaWiki Top Menu */
+
/* Redesigning the topmenu */
-
/********************************/
+
/***************************/
body {
body {
-
     margin: 10px 0 0 0;
+
     margin: 25px 0 0 0;
     padding: 0;}
     padding: 0;}
#top-section {
#top-section {
-
     width: 965px;
+
     width: 840px;
-
     height: 0;Y
+
     height: 0;
     margin: 0 auto;
     margin: 0 auto;
-
     padding: 0;
+
     padding: 0 0 0 5px;
     border: none;}
     border: none;}
#menubar {
#menubar {
-
     font-size: 65%;
+
     font-size: 75%;
     top: -14px;}
     top: -14px;}
 +
.left-menu {
 +
    left: 14px;}
.left-menu:hover {
.left-menu:hover {
     background-color: transparent;}
     background-color: transparent;}
Line 30: Line 29:
     color: transparent;}
     color: transparent;}
#menubar:hover li a {
#menubar:hover li a {
-
     color: white;}
+
     color: #767676;}
#menubar > ul > li:last-child {
#menubar > ul > li:last-child {
     display:none;}
     display:none;}
-
/* Redesigns Table Of Contents */ /* edit this to reflect UChicago theme */
+
/* TOC stuff removed */
-
/*******************************/
+
-
table.toc, #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle {
+
-
    text-align: left;}
+
-
#toctitle {
+
-
    margin: 5px 0;}
+
-
.toc, #toc {
+
-
    background-color: #F6F6F6;
+
-
    border: 1px solid #CCCCCC;
+
-
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15);
+
-
    -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15); /* for the Safari browser*/
+
-
    float: left;
+
-
    width: 228px;
+
-
    display: block;
+
-
    overflow: hidden;
+
-
    padding: 0;}
+
-
#toc ul, .toc ul {
+
-
    margin: 0 5px 5px 5px;}
+
-
.toc ul li {
+
-
    padding-left: 12px;
+
-
    text-indent: -12px;
+
-
    /*width: 200px;*/}
+
-
.toc ul li ul li {
+
-
    padding-left: 30px;
+
-
    text-indent: -24px;
+
-
    /*width: 170px;*/}
+
-
#toc ul ul, .toc ul ul {
+
-
    margin: 0;}
+
-
.toc {
+
-
    margin-left: -250px;
+
-
    margin-top: 20px;}
+
-
.stickBelowNavigation {
+
-
    position: fixed;
+
-
      top: 35px;
+
-
      left: 50%;
+
-
    margin-left: -462px;}
+
-
.tochidden {
+
-
    position: static;
+
-
    margin-left: -250px;}
+
/* Font style and general */
/* Font style and general */
Line 79: Line 40:
     font-family: Montserrat, Helvetica, Verdana, sans-serif;
     font-family: Montserrat, Helvetica, Verdana, sans-serif;
     font-size: 14px;
     font-size: 14px;
-
     color: #565656;}
+
     color: #000;}
p {
p {
     margin: 0;}
     margin: 0;}
#innercontent p {
#innercontent p {
     margin: 0.6em 0;}
     margin: 0.6em 0;}
-
h2, h3, h4, h5, h6 {
+
#bodyContent h2 {
-
     border: none;
+
    font: normal 24px Helvetica;
-
     font-weight: lighter;
+
    color: #800000;
-
     color: #444444;}
+
    border-bottom: 0;
 +
    margin-bottom: 30px;}
 +
#bodyContent h3 {
 +
    font: 400 18px Montserrat;
 +
    color: #000;
 +
    margin: 0;}
 +
h4 a, h4 a:visited, h4 a:active {
 +
    font: bold 17px Montserrat;
 +
    color: #000;
 +
     border-bottom: 0
 +
    transition: all 0.1s ease-in-out;
 +
     -webkit-transition: all 0.1s ease-in-out;}
 +
h4 a:hover{
 +
    font: bold 17px Montserrat;
 +
     color: #800000;
 +
    border-bottom: 0}
h1 {
h1 {
     border: none;
     border: none;
-
     color: #383838;
+
     color: #800000;
-
     text-shadow: 0 1px rgba(255, 255, 255, 0.5);
+
     font-family: Helvetica;
-
     font-size: 35px;
+
     font-size: 20px;
-
    margin: 5px 0 0 0;
+
     font-weight: lighter;}
-
     font-weight: bold;}
+
 
-
h2 {
+
/* #bodyContent h1, #bodyContent h2 {
-
    background: url("https://static.igem.org/mediawiki/2011/f/f0/Horisontal-line.png") repeat-x scroll 0 100% transparent;
+
     margin-bottom: 0;} ??? */
-
    border: none;
+
 
-
    padding: 20px 0 5px;
+
-
    font-family: Arial;
+
-
    font-size: 24px;
+
-
    font-weight: bold;
+
-
    clear: right;
+
-
    margin-bottom: 0;}
+
-
#bodyContent h1, #bodyContent h2 {
+
-
     margin-bottom: 0;}
+
-
h3 {
+
-
    font-size: 30px;
+
-
    padding: 15px 0 5px 0;}
+
-
h4 {
+
-
        font-weight: bold;}
+
ul {
ul {
-
    list-style-position: inside;
 
     margin: 0;}
     margin: 0;}
-
a, a:visited, a:active {
+
/*a:hover, a:active {
-
     color: #3366CC;}
+
     color: #800000;
 +
    text-decoration: underline;} */
pre {
pre {
     overflow: auto;
     overflow: auto;
-
     font-size: 12px;}
+
     font-size: 12px;} /* unneeded? */
div.tright, div.floatright {
div.tright, div.floatright {
     border: none;
     border: none;
-
     margin: 10px 0 10px 20px;}
+
     margin: 10px 0 10px 20px;} /* unneeded? */
div.tleft, div.floatleft {
div.tleft, div.floatleft {
     border: none;
     border: none;
-
     margin: 10px 20px 10px 0;}
+
     margin: 10px 20px 10px 0;} /* unneeded? */
div.tnone {
div.tnone {
-
     border: none;}
+
     border: none;} /* unneeded? */
iframe {
iframe {
-
     margin: 1px;}
+
     margin: 1px;} /* unneeded? */
hr {
hr {
     height: 0;
     height: 0;
     border-top: 1px solid #AAA;
     border-top: 1px solid #AAA;
-
     border-bottom: 1px solid #FFF;}
+
     border-bottom: 1px solid #FFF;} /* unneeded? */
.clear {
.clear {
     clear: both;
     clear: both;
Line 139: Line 102:
     margin: 0;
     margin: 0;
     border: none;
     border: none;
-
     visibility: hidden;}
+
     visibility: hidden;} /* unneeded? */
.superscript {
.superscript {
     font-size: 80%;
     font-size: 80%;
     position: relative;
     position: relative;
-
         top: -5px;}
+
         top: -5px;} /* unneeded? */
.subscript {
.subscript {
     font-size: 80%;
     font-size: 80%;
     position: relative;
     position: relative;
-
         top: 5px;}
+
         top: 5px;} /* unneeded? */
 +
.farve1 {
 +
        background-color: #FFCC00;}
 +
.farve2 {
 +
        background-color: #FF9900;}
 +
.farve3 {
 +
        background-color: #FF6600;}
 +
.farve4 {
 +
        background-color: #FF0000;}
 +
.farve5 {
 +
        background-color: #990000;}
 +
.farve6 {
 +
        background-color: #FF0099;}
 +
.farve7 {
 +
        background-color: #CC3399;}
 +
.farve8 {
 +
        background-color: #990066;}
 +
.farve9 {
 +
        background-color: #660066;}
 +
.farve10 {
 +
        background-color: #990099;}
 +
.farve11 {
 +
        background-color: #3366CC;}
 +
.farve12 {
 +
        background-color: #33CCFF;}
 +
.farve13 {
 +
        background-color: #99CC33;}
 +
.farve14 {
 +
        background-color: #66CC00;} /* unneeded? */
.coloredBg {
.coloredBg {
     font-size: 12px;
     font-size: 12px;
     font-weight: normal;
     font-weight: normal;
     color: #FFFFFF;
     color: #FFFFFF;
-
     padding: 5px;}
+
     padding: 5px;} /* unneeded? */
/* Layout */
/* Layout */
/**********/
/**********/
 +
#bodyContent {
 +
    background: url("https://static.igem.org/mediawiki/2013/5/55/UC_bg-pattern.jpg") repeat #767676;}
body, #heading, #innercontent {
body, #heading, #innercontent {
-
     background: url("https://static.igem.org/mediawiki/2013/5/55/UC_bg-pattern.jpg") repeat #7E7E7E;}
+
     background: url("https://static.igem.org/mediawiki/2013/5/55/UC_bg-pattern.jpg") repeat #767676;}
#content, #globalWrapper {
#content, #globalWrapper {
     border: none;
     border: none;
     width: 100%;
     width: 100%;
     margin: 0;
     margin: 0;
-
     padding: 0;}
+
     padding: 0;} /* needed for resetting MediaWiki */
-
.centering {
+
#wrapper {
     margin: 0 auto;
     margin: 0 auto;
-
     width: 965px;}
+
     width: 875px;}
-
#header {
+
-
    background: url("# red math figures") no-repeat right -30px #990000;
+
-
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
+
-
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* for the Safari browser */
+
-
    height: 100px;
+
-
    width: 100%;
+
-
    border-top: 1px solid #660000;
+
-
    border-bottom: 1px solid #660000;}
+
-
#header .centering {
+
-
    background: url("# DTU title, transparent") no-repeat top left transparent;
+
-
    /*background: url("https://static.igem.org/mediawiki/2011/5/54/UChicago2011-temp-header.png") no-repeat top left transparent;*/
+
-
    height: 100px;}
+
#heading {
#heading {
-
     height: 50px;
+
     height: 50px;}
-
    border-top: 1px solid #FFFFFF;}
+
.whiteBox {
-
#innercontent {
+
     background: #fff;
-
    padding: 1px;} /* Important!*/
+
     -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
-
.whitebox {
+
     -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
-
     background: #FFFFFF;
+
     box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);  
-
     box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
+
     width: 840px;
-
     -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* for the Safari browser */
+
     margin: 0 17px;
-
     border: 1px solid #FFFFFF;
+
     padding: 100px 0;
-
     /*text-align: justify;*/
+
     top: -125px;
-
     margin: 14px 0;}
+
    position: relative;}
-
.article {
+
pre {
-
     padding: 0 20px 10px 270px;
+
     border:none;
-
     width: 673px;}
+
    color: #767676;
-
.whitebox a {
+
    margin: 0;
-
     font-weight: bold;}
+
    padding: 10px;
 +
}
 +
 
#toc a {
#toc a {
     font-weight: normal;}
     font-weight: normal;}
Line 208: Line 191:
     width: 269px;
     width: 269px;
     margin-right: 0;}
     margin-right: 0;}
-
body.page-Team_UChicago div.whitebox:first-child {
+
body.page-Team_DTU-Denmark div.whitebox:first-child {
     display: none;}
     display: none;}
Line 224: Line 207:
/* Footer */
/* Footer */
/**********/
/**********/
-
#footer-panel {
+
#footer {
-
     background: #333333;
+
     position: relative;
-
     border-top: 1px solid #D9D9D9;}
+
     width: 840px;
-
#bodyContent {
+
    margin: 0 17px;
-
     background: #333333;}
+
     top: -90px;}
-
#footer-panel h4 {
+
#footer h4 {
-
     color: #999999;
+
     color: #000;
     font-weight: bold;}
     font-weight: bold;}
-
#footer-panel p {
+
#footer p {
-
    color: #CCCCCC;}
+
color: #fff;
 +
display: inline;
 +
font-family: verdana;
 +
font-size: 11px;}
 +
#footer p a, #footer p a:hover, #footer p a:visited, #footer p a:active {
 +
color: #800000;
 +
padding: 0;}
div.footerBox {
div.footerBox {
     border-right: 1px solid;
     border-right: 1px solid;
Line 245: Line 234:
     margin: 10px 0;
     margin: 10px 0;
     padding: 0;}
     padding: 0;}
-
img.sponsorImage{
+
.sponsorImage{
-
    float: left;
+
     width: 125px;
-
     width: 84px;
+
     padding: 2px 41px;
-
     padding: 0;
+
     margin: 0;}
-
     margin: 0;
+
.footerAttribute {
-
    border: 0px solid #444444;}
+
     padding: 60px 0 15px 0;}
-
img.hasPicOnRight {
+
.footerAttribute a, .footerAttribute p {
-
     padding-right: 10px;
+
     padding: 0 5px;}
-
    border-right-width: 1px;}
+
.footerLogo {
-
img.hasPicOnLeft {
+
     padding: 15px 0 0 0;}
-
     padding-left: 10px;}
+
-
img.hasPicOnTop {
+
-
     margin-top: 20px;
+
-
}
+
/* Slider (thanks to flowplayer.org) */
/* Slider (thanks to flowplayer.org) */
/*************************************/
/*************************************/
.scrollable {
.scrollable {
-
/* required setting */
+
    /* required settinsg */
-
position: relative;
+
    overflow :hidden;
-
overflow :hidden;
+
    padding: 60px 0;
-
     margin-top: 14px;
+
     margin: 0 auto;
-
     width: 800px;
+
     width: 840px;
-
     height: 500px;
+
     height: 400px;
-
    border: 1px solid #FFFFFF;
+
-
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
+
-
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* for the Safari browser */
+
     background: #FFFFFF;}
     background: #FFFFFF;}
.scrollable .items {
.scrollable .items {
-
/* this cannot be too large */
+
    /* this cannot be too large */
-
width: 50000px;
+
    width: 50000px;
-
position: absolute;}
+
    position: relative;}
.items div {
.items div {
-
float: left;
+
    float: left;
-
width: 800px;
+
    width: 963px;
-
height: 400px;}
+
    height: 370px;}
.prev {
.prev {
-
         background: url(https://static.igem.org/mediawiki/2011/8/81/DTU-Denmark2011-slider-prev.png) no-repeat;
+
         background: url(https://static.igem.org/mediawiki/2013/7/7d/UChi-slider-prev.png) no-repeat;
         height: 74px;
         height: 74px;
         width: 74px;
         width: 74px;
         position: absolute;
         position: absolute;
-
             left: -518px; /* ceil(963/2) + 74/2 = 482 + 37 = 519 */
+
             right: 805px; /* ceil(963/2) + 74/2 = 482 + 37 = 519 */
-
             top: 310px;
+
             top: 324px;
-
         margin-left: 50%;
+
         cursor: pointer;
-
         cursor: pointer;}
+
         z-index: 1;}
.next {
.next {
-
         background: url(https://static.igem.org/mediawiki/2011/5/56/DTU-Denmark2011-slider-next.png) no-repeat;
+
         background: url(https://static.igem.org/mediawiki/2013/d/d9/UChi-slider-next.png) no-repeat;
         height: 74px;
         height: 74px;
         width: 74px;
         width: 74px;
-
        margin-right: 50%;
 
         position: absolute;
         position: absolute;
-
             right: -519px; /* floor(963/2) + 74/2 = 481 + 37 = 518 */
+
             left: 805px; /* floor(963/2) + 74/2 = 481 + 37 = 518 */
-
             top: 310px;
+
             top: 324px;
-
         cursor: pointer;}
+
         cursor: pointer;
 +
        z-index: 1;}
.disabled {
.disabled {
         visibility: hidden;}
         visibility: hidden;}
/* position and dimensions of the navigator */
/* position and dimensions of the navigator */
.navi {
.navi {
-
     left: -56px;
+
     left: 47%;
-
    margin-left: 50%;
+
     position: absolute;
     position: absolute;
-
     top: 505px;
+
     top: 565px;
-
     width: 112px;}
+
     width: 112px;
 +
    z-index: 1;}
.navi a {
.navi a {
-
width: 8px;
+
    width: 8px;
-
height: 8px;
+
    height: 8px;
-
float: left;
+
    float: left;
-
margin: 3px;
+
    margin: 3px;
-
background: url(https://static.igem.org/mediawiki/2011/7/7e/UChicago2011-slider-navigator-red.png) 0 0 no-repeat;
+
    background: url(https://static.igem.org/mediawiki/2013/e/e3/UChi-slider-navigator-red.png) 0 0 no-repeat;
-
/*background: url(https://static.igem.org/mediawiki/2011/2/22/UChicago2011-slider-navigator-dark.png) 0 0 no-repeat;*/
+
    /*background: url(https://static.igem.org/mediawiki/2011/2/22/DTU-Denmark2011-slider-navigator-dark.png) 0 0 no-repeat;*/
-
display: block;
+
    display: block;
-
font-size: 1px;}
+
    font-size: 1px;}
.navi a:hover {
.navi a:hover {
-
background-position: 0 -8px;}
+
    background-position: 0 -8px;}
.navi a.active {
.navi a.active {
-
background-position: 0 -16px;}
+
    background-position: 0 -16px;}
/* Tooltips (thanks to flowplayer.org) */
/* Tooltips (thanks to flowplayer.org) */
Line 326: Line 308:
/*.tooltip {
/*.tooltip {
         z-index: 2;
         z-index: 2;
-
display:none;
+
    display:none;
-
background:transparent url(http://flowplayer.org/tools/img/tooltip/black_arrow.png);
+
    background:transparent url(http://flowplayer.org/tools/img/tooltip/black_arrow.png);
-
font-size:14px;
+
    font-size:14px;
-
height:70px;
+
    height:70px;
-
width:160px;
+
    width:160px;
-
padding:25px;
+
    padding:25px;
-
color:#fff;}
+
    color:#fff;}
*/
*/
-
/* Sexy Drop Down Menu (thanks to sohtanaka.com) */
+
nav {
-
/*********************************************/
+
     width: 875px;
-
li.navitem1 > a, li.navitem1 > span {
+
     height: 69px;
-
     border-bottom: 1px solid #800000;}
+
     background: url("https://static.igem.org/mediawiki/2013/7/74/UChi_banner.png") no-repeat 50%;
-
li.navitem2 > a, li.navitem2 > span {
+
     z-index: 1;
-
     border-bottom: 1px solid #800000;}
+
     position: relative;}
-
li.navitem3 > a, li.navitem3 > span {
+
-
     border-bottom: 1px solid #800000;}
+
-
li.navitem4 > a, li.navitem4 > span {
+
-
    border-bottom: 1px solid #800000;}
+
-
li.navitem5 > a, li.navitem5 > span {
+
-
     border-bottom: 1px solid #800000;}
+
-
li.navitem6 > a, li.navitem6 > span {
+
-
     border-bottom: 1px solid #800000;}
+
-
.page-Team_UChicago li.home a,
+
nav ul {
-
.page-Team_UChicago_Team li.team a,
+
    list-style: none;
-
.page-Team_UChicago_Project li.project a,
+
    padding: 5px 25px 7px 25px;}
-
.page-Team_UChicago_Notebook li.notebook a,
+
-
.page-Team_UChicago_Outreach li.outreach a,
+
-
.page-Team_UChicago_Sponsor_Us li.sponsor_us a,
+
-
ul.topnav > li > a:hover, a:active {
+
nav ul li {
-
     padding-bottom: 1px;
+
     display: inline;
-
     border-bottom-width: 5px;}
+
     padding-left: 2px}
-
#navigation,.navigation {
+
nav ul li a {
-
     height: 35px;}
+
     color: #000;}
-
.navigation {
+
 
-
     background: url("https://static.igem.org/mediawiki/2011/1/1b/Topnav_bg.gif") repeat-x scroll 0 -1px #222222;
+
.navIgem img {
-
     z-index: 1;
+
     padding-bottom: 7px;
-
     box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
+
    padding-right: 80px;}
-
     -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); /* for the Safari browser */
+
 
-
     position: relative;
+
.navTeam a:hover,
-
     border-bottom: 1px solid #000000;}
+
.navProject a:hover,
-
.stickToTop {
+
.navNotebook a:hover,
-
     position: fixed;
+
.navSafety a:hover,
-
     top:0;
+
.navSponsor a:hover {
-
     width:100%;}
+
    border-bottom: 2px solid #800000;}
-
ul.topnav {
+
 
-
     list-style: none;
+
.navHome a, .navHome a:hover, .navHome a:visited, .navHome a:active {
-
     padding: 0;
+
     font-size: 22px;
 +
     font-weight: 700;
 +
    color: rgb(128,0,0);  
 +
     text-decoration: none;
 +
    /*margin-right: 2px #000*/}
 +
 
 +
.navBar {
 +
     font-size: 22px;
 +
     font-weight: 700;
 +
    color: #000;}
 +
 
 +
.navTeam,
 +
.navProject,
 +
.navNotebook,
 +
.navSafety, .navSponsor {
 +
     padding: 0 9px;}
 +
 
 +
.navIgem a, .navIgem a:hover, .navIgem a:visited, .navIgem a:active {
 +
     font-size: 22px;
 +
     font-weight: 700;
 +
    color: #8A9045;
 +
    text-decoration: none;
 +
    margin: 0;}
 +
 
 +
.navTeam a, .navTeam a:visited, .navTeam a:active,
 +
.navProject a, .navProject a:hover, .navProject a:visited, .navProject a:active,
 +
.navNotebook a, .navNotebook a:hover, .navNotebook a:visited, .navNotebook a:active,
 +
.navSafety a, .navSafety a:hover, .navSafety a:visited, .navSafety a:active  {
 +
     font-size: 14px;
 +
     font-weight: 400;
 +
    color: #000;
 +
    text-decoration: none;
     margin: 0;
     margin: 0;
 +
    transition: border 0.2s ease-in-out;
 +
    -webkit-transition: border 0.2s ease-in-out;
 +
}
 +
 +
.navSponsor a, .navSponsor a:visited, .navSponsor a:active {
 +
    font-size: 14px;
 +
    font-weight: 400;
 +
    color: #8F3931;
 +
    text-decoration: none;
 +
    margin: 0;
 +
    transition: border 0.2s ease-in-out;
 +
    -webkit-transition: border 0.2s ease-in-out
 +
}
 +
 +
.navSponsor a:hover, {
 +
    font-size: 14px;
 +
    font-weight: 400;
 +
    color: #800000;
 +
    text-decoration: none;
 +
    margin: 0;}
 +
 +
.wrapperContent {
 +
    margin: 0 100px;
 +
    width: 640px;
 +
}
 +
 +
/* added 9-23-13 */
 +
 +
#bodyContent a[href ^="mailto:"], .link-mailto {
 +
    background: url(https://static.igem.org/mediawiki/2013/8/80/UChi_iconMail.png) center left no-repeat;
 +
    padding-left: 35px;
 +
}
 +
 +
#hello_facebook a {
 +
    background: url(https://static.igem.org/mediawiki/2013/1/1b/UChi_iconFacebook.png) center left no-repeat;
 +
    padding-left: 35px;
 +
}
 +
 +
/* added 9-24-13 */
 +
 +
.article {
 +
    clear: both;
 +
    overflow: hidden;
 +
    margin-bottom: 20px;
 +
}
 +
 +
.article img {
     float: left;
     float: left;
-
     width: 100%;
+
     padding: 0 15px 10px 0;
-
    font-size: 15px;
+
}
}
-
ul.topnav li {
+
 
 +
.article h4 {
     float: left;
     float: left;
-
    margin: 0;
 
     padding: 0;
     padding: 0;
-
     position: relative; /*--Declare X and Y axis base for sub navigation--*/
+
     width: 390px;
 +
    height: 25px;
}
}
-
ul.topnav li a {
+
 
-
     padding: 6px 20px 5px 20px;
+
.article p {
 +
    float: left;
 +
    color: #565656;
 +
    width: 390px;
 +
}
 +
 
 +
#bodyContent h4 {
 +
    margin-bottom: 0;
 +
}
 +
 
 +
#bodyContent .button {
 +
    text-align: center;
 +
    margin-top: 70px;
 +
    margin-bottom: 20px;
 +
}
 +
 
 +
.button a {
 +
    background-color: #8A9045;
 +
     padding: 10px 60px;
 +
    text-align: center;
 +
    vertical-align: middle;
 +
    border-radius: 5px;
 +
    -webkit-border-radius: 5px;
 +
    transition: background 0.1s ease-in-out;
 +
    -webkit-transition: background 0.1s ease-in-out;
 +
}
 +
 
 +
.button:hover a {
 +
    background-color: #58593F;
 +
}
 +
 
 +
.button a, .button a:hover {
     color: #fff;
     color: #fff;
 +
    text-decoration: none;
 +
}
 +
 +
/* from 9-25-13 */
 +
.divider p {
 +
    border-top: 1px solid #D6D6CE;
 +
    text-align: right;
 +
    font: 10px Verdana;
 +
    padding: 2px 2px 20px 0;
 +
}
 +
 +
.divider p a, .divider p a:hover {
 +
    color: #800000;
 +
    text-decoration: none;
 +
}
 +
 +
.divider {
 +
    width: 713px;
 +
    margin: 0 auto;
 +
    margin-top: 70px;
 +
}
 +
 +
.social ul a {
 +
    font: 400 18px Montserrat;
 +
    color: #767676;
 +
    transition: all 0.1s ease-in-out;
 +
    -webkit-transition: all 0.1s ease-in-out;
 +
}
 +
.social ul li {
 +
    margin: 0 0 13px 0;
 +
}
 +
 +
.social ul a:hover {
 +
    text-decoration: none;
 +
    color: #D6D6CE;
 +
}
 +
 +
.social ul {
 +
    list-style: none;
 +
}
 +
 +
.attributions p {
 +
    text-indent: 20px;
 +
    margin-bottom: 10px;
 +
    text-align: justify;
 +
    color: #565656;
 +
}
 +
 +
/* added 9-26-13 */
 +
 +
.subNav {
 +
    text-align: center;
 +
    margin: 30px 0 40px 0;}
 +
 +
.subNav ul {
 +
    list-style: none;
 +
    padding: 5px 25px 7px 25px;}
 +
 +
.subNav ul li {
 +
    display: inline;
 +
    padding: 0 20px;
 +
    font-size: 13px;}
 +
 +
.subNav ul li a, .subNav ul li a:hover {
 +
    color: #8F3931;
 +
    text-decoration: none;
 +
    transition: border 0.2s ease-in-out;
 +
    -webkit-transition: border 0.2s ease-in-out;
 +
}
 +
 +
.subNav ul li a:hover {
 +
    border-bottom: 2px solid #8F3931;}
 +
 +
#teamLogo {
 +
    width: 252px;
 +
    margin: 0 auto;
     display: block;
     display: block;
 +
    margin-top: 50px;
 +
}
 +
 +
.subContent {
 +
    margin: 0 40px;
 +
}
 +
 +
.advisor, {
 +
    margin-bottom: 12px;
 +
}
 +
 +
#bodyContent .button2 {
 +
    text-align: center;
 +
    margin-top: 70px;
 +
    margin-bottom: 20px;
 +
}
 +
 +
.button2 a {
 +
    color: #fff;
     text-decoration: none;
     text-decoration: none;
-
     float: left;
+
     background-color: #8F3931;
 +
    padding: 10px 60px;
 +
    text-align: center;
 +
    vertical-align: middle;
 +
    border-radius: 5px;
 +
    -webkit-border-radius: 5px;
 +
    transition: background 0.1s ease-in-out;
 +
    -webkit-transition: background 0.1s ease-in-out;
}
}
-
ul.topnav > li > a {
+
 
-
     height: 23px;
+
.button2:hover a {
-
     overflow: hidden;}
+
     background-color: #800000;
-
ul.topnav li:first-child a{
+
}
-
     padding-left: 0;
+
 
 +
.button2 a:hover {
 +
     color: #D6D6CE;
 +
    text-decoration: none;
 +
}
 +
 
 +
.dividerNotebook {
 +
    width: 760px;
 +
    margin: 0 auto;
 +
    margin-top: -20px;
 +
}
 +
 
 +
.dividerNotebook p {
 +
    border-top: 1px solid #D6D6CE;
 +
    text-align: right;
 +
    font: 10px Verdana;
 +
    padding: 2px 2px 20px 0;
 +
}
 +
 
 +
.dividerNotebook p a, .divider p a:hover {
 +
    color: #800000;
 +
    text-decoration: none;
 +
}
 +
 
 +
#bodyContent .button3 {
 +
    text-align: center;
 +
    margin-top: 70px;
 +
    margin-bottom: 20px;
 +
}
 +
 
 +
.button3 a {
 +
    color: #8A9045;
 +
    text-decoration: none;
 +
    background-color: #767676;
 +
     padding: 10px 60px;
 +
    text-align: center;
 +
    vertical-align: middle;
 +
    border-radius: 5px;
 +
    -webkit-border-radius: 5px;
 +
    transition: all 0.1s ease-in-out;
 +
    -webkit-transition: all 0.1s ease-in-out;
 +
}
 +
 
 +
.button3:hover a {
 +
    background-color: #D6D6CE;
 +
}
 +
 
 +
.button3 a:hover {
 +
    color: #58593F;
 +
    text-decoration: none;
}
}

Latest revision as of 01:38, 28 September 2013

/* Removing wiki-like stuff */ /****************************/

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

/* Redesigning the topmenu */ /***************************/ body {

   margin: 25px 0 0 0;
   padding: 0;}
  1. top-section {
   width: 840px;
   height: 0;
   margin: 0 auto;
   padding: 0 0 0 5px;
   border: none;}
  1. menubar {
   font-size: 75%;
   top: -14px;}

.left-menu {

   left: 14px;}

.left-menu:hover {

   background-color: transparent;}
  1. menubar li a {
   background-color: transparent;}
  1. menubar:hover {
   color: white;}
  1. menubar li a {
   color: transparent;}
  1. menubar:hover li a {
   color: #767676;}
  1. menubar > ul > li:last-child {
   display:none;}

/* TOC stuff removed */

/* Font style and general */ /**************************/

  1. content {
   font-family: Montserrat, Helvetica, Verdana, sans-serif;
   font-size: 14px;
   color: #000;}

p {

   margin: 0;}
  1. innercontent p {
   margin: 0.6em 0;}
  1. bodyContent h2 {
   font: normal 24px Helvetica;
   color: #800000;
   border-bottom: 0;
   margin-bottom: 30px;}
  1. bodyContent h3 {
   font: 400 18px Montserrat;
   color: #000;
   margin: 0;}

h4 a, h4 a:visited, h4 a:active {

   font: bold 17px Montserrat;
   color: #000;
   border-bottom: 0
   transition: all 0.1s ease-in-out;
   -webkit-transition: all 0.1s ease-in-out;}

h4 a:hover{

   font: bold 17px Montserrat;
   color: #800000;
   border-bottom: 0}

h1 {

   border: none;
   color: #800000;
   font-family: Helvetica;
   font-size: 20px;
   font-weight: lighter;}

/* #bodyContent h1, #bodyContent h2 {

   margin-bottom: 0;}  ??? */

ul {

   margin: 0;}

/*a:hover, a:active {

   color: #800000;
   text-decoration: underline;} */

pre {

   overflow: auto;
   font-size: 12px;} /* unneeded? */

div.tright, div.floatright {

   border: none;
   margin: 10px 0 10px 20px;} /* unneeded? */

div.tleft, div.floatleft {

   border: none;
   margin: 10px 20px 10px 0;} /* unneeded? */

div.tnone {

   border: none;} /* unneeded? */

iframe {

   margin: 1px;} /* unneeded? */

hr {

   height: 0;
   border-top: 1px solid #AAA;
   border-bottom: 1px solid #FFF;} /* unneeded? */

.clear {

   clear: both;
   height: 0;
   padding: 0;
   margin: 0;
   border: none;
   visibility: hidden;} /* unneeded? */

.superscript {

   font-size: 80%;
   position: relative;
       top: -5px;} /* unneeded? */

.subscript {

   font-size: 80%;
   position: relative;
       top: 5px;} /* unneeded? */

.farve1 {

       background-color: #FFCC00;}

.farve2 {

       background-color: #FF9900;}

.farve3 {

       background-color: #FF6600;}

.farve4 {

       background-color: #FF0000;}

.farve5 {

       background-color: #990000;}

.farve6 {

       background-color: #FF0099;}

.farve7 {

       background-color: #CC3399;}

.farve8 {

       background-color: #990066;}

.farve9 {

       background-color: #660066;}

.farve10 {

       background-color: #990099;}

.farve11 {

       background-color: #3366CC;}

.farve12 {

       background-color: #33CCFF;}

.farve13 {

       background-color: #99CC33;}

.farve14 {

       background-color: #66CC00;} /* unneeded? */

.coloredBg {

   font-size: 12px;
   font-weight: normal;
   color: #FFFFFF;
   padding: 5px;} /* unneeded? */

/* Layout */ /**********/

  1. bodyContent {
   background: url("UC_bg-pattern.jpg") repeat #767676;}

body, #heading, #innercontent {

   background: url("UC_bg-pattern.jpg") repeat #767676;}
  1. content, #globalWrapper {
   border: none;
   width: 100%;
   margin: 0;
   padding: 0;} /* needed for resetting MediaWiki */
  1. wrapper {
   margin: 0 auto;
   width: 875px;}
  1. heading {
   height: 50px;}

.whiteBox {

   background: #fff;
   -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
   -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); 
   width: 840px;
   margin: 0 17px;
   padding: 100px 0;
   top: -125px;
   position: relative;}

pre {

   border:none;
   color: #767676;
   margin: 0;
   padding: 10px;

}

  1. toc a {
   font-weight: normal;}

/* Frontpage only */ /******************/ .smallBox {

   width: 270px;
   padding: 0 20px 10px;
   float: left;
   margin-right: 15px;}

.lastSmallBox {

   width: 269px;
   margin-right: 0;}

body.page-Team_DTU-Denmark div.whitebox:first-child {

   display: none;}

/* For overview pages */ /**********************/ .overviewPage {

   margin-left: -250px;}

.overviewBox {

   width: 450px;}

.left {

   float: left;}

.right {

   float:right;}

/* Footer */ /**********/

  1. footer {
   position: relative;
   width: 840px;
   margin: 0 17px;
   top: -90px;}
  1. footer h4 {
   color: #000;
   font-weight: bold;}
  1. footer p {

color: #fff; display: inline; font-family: verdana; font-size: 11px;}

  1. footer p a, #footer p a:hover, #footer p a:visited, #footer p a:active {

color: #800000; padding: 0;} div.footerBox {

   border-right: 1px solid;
   float: left;
   margin: 10px 20px 10px 0;
   padding: 0 20px 0 0;
   width: 294px;
   min-height: 270px;}

div.footerBox:last-child {

   border: none;
   margin: 10px 0;
   padding: 0;}

.sponsorImage{

   width: 125px;
   padding: 2px 41px;
   margin: 0;}

.footerAttribute {

   padding: 60px 0 15px 0;}

.footerAttribute a, .footerAttribute p {

   padding: 0 5px;}

.footerLogo {

   padding: 15px 0 0 0;}

/* Slider (thanks to flowplayer.org) */ /*************************************/ .scrollable {

   /* required settinsg */
   overflow :hidden;
   padding: 60px 0;
   margin: 0 auto;
   width: 840px;
   height: 400px;
   background: #FFFFFF;}

.scrollable .items {

   /* this cannot be too large */
   width: 50000px;
   position: relative;}

.items div {

   float: left;
   width: 963px;
   height: 370px;}

.prev {

       background: url(UChi-slider-prev.png) no-repeat;
       height: 74px;
       width: 74px;
       position: absolute;
           right: 805px; /* ceil(963/2) + 74/2 = 482 + 37 = 519 */
           top: 324px;
       cursor: pointer;
       z-index: 1;}

.next {

       background: url(UChi-slider-next.png) no-repeat;
       height: 74px;
       width: 74px;
       position: absolute;
           left: 805px; /* floor(963/2) + 74/2 = 481 + 37 = 518 */
           top: 324px;
       cursor: pointer;
       z-index: 1;}

.disabled {

       visibility: hidden;}

/* position and dimensions of the navigator */ .navi {

   left: 47%;
   position: absolute;
   top: 565px;
   width: 112px;
   z-index: 1;}

.navi a {

   width: 8px;
   height: 8px;
   float: left;
   margin: 3px;
   background: url(UChi-slider-navigator-red.png) 0 0 no-repeat;
   /*background: url(DTU-Denmark2011-slider-navigator-dark.png) 0 0 no-repeat;*/
   display: block;
   font-size: 1px;}

.navi a:hover {

   background-position: 0 -8px;}

.navi a.active {

   background-position: 0 -16px;}

/* Tooltips (thanks to flowplayer.org) */ /*********************************************/ /*.tooltip {

       z-index: 2;
   display:none;
   background:transparent url(http://flowplayer.org/tools/img/tooltip/black_arrow.png);
   font-size:14px;
   height:70px;
   width:160px;
   padding:25px;
   color:#fff;}
  • /

nav {

   width: 875px;
   height: 69px;
   background: url("UChi_banner.png") no-repeat 50%;
   z-index: 1;
   position: relative;}

nav ul {

   list-style: none;
   padding: 5px 25px 7px 25px;}

nav ul li {

   display: inline;
   padding-left: 2px}

nav ul li a {

   color: #000;}

.navIgem img {

   padding-bottom: 7px;
   padding-right: 80px;}

.navTeam a:hover, .navProject a:hover, .navNotebook a:hover, .navSafety a:hover, .navSponsor a:hover {

   border-bottom: 2px solid #800000;}

.navHome a, .navHome a:hover, .navHome a:visited, .navHome a:active {

   font-size: 22px;
   font-weight: 700;
   color: rgb(128,0,0); 
   text-decoration: none;
   /*margin-right: 2px #000*/}

.navBar {

   font-size: 22px;
   font-weight: 700;
   color: #000;}

.navTeam, .navProject, .navNotebook, .navSafety, .navSponsor {

   padding: 0 9px;}

.navIgem a, .navIgem a:hover, .navIgem a:visited, .navIgem a:active {

   font-size: 22px;
   font-weight: 700;
   color: #8A9045;
   text-decoration: none;
   margin: 0;}

.navTeam a, .navTeam a:visited, .navTeam a:active, .navProject a, .navProject a:hover, .navProject a:visited, .navProject a:active, .navNotebook a, .navNotebook a:hover, .navNotebook a:visited, .navNotebook a:active, .navSafety a, .navSafety a:hover, .navSafety a:visited, .navSafety a:active {

   font-size: 14px;
   font-weight: 400;
   color: #000;
   text-decoration: none;
   margin: 0;
   transition: border 0.2s ease-in-out;
   -webkit-transition: border 0.2s ease-in-out;

}

.navSponsor a, .navSponsor a:visited, .navSponsor a:active {

   font-size: 14px;
   font-weight: 400;
   color: #8F3931;
   text-decoration: none;
   margin: 0;
   transition: border 0.2s ease-in-out;
   -webkit-transition: border 0.2s ease-in-out

}

.navSponsor a:hover, {

   font-size: 14px;
   font-weight: 400;
   color: #800000;
   text-decoration: none;
   margin: 0;}

.wrapperContent {

   margin: 0 100px;
   width: 640px;

}

/* added 9-23-13 */

  1. bodyContent a[href ^="mailto:"], .link-mailto {
   background: url(UChi_iconMail.png) center left no-repeat;
   padding-left: 35px;

}

  1. hello_facebook a {
   background: url(UChi_iconFacebook.png) center left no-repeat;
   padding-left: 35px;

}

/* added 9-24-13 */

.article {

   clear: both;
   overflow: hidden;
   margin-bottom: 20px;

}

.article img {

   float: left;
   padding: 0 15px 10px 0;

}

.article h4 {

   float: left;
   padding: 0;
   width: 390px;
   height: 25px;

}

.article p {

   float: left;
   color: #565656;
   width: 390px;

}

  1. bodyContent h4 {
   margin-bottom: 0;

}

  1. bodyContent .button {
   text-align: center;
   margin-top: 70px;
   margin-bottom: 20px;

}

.button a {

   background-color: #8A9045;
   padding: 10px 60px;
   text-align: center;
   vertical-align: middle;
   border-radius: 5px;
   -webkit-border-radius: 5px;
   transition: background 0.1s ease-in-out;
   -webkit-transition: background 0.1s ease-in-out;

}

.button:hover a {

   background-color: #58593F;

}

.button a, .button a:hover {

   color: #fff;
   text-decoration: none;

}

/* from 9-25-13 */ .divider p {

   border-top: 1px solid #D6D6CE;
   text-align: right;
   font: 10px Verdana;
   padding: 2px 2px 20px 0;

}

.divider p a, .divider p a:hover {

   color: #800000;
   text-decoration: none;

}

.divider {

   width: 713px;
   margin: 0 auto;
   margin-top: 70px;

}

.social ul a {

   font: 400 18px Montserrat;
   color: #767676;
   transition: all 0.1s ease-in-out;
   -webkit-transition: all 0.1s ease-in-out;

} .social ul li {

   margin: 0 0 13px 0;

}

.social ul a:hover {

   text-decoration: none;
   color: #D6D6CE;

}

.social ul {

   list-style: none;

}

.attributions p {

   text-indent: 20px;
   margin-bottom: 10px;
   text-align: justify;
   color: #565656;

}

/* added 9-26-13 */

.subNav {

   text-align: center;
   margin: 30px 0 40px 0;}

.subNav ul {

   list-style: none;
   padding: 5px 25px 7px 25px;}

.subNav ul li {

   display: inline;
   padding: 0 20px;
   font-size: 13px;}

.subNav ul li a, .subNav ul li a:hover {

   color: #8F3931;
   text-decoration: none;
   transition: border 0.2s ease-in-out;
   -webkit-transition: border 0.2s ease-in-out;

}

.subNav ul li a:hover {

   border-bottom: 2px solid #8F3931;}
  1. teamLogo {
   width: 252px;
   margin: 0 auto;
   display: block;
   margin-top: 50px;

}

.subContent {

   margin: 0 40px;

}

.advisor, {

   margin-bottom: 12px;

}

  1. bodyContent .button2 {
   text-align: center;
   margin-top: 70px;
   margin-bottom: 20px;

}

.button2 a {

   color: #fff;
   text-decoration: none;
   background-color: #8F3931;
   padding: 10px 60px;
   text-align: center;
   vertical-align: middle;
   border-radius: 5px;
   -webkit-border-radius: 5px;
   transition: background 0.1s ease-in-out;
   -webkit-transition: background 0.1s ease-in-out;

}

.button2:hover a {

   background-color: #800000;

}

.button2 a:hover {

   color: #D6D6CE;
   text-decoration: none;

}

.dividerNotebook {

   width: 760px;
   margin: 0 auto;
   margin-top: -20px;

}

.dividerNotebook p {

   border-top: 1px solid #D6D6CE;
   text-align: right;
   font: 10px Verdana;
   padding: 2px 2px 20px 0;

}

.dividerNotebook p a, .divider p a:hover {

   color: #800000;
   text-decoration: none;

}

  1. bodyContent .button3 {
   text-align: center;
   margin-top: 70px;
   margin-bottom: 20px;

}

.button3 a {

   color: #8A9045;
   text-decoration: none;
   background-color: #767676;
   padding: 10px 60px;
   text-align: center;
   vertical-align: middle;
   border-radius: 5px;
   -webkit-border-radius: 5px;
   transition: all 0.1s ease-in-out;
   -webkit-transition: all 0.1s ease-in-out;

}

.button3:hover a {

   background-color: #D6D6CE;

}

.button3 a:hover {

   color: #58593F;
   text-decoration: none;

}