earthjs
Version:
D3 Earth JS using SVG, Canvas & THREE js, build with some plugins.
43 lines (42 loc) • 690 B
CSS
body {
background: #555;
background-image: url("../../images/tiles.png");
height: 100vh;
margin: 0;
}
hr {
margin: 20px 0;
}
.input-container {
position: relative;
width: 100%;
height: 100vh;
}
.input-area {
color: white;
font-size: 1.8em;
font-family: sans-serif;
background-color: rgba(183, 183, 183,.1);
}
.input-area label {
cursor: pointer;
}
.input-area input {
display: none;
}
.input-area input:checked+label {
color: red;
}
.input-area.right {
right: 0px;
text-align: right;
}
.countries path {
fill: rgba(117,87,57,0.1);
}
.qrcode-img {
position: absolute;
z-index: 5;
right: 0;
bottom: 0;
}