Difference between revisions of "Template:IISc-Bangalore"

Line 2: Line 2:
  
 
<style>
 
<style>
/********************************* DEFAULT WIKI SETTINGS  ********************************/
+
/***************************************************** DEFAULT WIKI SETTINGS  ****************************************************/
 +
 +
/* Clear the default wiki settings */
 +
 +
#home_logo, #sideMenu { display:none; }
 +
#sideMenu, #top_title, .patrollink  {display:none;}
 +
#content { width:100%; padding:0px;  margin-top:-7px; margin-left:0px;}
 +
body {background-color:white; }
 +
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
  
#sideMenu,
+
#top_title {
+
  display: none;
+
}
+
/**************************************************************** MENU ***************************************************************/
 +
/* Wrapper for the menu */
 +
.igem_2017_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;
 +
}
  
#content {
+
/* this hides the scrollbar to keep view consistency */
  padding: 0px;
+
.igem_2017_menu_wrappe::-webkit-scrollbar {  
  width: 100%;
+
display: none;  
}
+
}
 +
 +
 +
/* styling for links in the menu, removes the line under text */
 +
.igem_2017_menu_wrapper a { 
 +
text-decoration: none;  
 +
}
  
body {
 
  background-color: white;
 
  width: 100%;
 
}
 
  
#bodyContent h1,
+
/* styling for the images in the menu */
#bodyContent h2,
+
.igem_2017_menu_wrapper img {  
#bodyContent h3,
+
width: 100%;
#bodyContent h4,
+
}
#bodyContent h5 {
+
  margin-bottom: 0px;
+
}
+
  
#bodyContent {
+
/* styling for the menu buttons */
  padding-right: 0px;
+
.igem_2017_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;
 +
}
  
#globalWrapper {
 
  font-size: 100%;
 
  padding: 0px;
 
  margin: -10px -20px -20px -20px;
 
}
 
  
.navbar-collapse {
+
.igem_2017_menu_wrapper .menu_bottom_padding {  
  padding-left: 0px;
+
width: 100%;
}
+
height: 30px;
 +
float:left;
 +
}
  
#banner {
+
.menu_button.direct_to_page {  
  margin-top: 50px;
+
padding-left: 36px;
}
+
}
  
#sideMenu {
 
  margin-top: 10px;
 
}
 
  
.dropdown-menu li:hover .sub-menu {
+
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon {
  visibility: visible;
+
width:10%;
}
+
float:left;
 +
}
  
.dropdown:hover .dropdown-menu {
+
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon::before {
  display: block;
+
content: "+"; 
}
+
}
 +
 +
.open::before {
 +
content: "-" !important; 
 +
}
 +
 +
 +
 +
/* styling for the menu buttons on hover */
 +
.igem_2017_menu_wrapper .menu_button:hover, .igem_2017_menu_wrapper .submenu_button:hover ,  .submenu_button.current_page:hover {  
 +
background-color: #3399ff;
 +
text-decoration: none;
 +
color:#ffffff;  
 +
}
  
.navbar-nav .dropdown-menu,
+
/* styling for the menu button when it is the current page */
.navbar .dropdown-menu {
+
.current_page {  
  margin-top: 0;
+
background-color:#7fc1f7  !important;
}
+
color:#5e5f5f !important;
 +
}
  
  
/********************************* CONTENT OF THE PAGE ********************************/
+
/* styling for the submenu buttons */
 +
.igem_2017_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_2017_menu_wrapper .submenu_wrapper {
 +
display:none;
 +
}
  
/* Wrapper for the content */
+
/* when the page size is bigger than 800px, this show/hide control is hidden by default */
 +
.igem_2017_menu_wrapper #display_menu_control {
 +
display:none;
 +
text-align:center;
 +
}
 +
  
.content_wrapper {
+
/***************************************************** CONTENT OF THE PAGE ****************************************************/
  width: 85%;
+
  margin-left: 150px;
+
  padding: 0px;
+
  float: left;
+
  background-color: white;
+
}
+
  
 +
/* Wrapper for the content */
 +
.igem_2017_content_wrapper {
 +
width: 81%;
 +
margin: 2%;
 +
display:block;
 +
float:left;
 +
background-color: white;
 +
font-family:Tahoma, Geneva, sans-serif;
 +
}
  
/*LAYOUT */
 
  
.column {
+
/********************************* HTML STYLING  *********************************/
  padding: 10px 0px;
+
  float: left;
+
  background-color: white;
+
}
+
  
.full_size {
+
/* styling for the titles h1 h2 */
  width: 100%;
+
.igem_2017_content_wrapper h1, .igem_2017_content_wrapper h2 {
}
+
padding:5px 15px;  
 +
border-bottom: 0px;
 +
 +
}
  
