From ee7d494fd79f4d5bd0466076026f8843a62dd354 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 13 2015 08:02:16 +0000 Subject: Multiple CSS fixes - Merge the two fields we had for textarea and make them use monospace fonts at a size of 120% - Ensure the links to the user and row number remain readable when hovering over - Make the lineNum use monospace font at a size of 120% - Give some space to the break row inserted near the textarea when doing online editing - Use monospace fonts for comment and issue_content at a size of 120% Fixes https://pagure.io/pagure/issue/427 --- diff --git a/pagure/static/pagure.css b/pagure/static/pagure.css index c96a3f3..df70d53 100644 --- a/pagure/static/pagure.css +++ b/pagure/static/pagure.css @@ -30,7 +30,10 @@ pre, code { } textarea { - font-size: 100%; + font-family: monospace; + font-size: 120%; + border: 1px #ccc solid; + background: rgba(255, 255, 255, 0.5); } button { @@ -41,11 +44,6 @@ select { font-size: 100%; } -textarea { - border: 1px #ccc solid; - background: rgba(255, 255, 255, 0.5); -} - td, th { padding: .1em .2em; } @@ -945,8 +943,7 @@ span.CONFLICTS { color: #0066CC!important; } -.tabs .commit_list a:hover, -.tabs .ui-widget-content table tr:hover > td a +.tabs #commit_list table tr:hover > td a { color: white!important; } @@ -990,13 +987,23 @@ span.CONFLICTS { left: 0; position: absolute; text-align: right; - top: 0; + margin-top: 0.4px; width: 27px; - font-size: 92.3%; line-height: 100%; + font-family: monospace; + font-size: 120% +} + +.lineNum br { + margin-top: 2px; } #commit_block { padding-top: 2em; padding-left: 2em; } + +#issue_content, #comment { + font-family: monospace; + font-size: 120%; +}