@adamsy/bhai-lang
Version:
<h1 align="center">Bhai Lang</h1> <p align="center"> <a href="https://lgtm.com/projects/g/DulLabs/bhai-lang/alerts/"><img alt="Total alerts" src="https://img.shields.io/lgtm/alerts/g/DulLabs/bhai-lang.svg?logo=lgtm&logoWidth=18"/></a> <a href="https://lgt
82 lines (70 loc) • 1.32 kB
CSS
@tailwind base;
@tailwind components;
@tailwind utilities;
@import "prismjs/themes/prism-tomorrow.css";
html {
scroll-behavior: smooth;
}
@media screen and (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
}
.header{
min-height: 70vh;
}
.editorContainer{
tab-size: 4ch;
height: 60vh;
overflow: auto;
color: #fff;
background-color: #333;
}
.editorLineNumber {
position: absolute;
left: 0px;
color: #8a8a8a;
text-align: right;
width: 40px;
}
.editor {
counter-reset: line;
}
.editor pre{
padding-left: 5rem ;
height: 100%
}
.codeArea {
overflow-wrap: normal ;
word-break: keep-all ;
outline: none;
padding-top: 1rem;
padding-left: 5rem ;
z-index: 999999999;
white-space: nowrap;
}
.terminal {
overflow-y: scroll;
transition-property: max-height, padding;
transition-duration: 0.2s;
transition-timing-function: ease-in-out;
height:auto;
max-height: 30rem;
padding: 2rem;
opacity: 1;
}
.terminal .output{
opacity: 1;
transition: opacity 0.5s;
transition-delay: 0.3s;
}
.terminal-collapsed {
max-height:0;
padding:0;
transition-property: max-height, padding;
transition-duration: 0.2s;
transition-timing-function: ease-out;
}
.token {
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
}