src/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 54 55 56 |
.note { .mix-titled-block(@lighter-blue, @dark-blue, @light-blue);} .tip {.mix-titled-block(@lighter-green, @dark-green, @light-green);} .warning {.mix-titled-block(@lighter-yellow, @dark-yellow, @light-yellow);} .blank-sidebar {.mix-titled-block(@lightest-gray, @gray-5, @lightest-gray);} .sidebar {.mix-titled-block(@light-gray, @gray-5, @light-gray);} .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: @normal-weight; 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: @bold-weight; color: @dark-green; content: "$ "; } } } .terminal-su { .terminal; & > p, & > p:first-child { &:before { color: @bright-red; content: "# "; } } } div .terminal { margin: 2px auto; @media screen and (min-width: 880px) { margin-left: 80px; margin-right: 80px; } } |