Skip to content

Commit 8cb6f02

Browse files
authored
Merge pull request #1 from acm-uiuc/kv22/temp-remove-duplicate-footers
Fix sidebar footer logo scaling bug
2 parents a627626 + 03f28cf commit 8cb6f02

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

_includes/components/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{{ footer_custom }}
1212

1313
{% if site.last_edit_timestamp or site.gh_edit_link %}
14-
<div class="d-flex mt-2">
14+
<div class="d-flex mt-5">
1515
{% if site.last_edit_timestamp and site.last_edit_time_format and page.last_modified_date %}
1616
<p class="text-small text-grey-dk-000 mb-0 mr-2">
1717
Page last modified: <span class="d-inline-block">{{ page.last_modified_date | date: site.last_edit_time_format }}</span>.

_includes/components/sidebar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
{% assign color_scheme = "light" %}
3131
{% endif %}
3232

33-
{{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>.
33+
{{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>
3434
</footer>
3535
</div>

_includes/footer_custom.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{%- if site.footer_content -%}
22
<p class="text-small text-grey-dk-100 mb-0">{{ site.footer_content }}</p>
33
{%- else -%}
4-
<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>
4+
<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>
55
{%- endif -%}

_sass/layout.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@
5353
}
5454
}
5555
}
56+
57+
.site-footer {
58+
img {
59+
max-width: 100px;
60+
@include mq(md) {
61+
max-width: none;
62+
}
63+
}
64+
}
65+
5666
}
5767

5868
.main {

0 commit comments

Comments
 (0)