Put the server list on a single fixed-width column

This commit is contained in:
Hypolite Petovan 2017-10-22 17:04:01 -04:00
parent 386e70fd1f
commit 20a5e3678d
2 changed files with 25 additions and 19 deletions

View File

@ -147,6 +147,11 @@ nav#links a {
cursor: pointer;
}
.sites {
max-width: 600px;
margin: 0 auto;
}
nav#links a,
.sub-menu-outer a {
text-decoration: none;

View File

@ -3,7 +3,7 @@
<h1>Public servers</h1>
<p class="intro">
If you are not interested in <a href="http://friendi.ca/installation/">hosting your own server</a>, you can still use Friendica.
Here are some public server run by enthousiasts that you can join.
Here are some public server run by enthusiasts that you can join.
We recommend these based on their <abbr title="Decent speed, proper security, recent version, etc.">health</abbr>.
</p>
<p class="intro">
@ -17,8 +17,9 @@
<h3>Recommending <?php echo $total; ?> public servers</h3>
<?php
foreach ($sites as $site)
foreach ($sites as $site) {
echo $this->view('_site', array('site'=>$site));
}
?>
</div>
</div>