5
0
mirror of https://github.com/cwinfo/yggdrasil-map synced 2024-11-24 00:31:39 +00:00
yggdrasil-map/web/static/style.css

202 lines
2.5 KiB
CSS
Raw Normal View History

2014-03-19 09:12:47 +00:00
* {
margin: 0;
padding: 0;
}
html, body {
background: #F5F5F5;
2014-03-30 00:14:02 +00:00
font-family: 'sans serif';
2014-03-19 09:12:47 +00:00
}
#header {
background: #FFF;
height: 48px;
line-height: 48px;
position: absolute;
top: 0;
left: 0;
right: 0;
}
h1 {
2014-03-30 00:14:02 +00:00
font-family: 'Inconsolata', 'Consolas', 'Ubuntu Mono', monospace;
2014-03-19 09:12:47 +00:00
font-size: 32px;
float: left;
padding: 0 40px;
font-weight: 100;
color: #333;
}
small {
font-size: 16px;
}
.grey {
color: #999;
}
ul {
list-style-type: none;
height: 100%;
}
li {
float: left;
height: 100%;
}
#header a {
color: #777;
padding: 0 20px;
2014-03-30 00:14:02 +00:00
font-family: 'Open Sans', 'sans-serif';
2014-03-19 09:12:47 +00:00
font-size: 14px;
text-decoration: none;
height: 100%;
display: block;
}
2014-05-13 22:36:55 +00:00
#header a.selected {
background: #DDD;
}
2014-03-19 09:12:47 +00:00
#header a:hover {
background: #EEE;
}
2014-05-13 22:36:55 +00:00
2014-03-19 09:12:47 +00:00
#general-info {
position: absolute;
bottom: 0;
left: 0;
font-size: 10px;
padding: 5px;
line-height: 150%;
z-index: 999;
}
#sidebar {
padding: 20px 20px;
background: rgba(220, 220, 220, 0.8);
position: absolute;
top: 0;
right: 0;
/*bottom: 0;*/
max-height: calc(100vh - 40px);
2014-03-30 00:14:02 +00:00
min-width: 250px;
2014-03-19 09:12:47 +00:00
z-index: 999;
overflow-y: scroll;
2014-03-19 09:12:47 +00:00
font-size: 12px;
}
#search-wrapper {
width: 100%;
margin-bottom: 20px;
/*position: absolute;*/
/*top: 0;*/
/*right: 10px;*/
/*z-index: 5;*/
2014-03-30 00:14:02 +00:00
font-size: 10px;
2014-03-19 09:12:47 +00:00
}
#search-box {
width: 100%;
padding: 5px;
outline: none;
border: none;
/*border: 1px solid #CCC;*/
margin: -5px;
font-size: inherit;
}
2014-05-13 22:36:55 +00:00
#sidebar a {
2014-03-19 09:12:47 +00:00
color: #333;
text-decoration: none;
}
2014-05-13 22:36:55 +00:00
#sidebar a:hover {
2014-03-19 09:12:47 +00:00
color: #AAA;
}
2014-05-13 22:36:55 +00:00
#sidebar h2 {
2014-03-19 09:12:47 +00:00
text-align: center;
margin-bottom: 5px;
color: #29BBFF;
}
#node-info table {
width: 100%;
}
#node-info td + td {
text-align: right;
}
#node-info strong {
color: #29BBFF;
letter-spacing: 1px;
}
.tt {
2014-03-30 00:14:02 +00:00
font-family: monospace;
2014-03-19 09:12:47 +00:00
font-size: 10px;
}
.autocomplete-suggestions {
2014-03-30 00:14:02 +00:00
font-family: monospace;
font-size: 10px;
2014-03-19 09:12:47 +00:00
border: 1px solid #FFF;
background: #FFF;
overflow: auto;
color: #555;
}
.autocomplete-suggestion {
padding: 2px 5px;
white-space: nowrap;
overflow: hidden;
}
.autocomplete-selected { background: #7FD6FF; }
.autocomplete-suggestions strong {
color: #000000;
}
#content-wrapper {
position: absolute;
top: 48px;
left: 0;
right: 0;
bottom: 0;
}
#map {
position: absolute;
width:100%;
height:100%;
2014-05-13 22:36:55 +00:00
}
#content {
width: 500px;
margin: 30px auto;
font-family: sans-serif;
font-size: 16px;
color: #333;
line-height: 28px;
letter-spacing: 0.2px;
}
#content h2 {
text-align: center;
margin-bottom: 20px;
color: #29BBFF;
}
#content h3 {
margin-top: 20px;
text-align: center;
color: #29BBFF;
}
#content a {
color: #29BBFF;
2014-03-19 09:12:47 +00:00
}