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

Line 171: Line 171:
 
     font-weight: bold;
 
     font-weight: bold;
 
     margin-top: 20px;
 
     margin-top: 20px;
 +
    position: relative;
 
}
 
}
  
 
.igem_2018_team_content h2 {
 
.igem_2018_team_content h2 {
    border-top: 2px solid black;
 
    border-bottom: 2px solid black;
 
 
     padding-bottom: 10px;
 
     padding-bottom: 10px;
 
     margin-bottom: 20px;
 
     margin-bottom: 20px;
 
     margin-top: 0;
 
     margin-top: 0;
 +
}
 +
 +
.igem_2018_team_content h2::before, .igem_2018_team_content h2::after, .igem_2018_team_content h3::after {
 +
    position: absolute;
 +
    height: 2px;
 +
    background-color: black;
 +
}
 +
 +
.igem_2018_team_content h2::before {
 +
    right: 0;
 +
    left: -5000px;
 +
    top: 0;
 +
}
 +
 +
.igem_2018_team_content h2::after {
 +
    right: -5000px;
 +
    left: 0;
 +
    bottom: 0;
 +
}
 +
 +
.igem_2018_team_content h3::after {
 +
    right: 0;
 +
    left: -5000px;
 +
    bottom: 0;
 
}
 
}
  

Revision as of 16:16, 22 September 2018