aboutsummaryrefslogtreecommitdiffstats
path: root/index.css
diff options
context:
space:
mode:
author2023-07-30 19:54:00 +0530
committer2023-07-30 19:54:00 +0530
commit5b0ecbfc06ef328dd2d31ff4d48f11622fc31be4 (patch)
tree3e7a13dfe0514f79b18dd219417f486e9893ada3 /index.css
downloadtranslator-5b0ecbfc06ef328dd2d31ff4d48f11622fc31be4.tar
translator-5b0ecbfc06ef328dd2d31ff4d48f11622fc31be4.tar.gz
translator-5b0ecbfc06ef328dd2d31ff4d48f11622fc31be4.tar.bz2
translator-5b0ecbfc06ef328dd2d31ff4d48f11622fc31be4.tar.lz
translator-5b0ecbfc06ef328dd2d31ff4d48f11622fc31be4.tar.xz
translator-5b0ecbfc06ef328dd2d31ff4d48f11622fc31be4.tar.zst
translator-5b0ecbfc06ef328dd2d31ff4d48f11622fc31be4.zip
Initial Commitmain
Signed-off-by: Marc Pervaz Boocha <mboocha@sudomsg.xyz>
Diffstat (limited to 'index.css')
-rw-r--r--index.css53
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;
+ }
+}