Skip to content

Commit

Permalink
adjust spacings of headings and footer
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanzhangxiao committed Jan 15, 2024
1 parent ea00483 commit 330c774
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
3 changes: 2 additions & 1 deletion _layouts/core.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@
<script src="{{ site.baseurl }}/js/scrollIfAnchor.js"></script>
-->

<footer class="footer footer-background" style="padding-top: 1em; padding-bottom: 1em">
<!--<footer class="footer footer-background" style="padding-top: 2em; padding-bottom: 2em; margin-top: 2em"> -->
<footer class="footer footer-background">
<div class="container text-center">
{% if site.morea_footer_page %}
{{ site.morea_footer_page.content | markdownify }}
Expand Down
24 changes: 24 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@ body {
}
}

/* Add bottom margin to h1 heading for larger devices */
@media (min-width: 768px) {
h1 {
margin-bottom: 2rem;
}
}

/* Add top margin to h2 heading for larger devices */
@media (min-width: 768px) {
h2 {
margin-top: 1rem;
}
}

/* Make link anchors aware of sticky navbar */
:target {
Expand Down Expand Up @@ -52,9 +65,11 @@ body {
background-color: var(--bs-white);
}

/*
h1, h2, h3 {
margin-top: .20em;
}
*/

small {
font-size: .7em
Expand All @@ -63,4 +78,13 @@ small {
/* set a background color of the footer to differentiate it from the content */
.footer-background {
background-color: var(--bs-primary-bg-subtle);
}

/* Add top and bottom paddings to the footer on larger devices */
@media (min-width: 768px) {
footer {
padding-top: 2rem;
padding-bottom: 2rem;
margin-top: 2em;
}
}
2 changes: 1 addition & 1 deletion morea/footer.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ morea_id: footer
morea_type: footer
---

Yuanzhang Xiao | Hawaii Advanced Wireless Technologies Institute | University of Hawaii <br>
[Yuanzhang Xiao](https://yuanzhangxiao.github.io/) | Hawaii Advanced Wireless Technologies Institute | University of Hawaii <br>
yxiao8@hawaii.edu<br>


2 changes: 1 addition & 1 deletion morea/home.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ morea_type: home
published: true
---

## Welcome to EE 643, Spring 2024
# Welcome to EE 643, Spring 2024

In EE 643, we will learn the basics of wireless communication systems, exciting new topics such as the integration of artificial intelligence (AI) and wireless communications, and emerging paradigms of communication systems such as quantum communication.

Expand Down

0 comments on commit 330c774

Please sign in to comment.