Merge pull request #30 from MrPetovan/task/improve-servers-page

Put the server list on a single fixed-width column
This commit is contained in:
Michael Vogel 2017-10-23 07:38:12 +02:00 committed by GitHub
commit 4cc55f4302
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>