(2 intermediate revisions by the same user not shown) | |||
Line 45: | Line 45: | ||
linkinfo_bg.setAttributeNS(null,"y",loc.y+8); | linkinfo_bg.setAttributeNS(null,"y",loc.y+8); | ||
linkinfo_bg.setAttributeNS(null,"visibility","visibile"); | linkinfo_bg.setAttributeNS(null,"visibility","visibile"); | ||
+ | |||
+ | if(loc.x < 1000) { | ||
+ | linkinfo.setAttributeNS(null,"text-anchor","start"); | ||
+ | } else { | ||
+ | linkinfo.setAttributeNS(null,"text-anchor","end"); | ||
+ | linkinfo_bg.setAttributeNS(null,"x",loc.x-length); | ||
+ | } | ||
} | } | ||
Line 178: | Line 185: | ||
</div> | </div> | ||
<main> | <main> | ||
− | <div style="font-family: var(--headfont); color: white; font-size: 40px;margin-bottom: | + | <div style="font-family: var(--headfont); line-height: 150%; color: white; font-size: 40px;margin-bottom: 40px;">Entering a Whole New Universe of Applications</div> |
<div style="background-image: url(https://static.igem.org/mediawiki/2017/6/67/T--TU_Dresden--Project-Overview.png); background-size: contain;background-repeat: no-repeat; background-color: rgba(0,0,0,.6);"> | <div style="background-image: url(https://static.igem.org/mediawiki/2017/6/67/T--TU_Dresden--Project-Overview.png); background-size: contain;background-repeat: no-repeat; background-color: rgba(0,0,0,.6);"> | ||
<svg | <svg |
Latest revision as of 02:25, 2 November 2017