Compare commits

...
3 Commits
Author SHA1 Message Date
me 1544fd140f banner, fix width for tablet mode. 2026-10-05 11:51:43 -07:00
me cab5a4cbcf css, add commas for tablet mode. 2026-10-05 11:51:21 -07:00
me d58261f8c2 apps, shorten link for mobile. 2026-10-05 11:50:45 -07:00
3 changed files with 8 additions and 6 deletions

No files matched your search

+1 -1
View File
@@ -108,7 +108,7 @@
>[fdroid.Hyperling.com]</a> >[fdroid.Hyperling.com]</a>
or or
<a href="https://fdroid.link/#https://fdroid.hyperling.com/fdroid/repo"> <a href="https://fdroid.link/#https://fdroid.hyperling.com/fdroid/repo">
[open directly with F-Droid]</a> [open with F-Droid]</a>
</li> </li>
</ul> </ul>
<p> <p>
+3 -3
View File
@@ -5,12 +5,12 @@
$GLOBALS["SHOW_BANNER_PICS"] = true; $GLOBALS["SHOW_BANNER_PICS"] = true;
} }
$show_pics = $GLOBALS["SHOW_BANNER_PICS"]; $show_pics = $GLOBALS["SHOW_BANNER_PICS"];
$banner_width = $show_pics ? 6 : 12; $banner_width = $show_pics ? 8 : 12;
?> ?>
<a href='/about/'> <a href='/about/'>
<div class="row"> <div class="row">
<?php if ($show_pics) echo ' <?php if ($show_pics) echo '
<div class="col-3 header center banner-image banner-image01"></div> <div class="col-2 header center banner-image banner-image01"></div>
';?> ';?>
<div class="col-<?php echo "$banner_width"; ?> header"> <div class="col-<?php echo "$banner_width"; ?> header">
<div class="banner-top">Peace</div> <div class="banner-top">Peace</div>
@@ -18,7 +18,7 @@
<div class="banner-bottom">Happiness</div> <div class="banner-bottom">Happiness</div>
</div> </div>
<?php if ($show_pics) echo ' <?php if ($show_pics) echo '
<div class="col-3 header center banner-image banner-image02"></div> <div class="col-2 header center banner-image banner-image02"></div>
';?> ';?>
</div> </div>
</a> </a>
+4 -2
View File
@@ -47,10 +47,10 @@
/* Tablets */ /* Tablets */
@media (min-width: 768px) and (max-width: 1023px) { @media (min-width: 768px) and (max-width: 1023px) {
.col-1 .col-2 .col-3 .col-4 .col-5 .col-6 { .col-1, .col-2, .col-3, .col-4, .col-5, .col-6 {
width: 50%; width: 50%;
} }
.col-7 .col-8 .col-9 .col-10 .col-11 .col-12 { .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
width: 100%; width: 100%;
} }
} }
@@ -165,3 +165,5 @@
width: 25%; width: 25%;
height: 25%; height: 25%;
} }
: 25%;
}