~nykma/hugo-theme-jane unlisted

f814ff890a58426551dfc30c27e15f7e739d472d — Nyk Ma a month ago 202096f
[#][CSS] details summary
M assets/sass/_partial/_header/_menu.scss => assets/sass/_partial/_header/_menu.scss +2 -2
@@ 6,12 6,12 @@
  .menu {
    float: right;
    padding-right: 15px;
    font-family: $global-serif-font-family;
    font-family: $global-font-family;

    .active {
      font-weight: 700;
    }
    

    .menu-item {
      display: inline-block;
      margin-left: 1em;

M assets/sass/_partial/_post.scss => assets/sass/_partial/_post.scss +27 -0
@@ 66,3 66,30 @@
  }

}

details {
  border: 2px solid $gray;
  border-radius: 4px;
  padding: .5em .5em 0;
}

summary {
  font-weight: bold;
  margin: -.5em -.5em 0;
  padding: .5em;
  background-color: rgba($theme_color, 0.05);
  transition: background-color 0.5s;
}

summary:hover {
  background-color: rgba($theme_color, 0.12);
}

details[open] {
  padding: .5em;
}

details[open] summary {
  border-bottom: 1px solid $gray;
  margin-bottom: .5em;
}

M assets/sass/_partial/_post/_content.scss => assets/sass/_partial/_post/_content.scss +1 -1
@@ 8,7 8,7 @@
  @for $i from 1 through 6 {
    h#{$i} {
      font-weight: 600;
      font-family: $global-serif-font-family;
      font-family: $global-font-family;
    }
  }


M assets/sass/_partial/_post/_footnote.scss => assets/sass/_partial/_post/_footnote.scss +2 -2
@@ 1,7 1,7 @@
.footnotes {
  margin-top: 50px;
  font-size: 0.7em;
  line-height: 1.0;
  font-size: $global-font-size * 0.6;
  line-height: $global-lineheight * 4 / 5;

  hr {
    border-style: solid;

M assets/sass/_partial/_post/_header.scss => assets/sass/_partial/_post/_header.scss +1 -1
@@ 8,7 8,7 @@
    margin: 0;
    font-size: $post-title-font-size;
    font-weight: $post-title-font-weight;
    font-family: $global-serif-font-family;
    font-family: $global-font-family;

    .post-pinned svg {
      vertical-align: middle;

M assets/sass/_variables.scss => assets/sass/_variables.scss +2 -2
@@ 46,13 46,13 @@ $global-font-color: rgba(0, 0, 0, .84) !default;
$global-font-size: 16px !default;

// Global width of '<body>'.
$global-body-width: 1200px !default;
$global-body-width: 1600px !default;

// Padding of container main
$global-container-padding: 0 20px !default;

// Default line height for all type. `$global-lineheight` is 24px while `$global-font-size` is 16px.
$global-lineheight: 1.5 !default;
$global-lineheight: 1.6 !default;

// Font family of the site.
$global-font-family: sans-serif !default;