proper footer handling

This commit is contained in:
neko 2015-08-19 03:48:31 +02:00
parent 735ecd6c5f
commit 37f9ee69e7
4 changed files with 22 additions and 23 deletions

View file

@ -142,7 +142,7 @@
bottom: 0; bottom: 0;
left: 0; left: 0;
width: 100%; width: 100%;
overflow: hidden; overflow: auto;
} }
#footer h2 #footer h2
@ -153,15 +153,21 @@
#footer .left #footer .left
{ {
display: inline-block;
padding: 2em; padding: 2em;
text-align: left; text-align: left;
float: left;
} }
#footer .right #footer .right
{ {
/*
position: absolute; position: absolute;
bottom: 0; bottom: 0;
right: 0; right: 0;
*/
float: right;
display:inline-block;
padding: 2em; padding: 2em;
text-align: right; text-align: right;
} }

View file

@ -33,27 +33,32 @@ $maybe msg <- mmsg
$case route $case route
$of Just HomeR $of Just HomeR
get a Feed from This: get a Feed from This:
<a href=@{RootFeedAtomR}>Atom <a href="@{RootFeedAtomR}">Atom
| |
<a href=@{RootFeedRssR}>RSS <a href="@{RootFeedRssR}">RSS
$of Just (PageR _) $of Just (PageR _)
get a Feed from This: get a Feed from This:
<a href=@{RootFeedAtomR}>Atom <a href="@{RootFeedAtomR}">Atom
| |
<a href=@{RootFeedRssR}>RSS <a href="@{RootFeedRssR}">RSS
$of Just (ProfileR uId) $of Just (ProfileR uId)
get a Feed from This: get a Feed from This:
<a href=@{UserFeedAtomR uId}>Atom <a href="@{UserFeedAtomR uId}">Atom
| |
<a href=@{UserFeedRssR uId}>RSS <a href="@{UserFeedRssR uId}">RSS
$of Just (UserR name) $of Just (UserR name)
get a Feed from This: get a Feed from This:
<a href=@{NameFeedAtomR name}>Atom <a href="@{NameFeedAtomR name}">Atom
| |
<a href=@{NameFeedRssR name}>RSS <a href="@{NameFeedRssR name}">RSS
$of Just (AlbumR aId) $of Just (AlbumR aId)
get a Feed from This: get a Feed from This:
<a href=@{AlbumFeedAtomR aId}>Atom <a href="@{AlbumFeedAtomR aId}">Atom
| |
<a href=@{AlbumFeedRssR aId}>RSS <a href="@{AlbumFeedRssR aId}">RSS
$of Just (MediumR mId)
get a Feed from This:
<a href="@{CommentFeedAtomR mId}">Atom
|
<a href="@{CommentFeedRssR mId}">RSS
$of _ $of _

View file

@ -60,12 +60,6 @@ $if userId /= Nothing
^{commentWidget} ^{commentWidget}
<div> <div>
<input type=submit value="Post comment"> <input type=submit value="Post comment">
<div id="header" class="item">
<div class="inner">
<h3>
Get a feed from this:
<a href=@{CommentFeedAtomR mediumId}>Atom
<a href=@{CommentFeedRssR mediumId}>RSS
<style type="text/css"> <style type="text/css">
body{background-image: url('/static/css/images/overlay.png'), -webkit-linear-gradient(top, rgba(0,0,0,0) 75%, rgba(0,0,0,0.65)), url('@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumPath medium) []}');background-attachment:fixed;background-image: url('/static/css/images/overlay.png'), -moz-linear-gradient(center top , transparent 75%, rgba(0, 0, 0, 0.65)), url('@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumPath medium) []}');} body{background-image: url('/static/css/images/overlay.png'), -webkit-linear-gradient(top, rgba(0,0,0,0) 75%, rgba(0,0,0,0.65)), url('@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumPath medium) []}');background-attachment:fixed;background-image: url('/static/css/images/overlay.png'), -moz-linear-gradient(center top , transparent 75%, rgba(0, 0, 0, 0.65)), url('@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumPath medium) []}');}

View file

@ -51,9 +51,3 @@ $else
<figure class="thumbnail"> <figure class="thumbnail">
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb medium) []} title=#{mediumTitle medium}> <img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb medium) []} title=#{mediumTitle medium}>
<figcaption>#{mediumTitle medium} <figcaption>#{mediumTitle medium}
<div id="footer">
<div class="right">
get a feed from this:
<a href=@{UserFeedAtomR ownerId}>Atom
<a href=@{UserFeedRssR ownerId}>RSS