diff --git a/pies/_pie-charts.scss b/pies/_pie-charts.scss new file mode 100644 index 0000000..28d8242 --- /dev/null +++ b/pies/_pie-charts.scss @@ -0,0 +1,33 @@ +:root{ + --pie-size:300; + --pie-bg:#3434AF; + --red:#ed3457; + --green:#248991; + --orange:#ed8724; + --line-color:#cecece; +} + +.pie,.target { + border-radius: 100%; + position: relative; +} +.pie { + height: calc( var(--pie-size,200) * 1px ); + width: calc( var(--pie-size,200) * 1px ); + background-color:var(--pie-bg,black); + top:5px; + left:5px; +} +.target { + height: calc( (var(--pie-size,200) + 10) * 1px ); + width: calc( (var(--pie-size,200) + 10) * 1px ); + background-color:var(--line-color,grey); +} + +.references { + position:fixed; + bottom:0; + left:0; + right:0; + background-color:var(--line-color); +} diff --git a/pies/index.html b/pies/index.html index a392c15..ddfc939 100644 --- a/pies/index.html +++ b/pies/index.html @@ -4,47 +4,12 @@ +