PrivateNetwork: Applying @jagtalon's styling changes

master
Rob Emery 2014-07-10 21:15:54 +01:00
parent 520acd3a76
commit a70b1cd65e
2 changed files with 33 additions and 35 deletions

View File

@ -1,39 +1,41 @@
<div class='private_network record'> <div class='private_network record'>
<div class='record__row record__highlight'> <table class='record__body'>
<div class='text--secondary left-column'> <tr class='record__row record__highlight'>
<td class="record__cell__key">
<p>IPv4 addresses (<a href="https://www.ietf.org/rfc/rfc1918.txt">rfc1918</a>):</p> <p>IPv4 addresses (<a href="https://www.ietf.org/rfc/rfc1918.txt">rfc1918</a>):</p>
</div> </td>
<div class='text--primary right-column'> <td class="record__cell__value">
<p>10.0.0.0 - 10.255.255.255 | 10.0.0.0/8</p> <p>10.0.0.0 - 10.255.255.255 | 10.0.0.0/8</p>
<p>172.16.0.0 - 172.31.255.255 | 172.16.0.0/12</p> <p>172.16.0.0 - 172.31.255.255 | 172.16.0.0/12</p>
<p>192.168.0.0 - 192.168.255.255 | 192.168.0.0/16</p> <p>192.168.0.0 - 192.168.255.255 | 192.168.0.0/16</p>
</div> </td>
</div> </tr>
<div class='record__row record__highlight'> <tr class='record__row record__highlight'>
<div class='text--secondary left-column'> <td class="record__cell__key">
<p>Carrier NAT (<a href="https://www.ietf.org/rfc/rfc6598.txt">rfc6598</a>):</p> <p>Carrier NAT (<a href="https://www.ietf.org/rfc/rfc6598.txt">rfc6598</a>):</p>
</div> </td>
<div class='text--primary right-column'> <td class="record__cell__value">
<p>100.64.0.0 - 100.127.255.255 | 100.64.0.0/10</p> <p>100.64.0.0 - 100.127.255.255 | 100.64.0.0/10</p>
</div> </td>
</div> </tr>
<div class='record__row record__highlight'> <tr class='record__row record__highlight'>
<div class='text--secondary left-column'> <td class="record__cell__key">
<p>Test Networks (<a href="https://www.ietf.org/rfc/rfc5735.txt">rfc5735</a>):</p> <p>Test Networks (<a href="https://www.ietf.org/rfc/rfc5735.txt">rfc5735</a>):</p>
</div> </td>
<div class='text--primary right-column'> <td class="record__cell__value">
<p>TEST-NET-1: 192.0.2.0 - 192.0.2.255 | 192.0.2.0/24</p> <p>TEST-NET-1: 192.0.2.0 - 192.0.2.255 | 192.0.2.0/24</p>
<p>TEST-NET-2: 198.51.100.0 - 198.51.100.255 | 198.51.100.0/24</p> <p>TEST-NET-2: 198.51.100.0 - 198.51.100.255 | 198.51.100.0/24</p>
<p>TEST-NET-3: 203.0.113.0 - 203.0.113.255 | 203.0.113.0/24</p> <p>TEST-NET-3: 203.0.113.0 - 203.0.113.255 | 203.0.113.0/24</p>
<p>Benchmarks: 198.18.0.1 - 198.19.255.255 | 198.18.0.0/15</p> <p>Benchmarks: 198.18.0.1 - 198.19.255.255 | 198.18.0.0/15</p>
</div> </td>
</div> </tr>
<div class='record__row record__highlight'> <tr class='record__row record__highlight'>
<div class='text--secondary left-column'> <td class="record__cell__key">
<p>IPv6 addresses (<a href="https://www.ietf.org/rfc/rfc4193.txt">rfc4193</a>):</p> <p>IPv6 addresses (<a href="https://www.ietf.org/rfc/rfc4193.txt">rfc4193</a>):</p>
</div> </td>
<div class='text--primary right-column'> <td class="record__cell__value">
<p>Unique local addresses: fd00::/8</p> <p>Unique local addresses: fd00::/8</p>
</div> </td>
</div> </tr>
</table>
</div> </div>

View File

@ -1,15 +1,11 @@
.private_network .left-column { .zci--answer .private_network .record__cell__key {
vertical-align: top; padding: 0.4em;
display: inline-block;
width: 30%;
} }
.private_network .right-column { .zci--answer .private_network .record__cell__value {
vertical-align: top; padding: 0.4em;
display: inline-block;
width: 70%;
} }
.private_network .record__highlight:nth-of-type(2n) { .zci--answer .private_network p {
background: rgba(150,150,150,0.3); padding: 0;
} }