From 89c5e92c43be1fb3ac210c2f779ebe98c5656337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=82=88?= Date: Wed, 18 Mar 2020 00:14:25 +0800 Subject: [PATCH] Improve a11y of the index page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 王邈 --- _includes/nav.html | 14 +++++++------- _layouts/index.html | 2 +- static/css/_bootstrap-mod.scss | 7 +++++++ 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/_includes/nav.html b/_includes/nav.html index 18d7cf0..9053418 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -28,13 +28,13 @@ 清华大学开源软件镜像站 diff --git a/_layouts/index.html b/_layouts/index.html index 6f5db49..ab08a40 100644 --- a/_layouts/index.html +++ b/_layouts/index.html @@ -51,7 +51,7 @@ + :data-content="mir.description" :href="getURL(mir)" :aria-label="mir.name + ', ' + mir.description"> {{mir.name}} new diff --git a/static/css/_bootstrap-mod.scss b/static/css/_bootstrap-mod.scss index d7a8436..7ecba5b 100644 --- a/static/css/_bootstrap-mod.scss +++ b/static/css/_bootstrap-mod.scss @@ -116,6 +116,13 @@ code{ border-bottom: 1px solid #ffffff; margin-bottom: 25px; } + +table .row{ + &:before, &:after{ + content: none; + } +} + @include dark{ .popover{ background-color: #282828;