aboutsummaryrefslogtreecommitdiffstats
path: root/css
diff options
context:
space:
mode:
authorAlex Vitkov <alexvitkov98@gmail.com>2021-02-13 01:04:54 +0200
committerAlex Vitkov <alexvitkov98@gmail.com>2021-02-13 01:04:54 +0200
commit34df293dec1ee19cde50e33f757c8eefdbfc33d9 (patch)
treeb0f5bf84ecc6be0b3b819af677e6cedd6e396709 /css
parentca4e0cbb1471e837197cd2ed30b1ea3c274ab41d (diff)
downloadfileup-34df293dec1ee19cde50e33f757c8eefdbfc33d9.tar.gz
more compact ui
Diffstat (limited to 'css')
-rw-r--r--css/style.css18
1 files changed, 10 insertions, 8 deletions
diff --git a/css/style.css b/css/style.css
index 96f04d4..314a38c 100644
--- a/css/style.css
+++ b/css/style.css
@@ -246,12 +246,12 @@ input[type=submit]:hover {
}
.files {
- padding: 1rem;
+ padding: 0.3rem;
display: grid;
grid-gap: 0rem;
- grid-auto-rows: 10rem;
- grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
+ grid-auto-rows: 8rem;
+ grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
}
.file {
@@ -266,7 +266,7 @@ input[type=submit]:hover {
flex-direction: column;
align-items: center;
border: 1px solid #fafafa;
- border-radius: 0.3rem;
+ border-radius: 0.1rem;
}
.file.dragged {
@@ -281,7 +281,9 @@ input[type=submit]:hover {
}
.file > img {
- flex: 1 0 0;
+ flex: 1 1 0;
+ min-width: 0;
+ min-height: 0;
}
.file:hover > img {
@@ -294,12 +296,12 @@ input[type=submit]:hover {
font-weight: normal;
padding: 0rem;
border-bottom: 1px solid #bbb;
-
+ font-size: 1.3rem;
}
.filesystem > h2 button {
border: none;
- padding: 0.3rem 1.1rem;
+ padding: 0.3rem 1rem;
background: inherit;
border-radius: 0;
}
@@ -328,7 +330,7 @@ input[type=submit]:hover {
user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
- padding: 0 0.2rem;
+ padding: 0 0.1rem;
align-self: center;
}