Browse Source

source on bottom of div

master
Georg Hopp 10 years ago
parent
commit
70bb167af0
  1. 6
      app/assets/stylesheets/welcome.scss
  2. 6
      app/views/welcome/index.html.erb

6
app/assets/stylesheets/welcome.scss

@ -325,6 +325,7 @@ p {
left: 50%; left: 50%;
transform: translate(-50%, 0); transform: translate(-50%, 0);
font-size: x-small; font-size: x-small;
vertical-align: bottom;
} }
.dictionary .headword { .dictionary .headword {
display: inline-block; display: inline-block;
@ -369,6 +370,11 @@ p {
content: counters(section,".") " "; content: counters(section,".") " ";
} }
.source {
position: absolute;
font-size: x-small;
bottom: 35px;
}
/* /*
#title { #title {
position: fixed; position: fixed;

6
app/views/welcome/index.html.erb

@ -76,6 +76,8 @@
the Fates. the Fates.
</li> </li>
</ol> </ol>
</div>
<div class="source">
Taken from Taken from
<a href="http://www.thefreedictionary.com/">"The free dictionary"</a> <a href="http://www.thefreedictionary.com/">"The free dictionary"</a>
Phonetics from Phonetics from
@ -111,6 +113,8 @@
</li> </li>
</ol> </ol>
<p>&hellip;</p> <p>&hellip;</p>
</div>
<div class="source">
Taken from Taken from
<a href="http://www.thefreedictionary.com/">"The free dictionary"</a> <a href="http://www.thefreedictionary.com/">"The free dictionary"</a>
Phonetics from Phonetics from
@ -134,6 +138,8 @@
servantry, servants, staff, team of emmloyees, work force, work party, servantry, servants, staff, team of emmloyees, work force, work party,
workers, working people workers, working people
</div> </div>
</div>
<div class="source">
Taken from Taken from
<a href="http://www.thefreedictionary.com/">"The free dictionary"</a> <a href="http://www.thefreedictionary.com/">"The free dictionary"</a>
Phonetics from Phonetics from

Loading…
Cancel
Save