1
0
Fork 0
mirror of https://codeberg.org/icewind/shelve.git synced 2026-06-03 12:04:09 +02:00

better mobile css

This commit is contained in:
Robin Appelman 2021-07-30 22:27:14 +02:00
commit 79d9d64296
3 changed files with 52 additions and 644 deletions

681
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -8,7 +8,6 @@ license = "MIT OR Apache-2.0"
[dependencies] [dependencies]
rocket = "0.5.0-rc.1" rocket = "0.5.0-rc.1"
priority-queue = "1" priority-queue = "1"
hyper = "0.14"
dotenv = "0.15" dotenv = "0.15"
err-derive = "0.3" err-derive = "0.3"
rand = "0.8" rand = "0.8"
@ -16,6 +15,5 @@ uuid = { version = "0.8", features = ["serde", "v4"] }
rust-embed = "5" rust-embed = "5"
serde = "1" serde = "1"
serde_json = "1" serde_json = "1"
multipart = "0.18"
async-trait = "0.1" async-trait = "0.1"
futures-util = { version = "0.3" } futures-util = { version = "0.3" }

View file

@ -1,7 +1,12 @@
<html> <html>
<head> <head>
<meta name="viewport" content="width=device-width" />
<title>Shelve</title> <title>Shelve</title>
<style> <style>
* {
box-sizing: border-box;
}
html, body { html, body {
height: 100%; height: 100%;
padding: 0; padding: 0;
@ -49,8 +54,7 @@
} }
.dropbox { .dropbox {
max-width: 100%; width: 100%;
width: 400px;
font-size: 1.25rem; /* 20 */ font-size: 1.25rem; /* 20 */
position: relative; position: relative;
padding: 100px 20px; padding: 100px 20px;
@ -214,6 +218,11 @@
.box__button:focus { .box__button:focus {
background-color: #0f3c4b; background-color: #0f3c4b;
} }
#box {
max-width: 100%;
width: 400px;
}
</style> </style>
</head> </head>
<body class="no-js"> <body class="no-js">