.shell pre { /* Reset Bootstrap's settings for
. */ margin: 0; border-radius: 0; } /* WTF is this? I somehow came up with it, but I hope there's a better way. * 10.5px is the standard bottom margin fors. */ .shell { margin-bottom: 10.5px; } .shell + .shell { margin-top: -10.5px; } .shell > div { display: flex; overflow: auto; } .shell-mark { /* Don't shrink it. */ flex: none; } .shell-cmd { flex: 1; /* The combination of overflow values disables the scrollbar for .shell-cmd * and assigns it to the outer div instead, which looks nicer. */ overflow: visible; } /* Styling, yo. */ .shell-cmd, .shell-mark { border-width: 0 0 medium 0; background-color: #f0f0f0; /* Color the border in the color of grass. */ border-color: #008567; } .shell-out { border-width: 0 0 thin 0; } .shell-cmd { padding-left: 0; } .shell-mark { font-weight: bold; /* I like colors. */ color: #20004b; user-select: none; }