diff --git a/assets/css/app.scss b/assets/css/app.scss index 54db72a..13f58cb 100644 --- a/assets/css/app.scss +++ b/assets/css/app.scss @@ -517,6 +517,10 @@ pre[class*="language-"] { .code-window { height: 30px; background: $color-code-title-background url('../images/window.svg') no-repeat center right; + padding-left: 15px; + font-family: Monospace; + color: #ccc; + line-height: 30px; } .body-content { diff --git a/assets/js/app/code.js b/assets/js/app/code.js index 9e039b2..2c43643 100644 --- a/assets/js/app/code.js +++ b/assets/js/app/code.js @@ -89,6 +89,7 @@ Code.prototype.init = function () { pre.classList.add('with-title') const win = this.window.document.createElement('div') win.classList.add('code-window') + win.textContent = 'Console' post.insertBefore(win, pre) }