add special box floating in left corner

lektura
max.mehl 2017-09-06 18:32:01 +02:00
parent 5666ca2deb
commit b10ec9c1a9
3 changed files with 21 additions and 0 deletions

View File

@ -46,6 +46,8 @@
{{ partial "legal.html" . }}
{{ partial "sharecolumn.html" . }}
{{ partial "special-box.html" . }}
{{ partial "js.html" . }}
</body>

View File

@ -0,0 +1,4 @@
{{ "<!-- SPECIAL-BOX -->" | safeHTML }}
<div id="special-box">
<a href="#action" class="hiddenlink page-scroll"><span>Already X signatures sign the Open Letter now!</span></a>
</div>

View File

@ -345,3 +345,18 @@ a:not(.btn):not(.hiddenlink):hover::before, a:not(.btn):not(.hiddenlink):focus::
padding: 20px 30px;
font-style: italic;
}
/* FLOATING SIGNATURE BOX */
#special-box {
position: fixed;
top: 50px;
left: 0px;
background: rgba(255,255,255,0.8);
max-width: 250px;
padding: 10px;
border-radius: 0px 0px 15px 0px;
text-align: center;
}
#special-box a {
}