Difference between revisions of "Template:Marburg/style"

 
(45 intermediate revisions by the same user not shown)
Line 36: Line 36:
 
#HQ_page {
 
#HQ_page {
 
height:100%;
 
height:100%;
 +
}
 +
table {
 +
margin: 0 !important;
 
}
 
}
 
#HQ_page h1, h2, h3, h4, h5, h6 {
 
#HQ_page h1, h2, h3, h4, h5, h6 {
 
font-family: unset;
 
font-family: unset;
 
color:unset;
 
color:unset;
 +
overflow: visible;
 
}
 
}
 
h1 { font-size: 2em; }  
 
h1 { font-size: 2em; }  
Line 118: Line 122:
 
animation: logo_fadeIn 1.0s ease-in-out;
 
animation: logo_fadeIn 1.0s ease-in-out;
 
z-index: 1;
 
z-index: 1;
 +
}
 +
.header_logo>img {
 +
position: absolute;
 +
top:50%;
 +
width: 180px;
 +
height: 100%;
 +
opacity: 0.8;
 +
transform:translateY(-50%);
 
}
 
}
 
.burger {
 
.burger {
Line 139: Line 151:
 
}
 
}
  
@keyframes logo_fadeIn { from { opacity: 0; margin-left: -50px; } to { opacity: 1; margin-left: 0px; }}
+
@keyframes logo_fadeIn { from { opacity: 0; } to { opacity: 1; }}
 
@keyframes menu_fadeIn { from { opacity: 0; } to { opacity: 1.0; } }
 
@keyframes menu_fadeIn { from { opacity: 0; } to { opacity: 1.0; } }
 
/* - - - - - - -  DROP DOWN - - - - - - - */
 
/* - - - - - - -  DROP DOWN - - - - - - - */
Line 172: Line 184:
 
}
 
}
 
.menu li:hover {
 
.menu li:hover {
background-color: rgba(165,255,55,0.5);
+
background-color: rgb(184, 234, 132);
 
 
 
}
 
}
Line 196: Line 208:
 
left:0;
 
left:0;
 
padding:0;
 
padding:0;
background-color: rgba(236, 236, 236, 0.9);
+
background-color: rgb(255, 255, 255);
 
text-align: left;
 
text-align: left;
 
overflow:hidden;
 
overflow:hidden;
box-shadow: 0px 9px 20px 0px rgba(0,0,0,0.2), inset 0px 35px 45px -35px rgba(0, 0, 0, 0.2);
+
box-shadow: 0px 9px 20px 0px rgba(0,0,0,0.2);
 
transition: all 0.3s ease-in-out;
 
transition: all 0.3s ease-in-out;
 +
}
 +
.menu li ul:before {
 +
position: absolute;
 +
content: "";
 +
width: 100%;
 +
height: 5px;
 +
background-color:red;
 +
left:0;
 +
transform:translateY(-100%);
 +
box-shadow: 0 0 8px rgba(0,0,0,0.35);
 +
z-index: 1;
 
}
 
}
  
Line 219: Line 242:
 
}
 
}
 
.menu li ul li a:hover {
 
.menu li ul li a:hover {
background-color: rgba(165,255,55,0.5);
+
background-color: rgb(184, 234, 132);
 
}
 
}
  
Line 233: Line 256:
 
padding: 1%;
 
padding: 1%;
 
box-sizing: border-box;
 
box-sizing: border-box;
text-align: left;
+
text-align: justify;
 
margin: 0 auto 0 auto;
 
margin: 0 auto 0 auto;
 
font-size: 2.0em;
 
font-size: 2.0em;
Line 241: Line 264:
 
list-style-type: unset;
 
list-style-type: unset;
 
list-style-position: inside;  
 
list-style-position: inside;  
 +
}
 +
article img {
 +
max-width: 100%;
 +
}
 +
article figure {
 +
margin:0;
 +
padding: 2%;
 +
max-width: 100%;
 +
box-sizing: border-box;
 +
}
 +
