summaryrefslogtreecommitdiff
path: root/assets/css/xslt.css
diff options
context:
space:
mode:
authormayx2026-02-04 01:27:35 +0000
committermayx2026-02-04 01:27:35 +0000
commit1553183d31d0e34ec94ad58748042f117c1bc084 (patch)
tree23b5a7817b5517e1e8fbd836cbd729d5171ad932 /assets/css/xslt.css
parent0ad9008f3e573974bfce9caa9233eb4597439ef0 (diff)
Update 5 files
- /_data/other_repo_list.csv - /assets/css/feed.css - /assets/css/xslt.css - /_layouts/xslt_container.html - /rss.xml
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