From: Thomas Monjalon Date: Mon, 20 Feb 2017 16:04:14 +0000 (+0100) Subject: doc: highlight pointed column in NIC overview table X-Git-Tag: spdx-start~4456 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f229692d239df0ce6af64633c876eab930d03fed;p=dpdk.git doc: highlight pointed column in NIC overview table Every cells of a driver column are painted in yellow. The trick is to generate some empty content as a big column above and below the pointed cell. The position: relative attribute is used for the highlight position but it makes the border to disappear. The overflow: hidden attribute is used to mask the generated content outside of the table. The class .wy-nav-content has a background which masks the highlighting. Setting an opacity lower than 1, creates a new stack context and let the column highlight to be shown. The background of odd rows was grey and opaque. It is redefined with a transparent alpha ratio in order to see highlighting on such rows. Signed-off-by: Thomas Monjalon Acked-by: Ferruh Yigit Acked-by: John McNamara --- diff --git a/doc/guides/nics/overview.rst b/doc/guides/nics/overview.rst index a8a8f26c98..afb65038b0 100644 --- a/doc/guides/nics/overview.rst +++ b/doc/guides/nics/overview.rst @@ -53,8 +53,12 @@ Most of these differences are summarized below. .. raw:: html