article figure video {
 +
max-width: 100%;
 +
}
 +
article table {
 +
border-spacing: 0;
 +
border: 1px solid  rgb(220,220,220);
 +
font-size: 0.75em;
 +
border-collapse:collapse;
 +
text-align: left;
 +
}
 +
article th, td {
 +
border-right: 1px solid rgb(220,220,220);
 +
padding: 1vw !important;
 +
}
 +
article th{
 +
border-bottom: 2px solid rgb(200,200,200) !important;
 +
background-color: white !important;
 +
}
 +
article tr:nth-child(even){
 +
background-color: rgb(240,240,240);
 
}
 
}
 
.titleWrapper {
 
.titleWrapper {
Line 248: Line 301:
 
background-color: black;
 
background-color: black;
 
padding-top:80px;
 
padding-top:80px;
 +
overflow: hidden;
 
}
 
}
 
.titleBackground {
 
.titleBackground {
Line 253: Line 307:
 
top:0;
 
top:0;
 
width: 100%;
 
width: 100%;
height: 100%;
+
height: 110%;
opacity: 0.3;
+
opacity: 0.4;
background-attachment: fixed;
+
background-image: url(img/testbg.png);
+
 
background-size: cover;
 
background-size: cover;
 
background-position: center;
 
background-position: center;
Line 263: Line 315:
 
position: absolute;
 
position: absolute;
 
color: white;
 
color: white;
top: 50%;
+
top: calc(50% - 9px);
left: 50%;
+
left:0;
 
margin: 0;
 
margin: 0;
 +
width: 100%;
 
padding-top: 80px;
 
padding-top: 80px;
 +
text-align: center;
 
font-size: 10.0em;
 
font-size: 10.0em;
 
color: whitesmoke;
 
color: whitesmoke;
transform: translate(-50%, -50%);
+
transform: translateY(-50%);
 +
animation: menu_fadeIn 0.5s ease-in-out;
 +
}
 +
figure figcaption {
 +
  font-size: 0.8em;
 
}
 
}
 
/* hover text */
 
/* hover text */
Line 318: Line 376:
 
dfn:hover::before {
 
dfn:hover::before {
 
top: calc(100% - 10px);
 
top: calc(100% - 10px);
 +
}
 +
.collapsible>.btn_expand>dfn {
 +
  color:#393939;
 
}
 
}
 
/* expandable elements */
 
/* expandable elements */
 
.collapsible {
 
.collapsible {
margin: 0 0 1% 0;
+
margin: 1% 0 1% 0;
 
}
 
}
 
.btn_expand {
 
.btn_expand {
 +
position: relative;
 
width: 100%;
 
width: 100%;
padding: 18px;
+
padding: 0.75%;
background-color: rgb(83, 83, 83);
+
background-color: rgb(235,235,235);
 
cursor: pointer;
 
cursor: pointer;
font-size: 1.2em;
+
font-size:0.9em;
 
box-sizing: border-box;
 
box-sizing: border-box;
color: whitesmoke;
+
border-radius: 5px;
transition: background-color 0.2s ease-in-out;
+
color: #454545;
 +
border: 1px solid #d7d7d7;
 +
transition: border 0.1s ease-in-out, color 0.2s ease-in-out;
 
}
 
}
 
.btn_expanded {
 
.btn_expanded {
 +
border-radius: 5px 5px 0 0;
 
}
 
}
.btn_expand:after {
+
.btn_expand:before {
 +
position: absolute;
 +
top:0;
 +
right: 0.25em;
 +
padding: 0.75%;
 
content: "+";
 
content: "+";
float:right;
 
 
}
 
}
.btn_expanded:after {
+
.btn_expanded:before {
content:"-";
+
position: absolute;
 +
top:0;
 +
right: 0.25em;
 +
padding: 0.75%;
 +
content: "-";
 
}
 
}
 
