diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-10-09 21:46:38 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-10-09 21:46:38 +0300 |
commit | d22ee24e723df36d4895582db340395a5c92d97b (patch) | |
tree | fc159ba63b708030d49175026bad54e76c26a610 /priv/css | |
parent | Resend presences and history if presence possesses <x/> MUC element (diff) |
Better handle mobile devices in CSS of mod_register_web
Thanks to Marek Foss. Fixes #2039
Diffstat (limited to 'priv/css')
-rw-r--r-- | priv/css/register.css | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/priv/css/register.css b/priv/css/register.css new file mode 100644 index 00000000..5ebe238d --- /dev/null +++ b/priv/css/register.css @@ -0,0 +1,65 @@ +@meta { + width: device-width; + zoom: 1.0; +} + +html,body { + font-family: sans-serif; + background: white; + + padding: 0.5em; + margin: auto; + max-width: 800px; + height: 100%; +} + +form { + padding: 0.5em 0; +} + +ul { + list-style: none; +} + ul > li { + margin-bottom: 2em; + } + +ol { + list-style: none; + padding: 0; +} + ol > li { + margin-bottom: 2em; + font-weight: bold; + font-size: 0.75em; + } + ol > li > ul { + list-style: decimal; + font-weight: normal; + font-style: italic; + } + ol > li > ul > li { + margin-bottom: auto; + } + +input { + display: block; + padding: 0.25em; + font-size: 1.5em; + border: 1px solid #ccc; + border-radius: 0; + + -webkit-appearance: none; + -moz-appearance: none; +} + input:focus { + border-color: #428bca; + } + input[type=submit] { + padding: 0.33em 1em; + background-color: #428bca; + border-radius: 2px; + cursor: pointer; + border: none; + color: #fff; + } |