From 3165dcbbdb7f0219d75eed96fe2d0eed9ae8aa31 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Wed, 17 Oct 2012 11:38:51 +0200 Subject: [PATCH] Let's just use a browser-native font Provides faster rendering and looks a bit better with capital letters (SOME_C_MACRO_IDENTIFIER) and short code examples. --- style.css | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/style.css b/style.css index 04c0508..420dd8a 100644 --- a/style.css +++ b/style.css @@ -1,18 +1,6 @@ -/* font-face code from http://fonts.googleapis.com/css?family=Buenard:700,400 */ -@font-face { - font-family: 'Buenard'; - font-style: normal; - font-weight: bold; - src: local('Buenard Bold'), local('Buenard-Bold'), url('http://themes.googleusercontent.com/static/fonts/buenard/v2/8T0adwz_RAtKrxbccQmEFC3USBnSvpkopQaUR-2r7iU.ttf') format('truetype'); -} -@font-face { - font-family: 'Buenard'; - font-style: normal; - font-weight: 400; - src: local('Buenard'), local('Buenard-Regular'), url('http://themes.googleusercontent.com/static/fonts/buenard/v2/UUYHasP8umGDjV-yeZf27Q.ttf') format('truetype'); -} html,body { background: #ccc; text-align: center; height: 100% } -* { margin: 0; padding: 0; font: 15px 'Buenard',serif; color: #222 } +* { margin: 0; padding: 0; font: 13px 'Verdana',serif; color: #222 } +#left li a, h1, h1 a, h2, h2 a, h3, h3 a, h4, h5 { font-family: sans-serif } #body { text-align: left; width: 800px; margin: 0 auto; background: #fff; border-left: 1px solid #aaa; border-right: 1px solid #aaa; min-height: 100% } #uglyhack { height: 30px } #main, #left { float: left; border-top: 0px dashed #aaa, margin-top: 50px } @@ -20,16 +8,17 @@ html,body { background: #ccc; text-align: center; height: 100% } #main { width: 629px; padding: 12px 20px 30px 20px } #footer { clear: left; width: 150px; margin: 0 0 0 324px; border-top: 1px dashed #aaa; height: 20px; text-align: center } #footer p { position: relative; top: -10px; padding: 0; background: #fff; display: inline; color: #aaa } +#left li a { font-size: 14px } #left h1 { font-weight: bold; text-align: center; font-size: 15px; margin-bottom: 20px } #left li { margin: 0 0 20px 10px; list-style-type: none } #left li a { text-decoration: none; display: block; width: 100px; border-bottom: 1px solid #fff } #left li a:hover { border-bottom: 1px dashed #aaa } #left li li { margin-top: 10px; margin-bottom: 0 } #left li li a { width: 90px } -#left li a.small { font-size: 12px } +#left li a.small { font-size: 10px } #left .menusel { color: #03a } #left .notes { margin-top: 50px; text-align: center } -#left .notes, #left .notes a { font-size: 12px; text-decoration: none } +#left .notes, #left .notes a { font-size: 9px; text-decoration: none } #left .notes a:hover { text-decoration: underline } img.right { float: right; margin: 0 0 5px 10px } .indexgroup { margin: 30px 10px 0px 20px } @@ -55,9 +44,9 @@ pre { background: #f5f5f5; border: 1px dotted #aaa; margin: 5px 10px; display: b dd { margin-left: 15px } dt a { color: #333 } dt { margin-left: 10px } -i { font-style: normal } /* TODO */ +i { font-style: italic } .sig { vertical-align: super } -.sig, .sig a { font-size: 12px; color: #333; text-decoration: none } +.sig, .sig a { font-size: 9px; color: #333; text-decoration: none } textarea, input, select { background: #fcfcfc; color: #000; border: 1px solid #999 } textarea:focus, input:focus { background: #fff } @@ -87,5 +76,4 @@ table thead td { font-weight: bold } .bug_frm textarea { width: 100%; height: 200px } .bug_frm_submit input { float: right; width: 200px } .bug_filter { display: block; width: 100%; text-align: right; margin: 0; } - .bug_status dt::after, .bug_item dt::after, .bug_frm label::after { content: ":" }