.btn_expand:hover {
 
.btn_expand:hover {
background-color: rgb(100,100,100);
+
color:black;
 +
  border: 1px solid rgb(190,190,190);
 
}
 
}
 
.content {
 
.content {
Line 360: Line 433:
 
border-top:none;padding:1%;
 
border-top:none;padding:1%;
 
opacity: 1;
 
opacity: 1;
 +
overflow: visible;
 
}
 
}
 +
.btn_expand>.btn_e_title {
 +
padding-bottom: 0.5%;
 +
width: calc(100% - 1em);
 +
}
 +
.btn_expand>.btn_e_desc {
 +
font-size: 0.8em;
 +
border-top:1px solid #cbcbcb;
 +
padding: 0.5% 0 0 0;
 +
}
 +
  
 
/* - - - - - - -  SCROLL - - - - - - - */
 
/* - - - - - - -  SCROLL - - - - - - - */
Line 369: Line 453:
 
width: 45px;
 
width: 45px;
 
height: 45px;
 
height: 45px;
right: 40px;
+
right: 45px;
 
bottom: 135px;
 
bottom: 135px;
 
background-image: url(https://static.igem.org/mediawiki/2018/e/e1/T--Marburg--scroll_up.png);
 
background-image: url(https://static.igem.org/mediawiki/2018/e/e1/T--Marburg--scroll_up.png);
Line 384: Line 468:
 
visibility: visible;
 
visibility: visible;
 
transform: translateY(10px);
 
transform: translateY(10px);
 +
z-index: 5;
 
}
 
}
 
.btn_scroll_enabled:hover {
 
.btn_scroll_enabled:hover {
Line 400: Line 485:
 
top: 50%;
 
top: 50%;
 
transform: translateY(-50%);
 
transform: translateY(-50%);
z-index: 2;
+
z-index: 10;
 +
}
 +
.skipBar:hover .btnSkip div {
 +
visibility: visible;
 +
opacity: 1;
 +
right: 100%;
 
}
 
}
 
.btnSkip {
 
.btnSkip {
Line 419: Line 509:
 
transform:translate(-50%, -50%);
 
transform:translate(-50%, -50%);
 
background-color:#c8c8c8;
 
background-color:#c8c8c8;
 +
transition: transform 0.3s ease-in-out;
 
}
 
}
 
.btnSkip:hover div {
 
.btnSkip:hover div {
 
visibility: visible;
 
visibility: visible;
 
opacity: 1;
 
opacity: 1;
background-color:white;
+
  color:rgb(70,70,70);
right: 100%;
+
right: 100%;transform:translate(-5%,-50%) scale(1.2);
 
}
 
}
 
.btnSkip div {
 
.btnSkip div {
Line 430: Line 521:
 
opacity: 0;
 
opacity: 0;
 
right: 0;
 
right: 0;
top:50%;
+
top:50%;height: 100%;line-height: 25px;
 
transform: translateY(-50%);
 
transform: translateY(-50%);
 
padding: 2px 5px 2px 5px;
 
padding: 2px 5px 2px 5px;
border-radius: 15px;
+
 
visibility: hidden;
 
visibility: hidden;
 
white-space: nowrap;
 
white-space: nowrap;
 
color:gray;
 
color:gray;
transition: opacity 0.2s ease-in-out, right 0.2s ease-in-out, visibility 0.2s ease-in-out, background-color 0.2s ease-in-out;
+
transition: opacity 0.2s ease-in-out, right 0.2s ease-in-out, visibility 0.2s ease-in-out, background-color 0.2s ease-in-out, transform 0.3s ease-in-out;
 +
}
 +
.btnSkip div:before {
 +
position: absolute;
 +
content:"";
 +
width: calc(100%);
 +
height: calc(100% - 10px);
 +
margin-top:3px;
 +
margin-left: -7px;
 +
border-radius: 5px 2px 2px 5px;
 +
background-color:white;
 +
z-index: -1;
 +
}
 +
.btnSkipActive:after {
 +
border-radius: 5px;
 +
transform:translate(calc(50% + -5px), calc(50% - 5px)) scale(1.5);
 
}
 
}
 
