Difference between revisions of "Template:LZU-CHINA/CSS"

Line 12: Line 12:
 
width:0px;
 
width:0px;
 
}
 
}
 
+
#sideMenu,
 
+
#top_title{
 
+
    display: none;
top_menu_inside #bars_item {
+
  position: absolute;
+
  top: -30px !important;
+
  left: -100px !important;
+
  z-index: -1 !important;
+
  cursor: pointer;
+
 
}
 
}
 
+
#content{
sideMenu,
+
    width: 100%;
top_title {
+
    margin: 0px;
  display: none;
+
    padding:0;
 +
background-color:block;
 
}
 
}
 
+
#HQ_page{ background-color:#FFF;
content {
+
background-image:url("https://static.igem.org/mediawiki/2018/6/6b/T--Nanjing-China--background-1.png");
  padding: 0px;
+
background-attachment:fixed;
  width: 100%;
+
background-size:cover;
}
+
background-repeat:no-repeat
 
+
background-position:bottom}
 +
#HQ_page p{ font-size:110%;}
 +
#HQ_page h3{ font-size:130%;}
 +
#HQ_page h2{ font-size:150%;}
 +
#HQ_page h1{ font-size:200%; font-family: "Comic Sans MS", cursive;}
 +
#HQ_page table{ border:none;
 +
background-color:rgba(0,51,204,0);}
 +
#HQ_page td{border:none;}
 
body {
 
body {
 
+
font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
  background-color: white;
+
margin: 0;
  margin: 0px;
+
padding: 0;
 +
    background-color:rgba(255,255,255,0);
 
}
 
}
 
+
a img {border: none;}
bodyContent h1 {
+
table {
  font-weight: 300 !important;
+
    border-collapse: collapse;
 +
    border-spacing: 0;
 
}
 
}
 
+
.container {
bodyContent h1,
+
width: 100%;
bodyContent h2,
+
font-family: Verdana, Geneva, sans-serif;
bodyContent h3,
+
margin: 0 auto;
bodyContent h4,
+
alignment-adjust:central;
bodyContent h5 {
+
  margin-bottom: 0px;
+
  border-bottom: none;
+
 
}
 
}
 
+
.header {
bodyContent {
+
position:relative;
  padding-right: 0px;
+
width:100%;
 +
font-family: Verdana, Geneva, sans-serif;
 +
alignment-adjust:central;
 +
z-index:2;}
 +
.contain {
 +
position: relative;
 +
width: 76%;
 +
max-width: 1100px;
 +
min-width: 700px;
 +
padding: 10px 0;
 +
alignment-adjust: central;
 +
background-color:rgba(255,255,255,0.4);
 
}
 
}
 
+
.contain ul, .contain ol {  
globalWrapper {
+
padding: 0 15px 15px 40px;  
  font-size: 100%;
+
  padding: 0px;
+
  margin: -10px -20px -20px -20px;
+
 
}
 
}
 +
.footer {
 +
position:relative;
 +
clear: both;
 +
alignment-adjust:central;
 +
background-color:rgba(0,51,204,0);
  
.navbar-collapse {
 
 
  padding-left: 0px;
 
 
}
 
}
 
+
#menu{
banner {
+
position:fixed;
  margin-top: 50px;
+
left:50px;
 +
width: 770px;
 +
font-family: "Comic Sans MS", cursive;
 +
z-index:20;
 +
 
}
 
}
 
+
#menu ul{ margin: auto; padding:0; list-style:none; width:770px;}
sideMenu {
+
#menu ul li{ height:42px; line-height:42px; margin-left: 2px; margin-bottom: 2px; border-right:3px solid #666; border-bottom:2.8px solid #666; border-top:1.5px solid #666; border-left:1px solid #666; text-align:center; float:left; width:122px; color:#F90; background-color:rgba(254,225,129,0.8);}
  margin-top: 10px;
+
#menu ul li a{ color:#003; text-decoration:none; display:block;
 +
width:123px; height:42px;}
 +
#menu ul li a:hover{
 +
background:rgba(80,80,80,0.6);
 +
color: #FFF;
 +
width: 124px;
 +
