summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/home.html13
-rw-r--r--src/homepage.cpp6
2 files changed, 9 insertions, 10 deletions
diff --git a/data/home.html b/data/home.html
index 1a193b07..abd3e56d 100644
--- a/data/home.html
+++ b/data/home.html
@@ -23,7 +23,7 @@ text-align: center;
}
h1{
-font: normal bold 1.5em sans-serif;
+font: normal bold 2em sans-serif;
text-align:right;
color: #3F7AB7;
margin-right:3%;
@@ -34,8 +34,7 @@ float:right;
h2{
font: normal bold 1.2em sans-serif;
color: #3F7AB7;
-text-align: left;
-margin: 20px 20px 20px 22px;
+margin-top: 2em;
}
h3{
@@ -68,6 +67,7 @@ width: 100%;
#navigation {
margin-top: 1%;
+margin-bottom: 4%;
text-align: center;
}
@@ -119,7 +119,6 @@ padding: 14px 16px;
-webkit-background-clip: padding;
cursor: pointer;
}
-
.thumbnail a {
display: block;
text-align: center;
@@ -143,11 +142,11 @@ margin-bottom: 0.5em;
<body>
<div id="container">
-%2
<div id="navigation">
-%3
+<h1>rekonq</h1>
+%2
</div>
-<div id="content">%4</div>
+<div id="content">%3</div>
</div>
</body>
diff --git a/src/homepage.cpp b/src/homepage.cpp
index e6d75d98..6aef42a9 100644
--- a/src/homepage.cpp
+++ b/src/homepage.cpp
@@ -74,7 +74,7 @@ QString HomePage::rekonqHomePage(const KUrl &url)
QString imagesPath = QString("file://") + KGlobal::dirs()->findResourceDir("data", "rekonq/pics/bg.png") + QString("rekonq/pics");
QString menu = homePageMenu(url);
- QString title, speed;
+ QString speed;
if(url == KUrl("rekonq:lastSites"))
{
speed = lastVisitedSites();
@@ -94,7 +94,6 @@ QString HomePage::rekonqHomePage(const KUrl &url)
QString html = QString(QLatin1String(file.readAll()))
.arg(imagesPath)
- .arg(title)
.arg(menu)
.arg(speed)
;
@@ -203,6 +202,7 @@ QString HomePage::homePageMenu(KUrl currentUrl)
menu += "<img src=\"file:///" + loader->iconPath("view-history", KIconLoader::Desktop) + "\" />";
menu += "History</a></div>";
+
return menu;
}
@@ -264,7 +264,7 @@ QString HomePage::createBookItem(const KBookmark &bookmark)
QString result = QString("");
KBookmarkGroup group = bookmark.toGroup();
KBookmark bm = group.first();
- result += "<h4>" + bookmark.text() + "</h4>";
+ result += "<h3>" + bookmark.text() + "</h3>";
result += "<p class=\"bookfolder\">";
while (!bm.isNull())
{