aboutsummaryrefslogtreecommitdiff
path: root/views/common
diff options
context:
space:
mode:
Diffstat (limited to 'views/common')
-rw-r--r--views/common/blur.css3
-rw-r--r--views/common/compatibilityMode.css10
-rw-r--r--views/common/fonts.css2
3 files changed, 14 insertions, 1 deletions
diff --git a/views/common/blur.css b/views/common/blur.css
new file mode 100644
index 0000000..f904c12
--- /dev/null
+++ b/views/common/blur.css
@@ -0,0 +1,3 @@
+#intro, #laps-inner-car0, #laps-inner-car1, #paused, #credits, #gpuinfo, #warning {
+ backdrop-filter: blur(10px);
+} \ No newline at end of file
diff --git a/views/common/compatibilityMode.css b/views/common/compatibilityMode.css
new file mode 100644
index 0000000..a436549
--- /dev/null
+++ b/views/common/compatibilityMode.css
@@ -0,0 +1,10 @@
+*:not(#gpuinfo-outer):not(#gpuinfo-inner) {
+ backdrop-filter: none !important;
+ transition: none !important;
+ opacity: 1 !important;
+ animation: none !important;
+}
+
+.rain {
+ display: none !important;
+} \ No newline at end of file
diff --git a/views/common/fonts.css b/views/common/fonts.css
index 190dd75..5aa99e0 100644
--- a/views/common/fonts.css
+++ b/views/common/fonts.css
@@ -14,7 +14,7 @@
font-family: "Comfortaa", -apple-system, sans-serif;
}
-#gpuinfo, #gpuinfo * {
+#gpuinfo-inner, #gpuinfo-inner * {
font-family: monospace !important;
}