#55 Modified footer
Merged 2 years ago by jonatoni. Opened 2 years ago by margi.
fedora-commops/ margi/fedora-happiness-packets modified-footer  into  master

file modified
+1 -1
@@ -68,7 +68,7 @@ 

                      {% block content %}{% endblock %}

                  </div>

              </div>

-             <footer><small>

+             <footer class="text-center"><small>

                  <hr>

                  {% block footer %}

                  {% include "follow.html" %}

file modified
+22 -6
@@ -1,6 +1,22 @@ 

- <a class="g-interactivepost sharebutton google" data-contenturl="https://happinesspackets.fedorainfracloud.org/" data-clientid="427442962349-biuc5ks65luss5h3v5oqtj15jigaqoib.apps.googleusercontent.com" data-cookiepolicy="single_host_origin" data-prefilltext="#WeAreFedora" data-calltoactionurl="http://plus.google.com/pages/create"><i class="fab fa-google-plus-g fa-lg"></i> Share #WeAreFedora</a>

- <script type="text/javascript">(function() {var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/client:plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);})();</script>

- <a id="fb" class="sharebutton"><i class="fab fa-facebook fa-lg"></i> Share #WeAreFedora</a>

- <script>document.getElementById('fb').onclick = function() {FB.ui({method: 'share', mobile_iframe: true, hashtag: '#WeAreFedora', href: 'https://happinesspackets.fedorainfracloud.org/',}, function(response){});}</script>

- <a href="https://twitter.com/intent/tweet?button_hashtag=WeAreFedora" class="twitter-hashtag-button" data-size="large" data-dnt="true">Tweet #WeAreFedora</a>

- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>

+ <style type="text/css">

+ 	.sharebutton {

+ 		font-size: 0.6em;

+ 	}

+ 

+ 	.twitter {

+ 		background-color: #00aced;

+ 	}

+ 

+ 	.twitter:hover {

+ 		background-color: #0084b4;

+ 	}

+ </style>

+ 

+ <div class="row">

+ 	<a class="g-interactivepost sharebutton google" data-contenturl="https://happinesspackets.fedorainfracloud.org/" data-clientid="427442962349-biuc5ks65luss5h3v5oqtj15jigaqoib.apps.googleusercontent.com" data-cookiepolicy="single_host_origin" data-prefilltext="#WeAreFedora" data-calltoactionurl="http://plus.google.com/pages/create"><i class="fab fa-google-plus-g fa-lg"></i> Share #WeAreFedora</a>

+ 	<script type="text/javascript">(function() {var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/client:plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);})();</script>

+ 	<a id="fb" class="sharebutton"><i class="fab fa-facebook fa-lg"></i> Share #WeAreFedora</a>

+ 	<script>document.getElementById('fb').onclick = function() {FB.ui({method: 'share', mobile_iframe: true, hashtag: '#WeAreFedora', href: 'https://happinesspackets.fedorainfracloud.org/',}, function(response){});}</script>

+ 	<a href="https://twitter.com/intent/tweet?button_hashtag=WeAreFedora" class="sharebutton twitter" data-size="large" data-dnt="true"><i class="fab fa-twitter fa-lg"></i>Tweet #WeAreFedora</a>

+ 	<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>

+ </div>

-Modified footer by centering text
-Made share buttons smaller and font size smaller

Signed-off-by: Alexandru Marginean alexmarginean16@gmail.com

1 new commit added

  • -Added the share buttons in one row
2 years ago

@jonatoni could you review this :)
That would be very nice cause I really want to work on other tasks and I can't. 😔

strict width 100px is too small, just remove it

we should remove padding 0, because it means that the text is just until the corner of the button and it doesn't look very nice

@margi please go ahead and do the changes I have mentioned, then I merge it :)

1 new commit added

  • -Minor changes requestet by Jona for the Google Code-in task.
2 years ago

@margi please go ahead and do the changes I have mentioned, then I merge it :)
Done!

Pull-Request has been merged by jonatoni

2 years ago