/* - - - - - - -  FOOTER - - - - - - - */
 
/* - - - - - - -  FOOTER - - - - - - - */
 
footer {
 
footer {
 +
position: relative;
 
width: 100%;
 
width: 100%;
 
height: 100px;
 
height: 100px;
Line 470: Line 577:
 
opacity: 1.0;
 
opacity: 1.0;
 
}
 
}
 +
/* - - - - - - -  MOBILE - - - - - - - */
 +
.mobile_w_full {}
 +
.mobile_w_half {}
 
/* - - - - - - -  MEDIA QUERIES - - - - - - - */
 
/* - - - - - - -  MEDIA QUERIES - - - - - - - */
 +
/* medium desktops */
 +
@media only screen and (max-width: 1500px) {
 +
.titleWrapper {
 +
height: 400px;
 +
}
 +
}
 
/* small desktops */
 
/* small desktops */
 
@media only screen and (max-width: 1100px) {  
 
@media only screen and (max-width: 1100px) {  
Line 476: Line 592:
 
font-size: 16px;
 
font-size: 16px;
 
}
 
}
.title {
+
.titleWrapper .title {
margin-top:40px;
+
 
font-size: 7.0em;
 
font-size: 7.0em;
height: 300px;
 
line-height: 300px;
 
 
}
 
}
 
article {
 
article {
 
width: 100%;
 
width: 100%;
 +
}
 +
article img {
 +
max-width: 100%;
 +
}
 +
table {
 +
max-width: 100%;
 
}
 
}
 
}
 
}
Line 507: Line 626:
 
margin: 0 0 0 0;
 
margin: 0 0 0 0;
 
width: 60%;
 
width: 60%;
border-right: 2px solid white;
+
 
box-shadow: 0 0 100px rgba(0,0,0,0.2);
 
box-shadow: 0 0 100px rgba(0,0,0,0.2);
 
height: unset;
 
height: unset;
 +
}
 +
.menu:before {
 +
position: absolute;
 +
padding-bottom: 12px;
 +
width: 100%;
 +
left:0;
 +
border-right: 2px solid rgb(235,235,235);
 +
background-color:white;
 +
content: "";
 +
height: 100%;
 
}
 
}
 
.menu li {
 
.menu li {
 
width: 100%;
 
width: 100%;
 
}
 
}
 +
 
.menu >li>a{
 
.menu >li>a{
background-color: rgba(255,255,255, 0.9);
+
background-color: whitesmoke;
 
color:rgb(70,70,70);
 
color:rgb(70,70,70);
    line-height: 2.85em;
+
    line-height: 2.85em;
 
}
 
}
 
.menu>li>ul{}
 
.menu>li>ul{}
Line 528: Line 658:
 
}
 
}
 
.menu li ul a {
 
.menu li ul a {
background-color: rgba(255,255,255, 0.7);
+
background-color: rgb(255,255,255);
 
line-height: 2.5em;
 
line-height: 2.5em;
 
}
 
}
Line 535: Line 665:
 
}
 
}
 
.menu li ul li a:hover {
 
.menu li ul li a:hover {
background-color:unset;
+
background-color:rgb(220,220,220);
 
}
 
}
 
.menu_wrapper {
 
.menu_wrapper {
Line 552: Line 682:
 
}
 
}
 
.header_logo {
 
.header_logo {
transform: translateX(-50%);
 
font-size:27px;
 
line-height: 40px;
 
}
 
.header_logo {
 
animation: none;
 
top:0;
 
 
left:50%;
 
left:50%;
 +
}
 +
.header_logo>img {
 +
top:50%;
 +
width: 135px;
 +
transform: translate(-50%, -50%);
 
}
 
}
 