height: 46px;
 +
font-family:Verdana, Geneva, sans-serif;}
 +
#menu ul li ul{ display:none; width:124px; z-index:3;}
 +
#menu ul li.listshow ul{ display:block;}
 +
#menu ul li ul li{
 +
float: none;
 +
width: 122px;
 +
margin: 0;
 
}
 
}
 
+
#menu ul li ul li a{ background:none; width:124px;}
.navbar-nav .dropdown-menu, .navbar .dropdown-menu {
+
#menu ul li ul li a:hover{ background:rgba(102,102,102,0.6); color:#FFFFFF; width:124px; height:45px; font-family:Verdana, Geneva, sans-serif;}
 
+
#menu ul li a#on{ background:none;}
  margin-top: 0;
+
.clear{clear:both;}
 +
#d{ left:85%; width:15%; position:fixed; z-index:10;}
 +
#HOME {
 +
position:relative;
 +
    top:auto;
 +
width: 115px;
 +
text-align:center;
 +
background:rgba(255,255,0,0.2);
 +
font-size:15px;
 +
alignment-adjust:central;
 +
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
 +
z-index:3;
 +
visibility: hidden;
 
}
 
}
 +
#HOME .sub {
 +
background-color:rgba(102,102,204,0.5); height:50px; line-height:50px; border-bottom:2px solid #999; border-right:2.5px solid #666; text-align:center; float:left; width:115px;}
 +
#HOME .sub ul{ margin: auto; padding:0; list-style:none; width:115px;}
 +
#HOME .sub ul li{
 +
background-color:rgba(0,153,255,0.3); height:50px; line-height:50px; border-bottom:2px solid #999; border-right:2.5px solid #666; text-align:center; float:left; width:115px;}
 +
#HOME .sub ul li a:hover{background-color:#930; color:#CCC; height:50px; line-height:50px;}
 +
#HOME .sub ul li a{ text-decoration:none; color:#000;}
 +
#HOME ul{
 +
margin: auto; padding:0; list-style:0;}
 +
#HOME ul li{ background:rgba(102,102,153,0.3); height:37px; line-height:37px; border-bottom:2px solid #999; border-right:2.5px solid #666; text-align:center; float:left; width:115px; margin-right:1px; list-style:0;}
 +
#HOME ul li a{
 +
text-decoration: none;
 +
display:block;
 +
color:#003;
 +
width:115px;
 +
height:37px;
  
/**************************************************************** MENU ***************************************************************/ /* Wrapper for the menu */
 
.igem_2018_menu_wrapper {
 
 
  width: 15%;
 
  height: 100vh;
 
  position: fixed;
 
  right: 0%;
 
  padding: 0px;
 
  float: right;
 
  border-left: 1px solid #d3d3d3;
 
  background-color: #dddddd;
 
  text-align: left;
 
  font-family: Tahoma, Geneva, sans-serif;
 
  overflow-y: auto;
 
  overflow-x: hidden;
 
 
}
 
}
 
+
#HOME ul li a:hover{ background:rgba(102,102,153,0.5); color:#FFFFFF; width:115px; height:40px;}
/* this hides the scrollbar to keep view consistency */ .igem_2018_menu_wrappe::-webkit-scrollbar {
+
#HOME ul li a#on{ background:rgba(102,102,153,0.9);}
 
+
.f{ position:absolute; width:80%; left:10%; alignment-adjust:central; z-index:2;}
  display: none;
+
.f-word{ position:relative; width:30%; left:auto; height:230px; float:left;}
}
+
.f-img{ position:relative; width:20%; height:120px; float:left;}
 
