From 133ce52d3b7fb4c653ac7195d681e0201c1cf38d Mon Sep 17 00:00:00 2001 From: Tom Beddard Date: Thu, 19 Jan 2006 23:50:58 +0000 Subject: [PATCH] Further tweaks to the font sizes - looks nice on Windows and the Mac, IE and Firefox (the current area51 font settings are different from the CVS version). Note: Globally resetting the padding and margins is by far the easiest approach for cross browser & platform consistency. Also split each post pane on the viewtopic page to prevent a single wide non-wrapping post from spoiling the other posts. git-svn-id: file:///svn/phpbb/trunk@5477 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/styles/subSilver/template/bbcode.html | 15 +--- .../subSilver/template/memberlist_body.html | 12 ++-- .../subSilver/template/ucp_attachments.html | 8 +-- .../subSilver/template/viewforum_body.html | 6 +- .../subSilver/template/viewonline_body.html | 6 +- .../subSilver/template/viewtopic_body.html | 22 +++--- phpBB/styles/subSilver/theme/stylesheet.css | 70 +++++++++---------- 7 files changed, 68 insertions(+), 71 deletions(-) diff --git a/phpBB/styles/subSilver/template/bbcode.html b/phpBB/styles/subSilver/template/bbcode.html index 2a4da372dd..b7e54805b8 100644 --- a/phpBB/styles/subSilver/template/bbcode.html +++ b/phpBB/styles/subSilver/template/bbcode.html @@ -9,7 +9,7 @@ -
{USERNAME} {L_WROTE}:
+
{USERNAME} {L_WROTE}:
@@ -29,20 +29,11 @@ -
- - - - - - - -
{L_ATTACHMENT}:
+
{L_ATTACHMENT}:
-
-
+
diff --git a/phpBB/styles/subSilver/template/memberlist_body.html b/phpBB/styles/subSilver/template/memberlist_body.html index 2e166a3baa..bfe80719cf 100644 --- a/phpBB/styles/subSilver/template/memberlist_body.html +++ b/phpBB/styles/subSilver/template/memberlist_body.html @@ -30,13 +30,13 @@ - - - - + + + + - - + + diff --git a/phpBB/styles/subSilver/template/ucp_attachments.html b/phpBB/styles/subSilver/template/ucp_attachments.html index f30aa6a156..32baa95701 100644 --- a/phpBB/styles/subSilver/template/ucp_attachments.html +++ b/phpBB/styles/subSilver/template/ucp_attachments.html @@ -7,10 +7,10 @@
#{L_USERNAME}{L_JOINED}{L_POSTS}{L_RANK}{L_USERNAME}{L_JOINED}{L_POSTS}{L_RANK} {L_SEND_MESSAGE}{L_EMAIL}{L_WEBSITE}{L_EMAIL}{L_WEBSITE} {L_MARK}
- - - - + + + + diff --git a/phpBB/styles/subSilver/template/viewforum_body.html b/phpBB/styles/subSilver/template/viewforum_body.html index b629091829..35b7626604 100644 --- a/phpBB/styles/subSilver/template/viewforum_body.html +++ b/phpBB/styles/subSilver/template/viewforum_body.html @@ -42,13 +42,14 @@
#{L_FILENAME}{L_POST_TIME}{L_FILESIZE}{L_DOWNLOADS}{L_FILENAME}{L_POST_TIME}{L_FILESIZE}{L_DOWNLOADS} {L_DELETE}
+ {NEWEST_POST_IMG} {topicrow.ATTACH_ICON_IMG} + {topicrow.TOPIC_TITLE} {UNAPPROVED_IMG}  {REPORTED_IMG}  -

{NEWEST_POST_IMG} {topicrow.ATTACH_ICON_IMG} {topicrow.TOPIC_TITLE}

[ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ]

@@ -161,13 +162,14 @@
+ {NEWEST_POST_IMG} {topicrow.ATTACH_ICON_IMG} + {topicrow.TOPIC_TITLE}

{UNAPPROVED_IMG}  {REPORTED_IMG}  -

{NEWEST_POST_IMG} {topicrow.ATTACH_ICON_IMG} {topicrow.TOPIC_TITLE}

[ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ]

