aboutsummaryrefslogtreecommitdiffstats
path: root/css
diff options
context:
space:
mode:
authorAlex Vitkov <alexvitkov98@gmail.com>2021-02-15 11:06:52 +0200
committerAlex Vitkov <alexvitkov98@gmail.com>2021-02-15 11:06:52 +0200
commite2ab5591cc6d30b1fa26e094b2c50aa7879cdd88 (patch)
treef61414f03c85753790b39603c5906fe1209be328 /css
parent31533d6c9c94e23148c5d39ebcac3a59dc5acf62 (diff)
downloadfileup-e2ab5591cc6d30b1fa26e094b2c50aa7879cdd88.tar.gz
Editable text 0.1
Diffstat (limited to 'css')
-rw-r--r--css/style.css17
1 files changed, 15 insertions, 2 deletions
diff --git a/css/style.css b/css/style.css
index bc625a6..09456a3 100644
--- a/css/style.css
+++ b/css/style.css
@@ -307,6 +307,10 @@ input[type=submit]:hover {
background: white;
}
+.filecontents {
+ font-family: monospace;
+}
+
.filecontents.imgview {
background-color: black;
background-repeat: no-repeat;
@@ -319,8 +323,17 @@ input[type=submit]:hover {
}
.filecontents {
- padding: 0.8rem;
- font-size: 1.1rem;
+ overflow-y: scroll;
+}
+[contenteditable] {
+ outline: 0px solid transparent;
+}
+
+pre {
+ font-size: 1.3rem;
+ min-height: 100%;
+ margin: 0.3rem;
+ box-sizing: border-box;
}
.window h3,