+
#HQ_page .f p{ font-size:90%;}
/* styling for links in the menu, removes the line under text */ .igem_2018_menu_wrapper a {
+
.container .footer div .f .f-word h3 {
 
+
color: #000;
  text-decoration: none;
+
font-family: Verdana, Arial, Helvetica, sans-serif;
}
+
 
+
/* styling for the images in the menu */ .igem_2018_menu_wrapper img {
+
 
+
  width: 100%;
+
}
+
 
+
/* styling for the menu buttons */ .igem_2018_menu_wrapper .menu_button {
+
 
+
  width: 100%;
+
  padding: 10px 0px 10px 15px;
+
  float: left;
+
  border-bottom: 1px solid #d3d3d3;
+
  font-size: 12px;
+
  font-weight: bold;
+
  color: #5e5f5f;
+
  cursor: pointer;
+
}
+
 
+
.igem_2018_menu_wrapper .menu_bottom_padding {
+
 
+
  width: 100%;
+
  height: 30px;
+
  float: left;
+
}
+
 
+
.menu_button.direct_to_page {
+
 
+
  padding-left: 36px;
+
}
+
 
+
.igem_2018_menu_wrapper .menu_button .expand_collapse_icon {
+
 
+
  width: 10%;
+
  float: left;
+
}
+
 
+
.igem_2018_menu_wrapper .menu_button .expand_collapse_icon::before {
+
 
+
  content: "+";
+
}
+
 
+
 
+
/* styling for the menu buttons on hover */ .igem_2018_menu_wrapper .menu_button:hover, .igem_2018_menu_wrapper .submenu_button:hover, .submenu_button.current_page:hover {
+
 
+
  background-color: #3399ff;
+
  text-decoration: none;
+
  color: #ffffff;
+
}
+
 
+
/* styling for the menu button when it is the current page */ .current_page {
+
 
+
  background-color: #7fc1f7 !important;
+
  color: #5e5f5f !important;
+
}
+
 
+
/* styling for the submenu buttons */ .igem_2018_menu_wrapper .submenu_button {
+
 
+
  width: 100%;
+
  padding: 10px 0px 10px 34px;
+
  float: left;
+
  background-color: #f2f2f2;
+
  border-bottom: 1px solid #d3d3d3;
+
  font-size: 12px;
+
  color: #5e5f5f;
+
  cursor: pointer;
+
}
+
 
+
/* wrapper for the submenu items, they are hidden by default*/ .igem_2018_menu_wrapper .submenu_wrapper {
+
 
+
  display: none;
+
}
+
 
+
/* when the page size is bigger than 800px, this show/hide control is hidden by default */ .igem_2018_menu_wrapper #display_menu_control {
+
 
+
  display: none;
+
  text-align: center;
+
}
+
 
+
/***************************************************** CONTENT OF THE PAGE ****************************************************/
+
 
+
/* Wrapper for the content */ .igem_2018_content_wrapper {
+
 
+
  width: 81%;
+
  margin: 2%;
+
  display: block;
+
  float: left;
+
  background-color: white;
+
  font-family: Tahoma, Geneva, sans-serif;
+
}
+
 
+
/********************************* HTML STYLING *********************************/
+
 
+
/* styling for the titles h1 h2 */ .igem_2018_content_wrapper h1, .igem_2018_content_wrapper h2 {
+
 
+
  padding: 5px 15px;
+
  border-bottom: 0px;
+
  color: #3399ff;
+
}
+
 
+
/* styling for the titles h3 h4 h5 h6*/ .igem_2018_content_wrapper h3, .igem_2018_content_wrapper h4, .igem_2018_content_wrapper h5, .igem_2018_content_wrapper h6 {
+
 
+
  padding: 5px 15px;
+
  border-bottom: 0px;
+
  color: #000000;
+
}
+
 
+
/* font and text */ .igem_2018_content_wrapper p {
+
 
+
  padding: 0px 15px;
+
  font-size: 13px;
+
}
+
 
+
/* Links */ .igem_2018_content_wrapper a {
+
 
+
  font-weight: bold;
+
  text-decoration: underline;
+
  text-decoration-color: #3399ff;
+
  color: #3399ff;
+
  -webkit-transition: all 0.4s ease;
+
  -moz-transition: all 0.4s ease;
+
  -ms-transition: all 0.4s ease;
+
  -o-transition: all 0.4s ease;
+
  transition: all 0.4s ease;
+
}
+
 
+
/* hover for the links */ .igem_2018_content_wrapper a:hover {
+
 
+
  text-decoration: none;
+
  color: #000000;
+
}
+
 
