public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[Web] Remove top padding on login screen for small devices
85f20a90
data/web/css/site/index.css | 5 +++++
data/web/inc/header.inc.php | 3 +++
2 files changed, 8 insertions(+)
create mode 100644 data/web/css/site/index.css
Diff
diff --git a/data/web/css/site/index.css b/data/web/css/site/index.css
new file mode 100644
index 00000000..10f7c0d7
--- /dev/null
+++ b/data/web/css/site/index.css
@@ -0,0 +1,5 @@
+@media (max-width: 500px) {
+ #top {
+ padding-top: 15px !important;
+ }
+}
\ No newline at end of file
diff --git a/data/web/inc/header.inc.php b/data/web/inc/header.inc.php
index 38c6fa31..4b223140 100644
--- a/data/web/inc/header.inc.php
+++ b/data/web/inc/header.inc.php
@@ -26,6 +26,9 @@
if (preg_match("/debug/i", $_SERVER['REQUEST_URI'])) {
$css_minifier->add('/web/css/site/debug.css');
}
+ if ($_SERVER['REQUEST_URI'] == '/') {
+ $css_minifier->add('/web/css/site/index.css');
+ }
?>
<style><?=$css_minifier->minify();?></style>
<?php if (strtolower(trim($DEFAULT_THEME)) != "lumen"): ?>