JrMasterModelBuilder
JrMasterModelBuilder
CDCloudflare Developers
Created by JrMasterModelBuilder on 2/3/2024 in #general-help
Uncompiled SASS in bot challenge page
Not really sure where to report this, but for the past several days the bot challenge page where you potentially have to check a captcha box to proceed to a website has looked kinda weird and dark mode stopped working. Apparently this is because there is uncompiled SASS code instead of CSS code being served in the <style> tags. Here's a beautified except to show you what I mean:
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0
}

@mixin dark-mode {
background-color: #222;
color: #d9d9d9;

a {
color: #fff;

&:hover {
text-decoration: underline;
color: #ee730a;
}
}
...
}

@mixin light-mode {
background-color: transparent;
color: #313131;
...
}

@media (prefers-color-scheme: dark) {
body {
@include dark-mode;
}
}
...
</style>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0
}

@mixin dark-mode {
background-color: #222;
color: #d9d9d9;

a {
color: #fff;

&:hover {
text-decoration: underline;
color: #ee730a;
}
}
...
}

@mixin light-mode {
background-color: transparent;
color: #313131;
...
}

@media (prefers-color-scheme: dark) {
body {
@include dark-mode;
}
}
...
</style>
4 replies