Move font styling over to stylesheet

This commit is contained in:
Keir Nellyer 2016-08-11 00:17:01 +01:00
parent ff7a427787
commit 735eccca37
2 changed files with 7 additions and 4 deletions

View File

@ -85,6 +85,10 @@ h2,h3,h4,h5,h6 {
font-size: 14px;
}
#log .label {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.black {
color: black;
}

View File

@ -435,7 +435,6 @@
<hr>
<div id="log">
<?php
// INITIALIZE
// Get messages and the amount that we are going to display
@ -465,11 +464,11 @@
$isPM = $typeId == Message::TYPE_PM;
if($isPM): ?>
<span class="label label-primary chat pm" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"><?= $typeDisplayName ?></span>
<span class="label label-primary chat pm"><?= $typeDisplayName ?></span>
<?php elseif($typeId == Message::TYPE_PARTY): ?>
<span class="label label-warning chat" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"><?= $typeDisplayName ?></span>
<span class="label label-warning chat"><?= $typeDisplayName ?></span>
<?php else: ?>
<span class="label label-info chat" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"><?= $typeDisplayName ?></span>
<span class="label label-info chat"><?= $typeDisplayName ?></span>
<?php endif; ?>
<span class="<?= ($message->getSender() == $report->getSuspect() ? 'suspect' : 'text-muted') ?>">