Skip to content

Commit

Permalink
Merge pull request #1 from acm-uiuc/kv22/temp-remove-duplicate-footers
Browse files Browse the repository at this point in the history
Fix sidebar footer logo scaling bug
  • Loading branch information
devksingh4 authored Oct 8, 2024
2 parents a627626 + 03f28cf commit 8cb6f02
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _includes/components/footer.html
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
{{ footer_custom }}

{% if site.last_edit_timestamp or site.gh_edit_link %}
<div class="d-flex mt-2">
<div class="d-flex mt-5">
{% if site.last_edit_timestamp and site.last_edit_time_format and page.last_modified_date %}
<p class="text-small text-grey-dk-000 mb-0 mr-2">
Page last modified: <span class="d-inline-block">{{ page.last_modified_date | date: site.last_edit_time_format }}</span>.
2 changes: 1 addition & 1 deletion _includes/components/sidebar.html
Original file line number Diff line number Diff line change
@@ -30,6 +30,6 @@
{% assign color_scheme = "light" %}
{% endif %}

{{site.title}} is a member of <div><a href="https://acm.illinois.edu"><img style="width: 50%;" src="/assets/images/acm-wordmark-{{ color_scheme }}.png"/></a></div>.
{{site.title}} is a member of <div><a href="https://acm.illinois.edu"><img style="width: 50%;" src="/assets/images/acm-wordmark-{{ color_scheme }}.png"/></a></div>
</footer>
</div>
2 changes: 1 addition & 1 deletion _includes/footer_custom.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{%- if site.footer_content -%}
<p class="text-small text-grey-dk-100 mb-0">{{ site.footer_content }}</p>
{%- else -%}
<p class="text-small text-grey-dk-100 mb-0">Copyright &copy; {{ site.time | date: '%Y' }} by {{ site.title }}, a member of ACM@UIUC.</p>
<p class="text-small text-grey-dk-100 mb-0">Copyright &copy; {{ site.time | date: '%Y' }} by {{ site.title }}, a member of <a href="https://acm.illinois.edu">ACM@UIUC</a>.</p>
{%- endif -%}
10 changes: 10 additions & 0 deletions _sass/layout.scss
Original file line number Diff line number Diff line change
@@ -53,6 +53,16 @@
}
}
}

.site-footer {
img {
max-width: 100px;
@include mq(md) {
max-width: none;
}
}
}

}

.main {

0 comments on commit 8cb6f02

Please sign in to comment.