replace style attribute in topic title by headers' style definitions in css

This commit is contained in:
Aleksei Miheev
2012-07-14 15:27:58 +03:00
parent 8a492275f1
commit b3751b302c
3 changed files with 17 additions and 2 deletions

View File

@@ -18,10 +18,10 @@ function template_main()
// Show the topic information - icon, subject, etc.
echo '
<h1 style="margin-bottom: 0; margin-top: 0.2em;">', $context['subject'], '</h1>';
<h1>', $context['subject'], '</h1>';
if (! empty ($context['subtitle']))
echo '
<h2 style="margin-top: 0;" class="header">' . $context['subtitle'] . '</h2>';
<h2>' . $context['subtitle'] . '</h2>';
/* echo '
<span class="smalltext">', $context['moderators_list'],'</span>';*/

View File

@@ -331,3 +331,10 @@ height:expression(this.offsetHeight>70 ? "70px" : "auto");
.message-container img {
max-width: 100%;
}
h1 {
margin-bottom: 0;
margin-top: 0.2em;
}
h2 {
margin-top: 0;
}

View File

@@ -321,3 +321,11 @@ height:expression(this.offsetHeight>70 ? "70px" : "auto");
.message-container img {
max-width: 100%;
}
h1 {
margin-bottom: 0;
margin-top: 0.2em;
}
h2 {
margin-top: 0;
color: #D2D2D2;
}