From e8740d2454dc5670113051a4fb69943cf67b2f66 Mon Sep 17 00:00:00 2001 From: ashmod Date: Tue, 13 Jan 2026 14:07:38 +0200 Subject: [PATCH 1/2] blogpost table style --- gcp/website/frontend3/src/styles.scss | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gcp/website/frontend3/src/styles.scss b/gcp/website/frontend3/src/styles.scss index da501ef6109..f58bc49c25b 100644 --- a/gcp/website/frontend3/src/styles.scss +++ b/gcp/website/frontend3/src/styles.scss @@ -20,6 +20,7 @@ $osv-heading-line-height: 70px; $osv-heading-line-height-mobile: 50px; $osv-mobile-breakpoint: 500px; $osv-border-radius-small: 4px; +$osv-border-color: #555; @use '@material/theme' with ($surface: $osv-background, ); @@ -1800,6 +1801,23 @@ div.highlight { max-width: 800px; width: 100%; margin: 0 auto; + + table { + width: 100%; + margin: 1em 0; + + th, + td { + padding: 0.75em 1em; + text-align: left; + border: 1px solid $osv-border-color; + } + + th { + font-weight: 600; + background: rgba(255, 255, 255, 0.05); + } + } } .author { From 1c5ae74547873101cf31a6c741292aa61a9c4acb Mon Sep 17 00:00:00 2001 From: ashmod Date: Tue, 13 Jan 2026 20:23:05 +0200 Subject: [PATCH 2/2] update th bg color --- gcp/website/frontend3/src/styles.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcp/website/frontend3/src/styles.scss b/gcp/website/frontend3/src/styles.scss index f58bc49c25b..ec4f01c4031 100644 --- a/gcp/website/frontend3/src/styles.scss +++ b/gcp/website/frontend3/src/styles.scss @@ -1815,7 +1815,7 @@ div.highlight { th { font-weight: 600; - background: rgba(255, 255, 255, 0.05); + background: $osv-grey-800; } } }