From c9af2fbdcaa8c6bc8c7dca56c679ed50298ac609 Mon Sep 17 00:00:00 2001 From: Menci Date: Sun, 27 Nov 2016 20:42:22 +0800 Subject: [PATCH] Add style for code tag --- static/style.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/static/style.css b/static/style.css index aea2f3d..7f37cad 100644 --- a/static/style.css +++ b/static/style.css @@ -119,3 +119,12 @@ th { .score { text-shadow: 0 0 0.1px; } + +/* code tag */ +:not(pre) > code { + background: #E0E1E2; + padding: 2px; + border-radius: 2px; + color: rgba(0, 0, 0, 0.6); + font-size: 0.85em; +}