This commit is contained in:
shaoyongjun 2024-11-01 10:28:33 +08:00
parent 41f121d18a
commit 574613cb20
3 changed files with 20 additions and 15 deletions

View File

@ -27,11 +27,14 @@
} }
body { body {
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", Helvetica, Arial, "Microsoft YaHei", 微软雅黑, 黑体, Heiti, sans-serif, SimSun, 宋体, serif, SourceSansPro;
display: flex;
flex-direction: column;
justify-content: center; justify-content: center;
/*align-items: center;*/ /*align-items: center;*/
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", Helvetica, Arial, "Microsoft YaHei", 微软雅黑, 黑体, Heiti, sans-serif, SimSun, 宋体, serif, SourceSansPro; /*background-color: #ffebc3;*/
} }
header { header {
@ -178,11 +181,13 @@ main {
body { body {
top: 1%; top: 1%;
} }
#_style_utils svg { #_style_utils svg {
width: 400rem; width: 400rem;
height: 400rem; height: 400rem;
margin: 50rem 0; margin: 50rem 0;
} }
main { main {
margin-top: 500rem; margin-top: 500rem;
} }

View File

@ -174,13 +174,13 @@ window.onload = function () {
*/ */
let testDiv = document.getElementById("testDevice"); let testDiv = document.getElementById("testDevice");
testDiv.innerText += "\n\n ### info ###"+ testDiv.innerText += "\n\n ### info ###"+
"\n'# ': h1" + "\n'#空格': h1" +
"\n'## ': h2" + "\n'##空格': h2" +
"\n'### ': h3" + "\n'###空格': h3" +
"\n'#### ': h4" + "\n'####空格': h4" +
"\n'##### ': h5" + "\n'#####空格': h5" +
"\n'###### ': h6" + "\n'######空格': h6" +
"\n'- ': 无序列表" + "\n'-空格': 无序列表" +
"\n'num ': 有序序列表" "\n'1.空格': 有序序列表 形如 1. "
} }

View File

@ -14,7 +14,7 @@
<script type="module" src="./js/lib/main.js"></script> <script type="module" src="./js/lib/main.js"></script>
</head> </head>
<body style="display: flex; flex-direction:column; background-color: #ffebc3"> <body>
<header> <header>
<!-- 顶部 --> <!-- 顶部 -->