]> nos-oignons.net Git - website.git/blobdiff - Services.mdwn
Responsive, 1ere passe.
[website.git] / Services.mdwn
index 7339fa4d20f52ba7c581f5beb8291fb654454b5c..9d59bd47634ba7b98169d8cccfd60bc84511c3f9 100644 (file)
 
 var content = d3.select("#content");
 var consensus_figure = content.append("figure")
-  .style("margin", "0")
-  .style("width", "45%")
-  .style("float", "left")
-  .style("text-align", "center");
+  .attr('class', 'graph graph-consensus')
 consensus_figure.append("span")
   .attr("id", "consensus-pie");
 consensus_figure.append("figcaption")
   .text(L10n.consensus_weight);
 
 var exit_figure = content.append("figure")
-  .style("margin", "0 5% 0 0")
-  .style("width", "44%")
-  .style("float", "left")
-  .style("text-align", "center");
+  .attr('class', 'graph graph-exit')
 exit_figure.append("span")
   .attr("id", "exit-pie");
 exit_figure.append("figcaption")