Line 54: | Line 54: | ||
flex-shrink: 0; | flex-shrink: 0; | ||
min-height: 3.25rem; | min-height: 3.25rem; | ||
+ | } | ||
+ | |||
+ | .navbar-item { | ||
+ | color: #4a4a4a; | ||
+ | display: block; | ||
+ | line-height: 1.5; | ||
+ | padding: 0.5rem 0.75rem; | ||
+ | position: relative; | ||
+ | } | ||
+ | |||
+ | a.navbar-item, | ||
+ | .navbar-link { | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | |||
+ | a.navbar-item:focus, | ||
+ | a.navbar-item:focus-within, | ||
+ | a.navbar-item:hover, | ||
+ | a.navbar-item.is-active, | ||
+ | .navbar-link:focus, | ||
+ | .navbar-link:focus-within, | ||
+ | .navbar-link:hover, | ||
+ | .navbar-link.is-active { | ||
+ | background-color: #fafafa; | ||
+ | color: #3273dc; | ||
+ | } | ||
+ | |||
+ | .navbar-item { | ||
+ | display: block; | ||
+ | flex-grow: 0; | ||
+ | flex-shrink: 0; | ||
+ | } | ||
+ | |||
+ | .navbar-item img { | ||
+ | max-height: 1.75rem; | ||
+ | } | ||
+ | |||
+ | .navbar-brand a.navbar-item:focus, | ||
+ | .navbar-brand a.navbar-item:hover { | ||
+ | background-color: transparent; | ||
} | } | ||
</style> | </style> | ||
Line 62: | Line 102: | ||
<header> | <header> | ||
<nav class="navbar" role="navigation" aria-label="main navigation"> | <nav class="navbar" role="navigation" aria-label="main navigation"> | ||
− | <div class="navbar-brand"> | + | <div class="navbar-brand">class="navbar-item" |
− | <a href="https://2018.igem.org/Team:Marburg" class=" | + | <a href="https://2018.igem.org/Team:Marburg" class="navbar-item"> |
<img src="https://static.igem.org/mediawiki/2018/3/3f/T--Marburg--header_logo.svg"> | <img src="https://static.igem.org/mediawiki/2018/3/3f/T--Marburg--header_logo.svg"> | ||
</a> | </a> |
Revision as of 16:21, 21 July 2019