From a825614bc7af832d8aea23e9e9bddf50077c7749 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Fri, 13 Sep 2013 13:59:55 +0300 Subject: [PATCH] Document title improvement. Closes #37 --- css/style.css | 11 +++++++---- js/documents.js | 4 ++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/css/style.css b/css/style.css index 5b4000d2..3768e95c 100755 --- a/css/style.css +++ b/css/style.css @@ -91,14 +91,17 @@ } #document-title{ - position: relative; + position: absolute; top: 6px; - width:50%; - margin:0 auto -14px auto; + left:50%; + margin:0; text-align: center; font-weight: bold; } - +#document-title div{ + position: relative; + margin-left:-50%; +} #odf-close{ float: right; } diff --git a/js/documents.js b/js/documents.js index 1d1a4457..7ae33873 100644 --- a/js/documents.js +++ b/js/documents.js @@ -44,9 +44,9 @@ var documentsMain = { ' ' + - '
' + + '
' + documentsMain.documentTitle + - '
' + + '
' + ' ' +