调整样式

This commit is contained in:
liushuang 2024-08-09 14:52:28 +08:00
parent 32f4c649ec
commit e3a0903e22
3 changed files with 15 additions and 13 deletions

@ -41,13 +41,13 @@
To create a production bundle, use `npm run build` or `yarn build`. To create a production bundle, use `npm run build` or `yarn build`.
--> -->
<script> <script>
var _hmt = _hmt || []; // var _hmt = _hmt || [];
(function () { // (function () {
var hm = document.createElement("script"); // var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?897783afa3c6079cf0ac98fe04e7ead7"; // hm.src = "https://hm.baidu.com/hm.js?";
var s = document.getElementsByTagName("script")[0]; // var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s); // s.parentNode.insertBefore(hm, s);
})(); // })();
</script> </script>
</body> </body>

@ -56,6 +56,7 @@ export default `/*自定义样式,实时生效*/
#nice h2 { #nice h2 {
margin: 10px auto; margin: 10px auto;
height: 40px; height: 40px;
color: #fff;
// background-color: rgb(251, 251, 251); // background-color: rgb(251, 251, 251);
// border-bottom: 1px solid rgb(246, 246, 246); // border-bottom: 1px solid rgb(246, 246, 246);
overflow: hidden; overflow: hidden;
@ -64,15 +65,15 @@ export default `/*自定义样式,实时生效*/
/* 二级标题内容 */ /* 二级标题内容 */
#nice h2 .content { #nice h2 .content {
margin-left: -10px; // margin-left: -10px;
display: inline-block; display: inline-block;
width: auto; width: auto;
height: 40px; height: 40px;
background-color: rgb(33, 33, 34); background-color: rgb(33, 33, 34);
// border-bottom-right-radius:100px; // border-bottom-right-radius:100px;
color: rgb(255, 255, 255); color: rgb(255, 255, 255);
padding-right: 30px; padding-right: 20px;
padding-left: 30px; padding-left: 20px;
line-height: 40px; line-height: 40px;
font-size: 16px; font-size: 16px;
} }

@ -59,6 +59,7 @@ export default `/*自定义样式,实时生效*/
#nice h2 { #nice h2 {
margin: 10px auto; margin: 10px auto;
height: 40px; height: 40px;
color: #fff;
// background-color: rgb(251, 251, 251); // background-color: rgb(251, 251, 251);
// border-bottom: 1px solid rgb(246, 246, 246); // border-bottom: 1px solid rgb(246, 246, 246);
overflow: hidden; overflow: hidden;
@ -67,15 +68,15 @@ export default `/*自定义样式,实时生效*/
/* 二级标题内容 */ /* 二级标题内容 */
#nice h2 .content { #nice h2 .content {
margin-left: -10px; // margin-left: -10px;
display: inline-block; display: inline-block;
width: auto; width: auto;
height: 40px; height: 40px;
background-color: rgb(33, 33, 34); background-color: rgb(33, 33, 34);
// border-bottom-right-radius:100px; // border-bottom-right-radius:100px;
color: rgb(255, 255, 255); color: rgb(255, 255, 255);
padding-right: 30px; padding-right: 20px;
padding-left: 30px; padding-left: 20px;
line-height: 40px; line-height: 40px;
font-size: 16px; font-size: 16px;
} }