130 lines
1.8 KiB
CSS
130 lines
1.8 KiB
CSS
body {
|
|
background: black;
|
|
margin: 0;
|
|
padding: 0;
|
|
color: #DDD;
|
|
text-align: center;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
h1 {
|
|
margin-top: 10px;
|
|
font-size: 40px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 20px;
|
|
margin-bottom: 20px;
|
|
color: #777;
|
|
}
|
|
|
|
a {
|
|
color: white;
|
|
}
|
|
|
|
#demo {
|
|
overflow: hidden;
|
|
}
|
|
|
|
#description {
|
|
text-align: left;
|
|
float: left;
|
|
width: 49%;
|
|
max-width: 500px;
|
|
padding-top: 50px;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
#showoff {
|
|
float: left;
|
|
width: 49%;
|
|
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
#container {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 400px;
|
|
height: 400px;
|
|
}
|
|
|
|
#sphere, #flights, #glow-shadows, #locations, #drag {
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 0px;
|
|
width: 400px;
|
|
height: 400px;
|
|
}
|
|
|
|
#glow-shadows {
|
|
top: 1px;
|
|
left: 1px;
|
|
}
|
|
|
|
.location {
|
|
position: absolute;
|
|
width: 10px;
|
|
height: 10px;
|
|
left: 10px;
|
|
top: 10px;
|
|
border: 2px solid white;
|
|
margin-left: -5px;
|
|
margin-top: -5px;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.location:hover {
|
|
width: 15px;
|
|
height: 15px;
|
|
margin-left: -7.5px;
|
|
margin-top: -7.5px;
|
|
}
|
|
|
|
|
|
.flight:hover {
|
|
width: 36px;
|
|
height: 37.5px;
|
|
margin-left: -18px;
|
|
margin-top: -18.75px;
|
|
}
|
|
|
|
|
|
.choose_example {
|
|
width: 35%;
|
|
margin-left: 32.5%;
|
|
}
|
|
|
|
#example_code {
|
|
width: 100%;
|
|
height: 200px;
|
|
background-color: black;
|
|
color: white;
|
|
border: 0px;
|
|
resize: none;
|
|
display: none;
|
|
}
|
|
|
|
.code {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.social {
|
|
display: inline-block;
|
|
}
|
|
|
|
.social.twitter {
|
|
vertical-align: -3px;
|
|
}
|
|
|
|
.social.google {
|
|
vertical-align: -7px;
|
|
}
|