diff options
author | adam <adam@> | 2021-02-15 11:09:03 +0200 |
---|---|---|
committer | adam <adam@> | 2021-02-15 11:09:03 +0200 |
commit | ceb1706e1caf92054bbc6291a70824f16e30eff0 (patch) | |
tree | f61414f03c85753790b39603c5906fe1209be328 /css | |
parent | f4e5ef20b3d0dd21867f24db5bea2b2137abe1e1 (diff) | |
parent | e2ab5591cc6d30b1fa26e094b2c50aa7879cdd88 (diff) | |
download | fileup-ceb1706e1caf92054bbc6291a70824f16e30eff0.tar.gz |
Merge https://github.com/alexvitkov/india
Diffstat (limited to 'css')
-rw-r--r-- | css/sharefile_style.css | 25 | ||||
-rw-r--r-- | css/style.css | 30 |
2 files changed, 53 insertions, 2 deletions
diff --git a/css/sharefile_style.css b/css/sharefile_style.css new file mode 100644 index 0000000..f7118fc --- /dev/null +++ b/css/sharefile_style.css @@ -0,0 +1,25 @@ +body { + display: flex; + align-items: center; + justify-content: center; +} + +.content { + flex: 0 0 0; + display: flex; + flex-direction: column; + gap: 1rem; + align-items: center; + justify-content: center; +} + +.h { + display: flex; + gap: 0.8rem; + align-items: center; + justify-content: center; +} + +input[type=submit] { + margin-top: 0.5rem; +} diff --git a/css/style.css b/css/style.css index 619c4d8..09456a3 100644 --- a/css/style.css +++ b/css/style.css @@ -1,3 +1,4 @@ + html, body { margin: 0; height: 100%; @@ -307,8 +308,32 @@ input[type=submit]:hover { } .filecontents { - padding: 0.8rem; - font-size: 1.1rem; + font-family: monospace; +} + +.filecontents.imgview { + background-color: black; + background-repeat: no-repeat; + background-position: center; +} + +.filecontentsroot, .foldercontents { + display: flex; + flex-direction: column; +} + +.filecontents { + 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, @@ -465,3 +490,4 @@ input[type=submit]:hover { .close_button:hover { background: white; } + |