Improve important links layout (#11)

Improve mportant links layout

Co-authored-by: Kevin Belisle <kev.belisle@gmail.com>
Reviewed-on: https://git.etztech.xyz/BirbMC/birbmc.com/pulls/11
Reviewed-by: Etzelia <etzelia@hotmail.com>
main
klutz 2020-10-30 04:01:15 +01:00 committed by Etzelia
parent 5d562a2319
commit edcd382cf6
4 changed files with 106 additions and 105 deletions

View File

@ -65,15 +65,7 @@ p {
margin: 0 0 _size(element-margin) 0;
&.content {
-moz-columns: 20em 2;
-webkit-columns: 20em 2;
-ms-columns: 20em 2;
columns: 20em 2;
-moz-column-gap: _size(element-margin);
-webkit-column-gap: _size(element-margin);
-ms-column-gap: _size(element-margin);
column-gap: _size(element-margin);
text-align: justify;
text-align: left;
}
}

View File

@ -41,14 +41,6 @@ ul {
}
}
@include breakpoint(">small") {
ul.content,
ol.content {
columns: 2;
column-gap: 2em;
}
}
ul p,
li p {
margin-bottom: 0;

View File

@ -11,6 +11,13 @@ article {
&.special {
text-align: center;
}
&.two-column {
@include breakpoint(">small") {
columns: 2;
column-gap: 2em;
}
}
}
header {

View File

@ -159,6 +159,8 @@
</li>
</ul> -->
<section class="two-column">
<div style="break-inside: avoid">
<h3>Important documents</h3>
<ul class="content">
<li>
@ -187,7 +189,9 @@
</p>
</li>
</ul>
</div>
<div style="break-inside: avoid">
<h3>Server IPs</h3>
<ul class="content">
<li>
@ -201,7 +205,9 @@
</p>
</li>
</ul>
</div>
<div style="break-inside: avoid">
<h3>Fun stuff</h3>
<ul class="content">
<li>
@ -222,7 +228,9 @@
</p>
</li>
</ul>
</div>
<div style="break-inside: avoid">
<h3>Social links</h3>
<ul class="content">
<li>
@ -250,6 +258,8 @@
</p>
</li>
</ul>
</div>
</section>
<h3>Donations</h3>
<p>