Several changes to contact section

* Fixed distorted profile picture
* Fixed styling of links
* Added links
* Replaced Riot.IM logo with Matrix logo
* Removed some obsolete code
This commit is contained in:
2018-07-18 00:30:18 +02:00
parent b75673301f
commit c2fd343f76
6 changed files with 697 additions and 41 deletions

View File

@@ -159,9 +159,9 @@
/* contact
------------------------------------------------------*/
// Adapt Riot logo to format of fontawesome icons
var faHeight = document.getElementById('contact-phone').clientHeight * 1.3;
document.getElementById('contact-riot-logo').setAttribute("style","height:"+faHeight+"px; width:"+faHeight+"px");
// Adapt Matrix logo to format of fontawesome icons
var faWidth = document.getElementById('contact-email').clientWidth;
document.getElementById('contact-matrix-logo').setAttribute("style","height:"+faWidth+"px; width:"+faWidth+"px");
});