130 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			SCSS
		
	
	
	
			
		
		
	
	
			130 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			SCSS
		
	
	
	
/* ==========================================================================
 | 
						|
   Entries (Posts, collection documents, etc.)
 | 
						|
   ========================================================================== */
 | 
						|
 | 
						|
.entry {
 | 
						|
  @include clearfix();
 | 
						|
  margin-bottom: 2rem;
 | 
						|
  padding-bottom: 2rem;
 | 
						|
 | 
						|
  &:not(:last-child) {
 | 
						|
    border-bottom: 1px solid $border-color;
 | 
						|
  }
 | 
						|
 | 
						|
  a {
 | 
						|
    color: inherit;
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
.entry-title {
 | 
						|
  @include fluid-type($min-vw, $max-vw, 18px, 24px);
 | 
						|
  margin-bottom: 0.5rem;
 | 
						|
  color: tint($text-color, 25%);
 | 
						|
  line-height: inherit;
 | 
						|
 | 
						|
  a {
 | 
						|
    text-decoration: none;
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
.entry-meta {
 | 
						|
  @include fluid-type($min-vw, $max-vw, 12px, 16px);
 | 
						|
  margin-bottom: 1rem;
 | 
						|
 | 
						|
  a {
 | 
						|
    color: inherit;
 | 
						|
  }
 | 
						|
 | 
						|
  .byline-item {
 | 
						|
 | 
						|
    &:not(:first-child)::before {
 | 
						|
      margin: 0 0.5em;
 | 
						|
      content: '\00b7';
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
/*
 | 
						|
   Entry list
 | 
						|
   ========================================================================== */
 | 
						|
 | 
						|
.entries {
 | 
						|
 | 
						|
  .entry-header {
 | 
						|
 | 
						|
    @include breakpoint($medium) {
 | 
						|
      @include span(5 of 16);
 | 
						|
      @include suffix(1 of 16);
 | 
						|
 | 
						|
      /* remove space after last child element */
 | 
						|
      > *:last-child {
 | 
						|
        margin-bottom: 0;
 | 
						|
      }
 | 
						|
    }
 | 
						|
  }
 | 
						|
 | 
						|
  /* break long words that could overflow */
 | 
						|
  .entry-title {
 | 
						|
    word-wrap: break-word;
 | 
						|
  }
 | 
						|
 | 
						|
  .entry-excerpt {
 | 
						|
    @include breakpoint($medium) {
 | 
						|
      @include span(11 of 16 last);
 | 
						|
    }
 | 
						|
 | 
						|
    /* normalize font sizes */
 | 
						|
    > * {
 | 
						|
      font-size: 1em;
 | 
						|
    }
 | 
						|
 | 
						|
    /* remove space after last child element */
 | 
						|
    > *:last-child {
 | 
						|
      margin-bottom: 0;
 | 
						|
    }
 | 
						|
  }
 | 
						|
 | 
						|
  .entry-content {
 | 
						|
    @include breakpoint($medium) {
 | 
						|
      @include span(11 of 16 last);
 | 
						|
    }
 | 
						|
 | 
						|
    /* remove space after last child element */
 | 
						|
    > *:last-child {
 | 
						|
      margin-bottom: 0;
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
.entry-content {
 | 
						|
 | 
						|
  > p:first-child {
 | 
						|
    font-size: 1.125em;
 | 
						|
    line-height: 1.625;
 | 
						|
  }
 | 
						|
 | 
						|
  h1,
 | 
						|
  h2,
 | 
						|
  h3,
 | 
						|
  h4,
 | 
						|
  h5,
 | 
						|
  h6 {
 | 
						|
    color: tint($text-color, 25%);
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
/* Footnotes */
 | 
						|
.footnotes {
 | 
						|
  margin: 2rem 0;
 | 
						|
  padding-top: 1rem;
 | 
						|
  border-top: 1px solid $border-color;
 | 
						|
  font-size: 80%;
 | 
						|
}
 | 
						|
 | 
						|
/* Read more link */
 | 
						|
.more-link {
 | 
						|
  font-size: 75%;
 | 
						|
  font-weight: bold;
 | 
						|
  text-decoration: none;
 | 
						|
}
 |