Difference between revisions of "Template:Freiburg/CSS"
Line 18: | Line 18: | ||
/* Footer | /* Footer | ||
/* Accordion - Ausklappmenues | /* Accordion - Ausklappmenues | ||
+ | /* Lightbox | ||
/* | /* | ||
/* Flipcard-CSS for the members-section: inline in https://2015.igem.org/Team:Freiburg/Team | /* Flipcard-CSS for the members-section: inline in https://2015.igem.org/Team:Freiburg/Team | ||
Line 778: | Line 779: | ||
/* ================= END: Accordion =================*/ | /* ================= END: Accordion =================*/ | ||
+ | |||
+ | /* =============== LIghtbox =========================*/ | ||
+ | |||
+ | #lightbox { | ||
+ | position:fixed; /* keeps the lightbox window in the current viewport */ | ||
+ | top:0; | ||
+ | left:0; | ||
+ | width:100%; | ||
+ | height:100%; | ||
+ | background: rgba(0,0,0,.7); | ||
+ | text-align:center; | ||
+ | z-index: 9999; | ||
+ | } | ||
+ | |||
+ | #lightbox p { | ||
+ | text-align:right; | ||
+ | color:#fff; | ||
+ | margin-right:20px; | ||
+ | font-size:12px; | ||
+ | } | ||
+ | |||
+ | #lightbox img { | ||
+ | box-shadow:0 0 25px #111; | ||
+ | -webkit-box-shadow:0 0 25px #111; | ||
+ | -moz-box-shadow:0 0 25px #111; | ||
+ | max-width:940px; | ||
+ | max-height: 800px; | ||
+ | } | ||
+ | |||
+ | /* =============== END: Lightbox =========================*/ | ||
#head { | #head { | ||
height: 0px; | height: 0px; | ||
} | } | ||
− | |||
/* ============== BEGIN:CSS classes and ids for Human Practice =============*/ | /* ============== BEGIN:CSS classes and ids for Human Practice =============*/ |
Revision as of 11:56, 11 September 2015