mirror of
https://github.com/flarum/core.git
synced 2025-07-16 14:26:25 +02:00
Use default system font instead of Open Sans
This commit is contained in:
@ -9,7 +9,7 @@
|
|||||||
body {
|
body {
|
||||||
background: @body-bg;
|
background: @body-bg;
|
||||||
color: @text-color;
|
color: @text-color;
|
||||||
font-family: "Open Sans", Helvetica, Arial, sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
|
@ -37,9 +37,7 @@ class Meta implements ContentInterface
|
|||||||
|
|
||||||
private function buildHead(HtmlDocument $document)
|
private function buildHead(HtmlDocument $document)
|
||||||
{
|
{
|
||||||
$head = [
|
$head = [];
|
||||||
'font' => '<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,600">'
|
|
||||||
];
|
|
||||||
|
|
||||||
if ($faviconUrl = array_get($document->getForumApiDocument(), 'data.attributes.faviconUrl')) {
|
if ($faviconUrl = array_get($document->getForumApiDocument(), 'data.attributes.faviconUrl')) {
|
||||||
$head['favicon'] = '<link rel="shortcut icon" href="'.e($faviconUrl).'">';
|
$head['favicon'] = '<link rel="shortcut icon" href="'.e($faviconUrl).'">';
|
||||||
|
Reference in New Issue
Block a user