From 7cb5b3312327e0f6c7c1972eb168590dd6763889 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 30 Apr 2014 22:29:03 -0400 Subject: [PATCH] Change the twitter view to place the user's avatar under the message --- static/css/quay.css | 32 +++++++++++++-- static/partials/landing-normal.html | 63 ++++++++++++++++++++++++----- 2 files changed, 81 insertions(+), 14 deletions(-) diff --git a/static/css/quay.css b/static/css/quay.css index 1a7efe6ff..15e93dd3d 100644 --- a/static/css/quay.css +++ b/static/css/quay.css @@ -1369,19 +1369,45 @@ i.toggle-icon:hover { border: 0px; } -.landing-page .twitter-tweet .avatar { +.landing-page .twitter-tweet p { + display: block; + text-align: center; + font-size: 20px; +} + +.landing-page .twitter-tweet .attribute { display: block; text-align: center; margin-bottom: 20px; + position: relative; + margin-top: 20px; +} + +.landing-page .twitter-tweet .info-wrap { + display: inline-block; + padding-left: 70px; } .landing-page .twitter-tweet .avatar img { border-radius: 4px; border: 2px solid rgb(70, 70, 70); + width: 50px; + float: left; } -.landing-page .twitter-tweet .author:before { - content: "-"; +.landing-page .twitter-tweet .info { + display: inline-block; + margin-left: 10px; + text-align: left; + margin-top: 4px; +} + +.landing-page .twitter-tweet .reference { + display: block; +} + +.landing-page .twitter-tweet .author { + display: block; } .follow-button { diff --git a/static/partials/landing-normal.html b/static/partials/landing-normal.html index ffc445324..3b55bde6c 100644 --- a/static/partials/landing-normal.html +++ b/static/partials/landing-normal.html @@ -161,35 +161,76 @@