From 2b689c58374b09c6e8afcbda8bdd2d2c4f8f861f Mon Sep 17 00:00:00 2001 From: amitsin6h Date: Sun, 23 Jul 2017 18:02:48 +0530 Subject: [PATCH] [FIX #23] changed layout and fixed responsiveness --- css/twitter-post-fetcher.css | 27 ++++++++++ index.html | 84 ------------------------------- js/vendor/twitter-post-fetcher.js | 7 +++ templates/sections/_tweets.html | 84 ------------------------------- 4 files changed, 34 insertions(+), 168 deletions(-) diff --git a/css/twitter-post-fetcher.css b/css/twitter-post-fetcher.css index 80efd37..a67be2a 100644 --- a/css/twitter-post-fetcher.css +++ b/css/twitter-post-fetcher.css @@ -352,6 +352,32 @@ opacity: 1; -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1); +} +.timeline-gallery > ul > li > a:before { +background: none repeat scroll 0 0 rgba(255, 255, 255, 0.8); +-webkit-border-radius: 50%; +-moz-border-radius: 50%; +-ms-border-radius: 50%; +-o-border-radius: 50%; +border-radius: 50%; +content: ""; +height: 90%; +left: 5%; +opacity: 0; +position: absolute; +top: 5%; +-webkit-transform: scale(0.5); +-moz-transform: scale(0.5); +-ms-transform: scale(0.5); +-o-transform: scale(0.5); +transform: scale(0.5); +-webkit-transition: all 0.4s ease 0s; +-moz-transition: all 0.4s ease 0s; +-ms-transition: all 0.4s ease 0s; +-o-transition: all 0.4s ease 0s; +transition: all 0.4s ease 0s; +width: 90%; + } .timeline-gallery > ul > li > a:before { background: none repeat scroll 0 0 rgba(255, 255, 255, 0.8); @@ -389,6 +415,7 @@ width: 90%; right: 15px; } } + @media (max-width: 768px) { .btn-responsive { padding:2px 4px; diff --git a/index.html b/index.html index f8df857..6af8b00 100644 --- a/index.html +++ b/index.html @@ -2603,90 +2603,6 @@

Latest Tweets

- diff --git a/js/vendor/twitter-post-fetcher.js b/js/vendor/twitter-post-fetcher.js index 27c99bc..e5d2616 100644 --- a/js/vendor/twitter-post-fetcher.js +++ b/js/vendor/twitter-post-fetcher.js @@ -59,6 +59,8 @@ var html = '
'+ '
'+ '
'+ + '
'+ + '
'+ '
    '; while(n < x) { html += '
  • ' + tweets[n] + '
  • '; @@ -365,6 +367,11 @@ ''+strip(authors[n].getElementsByTagName("span")[2].innerHTML)+''+ ''+ times[n].textContent+''+ '
'; + '

'+ strip(authors[n].getElementsByTagName("span")[1].innerHTML)+ + '
'+ + ''+strip(authors[n].getElementsByTagName("span")[2].innerHTML)+'

'+ + ''+ times[n].textContent+''+ + '
'; } op += '
'+ '

' + strip(tweets[n].innerHTML) + '

'; diff --git a/templates/sections/_tweets.html b/templates/sections/_tweets.html index 1f26909..1ed3ed0 100644 --- a/templates/sections/_tweets.html +++ b/templates/sections/_tweets.html @@ -19,90 +19,6 @@

Latest Tweets

-