.header_wrapper {
 
.header_wrapper {
Line 569: Line 697:
 
.skipBar {
 
.skipBar {
 
display: none;
 
display: none;
 +
}
 +
.titleWrapper {
 +
padding-top:40px;
 +
height: 350px;
 +
font-size: 1.5vw;
 +
}
 +
.titleWrapper .title {
 +
padding-top:40px;
 
}
 
}
 
}
 
}
Line 576: Line 712:
 
.menu {
 
.menu {
 
width: 75%;
 
width: 75%;
 +
}
 +
article {
 +
font-size: 1.7em;
 +
}
 +
article table {
 +
font-size: 0.65em;
 +
}
 +
article th, td {
 +
padding: 1% !important;
 
}
 
}
 
}
 
}
Line 583: Line 728:
 
width: 100%;
 
width: 100%;
 
}
 
}
.title {
+
article {
font-size: 5.0em;
+
font-size: 1.65em;
 +
}
 +
.titleWrapper {
 
height: 200px;
 
height: 200px;
line-height: 200px;
+
}
 +
.titleWrapper .title {
 +
font-size: 12vw;
 +
}
 +
.mobile_w_full {
 +
display:block;
 +
float:none !important;
 +
width: 100% !important;
 +
margin:0 auto 0 auto;
 +
}
 +
.mobile_w_half {
 +
max-width: 50% !important;
 
}
 
}
 
}
 
}

Latest revision as of 02:57, 18 October 2018

