From efe650c8bb6f0f9ae835de1c9a842070fcc310e7 Mon Sep 17 00:00:00 2001 From: WallSoGB <11296448+WallSoGB@users.noreply.github.com> Date: Mon, 18 Nov 2024 13:11:15 +0100 Subject: [PATCH] Change front page button margins --- css/frontPage.css | 13 ++++++++++++- css/frontPage.css.map | 2 +- css/frontPage.scss | 13 ++++++++++++- 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/css/frontPage.css b/css/frontPage.css index c08ce921e..dde5276d6 100644 --- a/css/frontPage.css +++ b/css/frontPage.css @@ -12,7 +12,6 @@ body { user-select: none; color: #ffffff; font-size: 2.2em; - line-height: 2em; text-decoration: none; display: flex; flex-direction: column; @@ -72,6 +71,8 @@ body { color: #ffffff; font-size: 1rem; text-shadow: rgb(0, 0, 0) 0 1px 8px; + display: inline-block; + margin-top: 1.1em; } .welcomeContent .welcomeButton, @@ -149,6 +150,16 @@ body { text-shadow: 0.05em 0.075em 0.1em rgba(0, 0, 0, 0.7); } +.disabledButton { + pointer-events: none; + cursor: not-allowed; + background-color: #333333 !important; +} + +.disabledButton strong { + color: rgba(255, 255, 255, 0.3764705882) !important; +} + @media screen and (min-width: 900px) { #title br { display: none; diff --git a/css/frontPage.css.map b/css/frontPage.css.map index 08a174945..95c2da117 100644 --- a/css/frontPage.css.map +++ b/css/frontPage.css.map @@ -1 +1 @@ -{"version":3,"sources":["frontPage.scss","frontPage.css"],"names":[],"mappings":"AAAA;EACI,qDAAA;EACA,uCAAA;EACA,uCAAA;EACA,iCAAA;EACA,sCAAA;ACCJ;;ADEA;EACI,yBAAA;KAAA,sBAAA;UAAA,iBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;EACA,qBAAA;EACA,aAAA;EACA,sBAAA;EACA,mBAAA;EACA,uBAAA;EACA,WAAA;EACA,aAAA;EACA,uBAAA;EACA,+CAAA;EAAA,uCAAA;EAAA,4EAAA;EACA,iDAAA;UAAA,yCAAA;ACCJ;;ADEA;EACI,kBAAA;EACA,kBAAA;ACCJ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;IACI,aAAA;ECPN;EDUE;IACI,cAAA;IACA,iBAAA;ECRN;EDWE;IACI,cAAA;ECTN;EDYE;IACI,SAAA;ECVN;EDaE;;IAEI,kBAAA;ECXN;AACF;ADcA;EACI;IACI,mBAAA;ECZN;AACF;ADeA;EACI,wDAAA;ACbJ","file":"frontPage.css"} \ No newline at end of file +{"version":3,"sources":["frontPage.scss","frontPage.css"],"names":[],"mappings":"AAAA;EACI,qDAAA;EACA,uCAAA;EACA,uCAAA;EACA,iCAAA;EACA,sCAAA;ACCJ;;ADEA;EACI,yBAAA;KAAA,sBAAA;UAAA,iBAAA;EACA,cAAA;EACA,gBAAA;EACA,qBAAA;EACA,aAAA;EACA,sBAAA;EACA,mBAAA;EACA,uBAAA;EACA,WAAA;EACA,aAAA;EACA,uBAAA;EACA,+CAAA;EAAA,uCAAA;EAAA,4EAAA;EACA,iDAAA;UAAA,yCAAA;ACCJ;;ADEA;EACI,kBAAA;EACA,kBAAA;ACCJ;;ADEA;EACI,kBAAA;EACA,WAAA;EACA,SAAA;EACA,2BAAA;EACA,iBAAA;EACA,WAAA;EACA,oBAAA;ACCJ;;ADEA;EACI,eAAA;EACA,kBAAA;EACA,cAAA;EACA,gBAAA;EACA,qBAAA;EACA,kBAAA;EACA,mBAAA;EACA,aAAA;EACA,uBAAA;EACA,sBAAA;EACA,+CAAA;EACA,cAAA;ACCJ;;ADEA;EACI,aAAA;EACA,mBAAA;EACA,QAAA;ACCJ;;ADEA;EACI,kBAAA;ACCJ;;ADEA;EACI,cAAA;EACA,eAAA;EACA,mCAAA;EACA,qBAAA;EACA,iBAAA;ACCJ;;ADEA;;;EAGI,cAAA;EACA,aAAA;EACA,uBAAA;EACA,mBAAA;EACA,YAAA;EACA,YAAA;EACA,kBAAA;EACA,cAAA;EACA,iBAAA;EACA,yBAAA;EACA,mBAAA;EACA,iBAAA;EACA,gDAAA;EACA,kBAAA;ACCJ;;ADEA;EACI,kCAAA;ACCJ;;ADEA;EACI,+BAAA;ACCJ;;ADEA;EACI,+BAAA;EACA,yBAAA;EACA,8CAAA;ACCJ;;ADEA;EACI,iCAAA;ACCJ;;ADEA;EACI,+BAAA;ACCJ;;ADEA;EACI,+BAAA;EACA,yBAAA;EACA,kDAAA;ACCJ;;ADEA;;;EAGI,yBAAA;EACA,gBAAA;EACA,sBAAA;EACA,gBAAA;ACCJ;;ADEA;EACI,YAAA;EACA,mCAAA;EACA,kDAAA;ACCJ;;ADEA;EACI,uCAAA;EACA,yBAAA;EACA,mDAAA;UAAA,2CAAA;ACCJ;;ADEA;EACI,uCAAA;EACA,yBAAA;EACA,oDAAA;ACCJ;;ADEA;EACI,oBAAA;EACA,mBAAA;EACA,oCAAA;ACCJ;;ADEA;EACI,mDAAA;ACCJ;;ADEA;EACI;IACI,aAAA;ECCN;EDGE;IACI,YAAA;IACA,eAAA;ECDN;AACF;ADIA;EACI;IACI,cAAA;ECFN;EDKE;IACI,sBAAA;IACA,mBAAA;IACA,MAAA;ECHN;EDME;IACI,kBAAA;ECJN;EDOE;IACI,aAAA;ECLN;EDQE;;;IAGI,YAAA;IACA,YAAA;IACA,iBAAA;ECNN;EDSE;IACI,aAAA;ECPN;EDUE;IACI,cAAA;IACA,iBAAA;ECRN;EDWE;IACI,cAAA;ECTN;EDYE;IACI,SAAA;ECVN;EDaE;;IAEI,kBAAA;ECXN;AACF;ADcA;EACI;IACI,mBAAA;ECZN;AACF;ADeA;EACI,wDAAA;ACbJ","file":"frontPage.css"} \ No newline at end of file diff --git a/css/frontPage.scss b/css/frontPage.scss index af36d7834..9defc4904 100644 --- a/css/frontPage.scss +++ b/css/frontPage.scss @@ -10,7 +10,6 @@ body { user-select: none; color: #ffffff; font-size: 2.2em; - line-height: 2em; text-decoration: none; display: flex; flex-direction: column; @@ -67,6 +66,8 @@ body { color: #ffffff; font-size: 1rem; text-shadow: rgb(0, 0, 0) 0 1px 8px; + display: inline-block; + margin-top: 1.1em; } .welcomeContent .welcomeButton, @@ -143,6 +144,16 @@ body { text-shadow: 0.05em 0.075em 0.1em rgba(0, 0, 0, 0.7); } +.disabledButton { + pointer-events: none; + cursor: not-allowed; + background-color: #333333 !important; +} + +.disabledButton strong { + color: #ffffff60 !important; +} + @media screen and (min-width: 900px) { #title br { display: none;