Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
改成響應式設計,以利 PC 使用者以大版面, 每行字多的方式瀏覽;而手機使用者則要能在瀏覽及點擊 <div id="side"> 的區塊時…
Browse files Browse the repository at this point in the history
…,看到大尺寸的字型,以利其操作使用。
AlanJui committed Apr 25, 2024
1 parent f065368 commit 9582a4a
Showing 2 changed files with 23 additions and 0 deletions.
Binary file modified Documents/D300_廣韻_河洛話篇.xlsx
Binary file not shown.
23 changes: 23 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -8,6 +8,29 @@
<link href="./assets/styles/base.css" rel="stylesheet" media="all">
<link href="./assets/styles/main.css" rel="stylesheet" media="all">
<meta property="og:image" content="https://alanjui.github.io/Piau-Im/assets/picts/king_tian.png" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
/* 用於大螢幕裝置(例如 PC)的樣式 */
#side {
float: right;
width: 30%;
/* 調整側邊欄的寬度 */
font-size: 16px;
/* 設定字型大小為 16px */
}

/* 用於小螢幕裝置(例如手機)的樣式 */
@media screen and (max-width: 768px) {
#side {
float: none;
width: auto;
font-size: 24px;
/* 設定字型大小為 24px */
text-align: center;
/* 文字置中 */
}
}
</style>
</head>

<body>

0 comments on commit 9582a4a

Please sign in to comment.