Sha256: f67c45702c60c6feb3ad4006c3618de4f4a70e551ad5fbd70a47ff8d4507f41d

Contents?: true

Size: 1.92 KB

Versions: 1

Compression:

Stored size: 1.92 KB

Contents

/**
 * Some base settings for common tags
 */

body {
  color: var(--body-color);
  background-color: var(--body-bg);
  font-family: var(--body-fonts);
}

footer {
  margin-top: auto;
}

a {
  color: var(--accent-color);
  text-decoration: none;

  &:hover,
  &:focus {
    text-decoration: underline;
  }
}

blockquote {
  border-left: .2em solid var(--border-color);
  padding-left: 1em;
  margin-left: 0;
  margin-right: 0;
  font-style: italic;

  i, em {
    font-style: normal;
  }
}

ul, ol {
  padding-left: 1.2em;
  margin: 1em 0;
}

li {
  ul, ol {
    margin: 0;
  }
}

figure {
  margin: 0;
}

figcaption {
  font-size: .8em;
}

article img {
  display: block;
  max-width: 100%;
  margin: 1em 0;
  border-radius: .5em;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}

td, th {
  padding: .25em .5em;
  border-bottom: 1px solid var(--border-color);
}

thead th {
  border-bottom-color: currentColor;
}

hr {
  border: 0;
  border-top: 1px solid var(--border-color);
}

code, pre {
  font-family: var(--code-fonts);
  font-size: .9em;
}

code {
  padding: .1em .25em;
  background-color: var(--body-fg);
  border-radius: .5em;
}

pre {
  overflow: auto;
  padding: 1em;
  margin: 1em 0;

  code {
    padding: 0;
    background-color: inherit;
  }
}

.highlight {
  border-radius: .5em;
  background-color: var(--body-fg);
}

.rouge-table {
  border: 0;
  margin: 0;

  td,
  th {
    border: 0;
    padding: 0;
  }

  pre {
    padding: 0;
    margin: 0;
  }

  .gutter {
    user-select: none;
    opacity: .5;
    padding-right: 1em;
  }
}

a[href^="#fn:"],
a[href^="#fnref:"] {
  display: inline-block;
  margin-left: .1em;
  font-weight: bold;
}

// List of footnotes
.footnotes {
  font-size: .8em;
}

#markdown-toc {
  font-size: .8em;
  padding: 2em 3em;
  margin: 2em 0;
  border: solid var(--border-color);
  border-width: 1px 0;

  &::before {
    display: block;
    margin-left: -3em;
    content: "TOC";
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-tfg-0.1.0 _sass/tfg/_base.scss