summaryrefslogtreecommitdiff
path: root/assets/css/xslt.css
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/xslt.css')
-rw-r--r--assets/css/xslt.css35
1 files changed, 35 insertions, 0 deletions
diff --git a/assets/css/xslt.css b/assets/css/xslt.css
new file mode 100644
index 0000000..ac981f3
--- /dev/null
+++ b/assets/css/xslt.css
@@ -0,0 +1,35 @@
+@namespace xsl "http://www.w3.org/1999/XSL/Transform";
+
+xsl|template {
+ display: none !important;
+}
+
+:root {
+ display: flex !important;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ min-height: 100vh;
+ background-color: #f8f9fa;
+ margin: 0;
+ padding: 2em 1em;
+ font-family: system-ui, -apple-system, sans-serif;
+ box-sizing: border-box;
+ margin-left: max(1em, env(safe-area-inset-left));
+ margin-right: max(1em, env(safe-area-inset-right));
+}
+
+:root::before {
+ content: "💀 这个 XSLT 模板已被谷歌 (Chrome) 杀死";
+ display: block;
+ color: #d93025;
+ font-size: 24px;
+ font-weight: 800;
+ padding: 20px;
+ border: 2px solid #d93025;
+ border-radius: 8px;
+ background: #fff1f0;
+ margin-bottom: 10px;
+ box-shadow: 0 4px 12px rgba(217, 48, 37, 0.1);
+ text-align: center;
+} \ No newline at end of file