Chunngaiau (Talk | contribs) |
Chunngaiau (Talk | contribs) |
||
Line 46: | Line 46: | ||
#header-lightbox { | #header-lightbox { | ||
− | margin-top: - | + | margin-top: -32px; |
width: 100%; | width: 100%; | ||
− | + | padding-bottom: 40%; | |
background-image: url(https://static.igem.org/mediawiki/2017/8/85/T--oxford--team-group.jpeg); | background-image: url(https://static.igem.org/mediawiki/2017/8/85/T--oxford--team-group.jpeg); | ||
background-size: cover; | background-size: cover; | ||
− | background-position: | + | background-position: center 8%; |
+ | } | ||
+ | |||
+ | @media (max-width: 768px) { | ||
+ | #header-lightbox { | ||
+ | margin-top: 40px; | ||
} | } | ||
</style> | </style> |
Revision as of 09:55, 27 July 2017