diff options
author | Siri Reiter <siri@jones.dk> | 2016-03-03 15:54:45 +0100 |
---|---|---|
committer | Siri Reiter <siri@jones.dk> | 2016-03-03 15:59:03 +0100 |
commit | 47e5e619d35f9b936c97ba4304325d69e18f0e1c (patch) | |
tree | 3da261ef66e8454d0bf82599e6801b63436801cf /test.scss | |
parent | 5103e15dc984a20cfe60056c739b946b04cb0b80 (diff) |
Position and styling of inline header (and link).
Diffstat (limited to 'test.scss')
-rw-r--r-- | test.scss | 29 |
1 files changed, 20 insertions, 9 deletions
@@ -41,27 +41,38 @@ } .inlinepage { + position: relative; +//set to make inline header position work border: 0; padding: 0; margin: 0 0 1em 0; - background-color: none; + background-color: transparent; height: 18em; overflow: hidden; } -.inlinepage .header a { - font-weight: normal; - color: white; - background-color: lightblue; - display: block; - padding: 0.5em; -} - //set to annull style.css .inlinecontent { margin-top: 0; } +.inlineheader { + display: block; + position: absolute; + bottom: 0; + left: 0; + width: 100%; + a { + font-weight: normal; + color: white; + background-color: lightblue; + display: block; + padding: 0.5em; + opacity: 0.8; + } +} + + .inlinecontent p { margin-bottom: 0; margin-top: 0; |