Difference between revisions of "Template:TU Darmstadt/CSS"

 
(195 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<html>
 
<html>
<style>
+
<style type="text/css">
 
/* latin-ext */
 
/* latin-ext */
 
@font-face {
 
@font-face {
Line 73: Line 73:
 
   unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
 
   unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
 
}
 
}
/* latin */
 
 
@font-face {
 
@font-face {
 
   font-family: 'Raleway';
 
   font-family: 'Raleway';
Line 82: Line 81:
 
}
 
}
  
 
/* latin-ext */
 
 
@font-face {
 
@font-face {
   font-family: 'EB Garamond';
+
   font-family: 'Caudex';
   font-style: italic;
+
   font-style: normal;
 
   font-weight: 400;
 
   font-weight: 400;
   src: url(https://static.igem.org/mediawiki/2018/0/0e/T--TU_Darmstadt--EBGaramond-Italic.ttf);
+
   src: url(https://static.igem.org/mediawiki/2018/8/85/T--TU_Darmstadt--Caudex-Regular.ttf);
   unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
 
}
 
}
/* latin */
 
 
@font-face {
 
@font-face {
   font-family: 'EB Garamond';
+
   font-family: 'Caudex';
 
   font-style: italic;
 
   font-style: italic;
 
   font-weight: 400;
 
   font-weight: 400;
   src: url(https://static.igem.org/mediawiki/2018/0/0e/T--TU_Darmstadt--EBGaramond-Italic.ttf);
+
   src: url(https://static.igem.org/mediawiki/2018/9/93/T--TU_Darmstadt--Caudex-RegularItalic.ttf;
 
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
 
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
 
}
 
}
/* latin-ext */
 
 
@font-face {
 
@font-face {
   font-family: 'EB Garamond';
+
   font-family: 'Caudex';
   font-style: italic;
+
   font-style: normal;
   font-weight: 600;
+
   font-weight: 700;
   src: url(https://static.igem.org/mediawiki/2018/4/4e/T--TU_Darmstadt--EBGaramond-SemiBoldItalic.ttf);
+
   src: url(https://static.igem.org/mediawiki/2018/2/28/T--TU_Darmstadt--Caudex-Bold.ttf);
   unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
 
}
 
}
/* latin */
 
 
@font-face {
 
@font-face {
   font-family: 'EB Garamond';
+
   font-family: 'Caudex';
 
   font-style: italic;
 
   font-style: italic;
   font-weight: 600;
+
   font-weight: 700;
   src: url(https://static.igem.org/mediawiki/2018/4/4e/T--TU_Darmstadt--EBGaramond-SemiBoldItalic.ttf);
+
   src: url(https://static.igem.org/mediawiki/2018/e/e2/T--TU_Darmstadt--Caudex-BoldItalic.ttf);
 
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
 
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
 
}
 
}
/* latin-ext */
 
 
@font-face {
 
@font-face {
   font-family: 'EB Garamond';
+
   font-family: 'Levenim MT';
  font-style: normal;
+
   font-weight: bold;
   font-weight: 400;
+
   src: url(https://static.igem.org/mediawiki/2018/f/f9/T--TU_Darmstadt--Levenim_MT-Bold.ttf);
   src: url(https://static.igem.org/mediawiki/2018/1/10/T--TU_Darmstadt--EBGaramond-Regular.ttf);
+
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+
 
}
 
}
/* latin */
+
</style>
@font-face {
+
 
   font-family: 'EB Garamond';
+
<style type="text/css">
   font-style: normal;
+
 
   font-weight: 400;
+
#mw-content-text {
  src: url(https://static.igem.org/mediawiki/2018/1/10/T--TU_Darmstadt--EBGaramond-Regular.ttf);
+
   display: flex;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+
   flex-direction: column;
 +
   min-height: calc(100vh - 21px);
 
}
 
}
/* latin-ext */
+
@font-face {
+
footer {
  font-family: 'EB Garamond';
+
    order: 2;
  font-style: normal;
+
    margin-top: auto;
  font-weight: 600;
+
    border-top: 2px solid black !important;
  src: url(https://static.igem.org/mediawiki/2018/4/4e/T--TU_Darmstadt--EBGaramond-SemiBoldItalic.ttf);
+
    padding-top: 30px;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+
    border-top: 20px;
 +
    position: relative;
 +
    width: calc(100vw - 490px);
 +
    max-width: 820px;
 +
    left: 435px;
 
}
 
}
/* latin */
+
@font-face {
+
.team-member {
   font-family: 'EB Garamond';
+
  display: flex;
   font-style: normal;
+
  align-items: flex-start;
  font-weight: 600;
+
  margin-top: 20px;
  src: url(https://static.igem.org/mediawiki/2018/4/4e/T--TU_Darmstadt--EBGaramond-SemiBold.ttf);
+
}
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
+
 +
.team-member > p {
 +
  margin-top: 0;
 +
  flex-basis: 200px;
 +
}
 +
 +
.team-member > .text {
 +
  flex: 1;
 +
  margin-left: 10px;
 +
  padding-left: 20px;
 +
  border-left: 2px solid gray;
 +
  min-height: 200px;
 +
}
 +
 +
#HQ_page .team-member p.name {
 +
  margin-top: -7px;
 +
  font-size: 20px;
 +
   font-family: 'Caudex', serif !important;
 +
   font-weight: bold;
 +
}
 +
 +
#HQ_page .team-member p.sosumi {
 +
    font-size: 17px;
 +
    margin-top: -10px;
 +
    line-height: 19px;
 +
}
 +
 +
footer .social {
 +
    display: flex;
 +
    flex-direction: row;
 +
}
 +
 +
footer .social img {
 +
    height: 40px;
 +
}
 +
 +
.caption {
 +
    padding-left: 15px;
 +
    border-left: 2px solid rgba(0, 0, 0, 0.3);
 +
    margin: 0 30px 20px;
 +
}
 +
 +
.caption p {
 +
    font-size: 13px !important;
 +
}
 +
 +
.mw-headline {
 +
    padding-top: 140px;
 +
    margin-top: -140px;
 +
    pointer-events: none;
 +
}
 +
 +
h2 .mw-headline {
 +
    padding-top: 0;
 +
    margin-top: 0;
 +
}
 +
 +
.igem_2018_team_column_wrapper img {
 +
   max-width: 100%;
 +
  height: auto;
 +
}
 +
 +
.wikitable {
 +
  margin: 0 auto !important;
 +
}
 +
 +
.show-menu li, .show-menu a {
 +
  color: white !important;
 +
  transition-delay: 0s;
 +
}
 +
 +
nav {
 +
  position: fixed;
 +
  display: flex;
 +
  font-size: 40px;
 +
  width: 100%;
 +
  background: white;
 +
  z-index: 100;
 +
  top: 17px;
 +
}
 +
 +
nav img {
 +
  height: 2em;
 +
  position: relative;
 +
  top: 16px;
 +
}
 +
 +
nav .title {
 +
  font-family: 'Levenim MT' !important;
 +
  font-size: inherit !important;
 +
  font-weight: bold;
 +
  top: 4px;
 +
  position: relative;
 +
  padding: 0.14em 30px;
 +
  text-decoration: none !important;
 
}
 
}
 
+
 +
nav .title::after {
 +
  content: "";
 +
  position: absolute;
 +
  right: 0;
 +
  top: 0;
 +
  bottom: 0;
 +
  width: 2px;
 +
  background-color: black;
 +
  transition-delay: 0.2s;
 +
  transition: 0.2s;
 +
}
 +
 +
.show-menu .title::after {
 +
  transition-delay: 0s;
 +
  background-color: white;
 +
}
 +
 +
nav li {
 +
    color: black !important;
 +
    transition: 0.2s ease-in-out;
 +
    transition-delay: 0.2s;
 +
}
 +
 +
nav a {
 +
    cursor: pointer;
 +
    color: black !important;
 +
    transition: 0.2s ease-in-out;
 +
    transition-delay: 0.2s;
 +
}
 +
 +
nav a:hover {
 +
    text-decoration: none;
 +
}
 +
 +
nav:before {
 +
    content:  "";
 +
    position: absolute;
 +
    background-color: white;
 +
    top: 0;
 +
    left: 0;
 +
    right: 0;
 +
    height: 0;
 +
    transition: all .32s ease-in-out;
 +
    z-index: -2;
 +
}
 +
 +
nav.show-menu:before {
 +
    background-color: #CC1C43;
 +
    height: 400px;
 +
}
 +
 +
nav > ul {
 +
  font-size: 20px;
 +
  padding-left: 15px !important;
 +
  margin: 0 15px !important;
 +
  position: relative;
 +
  top: 38px;
 +
  overflow: hidden;
 +
  height: 40px;
 +
  transition: height 0.2s ease-in-out;
 +
}
 +
 +
.show-menu > ul {
 +
  height: 350px;
 +
  transition: height 0.4s ease-in-out;
 +
}
 +
 +
nav > ul > li {
 +
  list-style: none;
 +
  padding: 0 8px;
 +
  display: inline-block;
 +
  position: relative;
 +
  top: 5px;
 +
}
 +
 +
nav .multiple ul {
 +
  display: none;
 +
  position: absolute;
 +
  min-width: 300px;
 +
  margin: 30px 0 0;
 +
  top: 10px;
 +
  font-size: 14px;
 +
}
 +
 +
nav .multiple > a {
 +
  padding-bottom: 20px;
 +
}
 +
 +
nav .multiple:hover ul {
 +
  display: block;   
 +
}
 +
 +
nav .multiple ul li {
 +
  list-style: none;
 +
}
 +
 +
nav .multiple .sub {
 +
  padding-left: 15px;
 +
}
 +
 
#globalWrapper {
 
#globalWrapper {
   font-size: 16px;
+
   font-size: 16px !important;
 
   font-family: 'Raleway', sans-serif;
 
   font-family: 'Raleway', sans-serif;
 
}
 
}
 
+
.abstract .title {
+
#HQ_page p {
  font-weight: bold;
+
  font-size: 16px;
 +
  font-family: 'Raleway', sans-serif !important;
 
}
 
}
 
+
 +
.abstract h3 {   
 +
    display: inline;
 +
    float: left;
 +
    padding: 0;
 +
    font-size: 16px !important;
 +
    margin: 0 3px -5px 0 !important;
 +
    font-family: 'Raleway', sans-serif !important;
 +
}
 +
 +
.abstract h3::after {
 +
    content: "." !important;
 +
    background: transparent !important;
 +
    position: static !important;
 +
}
 +
 
.igem_2018_team_content {
 
.igem_2018_team_content {
   padding-left: 300px;
+
   padding: 100px 40px 40px 405px;
   padding-right: 40px;
+
  pointer-events: none;
 +
   position: relative;
 +
  z-index: 10;
 
}
 
}
 
+
 
.igem_2018_team_column_wrapper {
 
.igem_2018_team_column_wrapper {
     padding: 0 100px;
+
    z-index: 50;
     max-width: 840px;
+
    background: white;
 +
     padding-right: calc(100% - 850px);
 +
     padding-left: 30px;
 +
    padding-top: 60px;
 +
    pointer-events: all;
 +
    word-break: break-word;
 
}
 
}
 
+
 
.igem_2018_team_content h2, .igem_2018_team_content h3, .igem_2018_team_content h4, .igem_2018_team_content h5 {
 
.igem_2018_team_content h2, .igem_2018_team_content h3, .igem_2018_team_content h4, .igem_2018_team_content h5 {
     font-family: 'EB Garamond';
+
     font-family: 'Caudex';
 
     font-weight: bold;
 
     font-weight: bold;
 
     margin-top: 20px;
 
     margin-top: 20px;
 +
    overflow: visible;
 
     position: relative;
 
     position: relative;
 
}
 
}
 
+
 
.igem_2018_team_content h2 {
 
.igem_2018_team_content h2 {
 
     padding-bottom: 10px;
 
     padding-bottom: 10px;
 +
    padding-top: 10px;
 
     margin-bottom: 20px;
 
     margin-bottom: 20px;
 
     margin-top: 0;
 
     margin-top: 0;
 +
    font-size: 70px;
 +
    line-height: 80px;
 
}
 
}
 
+
.igem_2018_team_content h2::before, .igem_2018_team_content h2::after, .igem_2018_team_content h3::after {
+
.igem_2018_team_content h2:after, .igem_2018_team_content h3:after, .igem_2018_team_content h2:before {
 +
    content: "";
 
     position: absolute;
 
     position: absolute;
 
     height: 2px;
 
     height: 2px;
 
     background-color: black;
 
     background-color: black;
}
+
    z-index: 5;
 
+
.igem_2018_team_content h2::before {
+
 
     right: 0;
 
     right: 0;
    left: -5000px;
 
    top: 0;
 
}
 
 
.igem_2018_team_content h2::after {
 
    right: -5000px;
 
 
     left: 0;
 
     left: 0;
 
     bottom: 0;
 
     bottom: 0;
 
}
 
}
 
+
.igem_2018_team_content h3::after {
+
.igem_2018_team_content h2:before {
     right: 0;
+
     top: 0;
    left: -5000px;
+
     bottom: inherit;
     bottom: 0;
+
 
}
 
}
 
+
 
.page-title.notebook ~ .igem_2018_team_content #toc {
 
.page-title.notebook ~ .igem_2018_team_content #toc {
 
     display: none;
 
     display: none;
 
}
 
}
 
+
 +
@media (max-width: 550px) {
 +
  .igem_2018_team_content h2 {
 +
      font-size: 40px;
 +
      line-height: 45px;
 +
  }
 +
}
 +
 +
@media (min-width: 1024px) and (max-width: 1230px) {
 +
  nav > ul {
 +
    font-size: 15px;
 +
    top: 41px;
 +
  }
 +
 +
  nav > ul > li {
 +
    padding: 0 4px;
 +
  }
 +
}
 +
 +
@media (max-width: 1024px) {
 +
  body {
 +
      overflow-x: hidden;
 +
  }
 +
 +
  footer .social img {
 +
      height: 30px;
 +
  }
 +
 +
  #toc {
 +
      display: none;
 +
  }
 +
 +
  .igem_2018_team_content {
 +
      padding: 0;
 +
  }
 +
 +
  .igem_2018_team_column_wrapper {
 +
      padding: 30px 0;
 +
      margin: 0 auto;
 +
      width: 820px;
 +
      max-width: calc(100% - 40px);
 +
      background: white;
 +
  }
 +
 +
  .igem_2018_team_column_wrapper img, .igem_2018_team_column_wrapper video {
 +
    max-width: 100%;
 +
    height: auto;
 +
  }
 +
 +
  .igem_2018_team_column_wrapper .floatright {
 +
    float: left;
 +
    margin: 0;
 +
  }
 +
 +
  footer {
 +
      max-width: none;
 +
      width: auto;
 +
      left: 0;
 +
      padding: 0;
 +
      margin: 0 20px;
 +
  }
 +
 +
  nav {
 +
      position: static;
 +
  }
 +
 +
  nav .title::after { display: none; }
 +
 +
  .burger {
 +
    width: 70px;
 +
    height: 70px;
 +
    position: fixed;
 +
    top: 32px;
 +
    z-index: 40;
 +
    right: 10px;
 +
    cursor: pointer;
 +
  }
 +
 +
  .burger-inner {
 +
    margin-top: 10px;
 +
    margin-left: 10px;
 +
    background: rgb(175, 34, 68);
 +
    border-radius: 25px;
 +
    width: 50px;
 +
    height: 50px;
 +
    padding-top: 15px;
 +
    box-sizing: border-box;
 +
  }
 +
 +
  .bun, .patty {
 +
    height: 3px;
 +
    width: 25px;
 +
    margin: 0 auto;
 +
    background-color: white;
 +
    display: block;
 +
    margin-bottom: 5px;
 +
    border-radius: 2px;
 +
    transition: .25s ease-in-out;
 +
    position: relative;
 +
  }
 +
 +
  .burger-bg {
 +
    position: fixed;
 +
    z-index: 30;
 +
    top: 47px;
 +
    right: 25px;
 +
    background: rgb(175, 34, 68);
 +
    width: 40px;
 +
    height: 40px;
 +
    border-radius: 20px;
 +
    transition: .4s ease-in-out;
 +
  }
 +
 +
  body.nav-in {
 +
    overflow: hidden;
 +
  }
 +
 +
  body.nav-in .burger-bg {
 +
    transform: scale(60);
 +
  }
 +
 +
  body.nav-in .bun:first-of-type {
 +
    transform: rotate(45deg);
 +
    top: 8px;
 +
  }
 +
 +
  body.nav-in .patty {
 +
    transform: scaleX(0);
 +
  }
 +
 +
  body.nav-in .bun:last-of-type {
 +
    transform: rotate(-45deg);
 +
    top: -8px;
 +
  }
 +
 +
  nav > ul {
 +
    transform: translateY(-100vh);
 +
    transition: 0.25s ease-in-out;
 +
    position: fixed;
 +
    z-index: 35;
 +
    overflow-y: scroll;
 +
    height: 100vh;
 +
    padding: 80px 0 50px !important;
 +
    box-sizing: border-box;
 +
    top: 5px;
 +
    width: calc(100vw + 20px);
 +
    font-size: 25px;
 +
    font-weight: bold;
 +
    height: auto !important;
 +
  }
 +
 +
  nav > ul li, nav > ul li a {
 +
    color: white !important;
 +
  }
 +
 +
  nav > ul li {
 +
    display: block;
 +
    margin-bottom: 5px;
 +
  }
 +
 +
  nav > ul li.multiple > ul {
 +
    padding: 5px 0 5px 20px;
 +
    margin: 0;
 +
    display: none;
 +
    position: static;
 +
  }
 +
 +
  nav > ul li.multiple:hover > ul {
 +
    display: none;
 +
  }
 +
 +
  nav > ul li.multiple.clicked > ul {
 +
    display: block !important;
 +
  }
 +
 +
  nav > ul:hover::before {
 +
    height: 0 !important;
 +
  }
 +
 +
  body.nav-in nav > ul {
 +
    transform: translateY(0);
 +
  }
 +
 +
  .team-member {
 +
    flex-direction: column;
 +
    align-items: center;
 +
  }
 +
 +
  .team-member > .text {
 +
    margin: 10px 0;
 +
    padding: 20px 0 0;
 +
    border-top: 2px solid gray;
 +
    border-left: none;
 +
    width: 100%;
 +
    max-width: 500px;
 +
  }
 +
 +
  .team-member > p {
 +
    width: 100%;
 +
    max-width: 500px;
 +
  }
 +
}
 +
 
#toc {
 
#toc {
 
     position: fixed;
 
     position: fixed;
     right: 50px;
+
     left: 10px;
     top: 50px;
+
     top: 190px;
 +
    width: 100%;
 
     border: none;
 
     border: none;
 
     background: transparent;
 
     background: transparent;
     font-family: 'EB Garamond';
+
     font-family: 'Caudex';
 
     font-size: 18px;
 
     font-size: 18px;
 +
    max-width: 400px;
 
}
 
}
 
+
 +
@media (min-width: 1680px) {
 +
  #toc {
 +
      left: 1280px;
 +
  }
 +
}
 +
 
#toc a {
 
#toc a {
 
     color: #333;
 
     color: #333;
 +
    display: flex;
 +
    padding: 0 10px;
 +
    margin-left: -10px;
 +
    border-left: 3px solid transparent;
 
}
 
}
 
