From 82c4a580228454532e1258220da2757f8addd543 Mon Sep 17 00:00:00 2001 From: Julian Depetris Chauvin Date: Mon, 2 Apr 2012 14:57:32 -0300 Subject: [PATCH] Improved Babylon CSS style to look more similar --- article-style-st-babylon.css | 63 ++++++++++++++++++++++++++++++++---- qt-style-st-babylon.css | 4 +++ 2 files changed, 61 insertions(+), 6 deletions(-) diff --git a/article-style-st-babylon.css b/article-style-st-babylon.css index 233ea9e3..1390add6 100644 --- a/article-style-st-babylon.css +++ b/article-style-st-babylon.css @@ -1,6 +1,57 @@ -body{background: ##FFFFFF;font-size: 16px;} -::selection{background:#4492E8;color:#fff;} -.gddictname{border:none;background:#EBEBEB;border-top-left-radius:8px;border-top-right-radius:8px;padding-top:8px;padding-bottom:5px} -.gddicticon{display:inline;padding-right:2px;} -.gddicticon img{border:0;height:16px;} -.gdfromprefix{display:none} +body +{ + background: white; + font-size: 13px; +} + +h3 { + font-size: 1em; +} + +::selection +{ + background: #4492E8; + color: white; +} + +/* Dictionary's name heading */ +.gddictname +{ + font-weight: normal; + font-size: 11px; + border: none; + border-top-left-radius: 8px; + border-top-right-radius: 0px; + background: #F0EDED; + padding-top: 5px; + padding-bottom: 5px; +} + +.gddicticon +{ + display: inline; + padding-right: 5px; +} + +.gddicticon img +{ + border: 0; + height: 16px; + vertical-align: text-top; +} + +/* The 'From ' string which preceeds dictionary name in the heading */ +.gdfromprefix +{ + display: none; +} + +.bglpos { color: black; font-weight: bold; font-size: 11px; background: #F0EDED; display: inline; } + +.bgltrn { color: #808080; font-size: 12px; display: inline; } + +a, .mwiki a +{ + color: #0066CC; +} + diff --git a/qt-style-st-babylon.css b/qt-style-st-babylon.css index 4e738c45..c950ab91 100644 --- a/qt-style-st-babylon.css +++ b/qt-style-st-babylon.css @@ -3,3 +3,7 @@ MainWindow #searchPane #translateLine, MainWindow #searchPane #wordList, MainWin background: white; } +MainWindow #searchPane #translateLine +{ + font-weight: bold; +}