From 3961a9c3fb474326e6f9822319e47e19b9764421 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Tue, 30 Apr 2019 21:17:22 +0200 Subject: [PATCH] Moved css to critical file Signed-off-by: Jim Martens --- _assets/css/critical.scss | 37 +++++++++++++++++++++++++++++++++++++ _assets/css/main.scss | 37 ------------------------------------- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/_assets/css/critical.scss b/_assets/css/critical.scss index 96d689b..9befba2 100644 --- a/_assets/css/critical.scss +++ b/_assets/css/critical.scss @@ -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; } \ No newline at end of file diff --git a/_assets/css/main.scss b/_assets/css/main.scss index 8b8c3e1..232c920 100644 --- a/_assets/css/main.scss +++ b/_assets/css/main.scss @@ -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; -}