tnantoka/blog

View on GitHub
app/assets/stylesheets/modules.scss

Summary

Maintainability
Test Coverage
.link-plain {
  color: inherit;
  &:hover,
  &:active,
  &:focus {
    color: inherit;
    text-decoration: none;
  }
}

.link-uncolored {
  color: inherit;
  &:hover,
  &:active,
  &:focus {
    color: inherit;
  }
}

.preview-title {
  margin-top: 0;
  line-height: 1;
}

.panel-no-shadow {
  box-shadow: none;
}

.image-preview {
  max-width: 200px;
}

.toc {
  background: none;
  .toc-heading {
    border: none;
    background: none;
  }
  ul {
    padding-left: 1em;
  }
}

.post-title {
  @extend h2;
  font-weight: bold;
}

.search-title {
  @extend h3;
}

.list-title {
  @extend h4;
}

.post-toolbar {
  margin-bottom: 10px;
}

.post-content {
  table {
    @extend .table;
    @extend .table-bordered;
  }
  img {
    @extend .img-responsive;
  }
  h1 {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.7em;
  }
  h3 {
    font-size: 1.6em;
  }
  h4 {
    font-size: 1.5em;
  }
  h5 {
    font-size: 1.4em;
  }
  h6 {
    font-size: 1.3em;
  }
}

html.turbolinks-progress-bar::before {
  background-color: #00bcd4 !important;
}

.mb-1 {
  margin-bottom: 1rem;
}