aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Mapco/mapco.css
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2022-12-12 20:50:32 +0100
committerGravatar GitHub <noreply@github.com> 2022-12-12 20:50:32 +0100
commite072411bafc4d0177835c68d9cb12341540ce554 (patch)
tree858aa396f1a0ad4c550f22052420754ec263ebf3 /p/themes/Mapco/mapco.css
parent695d6de362f74decd2df0186adb25f7eb8fe3184 (diff)
Improved: Header (#4927)
* all themes * fix
Diffstat (limited to 'p/themes/Mapco/mapco.css')
-rw-r--r--p/themes/Mapco/mapco.css34
1 files changed, 14 insertions, 20 deletions
diff --git a/p/themes/Mapco/mapco.css b/p/themes/Mapco/mapco.css
index 6a0592b82..23df81fff 100644
--- a/p/themes/Mapco/mapco.css
+++ b/p/themes/Mapco/mapco.css
@@ -664,26 +664,19 @@ form th {
/*===============*/
/*=== Header */
.header {
- padding: 0.5rem 1.35rem;
background: #303136;
- display: block;
- width: auto;
- height: 3.5rem;
- table-layout: none;
-}
-.header .logo {
- margin: 11px 0 5px;
- filter: grayscale(100%) brightness(100);
}
.header .item {
vertical-align: middle;
}
-.header .item.title {
- width: 280px;
- font-weight: 400;
+.header .item.title a {
+ padding: 0.5rem 1rem;
+}
+.header .item.title a .logo {
+ filter: grayscale(100%) brightness(3);
}
-.header .item.title a img {
- margin-right: 0.5rem;
+.header .item.title a:hover .logo {
+ filter: grayscale(100%) brightness(2.2);
}
.header .item.search input {
width: 230px;
@@ -723,10 +716,6 @@ form th {
filter: brightness(3);
}
.header .item.configure {
- width: 3rem;
- position: absolute;
- right: 1rem;
- top: 1rem;
text-align: center;
}
.header .item.configure .btn .icon,
@@ -743,7 +732,7 @@ form th {
/*=== Body */
#global {
- height: calc(100% - 3.5rem);
+ height: calc(100vh - (3rem + 2 * var(--frss-padding-top-bottom)));
}
/*=== Prompt (centered) */
@@ -1219,7 +1208,7 @@ main.prompt {
filter: grayscale(100%) brightness(2.5);
}
.header {
- padding: 0.5rem;
+ display: block;
height: 8rem;
}
.header .item.search {
@@ -1238,6 +1227,11 @@ main.prompt {
.header .item.search input:focus {
width: 100%;
}
+ .header .item.configure {
+ position: absolute;
+ top: 0;
+ right: 0;
+ }
#global {
height: calc(100% - 8rem);
}