Difference between revisions of "Template:Freiburg/CSS"
Line 705: | Line 705: | ||
</style> | </style> | ||
+ | |||
+ | <!-- INITIALIZE UPWARDS BLOB, SO ITS TOP REFERENCES TO DOCUMENT TOP --> | ||
+ | |||
+ | <style> | ||
+ | |||
+ | /* upwards navigation blob */ | ||
+ | |||
+ | #upwards_blob{ | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | /* min-width is chosen so the blob does just not interfere with the content box */ | ||
+ | /* 1021 content_box-width + 46 blob-width + 20 scrollbar + some buffer space */ | ||
+ | @media screen and (min-width: 1144px){ | ||
+ | #upwards_blob{ | ||
+ | transition: transform 0.5s ease; | ||
+ | display: block; | ||
+ | position: absolute; | ||
+ | right: -100px; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | </style> | ||
+ | |||
+ | <div id="upwards_blob"><a href="#header"><img src="https://static.igem.org/mediawiki/2015/9/93/Freiburg_upwards_blob.png"></a></div> | ||
+ | |||
+ | |||
</html> | </html> |
Revision as of 06:38, 8 September 2015