Moving SVG CSS to the main page CSS

This commit is contained in:
Jeff Avallone 2016-03-10 16:52:57 -05:00
parent 61c45cfae3
commit ac0389c7fa
3 changed files with 52 additions and 53 deletions

View File

@ -1,12 +1,10 @@
<div class="svg"> <div class="svg">
<svg <svg
class="regexp-svg"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
xmlns:cc="http://creativecommons.org/ns#" xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
version="1.1"> version="1.1">
<defs>
<style type="text/css">{{> svg_styles}}</style>
</defs>
<metadata> <metadata>
<rdf:RDF> <rdf:RDF>
<cc:License rdf:about="http://creativecommons.org/licenses/by/3.0/"> <cc:License rdf:about="http://creativecommons.org/licenses/by/3.0/">

View File

@ -1,5 +1,6 @@
@import 'base'; @import 'base';
@import 'reset'; @import 'reset';
@import 'svg';
body { body {
font-family: sans-serif; font-family: sans-serif;

View File

@ -1,8 +1,7 @@
@import 'base'; @import 'base';
svg { svg.regexp-svg {
background-color: $white; background-color: $white;
}
text, tspan { text, tspan {
font: 12px Arial; font: 12px Arial;
@ -65,3 +64,4 @@ circle {
.quote { .quote {
fill: $light-gray; fill: $light-gray;
} }
}