Skip to content

Commit

Permalink
add:添加style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
zzyh1145 committed Aug 23, 2024
1 parent 469f1aa commit 15aaae0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 22 deletions.
24 changes: 2 additions & 22 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<!--[if lt IE 9]>
<script src="https://cdn.bootcdn.net/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="/style.css">
<link rel="shortcut icon" href="./favicon.ico" />
</head>
<body>
Expand Down Expand Up @@ -94,28 +95,7 @@ <h3>老设备导航-让老设备焕发第二春!</h3>

</span>

<style type="text/css">
body {
background-color: #ECF0F1;
}
#searchBar {
width: 100px;
}
span.sitesUrl {
font-size: 20px;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #000;
color: #ffffff;
opacity: 0.87; /* 设置字体透明度为87%以增加可读性 */
}
a {
color: Mediumslateblue;
}
}
</style>


<!--网站统计-->
<a href="https://wapmz.com/in/10"><img src="https://wapmz.com/cn/small/10" alt="wapmz.com"></a>

Expand Down
19 changes: 19 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
body {
background-color: #ECF0F1;
}
#searchBar {
width: 100px;
}
span.sitesUrl {
font-size: 20px;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #000;
color: #ffffff;
opacity: 0.87; /* 设置字体透明度为87%以增加可读性 */
}
a {
color: Mediumslateblue;
}
}

0 comments on commit 15aaae0

Please sign in to comment.