All files / src/components/Layout index.scss

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99                                                                                                                                                                                                     
@import "../../styles/colors";
 
/* stylelint-disable selector-class-pattern, selector-id-pattern, keyframes-name-pattern */
.fadeIn {
  animation-name: fadeIn;
  animation-duration: 1s;
  animation-fill-mode: both;
 
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
 
    to {
      opacity: 1;
    }
  }
}
 
.layout {
  background-color: $bg;
 
  img {
    max-width: 100%;
  }
}
 
.gatsby-code-title {
  position: relative;
  top: 10px;
  display: block;
  width: 100%;
  background: #272822;
  border-top-left-radius: 0.3em;
  border-top-right-radius: 0.3em;
}
 
.gatsby-highlight-code-line {
  display: block;
  padding-right: 1em;
  padding-left: 0.75em;
  margin-right: -1em;
  margin-left: -1em;
  background-color: #343426;
  border-left: 0.25em solid #f99;
}
 
.gatsby-code-title span {
  position: relative;
  top: 1px;
  display: inline;
  padding: 3px;
  font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
  color: #eee;
  background: #777;
  border-top-left-radius: 0.3em;
  border-bottom-right-radius: 0.3em;
}
 
.gatsby-highlight {
  overflow-x: scroll;
 
  code[class*="language-"],
  pre[class*="language-"] {
    font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace !important;
  }
}
 
.gatsby-highlight pre[class*="language-"].line-numbers {
  padding: 0 0 0 2.8em;
 
  .line-numbers-rows {
    margin-left: 5px;
  }
}
 
#toc_container {
  display: table;
  width: auto;
  padding: 20px;
  margin-bottom: 1em;
  font-size: 95%;
  background: #f9f9f9 none repeat scroll 0 0;
  border: 1px solid #aaa;
}
 
.toc_title {
  font-weight: 700;
  text-align: center;
}
 
#toc_container li,
#toc_container ul,
#toc_container ul li {
  list-style: outside none none !important;
}
 
/* stylelint-enable selector-class-pattern, selector-id-pattern, keyframes-name-pattern */