From 506ff65fc5e4b6e10175fbbb84f31f27be615b90 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Fri, 9 Sep 2022 09:50:12 +0000 Subject: [PATCH] Optimize css --- divent/static/css/global.css | 18 +++++------------- divent/templates/index.html.j2 | 2 +- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/divent/static/css/global.css b/divent/static/css/global.css index 9b841d0..526a463 100644 --- a/divent/static/css/global.css +++ b/divent/static/css/global.css @@ -90,16 +90,11 @@ h2 { border: 0; border-radius: 3px; color: white; - font-size: 15px; + font-size: 16px; padding: 10px; box-sizing: border-box; } -#permissions { - font-size: 12px; - margin-top: 8px; -} - #providers li { margin: 12px; } @@ -107,14 +102,16 @@ h2 { ul { list-style-type: none; padding: 0; + font-size: 12px; + margin-top: 8px; } ul li a { color: #a3a6aa; } -footer ul { - font-size: 12px; +ul li i { + margin: 4px; } footer ul li { @@ -125,11 +122,6 @@ footer ul li:last-child { display: block; } -footer ul li i, -#providers li a i { - margin: 4px; -} - .fa-custom-circle { border-radius: 20px; width: 24px; diff --git a/divent/templates/index.html.j2 b/divent/templates/index.html.j2 index 367c14f..148fabe 100644 --- a/divent/templates/index.html.j2 +++ b/divent/templates/index.html.j2 @@ -42,7 +42,7 @@ href="https://discord.com/api/oauth2/authorize?client_id={{ client.user.id }}&permissions=536870912&scope=bot"> {{ _("Add the bot on your server") }} -