.full_size img {
 
  padding: 10px 15px;
 
  width: 96.5%;
 
}
 
  
.half_size {
+
/* styling for the titles  h3 h4 h5 h6*/
  width: 50%;
+
.igem_2017_content_wrapper h3, .igem_2017_content_wrapper h4, .igem_2017_content_wrapper h5, .igem_2017_content_wrapper h6 {  
}
+
padding:5px 15px;  
 +
border-bottom:0px;
 +
 +
}
  
.half_size img {
 
  padding: 10px 15px;
 
  width: 93%;
 
}
 
  
.img:hover {
+
/* font and text */
  opacity: 1.0 !important;
+
.igem_2017_content_wrapper p {  
}
+
padding: 0px 15px;
 +
font-size: 13px;
 +
}
  
.clear {
+
/* Links */
  clear: both;
+
.igem_2017_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;
 +
}
  
.highlight {
+
/* hover for the links */
  width: 90%;
+
.igem_2017_content_wrapper a:hover {  
  margin: auto;
+
text-decoration:none;
  padding: 15px 5px;
+
color:#000000;
  background-color: #f2f2f2;
+
}
}
+
  
.judges-will-not-evaluate {
+
/* non numbered lists */
  border: 4px solid #72c9b6;
+
.igem_2017_content_wrapper ul {
  display: block;
+
padding:0px 20px;
  margin: 5px 15px;
+
font-size: 13px;
  width: 95%;
+
font-family:Tahoma, Geneva, sans-serif;  
  font-weight: bold;
+
}
}
+
  
 +
/* numbered lists */
 +
.igem_2017_content_wrapper ol {
 +
padding:0px;
 +
font-size: 13px;
 +
font-family:Tahoma, Geneva, sans-serif;
 +
}
  
/*STYLING */
+
/* Table */
 +
.igem_2017_content_wrapper table {
 +
width: 97%;
 +
margin:15px 10px;
 +
border: 1px solid #d3d3d3;
 +
border-collapse: collapse;
 +
}
  
 +
/* table cells */
 +
.igem_2017_content_wrapper  td {
 +
padding: 10px;
 +
vertical-align: text-top;
 +
border: 1px solid #d3d3d3;
 +
border-collapse: collapse;
 +
}
  
/* styling for the titles */
+
/* table headers */
 +
.igem_2017_content_wrapper th {
 +
padding: 10px;
 +
vertical-align: text-top;
 +
border: 1px solid #d3d3d3;
 +
border-collapse: collapse;
 +
background-color:#f2f2f2;
 +
}
  
.content_wrapper h1,
 
.content_wrapper h2 {
 
  padding: 5px 15px;
 
  border-bottom: 0px;
 
  color: #72c9b6;
 
}
 
  
.content_wrapper h3,
+
/**********************************LAYOUT CLASSES **********************************/
.content_wrapper h4,
+
.content_wrapper h5,
+
.content_wrapper h6 {
+
  padding: 5px 15px;
+
  border-bottom: 0px;
+
  color: #000000;
+
}
+
  
 +
/* general class for column divs */
 +
.igem_2017_content_wrapper .column  {
 +
padding: 10px 0px;
 +
float:left;
 +
}
  
/* font and text */
+
/* class for a full width column */
 +
.column .full_size {
 +
width:100%;
 +
}
  
