diff --git a/src/static/css/styles-nojs.css b/src/static/css/styles-nojs.css new file mode 100644 index 0000000..1a431b2 --- /dev/null +++ b/src/static/css/styles-nojs.css @@ -0,0 +1,69 @@ +.pageContainer .footer-js { + display: none; +} + +.nojs-warning { + position: absolute !important; + max-width: 400px !important; + text-align: center !important; + padding-top: 24px !important; + animation: blinker 2s ease-in-out infinite; +} + +@keyframes blinker { + 50% { opacity: 0; } +} + +.content-not-available { + display: grid; + position: relative; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + width: 100%; + height: calc(100vh - 80px); + overflow: hidden; + color: #fefee1; +} + +.content-not-available .content-not-available-introduction { + width: 100%; + position: absolute; + transition: transform .2s ease; + transform: translateX(0); + text-align: center; +} + +.dropdown-menu-linux { + position: relative; + display: inline-block; +} + +.dropdownbtn { + border: none; + color: #fefee1; + background-color: transparent; + text-shadow: 0 0 1px rgba(22, 25, 35, 0.5); +} + +.dropdown-menu-linux-content { + display: none; + position: absolute; + background-color: rgb(255 179 38 / 80%); + width: 100%; + box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); + z-index: 1; +} + +.dropdown-menu-linux-content a { + text-decoration: none; + display: block; +} + +.dropdown-menu-linux-content a:hover { + background-color: #ddd; +} + +.dropdown-menu-linux:hover .dropdown-menu-linux-content { + display: block; +} \ No newline at end of file diff --git a/src/views/includes/footer-nojs.ejs b/src/views/includes/footer-nojs.ejs new file mode 100644 index 0000000..49958c8 --- /dev/null +++ b/src/views/includes/footer-nojs.ejs @@ -0,0 +1,30 @@ + \ No newline at end of file diff --git a/src/views/includes/nav-nojs.ejs b/src/views/includes/nav-nojs.ejs new file mode 100644 index 0000000..e5719b2 --- /dev/null +++ b/src/views/includes/nav-nojs.ejs @@ -0,0 +1,68 @@ +
+
- BeamMP Bringing Multiplayer to BeamNG.drive!
- With a smooth and enjoyable experience.
-
-
+ Try restarting BeamMP as this can sometimes happen, if this fails to fix your issue please create a topic on our forum or visit the support channel on our discord
-Please check the #how-to-use channel in Discord and on our forum. Please give an accurate description of what you’ve done so the support team will help you in a fast and effective way.
-Please head over to our forum and see if anyone has had the issue before. It is likely that someone else has at some point and therefore there will also probably be a solution posted with it too in the replies. Altervatively visit our discord where the larger portion of community is currently based.
-We don’t know if it works with pirated versions of BeamNG.drive, but we will not provide any support to non legit copies of the game. Nor will we change to support it.
-The server files required for hosting your own server can be found at the top of this page below the client download. You will also require a authentication key which can be found from keymaster. Further information around the setup can be found on our wiki.
-Mods are supported, These are installed on the server. See our wiki for more infomation.
-Try restarting BeamMP as this can sometimes happen, if this fails to fix your issue please create a topic on our forum or visit the support channel on our discord
+Please check the #how-to-use channel in Discord and on our forum. Please give an accurate description of what you’ve done so the support team will help you in a fast and effective way.
+Please head over to our forum and see if anyone has had the issue before. It is likely that someone else has at some point and therefore there will also probably be a solution posted with it too in the replies. Altervatively visit our discord where the larger portion of community is currently based.
+We don’t know if it works with pirated versions of BeamNG.drive, but we will not provide any support to non legit copies of the game. Nor will we change to support it.
+The server files required for hosting your own server can be found at the top of this page below the client download. You will also require a authentication key which can be found from keymaster. Further information around the setup can be found on our wiki.
+Mods are supported, These are installed on the server. See our wiki for more infomation.
+