Skip to content

Commit

Permalink
Improve padding on talks mobile page and index.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Feb 27, 2024
1 parent ecf8f88 commit 5df70df
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
23 changes: 21 additions & 2 deletions css/style.scss
Expand Up @@ -288,14 +288,14 @@ h5 {
height: 181px;
float: left;
margin: 0 1em 1.5em 0;
padding-top: 0.75em;
padding-top: 0.6em;

img {
padding: 0 !important;
max-height: 181px;
}

@media only screen and (max-device-width: 480px) {
@media only screen and (max-device-width: 730px) {
float: none;
}
}
Expand Down Expand Up @@ -431,6 +431,9 @@ blockquote {

.index-lists h2 {
font-size: 1.2em;
@media only screen and (max-device-width: 480px) {
padding: 0;
}
}

.index-lists, .stealth-lists {
Expand All @@ -439,6 +442,22 @@ blockquote {
}
li {
list-style: none;
margin-bottom: 1.5em;
}
p {
margin-block-start: 0.25em;
}
}

.talks {
@media only screen and (max-device-width: 730px) {
h2 {
margin-top: 0;
padding-top: 0;
}
li {
margin-bottom: 3.5em;
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion talks/index.html
Expand Up @@ -2,7 +2,7 @@
title: Talks
layout: base
---
<ul class="index-lists">
<ul class="index-lists talks">
{% for talk in site.talks reversed %}
{% if site.future == false and talk.date > site.time %} {% continue %} {% endif %}
<li>
Expand Down

0 comments on commit 5df70df

Please sign in to comment.