From edcd382cf6fdba00e572271064108f0191845e46 Mon Sep 17 00:00:00 2001 From: klutz Date: Fri, 30 Oct 2020 04:01:15 +0100 Subject: [PATCH] Improve important links layout (#11) Improve mportant links layout Co-authored-by: Kevin Belisle Reviewed-on: https://git.etztech.xyz/BirbMC/birbmc.com/pulls/11 Reviewed-by: Etzelia --- src/assets/sass/base/_typography.scss | 10 +- src/assets/sass/components/_list.scss | 8 - src/assets/sass/components/_section.scss | 7 + src/index.html | 186 ++++++++++++----------- 4 files changed, 106 insertions(+), 105 deletions(-) diff --git a/src/assets/sass/base/_typography.scss b/src/assets/sass/base/_typography.scss index 0d991d5..bf6f46f 100644 --- a/src/assets/sass/base/_typography.scss +++ b/src/assets/sass/base/_typography.scss @@ -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; } } diff --git a/src/assets/sass/components/_list.scss b/src/assets/sass/components/_list.scss index fd5ad64..d3b3905 100644 --- a/src/assets/sass/components/_list.scss +++ b/src/assets/sass/components/_list.scss @@ -41,14 +41,6 @@ ul { } } -@include breakpoint(">small") { - ul.content, - ol.content { - columns: 2; - column-gap: 2em; - } -} - ul p, li p { margin-bottom: 0; diff --git a/src/assets/sass/components/_section.scss b/src/assets/sass/components/_section.scss index e6a0b2b..4709ffb 100644 --- a/src/assets/sass/components/_section.scss +++ b/src/assets/sass/components/_section.scss @@ -11,6 +11,13 @@ article { &.special { text-align: center; } + + &.two-column { + @include breakpoint(">small") { + columns: 2; + column-gap: 2em; + } + } } header { diff --git a/src/index.html b/src/index.html index 27a420d..f519775 100644 --- a/src/index.html +++ b/src/index.html @@ -159,97 +159,107 @@ --> -

Important documents

-
    -
  • -

    - Make sure to read our - rules before you join! -

    -
  • -
  • -

    - Learn about - land claims -

    -
  • -
  • -

    - Help reduce lag and keep - the server running smoothly -

    -
  • -
  • -

    - Set up your - nether portal, and - connect to the tunnel system -

    -
  • -
+
+
+

Important documents

+
    +
  • +

    + Make sure to read our + rules before you join! +

    +
  • +
  • +

    + Learn about + land claims +

    +
  • +
  • +

    + Help reduce lag and keep + the server running smoothly +

    +
  • +
  • +

    + Set up your + nether portal, and + connect to the tunnel system +

    +
  • +
+
-

Server IPs

-
    -
  • -

    - Survival server: play.birbmc.com -

    -
  • -
  • -

    - Creative server: creative.birbmc.com -

    -
  • -
+
+

Server IPs

+
    +
  • +

    + Survival server: play.birbmc.com +

    +
  • +
  • +

    + Creative server: creative.birbmc.com +

    +
  • +
+
-

Fun stuff

-
    -
  • -

    - Take a look around our - dynmap -

    -
  • -
  • -

    - Stats. So many stats. -

    -
  • -
  • -

    - Learn about Geoffrey, - our shop & location bot. -

    -
  • -
+
+

Fun stuff

+
    +
  • +

    + Take a look around our + dynmap +

    +
  • +
  • +

    + Stats. So many stats. +

    +
  • +
  • +

    + Learn about Geoffrey, + our shop & location bot. +

    +
  • +
+
-

Social links

- +
+

Social links

+ +
+

Donations