+
 +
#toc .toctext {
 +
    flex: 1;
 +
    padding-left: 5px;
 +
}
 +
 
#toc .toclevel-1 > a, #toctitle {
 
#toc .toclevel-1 > a, #toctitle {
 
     display: none;
 
     display: none;
 
}
 
}
 
+
 
#toc .toclevel-2 > a {
 
#toc .toclevel-2 > a {
 
     padding: 0 10px;
 
     padding: 0 10px;
 
     border-left: 3px solid transparent;
 
     border-left: 3px solid transparent;
 +
    margin-left: 0;
 
}
 
}
 
+
#toc .toclevel-2:first-of-type > a, #toc .toclevel-2 .active > a {
+
#toc .active {
    padding: 0 10px;
+
     border-left: 3px solid rgb(153, 51, 51) !important;
     border-left: 3px solid rgb(153, 51, 51);
+
 
}
 
}
 
+
 
+
 
+
 
/**************************************************************************************************************************************************************************************************/
 
/**************************************************************************************************************************************************************************************************/
 
+
 
+
 
+
 
/**************************************************************************************************************************************************************************************************/
 
/**************************************************************************************************************************************************************************************************/
 
/* DEFAULT WIKI SETTINGS */
 
/* DEFAULT WIKI SETTINGS */
 
