From 885ba3479f1b57cb8001ed9db7b5abb76f1d35bb Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sep 06 2017 10:21:06 +0000 Subject: Apply the CSS on tables created in markdown and rendered in html Fixes https://pagure.io/pagure/issue/2265 Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/static/pagure.css b/pagure/static/pagure.css index 3466f7e..6542064 100644 --- a/pagure/static/pagure.css +++ b/pagure/static/pagure.css @@ -23,16 +23,25 @@ html border-bottom:1px solid #DDD; } -.issue_comment table { +.issue_comment table, +.readme table, +.card .m-a-2 table +{ margin-bottom: 1em; } -.issue_comment table, .issue_comment th, .issue_comment td { +.issue_comment table, .issue_comment th, .issue_comment td, +.readme table, .readme th, .readme td, +.card table, .card th, .card td +{ border: 1px solid #e5e5e5; padding: .35em; } -.issue_comment th { +.issue_comment th, +.readme th, +.card th +{ background-color: #f5f5f5; }