From 38e02850616cb80fb20306f6b115bf159b5f38ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sun, 24 Sep 2023 00:59:25 +0200 Subject: [PATCH] markdown: add interlace color for tables #648 --- exampleSite/content/basics/migration/_index.en.md | 2 ++ static/css/theme.css | 3 +++ 2 files changed, 5 insertions(+) diff --git a/exampleSite/content/basics/migration/_index.en.md b/exampleSite/content/basics/migration/_index.en.md index a38b596779..a04adedaa7 100644 --- a/exampleSite/content/basics/migration/_index.en.md +++ b/exampleSite/content/basics/migration/_index.en.md @@ -38,6 +38,8 @@ This document shows you what's new in the latest release. For a detailed list of - {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The output of the dedicated search page now displays the result's breadcrumb. +- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Table rows now change their background color on every even row. + --- ## 5.21.0 (2023-09-18) {#5210} diff --git a/static/css/theme.css b/static/css/theme.css index 0ad455d5e5..a54474d6bf 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -826,6 +826,9 @@ td { border: 1px solid rgba( 134, 134, 134, .333 ); padding: 0.5rem; } +tbody > tr:nth-child(even) > td { + background-color: rgba( 134, 134, 134, .045 ); +} .tooltipped { position: relative;