Team:Cooper Union/CSS

From 2014.igem.org

(Difference between revisions)
(Undo revision 187727 by Wongsara (talk))
(Undo revision 187727 by Wongsara (talk))
Line 128: Line 128:
/* Removes auto wiki parameters */
/* Removes auto wiki parameters */
-
#contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo, .printfooter, .visualClear {
+
 
-
    display:none;}
+
#contentSub, #footer-box, #catlinks,  #search-controls, #p-logo, .printfooter, .visualClear, .firstHeading {display: none;} /*-- hides default wiki settings --*/
-
#top-section {
+
 
-
    border: none;
+
 
-
    height: 0px;}
+
 
-
#content {
+
 
-
    border: none;}
+
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
#top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/
 +
 
 +
 
 +
background-color: #383838;
 +
 
 +
 
 +
border: 0 none;
 +
 
 +
 
 +
height: 14px;
 +
 
 +
 
 +
z-index: 100;
 +
 
 +
 
 +
top: 0;
 +
 
 +
 
 +
width: 975px;
 +
 
 +
 
 +
left: 50%;
 +
 
 +
 
 +
margin-left: -487px;
 +
 
 +
 
 +
}
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
#menubar a:link, #menubar a:active, #menubar a:visited, #menubar a:hover, #menubar:hover { /*-- styling for default menu bar links (edit, page, history, etc.) --*/
 +
 
 +
 
 +
color: #727272;
 +
 
 +
 
 +
text-decoration: none;
 +
 
 +
 
 +
background-color: transparent;
 +
 
 +
 
 +
}
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
body {
 +
 
 +
 
 +
background-color: #fff;
 +
 
 +
 
 +
}
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
#globalWrapper, #content { /*-- changes default wiki settings --*/
 +
 
 +
 
 +
width: 100%;
 +
 
 +
 
 +
height: 100%;
 +
 
 +
 
 +
border: 0px;
 +
 
 +
 
 +
background-color: transparent;
 +
 
 +
 
 +
margin: 0px;
 +
 
 +
 
 +
padding: 0px;
 +
 
 +
 
 +
}
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
html, body, .wrapper { /*-- changes default wiki settings --*/
 +
 
 +
 
 +
width: 100%;
 +
 
 +
 
 +
height: 100%;
 +
 
 +
 
 +
background-color: transparent;
 +
 
 +
 
 +
}
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
/* Top Menu Bar */
#menubar > ul > li:last-child {
#menubar > ul > li:last-child {

Revision as of 18:03, 10 October 2014

<style> body {

 font-family: Helvetica, Arial, sans-serif;
 font-size: 15px;
 text-align: center;
 background: #dddddd;

}


h1 { margin-left:30px; border:none !important; } h2 { border: none; } .page-body-content { margin:30px; }

table, td { border: 1px solid black; padding: 5px 10px; }

table { border-collapse: collapse; margin:25px; }


.right {

 text-align: right;
 margin-right: 1em;

}


/* menu link style */ a.menu:link { color: #ffffff; font-family: Helvetica, Arial, sans-serif; text-decoration: none; }

a.menu:visited { color: #ffffff; font-family: Helvetica, Arial, sans-serif; text-decoration: none; }

a.menu:hover { color: #ffffff; font-family: Helvetica, Arial, sans-serif; text-decoration: none; }

a.menu:active { color: #ffffff; font-family: Helvetica, Arial, sans-serif; text-decoration: none; }



/* dropdown menu */

ul.menu {

 text-align: left;
 color: #ffffff;
 display: inline;
 margin: 0;
 padding: 15px 4px 17px 0;
 list-style: none;
 -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
 -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
 box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);

} ul.menu li {

 font: bold 12/18px sans-serif;
 color: #ffffff;
 display: inline-block;
 margin-right: -4px;
 position: relative;
 padding: 15px 20px;
 background: #272727;
 cursor: pointer;
 -webkit-transition: all 0.2s;
 -moz-transition: all 0.2s;
 -ms-transition: all 0.2s;
 -o-transition: all 0.2s;
 transition: all 0.2s;

} ul.menu li:hover {

 background: #55555;
 color: #fffff;

} ul.menu li ul {

 padding: 0;
 position: absolute;
 top: 48px;
 left: 0;
 width: 150px;
 -webkit-box-shadow: none;
 -moz-box-shadow: none;
 box-shadow: none;
 display: none;
 opacity: 0;
 visibility: hidden;
 -webkit-transiton: opacity 0.2s;
 -moz-transition: opacity 0.2s;
 -ms-transition: opacity 0.2s;
 -o-transition: opacity 0.2s;
 -transition: opacity 0.2s;

} ul.menu li ul li {

 background: #272727; 
 display: block;
 font: bold 12px sans-serif;  
 color: #ffffff;
 text-shadow: 0 -1px 0 #000000;

margin:0; } ul.menu li ul li:hover { background: #777777; } ul.menu li:hover ul {

 display: block;
 opacity: 1;
 visibility: visible;

}



/* Removes auto wiki parameters */


  1. contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .visualClear, .firstHeading {display: none;} /*-- hides default wiki settings --*/






  1. top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/


background-color: #383838;


border: 0 none;


height: 14px;


z-index: 100;


top: 0;


width: 975px;


left: 50%;


margin-left: -487px;


}





  1. menubar a:link, #menubar a:active, #menubar a:visited, #menubar a:hover, #menubar:hover { /*-- styling for default menu bar links (edit, page, history, etc.) --*/


color: #727272;


text-decoration: none;


background-color: transparent;


}




body {


background-color: #fff;


}




  1. globalWrapper, #content { /*-- changes default wiki settings --*/


width: 100%;


height: 100%;


border: 0px;


background-color: transparent;


margin: 0px;


padding: 0px;


}




html, body, .wrapper { /*-- changes default wiki settings --*/


width: 100%;


height: 100%;


background-color: transparent;


}






/* Top Menu Bar */

  1. menubar > ul > li:last-child {
   display: none;}
  1. menubar {
   width: auto;}

body {

   margin: 10px 0 0 0;
   padding: 0;}
  1. top-section {
   width: 100%;
   height: 0;
   margin: 0 auto;
   padding: 0;
   border: none;}
  1. menubar {
   font-size: 65%;
   top: -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: white;}


/* Main Page specialty format */

.menu-parent { width:100%; height:50px; background-color:#272727; position:relative; } .menu-top-logo { position:absolute; top:0; right:0; }

.parent-container { width:100%; } .sponsors { font-weight:bold; } .sponsors img { height:30px; margin-bottom:10px; }

.footer { margin:30px 0; width:100% } .footer div { float:left; width:27%; margin:0 0 0 3%; } .footer br.clear-left { clear:left; }

.footer div ul { list-style-type:none !important; list-style-image:none; padding:0; margin:0; } .footer div ul li { list-style-type:none !important; list-style-image:none; padding:0; margin:0; } .footer-blurb p { font-size:0.9em; color:#444; } .footer em { font-weight:bold; }

.hero-image { width:100%; height:250px; overflow:hidden; padding:0; margin:0 0 30px 0; } .hero-image img { width:100%; margin:0; /*position:fixed; z-index:-1; top:0; left:0;*/ }

</style>