+
/* non numbered lists */ .igem_2018_content_wrapper ul {
+
 
+
  padding: 0px 20px;
+
  font-size: 13px;
+
  font-family: Tahoma, Geneva, sans-serif;
+
}
+
 
+
/* numbered lists */ .igem_2018_content_wrapper ol {
+
 
+
  padding: 0px;
+
  font-size: 13px;
+
  font-family: Tahoma, Geneva, sans-serif;
+
}
+
 
+
/* Table */ .igem_2018_content_wrapper table {
+
 
+
  width: 97%;
+
  margin: 15px 10px;
+
  border: 1px solid #d3d3d3;
+
  border-collapse: collapse;
+
}
+
 
+
/* table cells */ .igem_2018_content_wrapper td {
+
 
+
  padding: 10px;
+
  vertical-align: text-top;
+
  border: 1px solid #d3d3d3;
+
  border-collapse: collapse;
+
}
+
 
+
/* table headers */ .igem_2018_content_wrapper th {
+
 
+
  padding: 10px;
+
  vertical-align: text-top;
+
  border: 1px solid #d3d3d3;
+
  border-collapse: collapse;
+
  background-color: #f2f2f2;
+
}
+
 
+
/**********************************LAYOUT CLASSES **********************************/
+
 
+
/* general class for column divs */ .igem_2018_content_wrapper .column {
+
 
+
  padding: 10px 0px;
+
  float: left;
+
}
+
 
+
/* class for a full width column */ .column .full_size {
+
 
+
  width: 100%;
+
}
+
 
+
/* styling for images in a full width column*/ .column.full_size img {
+
 
+
  width: 97%;
+
  padding: 10px 15px;
+
}
+
 
+
/* class for a half width column */ .column.half_size {
+
 
+
  width: 50%;
+
}
+
 
+
/* styling for images in a half width column*/ .column.half_size img {
+
 
+
  width: 94.5%;
+
  padding: 10px 15px;
+
}
+
 
+
/********************************* SUPPORT CLASSES ********************************/
+
 
+
/* class that clears content below*/ .igem_2018_content_wrapper .clear {
+
 
+
  clear: both;
+
}
+
 
+
/* adds extra spacing when clearing content */ .igem_2018_content_wrapper .clear.extra_space {
+
 
+
  height: 30px;
+
}
+
 
+
/* highlight class, makes content slightly smaller */ .igem_2018_content_wrapper .highlight {
+
 
+
  margin: 0px 15px;
+
  padding: 15px 0px;
+
}
+
 
+
/* highlight class, adds a gray background */ .igem_2018_content_wrapper .highlight.gray {
+
 
+
  background-color: #f2f2f2;
+
}
+
 
+
/* highlight with decoration blue line on top */ .igem_2018_content_wrapper .highlight.blue_top {
+
 
+
  border-top: 4px solid #3399ff;
+
}
+
 
+
/* highlight with a full blue border decoration */ .igem_2018_content_wrapper .highlight.blue_border {
+
 
+
  border: 4px solid #3399ff;
+
}
+
 
+
/* button class */ .igem_2018_content_wrapper .button {
+
 
+
  max-width: 35%;
+
  margin: 30px auto;
+
  padding: 12px 10px;
+
  background-color: #3399ff;
+
  text-align: center;
+
  color: #ffffff;
+
  -webkit-transition: all 0.4s ease;
+
  -moz-transition: all 0.4s ease;
+
  -ms-transition: all 0.4s ease;
+
  -o-transition: all 0.4s ease;
+
  transition: all 0.4s ease;
+
}
+
 
+
/* styling for button on hover */ .igem_2018_content_wrapper .button:hover {
+
 
+
  background-color: #3399ff;
+
  color: #000000;
+
}
+
 
+
/***************************************************** RESPONSIVE STYLING ****************************************************/
+
 
+
/* IF THE SCREEN IS LESS THAN 1200PX */ @media only screen and (max-width: 1200px) {
+
 
+
  #content {
+
      width: 100%;
+
  }
+
  .igem_2018_menu_wrapper {
+
      width: 15%;
+
      right: 0;
+
  }