/**************************************************************************************************************************************************************************************************/
 
/**************************************************************************************************************************************************************************************************/
 
+
 
+
#home_logo, #sideMenu { display:none; }
+
    #home_logo, #sideMenu { display:none; }
#sideMenu, #top_title, .patrollink  {display:none;}
+
    #sideMenu, #top_title, .patrollink  {display:none;}
#content { margin-left:0px; margin-top:-7px; padding:0px; width:100%;}
+
    #content { margin-left:0px; margin-top:-7px; padding:0px; width:100%;}
body {background-color:white; }
+
    body {background-color:white; }
 
+
.judges-will-not-evaluate { border: 4px solid #e4dede; padding: 2% !important; width: 92%!important;}
+
    .judges-will-not-evaluate { border: 4px solid #e4dede; padding: 2% !important; width: 92%!important;}
 
+
   
 
+
   
/**************************************************************************************************************************************************************************************************/
+
/* MENU */
+
/**************************************************************************************************************************************************************************************************/
+
 
+
/*this wraps the whole of the menu*/
+
.igem_2018_team_menu {
+
background-color:#c4baba;
+
border-left: 1px solid #c4baba;
+
display:block;
+
float:right;
+
height:100vh;
+
max-width: 270px;
+
overflow-y: auto;
+
overflow-x: hidden;
+
padding:0;
+
position:fixed;
+
left:0;
+
text-align:left;
+
width: 15%;
+
}
+
 
+
 
+
.igem_2018_team_menu.displaying_menu{
+
display:block;
+
}
+
 
+
.igem_2018_team_menu a {
+
color: #484848;
+
text-decoration:none;
+
}
+
 
+
.igem_2018_team_menu img {
+
width:100%;
+
}
+
 
+
        .scientific {
+
                font-style: italic;
+
        }
+
 
+
        .introduction {
+
                border: 1px solid #df043b;
+
                border-radius: 3px;
+
                padding: 25px;
+
                clear: both;
+
                font-family: 'Raleway', sans-serif;
+
        }
+
 
+
        .introduction h3 {
+
                font-family: 'EB Garamond', serif !important;
+
        }
+
 
+
 
+
.igem_2018_team_menu .menu_item {
+
    background-color: #c4baba;
+
    border-bottom: 1px solid #928b8b;
+
    clear: both;
+
color: #484848;
+
    cursor: pointer;
+
float: left;
+
    font-size: 120%;
+
    font-weight: bold;
+
    padding: 15px 0px 15px 5%;
+
  width: 100%;
+
}
+
 
+
.igem_2018_team_menu .menu_item.direct_link {
+
color: #484848;
+
padding-left: 15%;
+
}
+
.igem_2018_team_menu .menu_item:hover {
+
background-color: #ecb656;
+
}
+
 
+
 
+
.igem_2018_team_menu .menu_item .submenu_control_icon {
+
color: #484848;
+
float: left;
+
width: 10%;
+
}
+
 
+
/* submenu icon "+" "-"*/
+
.igem_2018_team_menu .menu_item .submenu_control_icon::before {
+
content: "+";
+
}
+
 
+
/* submenu icon "+"  "-"*/
+
.igem_2018_team_menu .menu_item .submenu_control_icon.open::before {
+
content: "-";
+
}
+
 
+
/*submenu wrapper*/
+
.igem_2018_team_menu .submenu{
+
background-color: #e4dede;
+
clear:both;
+
display:none;
+
float: left; 
+
width:100%;
+
}
+
 
+
/*styling for a submenu item*/
+
.igem_2018_team_menu .submenu .submenu_item {
+
border-bottom: 1px solid #c4baba;
+
  color: #635d5d;
+
    height: 30px;
+
  float: left;
+
    font-size: 110%;
+
font-weight: bold;
+
    padding: 12px 0px 0px 15%;
+
    width: 100%;
+
}
+
 
+
.igem_2018_team_menu .submenu .submenu_item:hover {
+
background-color: #f3bd5d;
+
}
+
 
+
 
+
.igem_2018_team_menu .submenu .submenu_item.current_page,
+
.igem_2018_team_menu .menu_item.current_page,
+
.igem_2018_team_menu .menu_item.direct_link.current_page {
+
background-color:#7acbd8;
+
}
+
 
+
 
+
 
+
/*mobile menu bar styling*/
+
/**************************************************************************************************************************************************************************************************/
+
 
+
 
+
.igem_2018_team_mobile_bar {
+
background-color:#e4dede;
+
border-bottom: 1px solid #c4baba;
+
cursor:pointer;
+
display:none;
+
float:left;
+
margin-top: 0;
+
padding: 5px 0;
+
position:fixed;
+
width:100%;
+
}
+
 
+
.igem_logo_mobile img {
+
width:70px;
+
}
+
 
+
.igem_logo_mobile {
+
float:left;
+
padding-left: 5%;
+
width: 30%;
+
}
+
 
+
.igem_menu_control_mobile img {
+
width:25px;
+
}
+
 
+
.igem_menu_control_mobile {
+
float:right;
+
padding-right:5%;
+
padding-top:5px;
+
text-align:right;
+
width: 30%;
+
}
+
 
</style>
 
</style>
 
</html>
 
</html>

Latest revision as of 17:26, 17 October 2018