From 1f702beb740e967fb3c04d16d8dd1b2832f735ce Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sat, 12 Apr 2025 20:49:12 -0700 Subject: [PATCH] style: Improve legibility of numbers in leaderboard table cells --- aider/website/docs/leaderboards/index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aider/website/docs/leaderboards/index.md b/aider/website/docs/leaderboards/index.md index 1bfe963ec..90a67c46d 100644 --- a/aider/website/docs/leaderboards/index.md +++ b/aider/website/docs/leaderboards/index.md @@ -134,10 +134,10 @@ The model also has to successfully apply all its changes to the source file with .bar-cell span { position: relative; /* Needed to stack above the absolute positioned bar */ z-index: 1; /* Ensure text is above the bar */ - /* Optional: Add padding or background for better readability */ - /* background-color: rgba(255, 255, 255, 0.7); */ - /* padding: 0 2px; */ - /* border-radius: 2px; */ + background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white background */ + padding: 0 4px; /* Add padding around the text */ + border-radius: 3px; /* Rounded corners for the text background */ + box-shadow: 0 0 2px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */ }