summaryrefslogtreecommitdiff
path: root/static/style/style.css
diff options
context:
space:
mode:
authoruser@node5.net <user@node5.net>2026-04-14 22:17:33 +0200
committeruser@node5.net <user@node5.net>2026-04-14 22:17:33 +0200
commit7fe279ada3c9a23d78e882b76bd95ef774b43a8e (patch)
treeff46b0e7ce56db3abb98e6c32578c7bb26a45886 /static/style/style.css
parent029671f77da344a1326e413e93939574eae4f891 (diff)
parent9b01d51a610a26141ef0f21d1b61c681d46d2426 (diff)
merge upstream main 2026-04-14 onto map libremaplibre
some functionalities still broken
Diffstat (limited to 'static/style/style.css')
-rw-r--r--static/style/style.css221
1 files changed, 203 insertions, 18 deletions
diff --git a/static/style/style.css b/static/style/style.css
index 24d56f5..17d399a 100644
--- a/static/style/style.css
+++ b/static/style/style.css
@@ -1,3 +1,4 @@
+
@font-face {
font-family: 'Ubuntu';
font-style: normal;
@@ -14,10 +15,177 @@ body {
height: 100%;
}
+h1 {
+ text-align: center;
+ font-size: 32px;
+ text-align: center;
+ text-shadow: 2px 2px 2px #202020;
+ transform: skewY(-2deg) translate(-1rem,-0.4rem);
+ text-underline-offset: 4%;
+ text-decoration: underline;
+ text-decoration-color: #bd93f9;
+ text-decoration-thickness: 5px;
+}
+
+h2 {
+ font-size: 20px;
+ margin: 0px;
+ transform: skewY(-2deg) translate(-1rem,-0.4rem);
+ padding-left: 16px;
+ padding-top: 20px;
+ padding-bottom: 10px;
+ text-decoration: underline;
+ text-decoration-color: currentcolor;
+ text-decoration-thickness: auto;
+ text-decoration-color: #ff79c6;
+ text-decoration-thickness: 3px;
+}
+
+
+.item {
+ position: relative;
+ cursor: default;
+}
+
+.span-date {
+ position: absolute;
+ bottom: 125%;
+ left: 0;
+ background: #ddd;
+ color: #262c30;
+ padding: 6px 10px;
+ border-radius: 6px;
+ font-size: 12px;
+ opacity: 0;
+ pointer-events: none;
+ transition: opacity 0.2s ease;
+ white-space: nowrap;
+}
+
+.item:hover .span-date {
+ opacity: 1;
+}
+
+
+select::-ms-expand {
+ display: none;
+}
+
+select {
+ -webkit-appearance: none;
+ -moz-appearance: none;
+ text-indent: 1px;
+ text-overflow: '';
+}
+
+#sortSelect {
+ box-sizing: border-box;
+ background-image: url('/static/icons/sort.svg');
+ background-repeat: no-repeat;
+ width: 165px;
+ font-size: 16px;
+ border: 1px solid #262c30;
+ padding: 12px 20px 12px 40px;
+ margin-bottom: 12px;
+ border-radius: 5px;
+ background-position: 10px 10px;
+ background-color: #1c2024;
+ color: #fff;
+ scroll-margin-top: 10px;
+ margin-left: 5px;
+ text-align: center;
+}
+
+div.about,div.contributors {
+ padding-left: 20px;
+ overflow-y: scroll;
+}
+
+div.contributors ul {
+ padding-left: 15px;
+}
+
+div.contributors li {
+ margin-left: unset;
+}
+
+#navlinks {
+ max-height: 0;
+ overflow: hidden;
+ transition: all 0.5s ease;
+ grid-column: 1 / -1;
+
+}
+
+#navlinks.open {
+ padding-top: 20px;
+ max-height: 300px;
+}
+
+.filter-bar {
+ margin-left: auto;
+ margin-right: auto;
+ display: flex;
+}
+
+#search {
+ box-sizing: border-box;
+ background-image: url('/static/icons/search.svg');
+ background-repeat: no-repeat;
+ width: 100%;
+ font-size: 16px;
+ border: 1px solid #262c30;
+ padding: 12px 20px 12px 40px;
+ margin-bottom: 12px;
+ border-radius: 5px;
+ background-position: 10px 10px;
+ background-color: #1c2024;
+ color: #fff;
+ scroll-margin-top: 10px;
+ margin-right: 5px;
+}
+
+#search li a:hover:not(.header) {
+ background-color: #262c30;
+}
+
+input:focus {
+ outline: none;
+}
+
+/*#navlinks {
+ display: none;
+ padding-top: 20px;
+ grid-column: 1 / -1;
+}
+*/
+
+#navlinks a {
+ color: white;
+ padding: 14px 16px;
+ text-decoration: none;
+ font-size: 17px;
+ display: block;
+ transition: max-height 0.5s ease;
+}
+
+a.icon {
+ top: 50%;
+ justify-self: end;
+ cursor: pointer;
+}
+
+#navlinks a:hover {
+ background-color: #ddd;
+ color: black;
+ border-radius: 5px;
+}
+
.wrapper {
height: 100%;
margin-left: 20px;
margin-right: 20px;
+ /*padding-bottom: 1px;*/
}
#map {
@@ -26,7 +194,8 @@ body {
}
.map-link {
- padding: 10px;
+ min-height: 95%;;
+ padding: 10px;
}
li {
@@ -47,12 +216,11 @@ li::before {
header img.banner {
display: block;
margin-right: auto;
- height: 10vh;
max-width: 60vw;
}
-a.source-code img {
- width: 40px;
+header img.source-code {
+ height:unset;
}
a.source-code {
@@ -66,14 +234,9 @@ a.source-code {
transform: translateY(-50%);
padding: 15px;
*/
- right: 0;
- top: 50%;
- transform: translateY(-50%);
- position: absolute;
padding: 15px;
display: inline-block;
- text-align: center;;
- font-size: 12px;;
+ text-align: center;
}
.grid {
@@ -81,10 +244,18 @@ a.source-code {
}
.grid header {
+ display: grid;
padding: 20px;
position: relative;
}
+header {
+ grid-template-columns: 1fr auto;
+ align-items: center;
+ background-color: unset !important;
+ padding: 5px !important;
+}
+
.grid > * {
background-color: #262c30;
margin-top: 20px;
@@ -139,14 +310,6 @@ body {
letter-spacing: 0.1px;
}
-h1 {
- text-align: center;
- font-size: 40px;
- line-height: 48px;
- text-shadow: 2px 2px 2px #202020;
- font-family: 'Josefin Sans', sans-serif;
-}
-
a, a:visited {
text-decoration: none;;
font-weight: bold;
@@ -167,10 +330,32 @@ a:hover {
height: 100vh;
}
+ /*
+ #navlinks.hover {
+ position: absolute;
+ right: 0;
+ top: 100%;
+ grid-column: auto;
+ background: #262c30;
+ width: 200px;
+ padding-top: unset;
+ border-radius: 5px;
+ border-color: white;
+ } */
+
+ header img.banner {
+ height: 10vh;
+ }
+
header img {
margin-left: auto;
}
+ header {
+ position: relative; /* anchor for dropdown */
+ background-color: #262c30 !important;
+ padding: 20px !important;
+ }
.grid > * {
margin: 0;