Skip to content

Commit

Permalink
revert changes for social icons in footer #8
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianBartl committed Sep 21, 2022
1 parent b9f6abb commit 7e0d268
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 26 deletions.
16 changes: 8 additions & 8 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<footer id="social-icons">
{% capture github_img %}<img src="{{ "images/icons/GitHub_512px.png" }}" alt="GitHub logo" class="footer-gh-icon">{% endcapture %}
{% include reference.html link="https://github.com/mtex-toolbox/mtex" content=github_img no_icon=true %}

{% capture researchgate_img %}<img src="{{ "images/icons/ResearchGate_256px.png" }}" alt="ResearchGate logo" class="footer-rg-icon">{% endcapture %}
{% include reference.html link="https://www.researchgate.net/project/MTEX-free-crystallographic-texture-analysis-software" content=researchgate_img no_icon=true %}

<img src="{{ "images/icons/MTEX_100x67px.png" }}" alt="MTEX logo" class="footer-mtex-icon">
<footer>
<div class="row">
<div class="col-lg-12 footer">
<p>
<img src="{{ "images/icons/MTEX_100px.png" }}" alt="MTEX logo">
</p>
</div>
</div>
</footer>
26 changes: 8 additions & 18 deletions css/customstyles.css
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,10 @@ li.dropdownActive a {
color: #248EC2;
}

footer {
font-size: smaller;
}

/* FAQ page */
#accordion .panel-heading {
font-size: 12px;
Expand Down Expand Up @@ -425,6 +429,10 @@ span.projectTitle {
font-weight: bold;
}

.footer {
text-align: right;
}

.footerMeta {
background-color: whitesmoke;
padding: 10px;
Expand Down Expand Up @@ -1222,24 +1230,6 @@ abbr[title]:after { content: "\f129"; } /* info */
content: "\f13d"; /* anchor */
}

/* footer social-icons */
#social-icons {
display: inline-block;
padding-left: auto;
padding-right: 0;
}
#social-icons img {
height: 3em;
margin-left: 0.5em;
}
#social-icons img:not(.footer-mtex-icon) {
border-radius: 100%;
}
#social-icons img.footer-mtex-icon {
height: 4em;
margin-left: 1em;
}

/* -------------------------- */
/* important / override rules */
/* -------------------------- */
Expand Down

0 comments on commit 7e0d268

Please sign in to comment.