+
  .highlight {
+
      padding: 10px 0px;
+
  }
+
  .igem_2018_menu_wrapper #display_menu_control {
+
      display: none;
+
  }
+
  #menu_content {
+
      display: block;
+
  }
+
  .menu_button.direct_to_page {
+
      padding-left: 17px;
+
  }
+
}
+
 
+
/* IF THE SCREEN IS LESS THAN 800PX */ @media only screen and (max-width: 800px) {
+
 
+
  .igem_2018_menu_wrapper {
+
      width: 100%;
+
      height: 15%;
+
      position: relative;
+
      left: 0%;
+
  }
+
  .igem_2018_content_wrapper {
+
      width: 100%;
+
      margin-left: 0px;
+
  }
+
  .column.half_size {
+
      width: 100%;
+
  }
+
  .column.full_size img, .column.half_size img {
+
      width: 100%;
+
      padding: 10px 0px;
+
  }
+
  .highlight {
+
      padding: 15px 5px;
+
  }
+
  .igem_2018_menu_wrapper #display_menu_control {
+
      display: block;
+
  }
+
  #menu_content {
+
      display: none;
+
  }
+
  .igem_2018_menu_wrapper .menu_button .expand_collapse_icon {
+
      width: 5%;
+
  }
+
  .menu_bottom_padding {
+
      display: none;
+
  }
+
  .menu_button.direct_to_page {
+
      padding-left: 36px;
+
  }
+
}
+
 
+
/* special class that the system uses to make sure the team wants a page to be evaluated */ .judges-will-not-evaluate {
+
 
+
  width: 96.6%;
+
  margin: 5px 15px;
+
  display: block;
+
  border: 4px solid #3399ff;
+
  font-weight: bold;
+
}
+
 
+
.content_wrapper {
+
 
+
  width: 100%;
+
  height: 100vh;
+
 
}
 
}
 +
.f-b{position:relative;}
 +
.word-background-block{ width:100%;
 +
float:left;}
 +
.word-1{ width:100%;
 +
float:left;}
 +
.word-2{ width:50%;
 +
float:left;}
 +
.word-3{ width:33%;
 +
float:left;}
 +
.word{
 +
position:relative;
 +
width:90%;
 +
float:left;
 +
background-color:rgba(255,255,255,0.4);
 +
padding:5%;}
 +
.f{
 +
position:relative;
 +
float:left;
 +
padding:5%;}

Revision as of 14:02, 10 October 2018

https://2018.igem.org/Template:LZU-CHINA/CSS/main https://2018.igem.org/Template:LZU-CHINA/CSS/demo https://2018.igem.org/Template:LZU-CHINA/CSS/bookstrap /***************************************************** DEFAULT WIKI SETTINGS ****************************************************/

/* Clear the default wiki settings */

/********************************** DEFAULT WIKI SETTINGS *********************************/

.igem_2018_team_menu.displaying_menu{ display: none; width:0px; }

  1. sideMenu,
  2. top_title{
    display: none;

}

  1. content{
    width: 100%;
    margin: 0px;
    padding:0;

background-color:block; }

  1. HQ_page{ background-color:#FFF;

background-image:url("T--Nanjing-China--background-1.png"); background-attachment:fixed; background-size:cover; background-repeat:no-repeat background-position:bottom}

  1. HQ_page p{ font-size:110%;}
  2. HQ_page h3{ font-size:130%;}
  3. HQ_page h2{ font-size:150%;}
  4. HQ_page h1{ font-size:200%; font-family: "Comic Sans MS", cursive;}
  5. HQ_page table{ border:none;

background-color:rgba(0,51,204,0);}

  1. HQ_page td{border:none;}

