Skip to content

Commit

Permalink
Fix LibriVox#4 - tighten up vertical spacing on home page
Browse files Browse the repository at this point in the history
* Reduce margin on `.homepage-main-wrap` and `.home .main-content`
* Reduce margin and padding (at different screen sizes) on
  `.main-menu-wrap-wp`, and also remove a duplicate entry for it.
  • Loading branch information
redrun45 committed Dec 8, 2024
1 parent f06a949 commit 72d849c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ a img {
.homepage-main-wrap {
background-color: #fff;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
margin: 45px auto;
margin: 20px auto;
padding: 30px;
width: 64.5%;
max-width: 840px;
Expand Down Expand Up @@ -364,9 +364,6 @@ a img {

/* Main Nav */

.main-menu-wrap-wp {
margin-bottom: 40px;
}
.home .main-menu h2 {
font-size: 0.9375em ; /* 15/16 */
font-weight: bold;
Expand Down Expand Up @@ -482,9 +479,10 @@ table.browse-list {
**************************************************************/
.home .main-content {
padding: 0 0 50px;
margin: 5px auto;
}
.main-menu-wrap-wp {
padding-bottom: 50px;
padding-bottom: 30px;
}
.primary-content,
.audio-book-feed {
Expand Down Expand Up @@ -922,7 +920,7 @@ img.avatar {
}
.primary-content,
.main-menu-wrap-wp {
margin-bottom: 30px;
margin-bottom: 15px;
}
.audio-book-feed header, .post-list-home header {
margin-bottom: 10px;
Expand Down

0 comments on commit 72d849c

Please sign in to comment.