diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2007-07-22 15:54:40 +0000 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2007-07-22 15:54:40 +0000 |
commit | 9b898a713707b6ff09f2550307a2d23ae248cd1b (patch) | |
tree | 05430971d74b5941a2c322c42d2c258fff186c65 /themes | |
parent | d989420a0c316a8c1f9a643418669496f807094b (diff) |
issue59, removed some unnecessary tables and placed <div> instead
git-svn-id: file:///var/lib/svn/phpfspot/trunk@243 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/stylesheet.css | 24 | ||||
-rw-r--r-- | themes/default/templates/index.tpl | 34 |
2 files changed, 22 insertions, 36 deletions
diff --git a/themes/default/stylesheet.css b/themes/default/stylesheet.css index 4fd3b5c..e6635b8 100644 --- a/themes/default/stylesheet.css +++ b/themes/default/stylesheet.css @@ -1,15 +1,12 @@ body {
- background-color: #000000;
color: rgb(26,151,15);
font-family: sans-serif;
font-style: normal;
- border: solid 1px #ffffff;
- border-color: rgb(15,15,15);
- padding: 10px;
+ margin-left: 0px;
+ margin-right: 0px;
}
body.slideshow {
- background-color: #ffffff;
color: rgb(26,151,15);
font-family: sans-serif;
font-style: normal;
@@ -30,7 +27,7 @@ td.options { width: 250px;
max-width: 250px;
min-width: 250px;
- padding: 2px;
+ padding: 5px;
padding-top: 8px;
border-top: solid 1px #000000;
border-right: solid 1px #000000;
@@ -54,9 +51,10 @@ td.searchfor { vertical-align: middle;
}
-td.logo {
+.logo {
font-weight: bolder;
- height: 40px;
+ padding: 5px;
+ height: 30px;
border-bottom: solid 1px #000000;
}
@@ -64,9 +62,8 @@ td.content { border-top: solid 1px #000000;
}
-td.menu {
- padding-top: 5px;
- padding-bottom: 5px;
+.menu {
+ padding: 5px;
}
td.index_header {
@@ -175,11 +172,6 @@ td.thumb { border: dashed 1px #888888;
}
-#frame {
- padding: 10px;
- background-color: #ffffff;
-}
-
#available_tags {
clip: auto;
overflow: auto;
diff --git a/themes/default/templates/index.tpl b/themes/default/templates/index.tpl index f42a124..136659e 100644 --- a/themes/default/templates/index.tpl +++ b/themes/default/templates/index.tpl @@ -1,26 +1,21 @@ {include file="header.tpl"} <body onload="init_phpfspot();"> - <div id="frame"> + <div class="logo" colspan="2"> + {$page_title} + </div> + <div class="menu"> + <a href="javascript:showPhotoIndex();" onclick="click(this);" title="Show Photo Index"> + <img src="resources/photo_index.png" alt="photo index" /> + </a> + <a href="javascript:resetAll();" onclick="click(this);" title="Reset selected-tags and search results"> + <img src="resources/reload.png" alt="reset tags" /> + </a> + <a href="javascript:showCredits();" onclick="click(this);" title="Show's a little credit page"> + <img src="resources/credits.png" alt="show credits" /> + </a> + </div> <table> <tr> - <td class="logo" colspan="2"> - {$page_title} - </td> - </tr> - <tr> - <td colspan="2" class="menu"> - <a href="javascript:showPhotoIndex();" onclick="click(this);" title="Show Photo Index"> - <img src="resources/photo_index.png" alt="photo index" /> - </a> - <a href="javascript:resetAll();" onclick="click(this);" title="Reset selected-tags and search results"> - <img src="resources/reload.png" alt="reset tags" /> - </a> - <a href="javascript:showCredits();" onclick="click(this);" title="Show's a little credit page"> - <img src="resources/credits.png" alt="show credits" /> - </a> - </td> - </tr> - <tr> <td class="options"> <table> <tr> @@ -44,7 +39,6 @@ </td> </tr> </table> - </div> <div style="text-align: right; font-size: 10px; color: #ffffff"> Licensed under GPLv3, <a href="http://oss.netshadow.at/oss/phpfspot/Project" style="font-size: 10px; color: #ffffff">phpfspot</a> </div> |