body { font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif; margin: 0; padding: 0;

   background-color:rgba(255,255,255,0);

} a img {border: none;} table {

   border-collapse: collapse;
   border-spacing: 0;

} .container { width: 100%; font-family: Verdana, Geneva, sans-serif; margin: 0 auto; alignment-adjust:central; } .header { position:relative; width:100%; font-family: Verdana, Geneva, sans-serif; alignment-adjust:central; z-index:2;} .contain { position: relative; width: 76%; max-width: 1100px; min-width: 700px; padding: 10px 0; alignment-adjust: central; background-color:rgba(255,255,255,0.4); } .contain ul, .contain ol { padding: 0 15px 15px 40px; } .footer { position:relative; clear: both; alignment-adjust:central; background-color:rgba(0,51,204,0);

}

  1. menu{

position:fixed; left:50px; width: 770px; font-family: "Comic Sans MS", cursive; z-index:20;

}

  1. menu ul{ margin: auto; padding:0; list-style:none; width:770px;}
  2. menu ul li{ height:42px; line-height:42px; margin-left: 2px; margin-bottom: 2px; border-right:3px solid #666; border-bottom:2.8px solid #666; border-top:1.5px solid #666; border-left:1px solid #666; text-align:center; float:left; width:122px; color:#F90; background-color:rgba(254,225,129,0.8);}
  3. menu ul li a{ color:#003; text-decoration:none; display:block;

width:123px; height:42px;}

  1. menu ul li a:hover{

background:rgba(80,80,80,0.6); color: #FFF; width: 124px; height: 46px; font-family:Verdana, Geneva, sans-serif;}

  1. menu ul li ul{ display:none; width:124px; z-index:3;}
  2. menu ul li.listshow ul{ display:block;}
  3. menu ul li ul li{

float: none; width: 122px; margin: 0; }

  1. menu ul li ul li a{ background:none; width:124px;}
  2. menu ul li ul li a:hover{ background:rgba(102,102,102,0.6); color:#FFFFFF; width:124px; height:45px; font-family:Verdana, Geneva, sans-serif;}
  3. menu ul li a#on{ background:none;}

.clear{clear:both;}

  1. d{ left:85%; width:15%; position:fixed; z-index:10;}
  2. HOME {

position:relative;

   top:auto;

width: 115px; text-align:center; background:rgba(255,255,0,0.2); font-size:15px; alignment-adjust:central; font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; z-index:3; visibility: hidden; }

  1. HOME .sub {

background-color:rgba(102,102,204,0.5); height:50px; line-height:50px; border-bottom:2px solid #999; border-right:2.5px solid #666; text-align:center; float:left; width:115px;}

  1. HOME .sub ul{ margin: auto; padding:0; list-style:none; width:115px;}
  2. HOME .sub ul li{

background-color:rgba(0,153,255,0.3); height:50px; line-height:50px; border-bottom:2px solid #999; border-right:2.5px solid #666; text-align:center; float:left; width:115px;}

  1. HOME .sub ul li a:hover{background-color:#930; color:#CCC; height:50px; line-height:50px;}
  2. HOME .sub ul li a{ text-decoration:none; color:#000;}
  3. HOME ul{

margin: auto; padding:0; list-style:0;}

  1. HOME ul li{ background:rgba(102,102,153,0.3); height:37px; line-height:37px; border-bottom:2px solid #999; border-right:2.5px solid #666; text-align:center; float:left; width:115px; margin-right:1px; list-style:0;}
  2. HOME ul li a{

text-decoration: none; display:block; color:#003; width:115px; height:37px;

}

  1. HOME ul li a:hover{ background:rgba(102,102,153,0.5); color:#FFFFFF; width:115px; height:40px;}
  2. HOME ul li a#on{ background:rgba(102,102,153,0.9);}

.f{ position:absolute; width:80%; left:10%; alignment-adjust:central; z-index:2;} .f-word{ position:relative; width:30%; left:auto; height:230px; float:left;} .f-img{ position:relative; width:20%; height:120px; float:left;}

  1. HQ_page .f p{ font-size:90%;}

.container .footer div .f .f-word h3 { color: #000; font-family: Verdana, Arial, Helvetica, sans-serif; } .f-b{position:relative;} .word-background-block{ width:100%; float:left;} .word-1{ width:100%; float:left;} .word-2{ width:50%; float:left;} .word-3{ width:33%; float:left;} .word{ position:relative; width:90%; float:left; background-color:rgba(255,255,255,0.4); padding:5%;} .f{ position:relative; float:left; padding:5%;}