mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 22:12:15 +00:00
astro
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
@import "reset.css";
|
||||
@import "global.css";
|
||||
/* */
|
||||
@import "map.css";
|
||||
@import "donate.css";
|
||||
@import "global.css";
|
||||
29
website/src/styles/collapsible.css
Normal file
29
website/src/styles/collapsible.css
Normal file
@@ -0,0 +1,29 @@
|
||||
.col-lbl {
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.col-chk {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.col-lbl:before {
|
||||
content: '►';
|
||||
margin-right: 1em;
|
||||
color: #555;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.col-cnt {
|
||||
display: none;
|
||||
margin: 1em 0 2em;
|
||||
}
|
||||
|
||||
.col-chk:checked ~ .col-cnt {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.col-chk:checked ~ .col-lbl:before {
|
||||
content: '▼';
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
#support-plans-slider {
|
||||
max-width: 600px;
|
||||
margin: 200px auto 150px;
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ body {
|
||||
.container {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
h1,
|
||||
@@ -56,7 +56,6 @@ h1 {
|
||||
}
|
||||
|
||||
.footer {
|
||||
max-width: 600px;
|
||||
margin-top: 3em;
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
@@ -69,12 +68,10 @@ h1 {
|
||||
|
||||
p,
|
||||
ul {
|
||||
max-width: 600px;
|
||||
margin-bottom: 0.6em;
|
||||
}
|
||||
|
||||
pre {
|
||||
max-width: 600px;
|
||||
margin-bottom: 0.6em;
|
||||
font-size: 14px;
|
||||
padding: 7px 14px;
|
||||
@@ -91,19 +88,20 @@ hr {
|
||||
margin: 2em 0;
|
||||
}
|
||||
|
||||
/*@media (max-width: 620px) {*/
|
||||
/* .static,*/
|
||||
/* h1,*/
|
||||
/* h2,*/
|
||||
/* h3,*/
|
||||
/* h4,*/
|
||||
/* h5,*/
|
||||
/* h6,*/
|
||||
/* p,*/
|
||||
/* .button-container {*/
|
||||
/* max-width: 100%;*/
|
||||
/* margin-left: 20px;*/
|
||||
/* margin-right: 20px;*/
|
||||
/* }*/
|
||||
/*}*/
|
||||
.logo {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.icons {
|
||||
margin: 0 auto;
|
||||
width: 80px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
#style-url-pre {
|
||||
background: #efefef;
|
||||
padding: 14px;
|
||||
font-weight: bold;
|
||||
overflow-x: auto;
|
||||
}
|
||||
72
website/src/styles/map.css
Normal file
72
website/src/styles/map.css
Normal file
@@ -0,0 +1,72 @@
|
||||
#map-container {
|
||||
width: 100%;
|
||||
height: 500px;
|
||||
margin-bottom: 24px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@media (max-width: 550px) {
|
||||
#map-container {
|
||||
height: 300px;
|
||||
}
|
||||
}
|
||||
|
||||
#mapbg-image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
background-image: url('/berlin.webp');
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
cursor: pointer;
|
||||
transition: opacity 3s;
|
||||
}
|
||||
|
||||
.mapbg-attrib {
|
||||
font: 12px / 20px Helvetica Neue, Arial, Helvetica, sans-serif;
|
||||
background-color: hsla(0, 0%, 100%, 0.5);
|
||||
padding: 0 5px;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.mapbg-attrib a {
|
||||
color: rgba(0, 0, 0, 0.75);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.mapbg-attrib a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.button-container {
|
||||
margin-bottom: 20px;
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
|
||||
.btn {
|
||||
border: 0;
|
||||
border-radius: 0.25rem;
|
||||
background: #2f5f8b;
|
||||
color: white;
|
||||
font-size: 1rem;
|
||||
white-space: nowrap;
|
||||
text-decoration: none;
|
||||
padding: 0.25rem 0.5rem;
|
||||
margin-right: 0.5rem;
|
||||
cursor: pointer;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.btn.selected {
|
||||
background: #4892d9;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
background: #4892d9;
|
||||
}
|
||||
Reference in New Issue
Block a user