Skip to content

Commit

Permalink
add background color for table header and odd rows
Browse files Browse the repository at this point in the history
There are extra wide tables on the following pages:

 observations/obs_converters/Ameriflux/level4_to_obs.html
 observations/obs_converters/ROMS/ROMS.html
 observations/obs_converters/SST/SST.html
 theory/readme.html
 models/tiegcm/readme.html

These tables go over the edge of the text area.
The coloring of the table rows, vs transparent is to make these
extra wide tables not show the ncar waves image behind the table.

In the future we may want a better solution for these super wide
tables:

* not use tables
* have wy-nav-content {max-width: none;}  so people can resize the
  text to the width they want by resizing the window.
* Have more responive tables within readthedocs.  It is not clear
  how responisive readthedocs is designed to be, for example when
  clicking on the menu in mobile mode.
  • Loading branch information
hkershaw-brown committed Apr 7, 2021
1 parent 12f9ffb commit 8b2c68a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions guide/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@ body {font-family: Roboto, Arial, Helvetica, sans-serif; font-weight:400; color:
overflow: visible !important;
}


div.section thead, th
{
background-color: #FFFFFF;
}

div.section tr.row-odd
{
background-color: #FFFFFF;
}

footer div[role=contentinfo] { color: #616161; }

a {color: #007FA3; }
Expand Down

0 comments on commit 8b2c68a

Please sign in to comment.