title: How to change colour of only used borders in html table?
body: <p>I have this table in my Rmd presentation:</p>
  
  <p><a href="https://i.stack.imgur.com/8p0Lw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8p0Lw.png" alt="enter image description here"></a></p>
  
  <p>that was obtained doing <code>stargazer(fit, type = "html")</code></p>
  
  <p>I tried to include css in my Rmd like:</p>
  
  <p><code>table, th, td {border: 1px solid white;}</code></p>
  
  <p>And the result is:</p>
  
  <p><a href="https://i.stack.imgur.com/RcTfU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RcTfU.png" alt="enter image description here"></a></p>
  
  <p>I want to re-colour just actually used borders. Like this (photoshop edited):</p>
  
  <p><a href="https://i.stack.imgur.com/X92s4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/X92s4.png" alt="enter image description here"></a></p>
  
  <p>My idea is to do this using css because I have more than 40 tables. How can I do that?</p>