Moved css to critical file
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -85,4 +85,41 @@ blockquote {
|
|||||||
.md-up {
|
.md-up {
|
||||||
display: none;
|
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;
|
||||||
}
|
}
|
||||||
@ -1,40 +1,3 @@
|
|||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
|
||||||
// non-critical CSS
|
// 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;
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user