home page: align horizontally centered (#5)

This commit is contained in:
CommonLoon102 2020-01-27 14:43:11 +00:00 committed by GitHub
parent 96ae1a29b2
commit 4f96ad89db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@
ListServers = @<div>
@foreach (var server in Model.Servers.Where(s => s.Mod == item).OrderBy(s => s.MaximumPlayers))
{
<div style="border:2px solid cornflowerblue;">
<div style="border:2px solid cornflowerblue;padding-left:1em">
<p style="font-weight:bold">Players: @(server.CurrentPlayers - 1)/@(server.MaximumPlayers - 1)</p>
<div>
@if (server.IsStarted)
@ -50,16 +50,25 @@
background-color: black;
color: whitesmoke;
}
.warning {
border: dashed 4px red;
font-weight: bold;
}
.bolder {
font-weight: bolder;
}
.main {
margin: auto;
max-width: 900px;
padding: 10px;
}
</style>
</head>
<body style="background-color: cornsilk">
<div class="main">
<h1>The client EXE</h1>
<p>Use this exe to connect: <a href="https://lerppu.net/wannabethesis/nblood/20200113-2073/">https://lerppu.net/wannabethesis/nblood/20200113-2073/</a></p>
@ -68,7 +77,7 @@
<h2>@b 1.21</h2>
<details>
<summary>Show @b <span class="bolder">version 1.21</span> servers</summary>
<p>The below files must be in your Blood directory.</p>
<p>The below files must be in your Blood directory:</p>
<ul>
<li>BLOOD.INI</li>
<li>BLOOD.RFF</li>
@ -84,7 +93,7 @@
<h2>@cp</h2>
<details>
<summary>Show @cp servers</summary>
<p>The below files must be in your Blood directory.</p>
<p>The below files must be in your Blood directory:</p>
<ul>
<li>CP01-CP09.MAP</li>
<li>CPART07.AR_ (Fresh Supply owners need to copy tiles007.ART from <span class="code">\addons\Cryptic Passage</span> and rename it</li>
@ -100,7 +109,7 @@
<h2>@dw 1.6.10</h2>
<details>
<summary>Show @dw <span class="bolder">version 1.6.10</span> servers</summary>
<p>The below files must be in your Blood directory.</p>
<p>The below files must be in your Blood directory:</p>
<ul>
<li>dw.ini</li>
<li>DWBB1.MAP-DWBB3.MAP</li>
@ -115,7 +124,7 @@
<details>
<summary>Show @twoira <span class="bolder">version 1.0.1</span> servers</summary>
<p>@twoira </p>
<p>The below folder (TWOIRA) must be in your Blood directory, and inside that the other additional files.</p>
<p>The below folder (TWOIRA) must be in your Blood directory, and inside that the other additional files:</p>
<ul>
<li>TWOIRA</li>
<li>
@ -140,7 +149,7 @@
<h2>@fo 1.3</h2>
<details>
<summary>Show @fo <span class="bolder">version 1.3</span> servers</summary>
<p>The below files must be in your Blood directory.</p>
<p>The below files must be in your Blood directory:</p>
<ul>
<li>fo.INI</li>
<li>fo1m1.MAP-fo1m8.MAP</li>
@ -151,5 +160,6 @@
<br />
<hr />
<p>Do you think this page is ugly? You are right! If you want to make it better, PRs are welcomed (but please, don't use any JavaScript, thanks): <a href="https://github.com/CommonLoon102/NBloodServerSupervisor">https://github.com/CommonLoon102/NBloodServerSupervisor</a></p>
</div>
</body>
</html>