Commit a5def3ed authored by John Fox Woland's avatar John Fox Woland

* Font awesome new version

parent b497be1d
......@@ -32,7 +32,10 @@
-->
<!-- Font Awesome CDN -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
<!--
<script src="https://use.fontawesome.com/2e3b6ecdb9.js"></script>
-->
<?php Tools::css('styles.css.php'); ?>
<script language="javascript">
......
......@@ -57,7 +57,8 @@
private function entry ($icon, $title, $content)
{
$icon = preg_replace('/^([^-]*)(-.*)$/', '\1 \1\2', $icon);
if (!preg_match('/^fa. /', $icon))
$icon = preg_replace('/^([^-]*)(-.*)$/', '\1 \1\2', $icon);
$t = mb_substr($title, 0, 1);
$title = mb_substr($title, 1);
?>
......
......@@ -182,6 +182,11 @@ a:hover[href^="http"]
width: 5px;
}
.fa, .fab, .far, .fas
{
text-align: center;
}
@media (max-width: 339px)
{
h1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment