Finished fixing major styling issues, Leftovers need additions in CSS
Update footer.php, head.php, and 5 more files...
This commit is contained in:
@@ -12,7 +12,7 @@ include_once 'commons/langs.php';
|
||||
<i class="fa fa-bars px-xxs" aria-hidden="true"></i>
|
||||
</button>
|
||||
<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')); ?>
|
||||
</a>
|
||||
</p>
|
||||
|
@@ -15,6 +15,7 @@ if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
|
||||
<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/NibblePoker/StandardCSS/nibblepoker.min.css">
|
||||
<link rel="stylesheet" href="https://cdn.nibblepoker.lu/Quantum/Quantum.min.css">
|
||||
<?php
|
||||
if($enable_code_highlight) {
|
||||
echo('<link href="/resources/HighlightJS/src/styles/atom-one-dark.min.css" rel="stylesheet"/>');
|
||||
|
@@ -12,14 +12,14 @@ if(basename(__FILE__) == basename($_SERVER["SCRIPT_FILENAME"])) {
|
||||
<i class="fa fa-angle-down"></i>
|
||||
</summary>
|
||||
<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>
|
||||
</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>
|
||||
</a>
|
||||
<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>
|
||||
</a>
|
||||
</div>
|
||||
|
@@ -13,7 +13,7 @@ if(!isset($SIDEBAR_IDS)) {
|
||||
|
||||
function printSidebarEntry($url, $title, $icon, $activeId) {
|
||||
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('<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">
|
||||
<a href="<?php print(l10n_url_abs('/')); ?>" class="no-select">
|
||||
<img id="logo-sidebar" src="/resources/NibblePoker/images/logos/v2_full_unshaded_original.svg"
|
||||
alt="<?php echo(localize("sidebar.alt.logo")); ?>" draggable="false">
|
||||
<img class="logo-sidebar-v2"
|
||||
src="https://cdn.nibblepoker.lu/NibblePoker/Logos/v2_full_shaded_optimized.svg"
|
||||
alt="<?php echo(localize("sidebar.alt.logo")); ?>"
|
||||
draggable="false">
|
||||
</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>
|
||||
</p>
|
||||
<hr class="subtle">
|
||||
|
@@ -33,7 +33,7 @@ function getMainHeader(string $text, ?string $iconId = null, ?string $rightText
|
||||
$htmlCode .= $text;
|
||||
|
||||
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>';
|
||||
|
@@ -33,14 +33,14 @@ include 'commons/DOM/sidebar.php';
|
||||
|
||||
<?php printMainHeader(localize("contact.email.title"), "fad fa-mail-bulk", "herwin.bozet@gmail.com"); ?>
|
||||
<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>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<?php printMainHeader(localize("contact.twitter.title"), "fab fa-twitter", "@NibblePoker"); ?>
|
||||
<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>
|
||||
</a>
|
||||
</p>
|
||||
|
@@ -83,7 +83,7 @@ include 'commons/DOM/sidebar.php';
|
||||
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('<img src="' . $shown_project->image . '" class="f-left r-l border mr-xs img-showcase" alt="' .
|
||||
$shown_project->title[$user_language] . ' logo">');
|
||||
|
Reference in New Issue
Block a user