Browse Source

center featured images and remove unused classes

Alexander Avery 3 months ago
parent
commit
8ea5527e19
  1. 6
      assets/sass/cards.scss
  2. 8
      assets/sass/main.scss

6
assets/sass/cards.scss

@ -52,12 +52,6 @@ article.card {
border-radius: 50%; border-radius: 50%;
} }
img.small-image {
flex: 1 1 400px;
overflow: hidden;
max-width: 400px;
}
.article-link { .article-link {
text-decoration: none; text-decoration: none;
color: $font-color; color: $font-color;

8
assets/sass/main.scss

@ -78,11 +78,6 @@ main {
flex-basis: 100%; flex-basis: 100%;
} }
.break {
flex-basis: 100%;
height: 0px;
}
a, p, li, h2 { a, p, li, h2 {
font-size: 1.25rem; font-size: 1.25rem;
} }
@ -94,7 +89,8 @@ img {
img.featured { img.featured {
border-radius: 8px; border-radius: 8px;
max-height: 500px; max-height: 500px;
margin-top: 12px; margin: 12px auto;
display: block;
} }
.small-text { .small-text {

Loading…
Cancel
Save