fix the CSS styling when resizing the window

This commit is contained in:
root 2025-02-19 08:33:21 +01:00
parent 35e1b130a8
commit 77faa0971f
4 changed files with 36 additions and 10 deletions

View file

@ -60,13 +60,13 @@ if (!preg_match("~^(?:f|ht)tps?://~i", $data[3])) {
if ($oldcatname != $data[1]){
//echo "<td><tr></tr><tr></tr><tr></tr></td>"; // skip a row if new category
//echo "<td><tr></tr><tr></tr><tr></tr></td>"; // skip a row if new category
echo "<td><p><h4>" . $data[1] . ' </h4></p></td>'; // display the category as its the first row with this new category
echo '<td class="category"><p><h4>' . $data[1] . ' </h4></p></td>'; // display the category as its the first row with this new category
$oldcatname=$data[1];
}else{
echo "<td><p>" . ' </p></td>'; // category is already displayed so skip it (empty cell in category column)
}
echo "<td>" ; // begin the table cell
echo '<td class="linktitle"><p class="linktitle">' ; // begin the table cell of link title
if($data[4] == "YES"){
echo '<a class="sensitivelink" href="'; // begin a href
}else{
@ -74,7 +74,7 @@ if (!preg_match("~^(?:f|ht)tps?://~i", $data[3])) {
}
//echo $data[3] . '"> '; // display the link
echo $urllink . '"> '; // display the link
echo $data[2] . ' </a></td><td class="description">'; // display the link title and close the a href and first cell, open the second cell
echo $data[2] . ' </a></p></td><td class="description">'; // display the link title and close the a href and first cell, open the second cell
echo $data[5] . " </td><td>"; // OPTIONAL: display the description column
echo $data[7] . " </td><td>"; // display the score and close the second cell, open the third cell
if($data[6] == "YES"){
@ -196,8 +196,7 @@ if (($handle = fopen($csvfile, "r")) !== FALSE) {
</br>
<h1><a href="http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern"><img src="img/lantern project large.png"></a></h1>
<h1><a href="http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/darknet-lantern"><img src="img/lantern project large.png" class="projectbanner"></a></h1>
<p><u>Update Frequency:</u> every 3 hours</p> </br>