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

(Replaced content with "<html> <style type="text/css"> body { background: red; } </style> </html>")
Line 2: Line 2:
 
<style type="text/css">
 
<style type="text/css">
  
body { background: red; }
+
#mw-content-text {
 
+
  display: flex;
 +
  flex-direction: column;
 +
  min-height: calc(100vh - 21px);
 +
}
 +
 +
footer {
 +
    order: 2;
 +
    margin-top: auto;
 +
    border-top: 2px solid black !important;
 +
    padding-top: 30px;
 +
    border-top: 20px;
 +
    position: relative;
 +
    width: calc(100vw - 490px);
 +
    max-width: 820px;
 +
    left: 435px;
 +
}
 +
 +
.team-member {
 +
  display: flex;
 +
  align-items: flex-start;
 +
  margin-top: 20px;
 +
}
 +
 +
.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;
 +
}
 +
 +
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 {
 +
  font-size: 16px !important;
 +
  font-family: 'Raleway', sans-serif;
 +
}
 +
 +
#HQ_page p {
 +
  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 {
 +
  padding: 100px 40px 40px 405px;
 +
  pointer-events: none;
 +
  position: relative;
 +
  z-index: 10;
 +
}
 +
 +
.igem_2018_team_column_wrapper {
 +
    z-index: 50;
 +
    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 {
 +
    font-family: 'Caudex';
 +
    font-weight: bold;
 +
    margin-top: 20px;
 +
    overflow: visible;
 +
    position: relative;
 +
}
 +
 +
.igem_2018_team_content h2 {
 +
    padding-bottom: 10px;
 +
    padding-top: 10px;
 +
    margin-bottom: 20px;
 +
    margin-top: 0;
 +
    font-size: 70px;
 +
    line-height: 80px;
 +
}
 +
 +
.igem_2018_team_content h2:after, .igem_2018_team_content h3:after, .igem_2018_team_content h2:before {
 +
    content: "";
 +
    position: absolute;
 +
    height: 2px;
 +
    background-color: black;
 +
    z-index: 5;
 +
    right: 0;
 +
    left: 0;
 +
    bottom: 0;
 +
}
 +
 +
.igem_2018_team_content h2:before {
 +
    top: 0;
 +
    bottom: inherit;
 +
}
 +
 +
.page-title.notebook ~ .igem_2018_team_content #toc {
 +
    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 {
 +
    position: fixed;
 +
    left: 10px;
 +
    top: 190px;
 +
    border: none;
 +
    background: transparent;
 +
    font-family: 'Caudex';
 +
    font-size: 18px;
 +
    max-width: 400px;
 +
}
 +
 +
@media (min-width: 1680px) {
 +
  #toc {
 +
      left: 1280px;
 +
  }
 +
}
 +
 +
#toc a {
 +
    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 {
 +
    display: none;
 +
}
 +
 +
#toc .toclevel-2 > a {
 +
    padding: 0 10px;
 +
    border-left: 3px solid transparent;
 +
    margin-left: 0;
 +
}
 +
 +
#toc .active {
 +
    border-left: 3px solid rgb(153, 51, 51) !important;
 +
}
 +
 +
/**************************************************************************************************************************************************************************************************/
 +
 +
 +
 +
/**************************************************************************************************************************************************************************************************/
 +
/* DEFAULT WIKI SETTINGS */
 +
/**************************************************************************************************************************************************************************************************/
 +
 +
 +
    #home_logo, #sideMenu { display:none; }
 +
    #sideMenu, #top_title, .patrollink  {display:none;}
 +
    #content { margin-left:0px; margin-top:-7px; padding:0px; width:100%;}
 +
    body {background-color:white; }
 +
 +
    .judges-will-not-evaluate { border: 4px solid #e4dede; padding: 2% !important; width: 92%!important;}
 +
 +
 
</style>
 
</style>
 
</html>
 
</html>

Revision as of 17:11, 17 October 2018