diff options
author | luca-marie <ml.kochsiek@fu-berlin.de> | 2016-08-25 20:50:12 +0200 |
---|---|---|
committer | thea <ta.kupler@gmail.com> | 2016-09-01 12:09:37 +0200 |
commit | fecc0e9e1985be2d3767664453d4776ac20897c0 (patch) | |
tree | b43ea9e5e1044a30b1da7a5fd7a5be5a8a8f7bd3 /app/assets | |
parent | 4054060a68c119c509228db34ec139f0a0e0c00a (diff) |
Twitter controller now as helper, some more styling in CSS, bug fix
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/twitter.scss | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/app/assets/stylesheets/twitter.scss b/app/assets/stylesheets/twitter.scss index 1d54785..6b74cf7 100644 --- a/app/assets/stylesheets/twitter.scss +++ b/app/assets/stylesheets/twitter.scss @@ -1,5 +1,5 @@ .twitter { - // position: fixed; + position: relative; // top: 0; // right: 10px; // bottom: 0; @@ -11,13 +11,18 @@ height: 30px; font-size: 20px ; text-align: center; + margin-bottom: 20px; +} + +.twitter_list { + position: relative; } -.tweets:hover { +.tweet:hover { background-color: #ccf2ff; } -.tweets { +.tweet { border-bottom-style: solid; border-color: #bfbfbf; // display: inline; @@ -27,7 +32,7 @@ // text-align: center; } -.tweets_pic { +.tweet_pic { display: block; float: left; width: 28px; @@ -37,7 +42,7 @@ // background: hsl(0, 0%, 30%); } -.tweets_name { +.tweet_name { padding-left: 45px; padding-top: 16px; // border-bottom-style: solid; @@ -49,7 +54,7 @@ padding-top: 15px; } -.text_date { +.tweet_text_date { text-align: right; padding-top: 4px; font-size: 12px ; @@ -58,14 +63,14 @@ padding-top: 8px; } -.twitter-image-frame { +.twitter_image_frame { width: 40px; height: 40px; overflow: hidden; position: relative; } -.twitter-image-frame > img { +.twitter_image_frame > img { display: block; position: absolute; top: 0; |