svgmap
Version:
svgMap is a JavaScript library that lets you easily create an interactable world map comparing customizable data for each country.
42 lines (36 loc) • 609 B
CSS
body {
font-family: sans-serif;
color: #000;
background: #fff;
padding: 0;
margin: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-tap-highlight-color: transparent;
}
.demo-wrapper {
box-sizing: border-box;
width: 800px;
max-width: calc(100% - 30px);
margin: auto;
padding: 30px 0 0;
}
.demo-container {
padding: 0 0 80px;
}
h2 {
text-align: center;
font-size: 32px;
margin: 0 0 25px;
font-weight: normal;
}
@media (max-width: 900px) {
h2 {
font-size: 24px;
}
}
@media (max-width: 600px) {
h2 {
font-size: 18px;
}
}