diff options
author | 2023-07-30 19:54:00 +0530 | |
---|---|---|
committer | 2023-07-30 19:54:00 +0530 | |
commit | 5b0ecbfc06ef328dd2d31ff4d48f11622fc31be4 (patch) | |
tree | 3e7a13dfe0514f79b18dd219417f486e9893ada3 /index.css | |
download | translator-main.tar translator-main.tar.gz translator-main.tar.bz2 translator-main.tar.lz translator-main.tar.xz translator-main.tar.zst translator-main.zip |
Initial Commitmain
Signed-off-by: Marc Pervaz Boocha <mboocha@sudomsg.xyz>
Diffstat (limited to '')
-rw-r--r-- | index.css | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/index.css b/index.css new file mode 100644 index 0000000..3ec2051 --- /dev/null +++ b/index.css @@ -0,0 +1,53 @@ +*{ + box-sizing: inherit; +} + +html { + box-sizing: border-box; +} + +menu > li { + display: inline; + list-style: none; + margin: 0.5rem; +} + +@media screen{ + html { + color-scheme: light dark; + height: 90vh; + } + + body { + display: grid; + grid-template-areas: + "head head" + "main output"; + grid-template-rows: fit-content(1rem) auto; + grid-template-columns: 1fr 1fr; + gap: 1rem; + height: 100%; + } + + header { + grid-area: head; + background: rgb(117, 117, 117); + color-scheme: light; + color: white; + } + + pre { + border: 1px solid; + height: 100%; + padding: 1rem; + overflow: scroll; + } + + #editor { + grid-area: main; + } + + #output { + grid-area: output; + } +} |