Put the server list on a single fixed-width column #30

Merged
MrPetovan merged 1 commits from task/improve-servers-page into master 2017-10-23 07:38:12 +02:00
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>