/* DEFAULT OVERRIDES */

  1. top_title {

display:none; } html { height:100%; } body { height:100%; background-color: white; } ul{ list-style-type:none; list-style-image:none; line-height: unset; } li { margin-bottom: 0 !important; } abbr { border-bottom: unset !important; cursor: unset !important; }

  1. globalWrapper {

height:100%; padding:0; }

  1. content {

position:absolute; top:18px; height:calc(100% - 18px); width:100%; margin:0; padding:0; }

  1. HQ_page {

height:100%; } table { margin: 0 !important; }

  1. HQ_page h1, h2, h3, h4, h5, h6 {

font-family: unset; color:unset; overflow: visible; } h1 { font-size: 2em; } h2 { font-size: 1.5em; } h3 { font-size: 1.17em; } h4 { font-size: 1.12em; } h5 { font-size: .83em; } h6 { font-size: .75em; }

  1. HQ_page p {

margin-top:18px; margin-bottom:18px; border: 0; font-size: 100%; font: inherit; }

  1. bodyContent {

height:100%; }

  1. mw-content-text {

position:absolute; top:0; height:100%; width:100%; font-family: Roboto; line-height: normal; }

  1. mw-content-text ul {

margin:0; } a { text-decoration: none; padding-right: 0px !important; } a:hover { text-decoration: none; } a:focus { text-decoration:none; }

  1. canvas {

position: fixed; top:0; left:0; z-index:-1; } /* - - - - - - - HEADER - - - - - - - */ header {

	position: fixed;

top:18px; min-width: 300px; width: 100%; height: 80px; line-height: 80px; font-size: 18px; text-align: center; background-color:rgb(255, 255, 255); box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.19); text-align: center; z-index: 10; transition: height 0.5s ease-in-out, line-height 0.5s ease-in-out, font-size 0.5s ease-in-out; } .header_wrapper { display: inline-block; height: 100%; text-align: left; } .shrink { height: 60px; line-height: 60px; font-size: 16px; } .header_logo { position: absolute; height: 100%; color:white; font-weight: bold; font-size:32px; animation: logo_fadeIn 1.0s ease-in-out; z-index: 1; } .header_logo>img { position: absolute; top:50%; width: 180px; height: 100%; opacity: 0.8; transform:translateY(-50%); } .burger { display: none; position: absolute; width: 23px; height: 23px;

 top: calc(100% / 2 - 11.5px);

left: 15px; opacity: 0.65; background-repeat: no-repeat; background-size: contain; background-position: center; background-image: url(https://static.igem.org/mediawiki/2018/0/0e/T--Marburg--burger.svg); cursor:pointer; }

.menu_wrapper { opacity: 1; animation: menu_fadeIn 1s ease-in-out; }

@keyframes logo_fadeIn { from { opacity: 0; } to { opacity: 1; }} @keyframes menu_fadeIn { from { opacity: 0; } to { opacity: 1.0; } } /* - - - - - - - DROP DOWN - - - - - - - */

.menu { position: relative; margin: 0; padding: 0; height: 100%; font-weight: bold; } .menu::before { float:left; position: relative; content:""; width: 250px; height: 100px; } /* Button */ .menu li { position: relative; float: left; height: 100%; list-style-type: none; transition: background-color 0.2s ease-in-out; } .menu li a { display: block; color:#656565;

 text-decoration: none;

padding: 0 15px 0 15px !important; } .menu li:hover { background-color: rgb(184, 234, 132);

}

.menu li:focus-within ul { visibility: visible;

 	max-height: 700px;

opacity: 1.0; } .menu li:hover ul { visibility: visible;

 	max-height: 700px;

opacity: 1.0; }

/* Container */ .menu li ul { visibility: hidden; max-height: 0; opacity: 0.0; font-weight: normal; position: absolute; left:0; padding:0; background-color: rgb(255, 255, 255); text-align: left; overflow:hidden; box-shadow: 0px 9px 20px 0px rgba(0,0,0,0.2); transition: all 0.3s ease-in-out; } .menu li ul:before { position: absolute; content: ""; width: 100%; height: 5px; background-color:red; left:0; transform:translateY(-100%); box-shadow: 0 0 8px rgba(0,0,0,0.35); z-index: 1; }

/* Element */ .menu li ul li { display: block; padding: 0; width: 100%; min-width: 250px; line-height: 55px; white-space: nowrap; } .menu li ul li:hover { background-color:unset; } .menu li ul li a { transition: background-color 0.17s ease-in-out; } .menu li ul li a:hover { background-color: rgb(184, 234, 132); }

/* - - - - - - - MAIN - - - - - - - */ main { width: 100%; min-height: 100%; overflow-x: hidden; }

article { width: 80%; padding: 1%; box-sizing: border-box; text-align: justify; margin: 0 auto 0 auto; font-size: 2.0em; color: rgb(50,50,50); } article ul { list-style-type: unset; list-style-position: inside; } article img { max-width: 100%; } article figure { margin:0; padding: 2%; max-width: 100%; box-sizing: border-box; } article figure video { max-width: 100%; } article table { border-spacing: 0; border: 1px solid rgb(220,220,220); font-size: 0.75em; border-collapse:collapse; text-align: left; } article th, td { border-right: 1px solid rgb(220,220,220); padding: 1vw !important; } article th{ border-bottom: 2px solid rgb(200,200,200) !important; background-color: white !important; } article tr:nth-child(even){ background-color: rgb(240,240,240); } .titleWrapper { position: relative; width: 100%; height: 480px; background-color: black; padding-top:80px; overflow: hidden; } .titleBackground { position: absolute; top:0; width: 100%; height: 110%; opacity: 0.4; background-size: cover; background-position: center; } .title { position: absolute; color: white; top: calc(50% - 9px); left:0; margin: 0; width: 100%; padding-top: 80px; text-align: center; font-size: 10.0em; color: whitesmoke; transform: translateY(-50%); animation: menu_fadeIn 0.5s ease-in-out; } figure figcaption {

 font-size: 0.8em;

} /* hover text */ dfn {

 position: relative;
 cursor: help;
 color:#2a5599;
 

} dfn::after {

 content: attr(data-info);
 display: inline;
 position: absolute;
 top: calc(100% + 10px); 

left: 0;

 opacity: 0;
 width: 230px;
 font-size: 13px;
 font-weight: 700;
 line-height: 1.5em;
 padding: 0.5em 0.8em;
 background: rgba(0,0,0,0.8);
 color: #fff;
 pointer-events: none;
 transition: opacity 250ms, top 250ms;

} dfn::before {

 content: ;
 display: block;
 position: absolute;
 top: 100%; 

left: 20px;

 opacity: 0;
 width: 0; height: 0;
 border: solid transparent 5px;
 border-bottom-color: rgba(0,0,0,0.8);
 transition: opacity 0.25s, top 0.25s;

} dfn:hover { z-index: 2; } dfn:hover::after, dfn:hover::before { opacity: 1; } dfn:hover::after { top:100%; } dfn:hover::before { top: calc(100% - 10px); } .collapsible>.btn_expand>dfn {

 color:#393939;

} /* expandable elements */ .collapsible { margin: 1% 0 1% 0; } .btn_expand { position: relative; width: 100%; padding: 0.75%; background-color: rgb(235,235,235); cursor: pointer; font-size:0.9em; box-sizing: border-box; border-radius: 5px; color: #454545; border: 1px solid #d7d7d7; transition: border 0.1s ease-in-out, color 0.2s ease-in-out; } .btn_expanded { border-radius: 5px 5px 0 0; } .btn_expand:before { position: absolute; top:0; right: 0.25em; padding: 0.75%; content: "+"; } .btn_expanded:before { position: absolute; top:0; right: 0.25em; padding: 0.75%; content: "-"; } .btn_expand:hover { color:black;

 border: 1px solid rgb(190,190,190);

} .content { width: 100%; overflow: hidden; max-height: 0;background-color: unset; opacity: 0; padding:0; box-sizing: border-box; border:none; transition: opacity 0.3s ease-in-out; } .expanded { max-height: unset; border: 1px solid rgb(230,230,230); border-top:none;padding:1%; opacity: 1; overflow: visible; } .btn_expand>.btn_e_title { padding-bottom: 0.5%; width: calc(100% - 1em); } .btn_expand>.btn_e_desc { font-size: 0.8em; border-top:1px solid #cbcbcb; padding: 0.5% 0 0 0; }


/* - - - - - - - SCROLL - - - - - - - */ .btn_scroll_top { position: fixed; font-weight: bold; color:darkgray; width: 45px; height: 45px; right: 45px; bottom: 135px; background-image: url(T--Marburg--scroll_up.png); background-position: center; background-size: contain; cursor:pointer; transition: opacity 0.5s, visibility 0.5s, transform 0.5s; transition-timing-function: ease-in-out; z-index: 10; }

.btn_scroll_enabled { opacity: 0.5; visibility: visible; transform: translateY(10px); z-index: 5; } .btn_scroll_enabled:hover { opacity: 0.35; transform:scale(1.05) translateY(10px); } .btn_scroll_disabled { opacity: 0; visibility: hidden; transform: translateY(-10px); } /* Skip Elements */ .skipBar { position: fixed; right: 2%; top: 50%; transform: translateY(-50%); z-index: 10; } .skipBar:hover .btnSkip div { visibility: visible; opacity: 1; right: 100%; } .btnSkip { position: relative; width: 10px; height: 10px; padding:8px; cursor:pointer; transition: opacity 0.2s ease-in-out; } .btnSkip:after { position: absolute; content: ""; width: 5px; height: 5px; border-radius: 4px; left:50%;top:50%; transform:translate(-50%, -50%); background-color:#c8c8c8; transition: transform 0.3s ease-in-out; } .btnSkip:hover div { visibility: visible; opacity: 1;

 color:rgb(70,70,70);

right: 100%;transform:translate(-5%,-50%) scale(1.2); } .btnSkip div { position: absolute; opacity: 0; right: 0; top:50%;height: 100%;line-height: 25px; transform: translateY(-50%); padding: 2px 5px 2px 5px;

visibility: hidden; white-space: nowrap; color:gray; transition: opacity 0.2s ease-in-out, right 0.2s ease-in-out, visibility 0.2s ease-in-out, background-color 0.2s ease-in-out, transform 0.3s ease-in-out; } .btnSkip div:before { position: absolute; content:""; width: calc(100%); height: calc(100% - 10px); margin-top:3px; margin-left: -7px; border-radius: 5px 2px 2px 5px; background-color:white; z-index: -1; } .btnSkipActive:after { border-radius: 5px; transform:translate(calc(50% + -5px), calc(50% - 5px)) scale(1.5); } /* - - - - - - - FOOTER - - - - - - - */ footer { position: relative; width: 100%; height: 100px; background-color:rgb(255, 255, 255); border-top: 1px solid #e3e3e3; margin-bottom: -19px; text-align: center; } .footer_wrapper { position: relative; display:inline-block;

 max-width: 900px;

height: 100px; margin-bottom: -4px; text-align: left; } .footer_social { float:right; } footer img { float:left; width: 50px; opacity: 0.8; margin: 27px 8px 0 8px; transition: all 0.2s ease-in-out; } footer img:hover { margin: 22px 8px 0 8px; opacity: 1.0; } /* - - - - - - - MOBILE - - - - - - - */ .mobile_w_full {} .mobile_w_half {} /* - - - - - - - MEDIA QUERIES - - - - - - - */ /* medium desktops */ @media only screen and (max-width: 1500px) { .titleWrapper { height: 400px; } } /* small desktops */ @media only screen and (max-width: 1100px) { header { font-size: 16px; } .titleWrapper .title { font-size: 7.0em; } article { width: 100%; } article img { max-width: 100%; } table { max-width: 100%; } } @media only screen and (max-width: 1040px) { header { font-size: 15px; height: 70px; line-height: 70px; } .shrink { height: 70px; line-height: 70px; font-size: 15px; } } /* landscape tablets */ @media only screen and (max-width: 992px) { .menu::before { content: unset; } .menu { display: inline-block; margin: 0 0 0 0; width: 60%;

box-shadow: 0 0 100px rgba(0,0,0,0.2); height: unset; } .menu:before { position: absolute; padding-bottom: 12px; width: 100%; left:0; border-right: 2px solid rgb(235,235,235); background-color:white; content: ""; height: 100%; } .menu li { width: 100%; }

.menu >li>a{ background-color: whitesmoke; color:rgb(70,70,70);

   line-height: 2.85em;

} .menu>li>ul{} .menu li ul { position: relative; visibility: visible; max-height: unset; box-shadow: none; opacity: 1.0; } .menu li ul a { background-color: rgb(255,255,255); line-height: 2.5em; } .menu li:hover { background-color: unset; } .menu li ul li a:hover { background-color:rgb(220,220,220); } .menu_wrapper { display: none; position: absolute; left:0; top:40px; height: calc(100vh - 40px); width: 100%; overflow-y: auto; font-size:1.1em; animation: none; }

 header {

height: 40px; } .header_logo { left:50%; } .header_logo>img { top:50%; width: 135px; transform: translate(-50%, -50%); } .header_wrapper { width: 100%; } .btn_scroll_top { display:none; } .skipBar { display: none; } .titleWrapper { padding-top:40px; height: 350px; font-size: 1.5vw; } .titleWrapper .title { padding-top:40px; } }

/* larger phones, portrait tablets */ @media only screen and (max-width: 786px) { .menu { width: 75%; } article { font-size: 1.7em; } article table { font-size: 0.65em; } article th, td { padding: 1% !important; } } /* small phones */ @media only screen and (max-width: 600px) { .menu { width: 100%; } article { font-size: 1.65em; } .titleWrapper { height: 200px; } .titleWrapper .title { font-size: 12vw; } .mobile_w_full { display:block; float:none !important; width: 100% !important; margin:0 auto 0 auto; } .mobile_w_half { max-width: 50% !important; } }