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

Line 182: Line 182:
 
}
 
}
  
.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: "";
 
     content: "";
 
     position: absolute;
 
     position: absolute;
Line 188: Line 188:
 
     background-color: black;
 
     background-color: black;
 
     z-index: 5;
 
     z-index: 5;
}
 
 
.igem_2018_team_content h2:before {
 
 
     right: 0;
 
     right: 0;
 
     left: -5000px;
 
     left: -5000px;
    top: 0;
 
}
 
 
.igem_2018_team_content h2:after {
 
    right: -5000px;
 
    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;
+
 
}
 
}
  

Revision as of 16:24, 22 September 2018