all repos — hastystyles @ e102d49fdc4b8bed0017d34481176bb1876bb995

The stylesheets for HastyScrybe and HastySite.

styles/_blocks.less

 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
.note { .mix-titled-block(@lighter-blue, @dark-blue, @light-blue, @fa-var-thumbtack);}
.tip {.mix-titled-block(@lighter-green, @dark-green, @light-green, @fa-var-check-circle);}
.warning {.mix-titled-block(@lighter-yellow, @dark-yellow, @light-yellow, @fa-var-exclamation-triangle);}

.blank-sidebar {.mix-titled-block(@lightest-gray, @gray-5, @lightest-gray, "");}
.sidebar {.mix-titled-block(@light-gray, @gray-5, @light-gray, @fa-var-info-circle);}
.output {.mix-box(@light-gray, @gray-5, @light-gray);}

.terminal {
  .mix-box(@gray-2, @gray-e, @gray-c);
  .mix-responsive;
  .mix-hyphens(none);
  padding: 0 3px;
  border: 2px solid @gray-9;
  white-space: pre-wrap;
  border-top: 10px solid @gray-9;
  & > p, & > p:first-child {
    margin-top: -40px;
    margin-bottom: 0;
    text-shadow: none;
    font-weight: 400;
    font-family: @monospace-font;
    font-size: 85%;
    code, pre, samp {
      font-size: 100%;  
    }
    color: @gray-e;
    &:first-child {
      margin-top: 0px;
    }
    &:before {
      font-family: @monospace-font;
      font-style: normal;
      font-weight: 800;
      color: @dark-green;
      content: "$ ";
    }
  }
}

.terminal-su {
  .terminal;
  & > p, & > p:first-child {
    &:before {
      color: @bright-red;
      content: "# ";
    }
  }
}

div .terminal {
  margin: 2px auto;
}