diff --git a/phpBB/styles/subSilver/template/viewonline_body.html b/phpBB/styles/subSilver/template/viewonline_body.html index 7f98ddaed5..0a7ca9d35b 100644 --- a/phpBB/styles/subSilver/template/viewonline_body.html +++ b/phpBB/styles/subSilver/template/viewonline_body.html @@ -17,9 +17,9 @@ - - - + + + diff --git a/phpBB/styles/subSilver/template/viewtopic_body.html b/phpBB/styles/subSilver/template/viewtopic_body.html index 619b283dbd..c41031ba62 100644 --- a/phpBB/styles/subSilver/template/viewtopic_body.html +++ b/phpBB/styles/subSilver/template/viewtopic_body.html @@ -109,13 +109,16 @@ {S_HIDDEN_FIELDS} - - - - - +
{L_USERNAME}{L_LAST_UPDATED}{L_FORUM_LOCATION}{L_USERNAME}{L_LAST_UPDATED}{L_FORUM_LOCATION}
{L_AUTHOR}{L_MESSAGE}
+ - + + + + + + + @@ -266,9 +269,10 @@ - - - +
{L_AUTHOR}{L_MESSAGE}
+ + + diff --git a/phpBB/styles/subSilver/theme/stylesheet.css b/phpBB/styles/subSilver/theme/stylesheet.css index 14c4d0764a..8709f0f665 100644 --- a/phpBB/styles/subSilver/theme/stylesheet.css +++ b/phpBB/styles/subSilver/theme/stylesheet.css @@ -34,10 +34,6 @@ body { margin: 0; } -li { - margin-left: 25px; -} - #wrapheader { height: 120px; background-image: url('./images/background.gif'); @@ -113,7 +109,7 @@ h2 { h3 { font-size: 1.3em; font-weight: bold; - font-family: Verdana, serif; + font-family: Arial, Helvetica, sans-serif; line-height: 120%; } h4 { @@ -158,20 +154,9 @@ p.searchbarreg { float: right; white-space: nowrap; } -a.forumlink { - color: #069; - font-weight: bold; - font-family: Arial, Verdana, sans-serif; - font-size: 1.2em; - } p.forumdesc { padding-bottom: 4px; } -p.topictitle { - margin: 1px 0px; - display: inline; - font-weight: bold; - } p.topicauthor { margin: 1px 0px; } @@ -198,6 +183,9 @@ p.postapprove { line-height: 1.4em; font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif; } +.postbody li { + margin-left: 1.5em; + } .posthilit { background-color: yellow; } @@ -233,7 +221,7 @@ p.postapprove { font-family: Verdana, Arial, Helvetica, sans-serif; } .titles { - font-family: "Trebuchet MS", Helvetica, Arial, sans-serif; + font-family: "Lucida Grande", Helvetica, Arial, sans-serif; font-weight: bold; font-size: 1.3em; text-decoration: none; @@ -331,24 +319,27 @@ a:hover { color: #D46400; text-decoration: underline; } +a.forumlink { + color: #069; + font-weight: bold; + font-family: "Lucida Grande", Helvetica, Arial, sans-serif; + font-size: 1.2em; + } +a.topictitle { + margin: 1px 0px; + font-family: "Lucida Grande", Helvetica, Arial, sans-serif; + font-weight: bold; + font-size: 1.2em; + } a.topictitle:visited { color: #5493B4; text-decoration: none; } -a.th:link { - color: #FFA34F; +th a, th a:visited { + color: #FFA34F !important; text-decoration: none; } -a.th:active { - color: #FFA34F; - text-decoration: none; - } -a.th:visited { - color: #FFA34F; - text-decoration: none; - } -a.th:hover { - color: #FFA34F; +th a:hover { text-decoration: underline; } @@ -432,7 +423,7 @@ input.radio { /* BBCode ------------ */ -.quotetitle { +.quotetitle, .attachtitle { margin: 10px 5px 0px 5px; padding: 4px; border-width: 1px 1px 0px 1px; @@ -440,9 +431,13 @@ input.radio { border-color: #A9B8C2; color: #333333; background-color: #A9B8C2; - font-size: 0.9em; + font-size: 0.85em; + font-weight: bold; } -.quotecontent { +.quotetitle .quotetitle { + font-size: 1em; + } +.quotecontent, .attachcontent { margin: 0px 5px 10px 5px; padding: 5px; border-color: #A9B8C2; @@ -455,14 +450,19 @@ input.radio { background-color: #FAFAFA; color: #4B5C77; } +.attachcontent { + font-size: 0.85em; + } .codetitle { margin: 10px 5px 0px 5px; - padding: 4px; + padding: 2px 4px; border-width: 1px 1px 0px 1px; border-style: solid; border-color: #A9B8C2; color: #333333; background-color: #A9B8C2; + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 0.8em; } .codecontent { margin: 0px 5px 10px 5px; @@ -472,8 +472,8 @@ input.radio { border-style: solid; font-weight: normal; color: #006600; - font-size: 1em; - font-family: 'Courier New', monospace; + font-size: 0.85em; + font-family: Monaco, 'Courier New', monospace; background-color: #FAFAFA; } .syntaxbg {
{L_DISPLAY_POSTS}: {S_SELECT_SORT_DAYS} {L_SORT_BY} {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR}