Moved css to critical file
continuous-integration/drone/push Build is passing Details

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
Jim Martens 2019-04-30 21:17:22 +02:00
parent 470d3beaa7
commit 3961a9c3fb
2 changed files with 37 additions and 37 deletions

View File

@ -85,4 +85,41 @@ blockquote {
.md-up {
display: none;
}
}
// map of election district feature
#election_map svg {
height: auto;
width: 100%;
margin: 0 auto;
display: block;
}
#election_map g {
fill: #ccc;
}
#election_map g:visited {
/*fill: #fc0 !important;*/
fill: #fc0;
}
#election_map g:hover, #election_map g.active {
fill: #228B22;
cursor: pointer;
}
#election_map g:active {
fill: #fc0;
}
.info_panel {
background-color: rgba(255,255,255, .8);
/*background-color: rgba(255,204,0, .8);*/
padding: 5px;
font-size: 10px;
position: absolute;
border: 1px solid #333;
color: #333;
white-space: nowrap;
}

View File

@ -1,40 +1,3 @@
@charset "UTF-8";
// non-critical CSS
// map of election district feature
#election_map svg {
height: auto;
width: 100%;
margin: 0 auto;
display: block;
}
#election_map g {
fill: #ccc;
}
#election_map g:visited {
/*fill: #fc0 !important;*/
fill: #fc0;
}
#election_map g:hover, #election_map g.active {
fill: #228B22;
cursor: pointer;
}
#election_map g:active {
fill: #fc0;
}
.info_panel {
background-color: rgba(255,255,255, .8);
/*background-color: rgba(255,204,0, .8);*/
padding: 5px;
font-size: 10px;
position: absolute;
border: 1px solid #333;
color: #333;
white-space: nowrap;
}