.content_wrapper p {
+
/* styling for images in a full width column*/
  padding: 0px 15px;
+
.column.full_size img {  
  font-size: 13px;
+
width:97%;  
  font-family: 'Roboto', sans-serif;
+
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;
 +
}
  
/* Links */
 
  
.content_wrapper a {
 
  font-weight: bold;
 
  text-decoration: underline;
 
  text-decoration-color: #72c9b6;
 
  color: #72c9b6;
 
  -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 */
+
/********************************* SUPPORT CLASSES ********************************/
  
.content_wrapper a:hover {
+
/* class that clears content below*/
  text-decoration: none;
+
.igem_2017_content_wrapper .clear {
  color: #000000;
+
clear:both;
}
+
}
 +
 +
 +
/* adds extra spacing when clearing content */
 +
.igem_2017_content_wrapper  .clear.extra_space {
 +
height: 30px;
 +
}
  
  
/* non numbered lists */
+
/* highlight class, makes content slightly smaller */
 +
.igem_2017_content_wrapper .highlight {
 +
margin: 0px 15px;
 +
padding: 15px 0px;
 +
}
  
.content_wrapper ul {
 
  padding: 0px 20px;
 
  font-size: 13px;
 
  font-family: 'Quicksand', sans-serif;
 
}
 
  
 +
/* highlight class, adds a gray background */
 +
.igem_2017_content_wrapper .highlight.gray {
 +
background-color: #f2f2f2;
 +
}
  
/* numbered lists */
+
/* highlight with decoration blue line on top */
 +
.igem_2017_content_wrapper .highlight.blue_top {
 +
    border-top: 4px solid #3399ff;
 +
}
  
.content_wrapper ol {
+
/* highlight with a full blue border decoration */
  padding: 0px;
+
.igem_2017_content_wrapper .highlight.blue_border {
  font-size: 13px;
+
    border: 4px solid  #3399ff;
  font-family: 'Quicksand', sans-serif;
+
}
}
+
  
  
/* Table */
+
/* button class */
 +
.igem_2017_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; 
 +
}
  
.content_wrapper table {
+
/* styling for button on hover */
  width: 97%;
+
.igem_2017_content_wrapper .button:hover{
  margin: 15px 10px;
+
background-color: #3399ff;
  border: 1px solid #d3d3d3;
+
    color: #000000;
  border-collapse: collapse;
+
}
}
+
  
  
/* table cells */
 
  
.content_wrapper td {
 
  padding: 10px;
 
  vertical-align: text-top;
 
  border: 1px solid #d3d3d3;
 
  border-collapse: collapse;
 
}
 
  
 +
/***************************************************** RESPONSIVE STYLING ****************************************************/
  
/* table headers */
+
/* IF THE SCREEN IS LESS THAN 1200PX */
 +
@media only screen and (max-width: 1200px) {
  
.content_wrapper th {
+
#content {width:100%; }
  padding: 10px;
+
.igem_2017_menu_wrapper {width:15%; right:0;}
  vertical-align: text-top;
+
.highlight {padding:10px 0px;}
  border: 1px solid #d3d3d3;
+
.igem_2017_menu_wrapper #display_menu_control { display:none; }
  border-collapse: collapse;
+
#menu_content { display:block;}
  background-color: #f2f2f2;
+
.menu_button.direct_to_page {padding-left: 17px;}
}
+
 +
}
  
 +
/* IF THE SCREEN IS LESS THAN 800PX */
 +
@media only screen and (max-width: 800px) {
  
/* Button class */
+
.igem_2017_menu_wrapper { width:100%; height: 15%; position:relative; left:0%;}
 +
.igem_2017_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_2017_menu_wrapper #display_menu_control { display:block; }
 +
#menu_content { display:none;}
 +
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon { width: 5%; }
 +
.menu_bottom_padding {display:none;}
 +
.menu_button.direct_to_page { padding-left: 36px; }
 +
}
  
.button_click {
 
  margin: 10px auto;
 
  padding: 15px;
 
  width: 12%;
 
  text-align: center;
 
  font-weight: bold;
 
  background-color: #72c9b6;
 
  cursor: pointer;
 
  -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;
 
}
 
  
 
+
/* button class on hover */
+
 
+
/* special class that the system uses to make sure the team wants a page to be evaluated */
.button_click:hover {
+
.judges-will-not-evaluate {
  background-color: #000000;
+
    width: 96.6%;
  color: #72c9b6;
+
  margin: 5px 15px;
}
+
  display: block;
 
+
border: 4px solid #3399ff;
.top-pad {
+
    font-weight: bold;
  padding: 35px;
+
}
}
+
 
+
 
+
/********************************* RESPONSIVE STYLING ********************************/
+
 
+
 
+
/* IF THE SCREEN IS LESS THAN 1000PX */
+
 
+
@media only screen and (max-width: 1000px) {
+
  #content {
+
    width: 100%;
+
  }
+
  .menu_wrapper {
+
    width: 15%;
+
  }
+
  .content_wrapper {
+
    margin-left: 15%;
+
  }
+
  .menu_item {
+
    display: block;
+
  }
+
  .icon {
+
    display: none;
+
  }
+
  .highlight {
+
    padding: 10px 0px;
+
  }
+
}
+
 
+
 
+
/* IF THE SCREEN IS LESS THAN 680PX */
+
 
+
@media only screen and (max-width: 680px) {
+
  .collapsable_menu_control {
+
    display: block;
+
  }
+
  .menu_item {
+
    display: none;
+
  }
+
  .menu_wrapper {
+
    width: 100%;
+
    height: 15%;
+
    position: relative;
+
  }
+
  .content_wrapper {
+
    width: 100%;
+
    margin-left: 0px;
+
  }
+
  .column.half_size {
+
    width: 100%;
+
  }
+
  .column img {
+
    width: 100%;
+
    padding: 5px 0px;
+
  }
+
  .icon {
+
    display: block;
+
  }
+
  .highlight {
+
    padding: 15px 5px;
+
  }
+
}
+
 
/*Menu Bar*/
 
/*Menu Bar*/
 
.menu, .menu ul {
 
.menu, .menu ul {

Revision as of 17:56, 9 September 2017

IISc-Bangalore