QQgit/preview/_footer_probe.html

33 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN" class="theme-qq-auto">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="https://git.qyhhh.top/assets/css/index.css?v=1.21.11">
<link rel="stylesheet" href="https://git.qyhhh.top/assets/css/theme-qq-auto.css?v=1.21.11">
<link rel="stylesheet" href="https://git.qyhhh.top/assets/css/qq-ui.css">
</head>
<body>
<div style="height:600px">占位</div>
<footer class="page-footer qq-icp-footer" role="contentinfo" aria-label="备案信息">
<a class="qq-icp" href="https://beian.miit.gov.cn/">闽ICP备2023002932号</a>
<nav class="qq-lang" aria-label="语言 / Language">
<span class="qq-lang-cur">简体中文</span>
<a href="/?lang=en-US">English</a>
</nav>
</footer>
<pre id="out">pending</pre>
<script>
var f = document.querySelector('.page-footer'), n = document.querySelector('.qq-lang');
var cf = getComputedStyle(f), cn = getComputedStyle(n);
document.getElementById('out').textContent = [
'footer display = ' + cf.display,
'footer justify = ' + cf.justifyContent,
'footer flexDirection = ' + cf.flexDirection,
'footer position = ' + cf.position,
'lang position = ' + cn.position + ' right=' + cn.right,
'lang display = ' + cn.display
].join('\n');
</script>
</body>
</html>