Line 42: | Line 42: | ||
transition: height 0.5s ease-in-out, line-height 0.5s ease-in-out, font-size 0.5s ease-in-out; | transition: height 0.5s ease-in-out, line-height 0.5s ease-in-out, font-size 0.5s ease-in-out; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
.navbar { | .navbar { | ||
Line 54: | Line 47: | ||
position: relative; | position: relative; | ||
z-index: 30; | z-index: 30; | ||
+ | } | ||
+ | |||
+ | .navbar-brand { | ||
+ | align-items: stretch; | ||
+ | display: flex; | ||
+ | flex-shrink: 0; | ||
+ | min-height: 3.25rem; | ||
} | } | ||
</style> | </style> | ||
Line 61: | Line 61: | ||
<div class="foo"> | <div class="foo"> | ||
<header> | <header> | ||
− | <nav class="navbar | + | <nav class="navbar" role="navigation" aria-label="main navigation"> |
− | <a href="https://2018.igem.org/Team:Marburg" class="header_logo"> | + | <div class="navbar-brand"> |
− | + | <a href="https://2018.igem.org/Team:Marburg" class="header_logo"> | |
− | + | <img src="https://static.igem.org/mediawiki/2018/3/3f/T--Marburg--header_logo.svg"> | |
+ | </a> | ||
+ | </div> | ||
</nav> | </nav> | ||
</header> | </header> |
Revision as of 16:18, 21 July 2019