summaryrefslogtreecommitdiff
path: root/src/data
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-06-06 19:34:38 +0200
committerAndrea Diamantini <adjam7@gmail.com>2013-06-06 19:36:00 +0200
commit894b79f5ffd816962fe38207d40bf05274490498 (patch)
tree8dd839b36abe49688f5e8b89c8a61921989607f4 /src/data
parentRemember to save zoom settings on change (diff)
downloadrekonq-894b79f5ffd816962fe38207d40bf05274490498.tar.xz
Use webkit general font to render rekonq pages
BUG: 320318
Diffstat (limited to 'src/data')
-rw-r--r--src/data/CMakeLists.txt7
-rw-r--r--src/data/Nunito-Regular.ttfbin49792 -> 0 bytes
-rw-r--r--src/data/home.html13
-rw-r--r--src/data/rekonqinfo.html11
4 files changed, 7 insertions, 24 deletions
diff --git a/src/data/CMakeLists.txt b/src/data/CMakeLists.txt
index f3609634..ea7d05c7 100644
--- a/src/data/CMakeLists.txt
+++ b/src/data/CMakeLists.txt
@@ -13,13 +13,6 @@ INSTALL(
DESTINATION ${DATA_INSTALL_DIR}/rekonq/pics
)
-# fonts files
-INSTALL(
- FILES
- Nunito-Regular.ttf
- DESTINATION ${DATA_INSTALL_DIR}/rekonq/fonts
-)
-
# default bookmarks
INSTALL(
FILES
diff --git a/src/data/Nunito-Regular.ttf b/src/data/Nunito-Regular.ttf
deleted file mode 100644
index 3b0f067c..00000000
--- a/src/data/Nunito-Regular.ttf
+++ /dev/null
Binary files differ
diff --git a/src/data/home.html b/src/data/home.html
index 4f4eb7ba..428030c6 100644
--- a/src/data/home.html
+++ b/src/data/home.html
@@ -8,6 +8,7 @@ To let it work you need to set also some variables
about (prepend a $ to actually use them):
DEFAULT_PATH = rekonq default installation files path
+GENERAL_FONT = general font family
...
-->
@@ -23,20 +24,14 @@ DEFAULT_PATH = rekonq default installation files path
/* -------------------------------------------------------- */
/* generic styles */
-@font-face {
- font-family: 'Nunito';
- src: url($DEFAULT_PATH/fonts/Nunito-Regular.ttf);
- font-weight: normal;
- font-style: normal;
-}
-
html {
height:100%;
}
body {
background: url($DEFAULT_PATH/pics/background.png) repeat-y center #fff;
- font-family: 'Nunito', sans-serif;
+ font-family: $GENERAL_FONT;
+ font-weight: 500;
font-size: 0.9em;
}
@@ -65,7 +60,7 @@ a:hover {
input {
min-width: 180px;
- font-family: 'Nunito', sans-serif;
+ font-family: $GENERAL_FONT;
font-size: 0.8em;
}
diff --git a/src/data/rekonqinfo.html b/src/data/rekonqinfo.html
index 1bf77ac1..861b6f35 100644
--- a/src/data/rekonqinfo.html
+++ b/src/data/rekonqinfo.html
@@ -10,6 +10,7 @@ about (prepend a $ to actually use them):
DEFAULT_PATH = rekonq default installation files path
PAGE_TITLE = page title
MAIN_CONTENT = page main content
+GENERAL_FONT = general font family
...
-->
@@ -27,18 +28,12 @@ html{
padding:0;
}
-@font-face {
- font-family: 'Nunito';
- src: url($DEFAULT_PATH/fonts/Nunito-Regular.ttf);
- font-weight: normal;
- font-style: normal;
-}
-
body{
background: url($DEFAULT_PATH/pics/background.png) repeat-y center #bbb;
margin:0;
padding:0;
- font-family: 'Nunito', sans-serif;
+ font-family: $GENERAL_FONT;
+ font-weight: 500;
font-size: 0.9em;
}