From 70bb167af07878997f04b3a82846a337688233c4 Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Sun, 10 Apr 2016 22:16:47 +0200 Subject: [PATCH] source on bottom of div --- app/assets/stylesheets/welcome.scss | 6 ++++++ app/views/welcome/index.html.erb | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/app/assets/stylesheets/welcome.scss b/app/assets/stylesheets/welcome.scss index 2912f44..7393266 100644 --- a/app/assets/stylesheets/welcome.scss +++ b/app/assets/stylesheets/welcome.scss @@ -325,6 +325,7 @@ p { left: 50%; transform: translate(-50%, 0); font-size: x-small; + vertical-align: bottom; } .dictionary .headword { display: inline-block; @@ -369,6 +370,11 @@ p { content: counters(section,".") " "; } +.source { + position: absolute; + font-size: x-small; + bottom: 35px; +} /* #title { position: fixed; diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb index fb4a7d5..6dc088d 100644 --- a/app/views/welcome/index.html.erb +++ b/app/views/welcome/index.html.erb @@ -76,6 +76,8 @@ the Fates. + +
Taken from "The free dictionary" Phonetics from @@ -111,6 +113,8 @@

+
+
Taken from "The free dictionary" Phonetics from @@ -134,6 +138,8 @@ servantry, servants, staff, team of emmloyees, work force, work party, workers, working people
+ +
Taken from "The free dictionary" Phonetics from