Files
openfreemap/website/assets/style.css
Zsolt Ero c800337fb3 autoload
2024-01-19 21:54:26 +01:00

299 lines
3.9 KiB
CSS

/*
Josh's Custom CSS Reset
https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,
*::before,
*::after {
box-sizing: border-box;
}
* {
margin: 0;
}
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
}
input,
button,
textarea,
select {
font: inherit;
}
/* normalize.css */
button {
font-family: inherit;
font-size: 100%;
line-height: 1.15;
overflow: visible;
text-transform: none;
-webkit-appearance: button;
}
button::-moz-focus-inner {
border-style: none;
padding: 0;
}
button:-moz-focusring {
outline: 1px dotted ButtonText;
}
/* --- start --- */
body {
padding: 0 40px 100px;
line-height: 1.5;
font-size: 17px;
-webkit-font-smoothing: antialiased;
font-family: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
font-weight: normal;
color: #000;
}
.static {
max-width: 600px;
margin: 0 auto;
}
h1,
h2,
h3,
h4,
h5,
h6,
.col-lbl {
color: #333;
max-width: 600px;
margin: 1em auto 0.5em;
line-height: 1.2;
font-family: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro,
sans-serif;
font-weight: 700;
}
p a {
color: #333;
font-weight: 700;
text-decoration: none;
box-shadow: 0 1px 0 #adc2ee;
transition: box-shadow 200ms ease 0s;
}
p a:hover {
box-shadow: 0 2px 0 #adc2ee;
}
strong {
color: #333;
}
.logo {
margin: 0 auto;
}
.icons {
margin: 0 auto;
width: 80px;
display: flex;
justify-content: space-between;
}
h1 {
text-align: center;
}
/*.subtitle {*/
/* text-align: center;*/
/* font-style: italic;*/
/* color: #333;*/
/* margin-top: 1em;*/
/*}*/
.footer {
max-width: 600px;
margin: 3em auto 0;
display: flex;
justify-content: space-evenly;
}
.footer a {
color: #777;
text-decoration: none;
}
p {
max-width: 600px;
margin: 0 auto 0.6em;
}
pre {
background: #efefef;
max-width: 800px;
margin: 0 auto 0.6em !important;
font-size: 14px;
}
code {
font-family: 'Nimbus Mono PS', 'Courier New', monospace;
font-weight: 400;
background: #efefef;
word-break: break-word;
}
#style-url-code span {
white-space: nowrap;
}
#map-container {
width: 100%;
height: 500px;
margin-bottom: 2em;
position: relative;
}
#mapbg-image {
width: 100%;
height: 100%;
position: absolute;
z-index: 1;
background-image: url('mapbg.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
cursor: pointer;
}
button {
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: 0.25rem;
cursor: pointer;
display: inline-flex;
align-items: center;
}
.button-container {
margin: 0 auto 0.6em;
max-width: 600px;
display: flex;
flex-wrap: nowrap;
}
button:hover {
background: #4892d9;
}
/*button:focus { }*/
/*button:active { }*/
.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: '▼';
}
hr {
border: 0;
height: 1px;
background-color: #555;
margin: 2em 0;
}
@media (max-width: 550px) {
body {
padding: 0 20px 40px;
}
.static,
h1,
h2,
h3,
h4,
h5,
h6,
.col-lbl,
p {
max-width: 100%;
}
}
#support-plans-slider {
max-width: 600px;
margin: 50px auto;
}
.plan-table {
max-width: 600px;
width: 100%;
margin: 20px auto 40px;
table-layout: fixed;
border-collapse: collapse;
}
.plan-icon {
font-size: 30px;
}
.plan-name {
font-weight: 700;
}
td {
padding: 10px;
border-bottom: 1px solid #ddd;
text-align: center;
}
tr:nth-child(even) {
background-color: hsl(0, 0%, 98%);
}
/*tr:nth-child(odd) {*/
/* background-color: #ffffff;*/
/*}*/
tr:hover {
background-color: hsl(0, 0%, 96%);
}