Finished fixing major styling issues, Leftovers need additions in CSS

Update footer.php, head.php, and 5 more files...
This commit is contained in:
2024-06-12 13:23:55 +02:00
parent 856d0356ec
commit e56eb0aeb6
7 changed files with 15 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ include_once 'commons/langs.php';
<i class="fa fa-bars px-xxs" aria-hidden="true"></i> <i class="fa fa-bars px-xxs" aria-hidden="true"></i>
</button> </button>
<p class="flex-fill t-center t-size-10 t-w-500 t-muted"> <p class="flex-fill t-center t-size-10 t-w-500 t-muted">
<a class="bland-link" href="<?php print(l10n_url_abs('/privacy/')); ?>"> <a class="a-hidden" href="<?php print(l10n_url_abs('/privacy/')); ?>">
<?php print(localize('footer.text.privacy')); ?> <?php print(localize('footer.text.privacy')); ?>
</a> </a>
</p> </p>

View File

@@ -15,6 +15,7 @@ if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
<link rel="alternate icon" href="/favicon.ico"> <link rel="alternate icon" href="/favicon.ico">
<link rel="stylesheet" href="https://cdn.nibblepoker.lu/FontAwesomePro/6.5.1/css/all.min.css"> <link rel="stylesheet" href="https://cdn.nibblepoker.lu/FontAwesomePro/6.5.1/css/all.min.css">
<link rel="stylesheet" href="https://cdn.nibblepoker.lu/NibblePoker/StandardCSS/nibblepoker.min.css"> <link rel="stylesheet" href="https://cdn.nibblepoker.lu/NibblePoker/StandardCSS/nibblepoker.min.css">
<link rel="stylesheet" href="https://cdn.nibblepoker.lu/Quantum/Quantum.min.css">
<?php <?php
if($enable_code_highlight) { if($enable_code_highlight) {
echo('<link href="/resources/HighlightJS/src/styles/atom-one-dark.min.css" rel="stylesheet"/>'); echo('<link href="/resources/HighlightJS/src/styles/atom-one-dark.min.css" rel="stylesheet"/>');

View File

@@ -12,14 +12,14 @@ if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
&nbsp;<i class="fa fa-angle-down"></i> &nbsp;<i class="fa fa-angle-down"></i>
</summary> </summary>
<div class="p-xs border bkgd-surround r-m t-w-500"> <div class="p-xs border bkgd-surround r-m t-w-500">
<a href="<?php echo(l10n_url_switch('en')); ?>" class="bland-link"> <a href="<?php echo(l10n_url_switch('en')); ?>" class="a-hidden">
<p class="mb-s px-xxs"><?php print(localize("lang.english")); ?></p> <p class="mb-s px-xxs"><?php print(localize("lang.english")); ?></p>
</a> </a>
<a href="<?php echo(l10n_url_switch('fr')); ?>" class="bland-link"> <a href="<?php echo(l10n_url_switch('fr')); ?>" class="a-hidden">
<p class="my-s px-xxs"><?php print(localize("lang.french")); ?></p> <p class="my-s px-xxs"><?php print(localize("lang.french")); ?></p>
</a> </a>
<hr class="subtle m-0"> <hr class="subtle m-0">
<a href="<?php echo(l10n_url_switch(NULL)); ?>" class="bland-link"> <a href="<?php echo(l10n_url_switch(NULL)); ?>" class="a-hidden">
<p class="mt-xs px-xxs"><?php print(localize("lang.automatic")); ?></p> <p class="mt-xs px-xxs"><?php print(localize("lang.automatic")); ?></p>
</a> </a>
</div> </div>

View File

@@ -13,7 +13,7 @@ if(!isset($SIDEBAR_IDS)) {
function printSidebarEntry($url, $title, $icon, $activeId) { function printSidebarEntry($url, $title, $icon, $activeId) {
global $SIDEBAR_IDS; global $SIDEBAR_IDS;
echo('<a class="' . (in_array($activeId, $SIDEBAR_IDS) ? 'text-link' : 'bland-link') . '" href="' . $url . '">'); echo('<a class="' . (in_array($activeId, $SIDEBAR_IDS) ? 'a-bland' : 'a-hidden') . '" href="' . $url . '">');
echo('<p class="t-size-18 t-w-500 py-xs sidebar-entry">'); echo('<p class="t-size-18 t-w-500 py-xs sidebar-entry">');
echo('<i class="' . $icon . ' pr-xs t-size-12 t-half-muted"></i><span class="t-size-12">' . $title . '</span></p></a>'); echo('<i class="' . $icon . ' pr-xs t-size-12 t-half-muted"></i><span class="t-size-12">' . $title . '</span></p></a>');
} }
@@ -21,10 +21,12 @@ function printSidebarEntry($url, $title, $icon, $activeId) {
?> ?>
<nav id="sidebar" class="sidebar p-m pt-l"> <nav id="sidebar" class="sidebar p-m pt-l">
<a href="<?php print(l10n_url_abs('/')); ?>" class="no-select"> <a href="<?php print(l10n_url_abs('/')); ?>" class="no-select">
<img id="logo-sidebar" src="/resources/NibblePoker/images/logos/v2_full_unshaded_original.svg" <img class="logo-sidebar-v2"
alt="<?php echo(localize("sidebar.alt.logo")); ?>" draggable="false"> src="https://cdn.nibblepoker.lu/NibblePoker/Logos/v2_full_shaded_optimized.svg"
alt="<?php echo(localize("sidebar.alt.logo")); ?>"
draggable="false">
</a> </a>
<p class="quantum t-logo-text mb-s mt-xs t-muted ucase"> <p class="quantum t-logo-text mb-s mt-xxs t-muted t-ucase">
N<span class="t-super-muted">ibble</span>P<span class="t-super-muted">oker</span> N<span class="t-super-muted">ibble</span>P<span class="t-super-muted">oker</span>
</p> </p>
<hr class="subtle"> <hr class="subtle">

View File

@@ -33,7 +33,7 @@ function getMainHeader(string $text, ?string $iconId = null, ?string $rightText
$htmlCode .= $text; $htmlCode .= $text;
if(!is_null($rightText)) { if(!is_null($rightText)) {
$htmlCode .= '<span class="ml-auto mobile-hide ' . ($chungusMode ? "t-size-12 mr-xs" : "t-size-10 t-muted") . '">' . $rightText . '</span>'; $htmlCode .= '<span class="f-right mobile-hide ' . ($chungusMode ? "t-size-12 mr-xs" : "t-size-10 t-muted") . '">' . $rightText . '</span>';
} }
$htmlCode .= '</h' . $hLevel . '></div>'; $htmlCode .= '</h' . $hLevel . '></div>';

View File

@@ -33,14 +33,14 @@ include 'commons/DOM/sidebar.php';
<?php printMainHeader(localize("contact.email.title"), "fad fa-mail-bulk", "herwin.bozet@gmail.com"); ?> <?php printMainHeader(localize("contact.email.title"), "fad fa-mail-bulk", "herwin.bozet@gmail.com"); ?>
<p class="m-s"> <p class="m-s">
<a href="mailto:Herwin Bozet<herwin.bozet@gmail.com>?subject=Contact%20via%20NibblePoker.lu" class="bland-link button-link"> <a href="mailto:Herwin Bozet<herwin.bozet@gmail.com>?subject=Contact%20via%20NibblePoker.lu" class="a-hidden button-link">
<button class="p-xs r-s border b-light success"><i class="fad fa-external-link-alt mr-xs"></i><?php print(localize("contact.email.compose")); ?></button> <button class="p-xs r-s border b-light success"><i class="fad fa-external-link-alt mr-xs"></i><?php print(localize("contact.email.compose")); ?></button>
</a> </a>
</p> </p>
<?php printMainHeader(localize("contact.twitter.title"), "fab fa-twitter", "@NibblePoker"); ?> <?php printMainHeader(localize("contact.twitter.title"), "fab fa-twitter", "@NibblePoker"); ?>
<p class="m-s"> <p class="m-s">
<a href="https://twitter.com/messages/compose?recipient_id=937370791334895616" class="bland-link button-link"> <a href="https://twitter.com/messages/compose?recipient_id=937370791334895616" class="a-hidden button-link">
<button class="p-xs r-s border b-light primary"><i class="fad fa-external-link-alt mr-xs"></i><?php print(localize("contact.twitter.compose")); ?></button> <button class="p-xs r-s border b-light primary"><i class="fad fa-external-link-alt mr-xs"></i><?php print(localize("contact.twitter.compose")); ?></button>
</a> </a>
</p> </p>

View File

@@ -83,7 +83,7 @@ include 'commons/DOM/sidebar.php';
continue; continue;
} }
echo('<a href="'.l10n_url_abs("/content/".$current_content->id).'" class="bland-link">'); echo('<a href="'.l10n_url_abs("/content/".$current_content->id).'" class="a-hidden">');
echo('<article class="">'); echo('<article class="">');
echo('<img src="' . $shown_project->image . '" class="f-left r-l border mr-xs img-showcase" alt="' . echo('<img src="' . $shown_project->image . '" class="f-left r-l border mr-xs img-showcase" alt="' .
$shown_project->title[$user_language] . ' logo">'); $shown_project->title[$user_language] . ' logo">');