From 256bd6cb86f80d10302ffc814aea7db400ada79b Mon Sep 17 00:00:00 2001 From: xtcsvirus Date: Mon, 13 Oct 2014 08:52:39 +0200 Subject: [PATCH] Fixed line height and added line hinting. --- public/ng/css/gogs.css | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css index 6b33aa9bb..050072eb7 100644 --- a/public/ng/css/gogs.css +++ b/public/ng/css/gogs.css @@ -1380,13 +1380,15 @@ The register and sign-in page style width: 1%; } .code-view .lines-num span { - font-family: Monaco, Menlo, Consolas, "Courier New", monospace; - line-height: 18px; - padding: 0 8px 0 10px; + font-family: Monaco,Menlo,Consolas,"Courier New",monospace; + line-height: 1.6; + padding: 0 10px; cursor: pointer; display: block; - margin-top: 2px; - font-size: 12px; +} +.code-view .lines-num span:hover { + background-color: #FFFFDD; + color: #000000; } .code-view .lines-code > pre { border: none;