1
0
forked from orson/bachemap
bachemap/static/styles.css

181 lines
3.9 KiB
CSS
Raw Normal View History

body, html {
2024-08-17 19:05:28 +00:00
font-family: Arial, sans-serif;
margin: 0;
2024-08-21 19:38:01 +00:00
padding: 0px;
overflow: hidden;
height: 100%;
2024-08-17 19:05:28 +00:00
}
h1 {
text-align: center;
}
div#pinner-modal form {
2024-08-17 19:05:28 +00:00
max-width: 400px;
margin: 0 auto;
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: rgb(205, 243, 148, 0.7);
2024-08-17 19:05:28 +00:00
}
form p {
margin: 10px 0;
}
#map {
width: 100%;
2024-08-21 19:38:01 +00:00
height: 100vh;
margin: 0 0;
position: relative;
2024-08-21 19:38:01 +00:00
}
main {
margin:0;
padding:0;
2024-09-01 00:06:03 +00:00
position: relative;
2024-08-21 19:38:01 +00:00
}
div.leaflet-popup-content {
width: 400px;
}
div.pinner-modal {
position: absolute;
top: 10vh;
left: 0;
width: 100%;
background-color: #007BFF;
color: white;
padding: 1rem;
text-align: center;
transition: bottom 0.5s ease;
box-shadow: 0px -4px 15px rgba(0, 0, 0, 0.2);
z-index: 999;
2024-08-17 19:05:28 +00:00
}
2024-08-21 19:38:01 +00:00
div.pinner-modal.active {
bottom: 0;
background-color: rgb(205, 243, 148, 0.7);
}
div.pinner-modal form {
background-color: rgb(205, 243, 148, 0.7);
}
nav {
position:absolute;
top:0;
left: 0;
right: 0;
background-color: rgba(205, 243, 148, 0.7);
padding: 5px;
z-index: 1000;
color:azure;
}
.leaflet-marker-icon {
background-color: transparent !important;
border: rgba(0, 0, 0, 0);
}
.fa, .far, .fas {
color:rgb(0, 0, 0);
text-shadow: -1px 0 rgb(255, 136, 0), 0 1px rgb(255, 136, 0), 1px 0 rgb(255, 136, 0), 0 -1px rgb(255, 136, 0);
font-size: larger;
2024-09-01 01:23:49 +00:00
}
@media (max-width: 1024px) and (min-width: 768px) {
div#pinner-modal form {
max-width: 80%;
padding: 20px;
}
div.leaflet-popup-content {
width: 80%;
}
div.pinner-modal {
top: 8vh;
left: 5%;
width: 90%;
padding: 1.2rem; /* Slightly larger padding for better touch interaction */
}
nav {
padding: 12px; /* Increased padding for easier interaction */
font-size: 1.3rem; /* Increased font size for readability */
}
.fa, .far, .fas {
font-size: 1.6rem; /* Slightly larger icons for better usability */
}
button {
padding: 15px 25px; /* Larger buttons for easier tapping */
font-size: 1.2rem; /* Increase font size for better readability */
border-radius: 8px; /* Rounded corners for a modern look */
}
input[type="text"], input[type="password"], input[type="email"], textarea {
font-size: 1.1rem; /* Ensure input text is readable */
padding: 12px; /* Comfortable padding for touch input */
border-radius: 5px; /* Slight rounding for aesthetic consistency */
}
h1 {
font-size: 2.5rem; /* Larger header text for readability on tablets */
}
}
@media (max-width: 767px) {
div#pinner-modal form {
max-width: 90%;
padding: 15px;
}
div.leaflet-popup-content {
width: 90%;
}
div.pinner-modal {
top: 5vh;
left: 5%;
width: 90%;
padding: 1rem; /* Adequate padding for small screens */
}
nav {
padding: 20px; /* Larger padding for tappable navigation */
font-size: 1.5rem; /* Increased font size for readability */
}
.fa, .far, .fas {
font-size: 2.2rem; /* Larger icons for touch interactions */
}
button {
padding: 18px 30px; /* Large buttons for touch interaction */
font-size: 1.4rem; /* Increased font size for readability */
border-radius: 10px; /* Rounded corners for modern design */
}
input[type="text"], input[type="password"], input[type="email"], textarea {
font-size: 1.2rem; /* Larger input text for readability */
padding: 15px; /* More padding for ease of input */
border-radius: 5px;
}
h1 {
font-size: 3rem; /* Larger header text for small screens */
}
#map {
height: 65vh; /* Reduced height to make space for other elements */
}
}