html {
  padding: 5%;
  font: 1em -apple-system, BlinkMacSystemFont, sans-serif;
}
svg {
  position: absolute;
  height: 0;
  overflow: hidden;
}
small {
  color: #777;
  font-size: .75em;
}
code {
  font-family: monospace, monospace;
  font-size: 1em;
}
h1 {
  margin-bottom: 0;
}
h2 {
  margin-top: 2.5em;
}
p,
ul {
  color: #555;
}
a {
  color: hsl(205, 65%, 24%);
  font-weight: bold;
  font-size: .95em;
}
.baseline {
  margin-top: 0;
  color: #777;
  font-style: italic;
  font-size: 1.1em;
}
.testcase {
  display: flex;
  margin: 50px 0;
}
.forceLayout {
  position: relative;
}
.image {
  flex: 0 0 auto;
  width: 200px;
  height: 200px;
  margin-right: 30px;
  background: hsl(205, 65%, 24%);
}
.text {
  flex: 1 1 auto;
}
.title {
  margin: 0;
}
.nb {
  background: hsl(205, 65%, 24%);
  color: #fff;
  height: 1.2em;
  display: inline-block;
  font-size: .65em;
  padding: .5em;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  vertical-align: 2px;
}
.title .nb {
  margin-left: 1em;
}
.note {
  font-size: .8em;
}
.code {
  display: block;
  padding: 0 .5em;
  white-space: pre-wrap;
  word-break: break-all;
  font-size: 1em;
  background: hsl(205, 5%, 20%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
  border-radius: 3px;
}
.code[contenteditable=false] {
  color: #999;
}
.footer {
  margin-top: 50px;
}
.img-mask {
  width: 100px;
  margin-right: 20px;
  background: linear-gradient(45deg, rgba(0,0,0,.25) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.25) 75%, rgba(0,0,0,.25)), 
linear-gradient(45deg, rgba(0,0,0,.25) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.25) 75%, rgba(0,0,0,.25));
  background-size: 10px 10px;
  background-position: 0 0, 5px 5px;
}

.Mask--placeholder {
  position: absolute;
  opacity: .1;
}
.image:hover .Mask--placeholder {
  opacity: 0;
}
.Mask-svg {
  position: static;
  display: block;
  width: 200px;
  height: 200px;
}

@media (max-width: 600px) {
  .testcase {
    flex-direction: column-reverse;
  }
  .image {
    align-self: flex-start;
    margin-right: 0;
    margin-bottom: 30px;
  }
}