更新css

This commit is contained in:
Raymond Yang 2023-06-27 16:51:37 +08:00
parent 163a75855f
commit b1ecd238b2
3 changed files with 45 additions and 39 deletions

View File

@ -5,8 +5,7 @@ table {
width: 100%; width: 100%;
} }
th, th, td {
td {
padding: 10px 20px; padding: 10px 20px;
border: 1px solid #000; border: 1px solid #000;
} }
@ -42,21 +41,29 @@ h1 {
} }
h2 { h2 {
text-align: center;
font-weight: bold; font-weight: bold;
font-family: 'Arial Black', system-ui font-family: 'Arial Black', system-ui
} }
h3 { h3 {
text-align: center;
font-weight: bold; font-weight: bold;
font-family: 'Arial Black', system-ui font-family: 'Arial Black', system-ui
} }
h4 { h4 {
text-align: center;
font-weight: bold; font-weight: bold;
font-family: 'Arial Black', system-ui font-family: 'Arial Black', system-ui;
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
} }
p { p {
text-align: center;
font-weight: bold; font-weight: bold;
font-family: 'Arial', system-ui font-family: 'Arial', system-ui
} }
@ -68,24 +75,19 @@ p {
font-family: 'Arial', system-ui font-family: 'Arial', system-ui
} }
.button { input[type="text"] {
width: 30%; width: 100%;
height: 30px; outline: #1aff00;
}
input[type="number"] {
width: 100%;
outline: #1aff00;
}
button {
width: 40%;
height: 40px;
font-weight: bold; font-weight: bold;
font-family: 'Arial', system-ui font-family: 'Arial', system-ui
} }
.form_td {
padding-top: 5px;
padding-bottom: 5px;
}
.label_title {
font-weight: bold;
font-family: 'Arial Black', system-ui
}
.label_content {
font-weight: normal;
font-family: 'Arial', system-ui
}

View File

@ -13,72 +13,74 @@
<body> <body>
<h1>新增/修改紀錄</h1> <h1>新增/修改紀錄</h1>
<hr> <hr>
<h4>填寫方式掉刀填0正常出刀填X周-Y王。傷害依照幹部規定要不要填如不填可留空</h4>
<hr>
<form id="record-form"> <form id="record-form">
<table> <table>
<tr> <tr>
<td>第1刀正刀</td> <td><h4>第1刀正刀</h4></td>
<td> <td>
<input type="text" id="knife1_boss" placeholder="x周-y王" /> <input type="text" id="knife1_boss" placeholder="x周-y王" />
</td> </td>
<td>第1刀正刀傷害</td> <td><h4>第1刀正刀傷害</h4></td>
<td> <td>
<input type="text" id="knife1_damage" placeholder="ex: 12000000" /> <input type="number" id="knife1_damage" placeholder="ex: 12000000" />
</td> </td>
</tr> </tr>
<tr> <tr>
<td>第1刀殘刀</td> <td><h4>第1刀殘刀</h4></td>
<td> <td>
<input type="text" id="knife1c_boss" placeholder="x周-y王" /> <input type="text" id="knife1c_boss" placeholder="x周-y王" />
</td> </td>
<td>第1刀殘刀傷害</td> <td><h4>第1刀殘刀傷害</h4></td>
<td> <td>
<input type="text" id="knife1c_damage" placeholder="ex: 12000000" /> <input type="number" id="knife1c_damage" placeholder="ex: 12000000" />
</td> </td>
</tr> </tr>
</table> </table>
<hr /> <hr />
<table> <table>
<tr> <tr>
<td>第2刀正刀</td> <td><h4>第2刀正刀</h4></td>
<td> <td>
<input type="text" id="knife2_boss" placeholder="x周-y王" /> <input type="text" id="knife2_boss" placeholder="x周-y王" />
</td> </td>
<td>第2刀正刀傷害</td> <td><h4>第2刀正刀傷害</h4></td>
<td> <td>
<input type="text" id="knife2_damage" placeholder="ex: 12000000" /> <input type="number" id="knife2_damage" placeholder="ex: 12000000" />
</td> </td>
</tr> </tr>
<tr> <tr>
<td>第2刀殘刀</td> <td><h4>第2刀殘刀</h4></td>
<td> <td>
<input type="text" id="knife2c_boss" placeholder="x周-y王" /> <input type="text" id="knife2c_boss" placeholder="x周-y王" />
</td> </td>
<td>第2刀殘刀傷害</td> <td><h4>第2刀殘刀傷害</h4></td>
<td> <td>
<input type="text" id="knife2c_damage" placeholder="ex: 12000000" /> <input type="number" id="knife2c_damage" placeholder="ex: 12000000" />
</td> </td>
</tr> </tr>
</table> </table>
<hr /> <hr />
<table> <table>
<tr> <tr>
<td>第3刀正刀</td> <td><h4>第3刀正刀</h4></td>
<td> <td>
<input type="text" id="knife3_boss" placeholder="x周-y王" /> <input type="text" id="knife3_boss" placeholder="x周-y王" />
</td> </td>
<td>第3刀正刀傷害</td> <td><h4>第3刀正刀傷害</h4></td>
<td> <td>
<input type="text" id="knife3_damage" placeholder="ex: 12000000" /> <input type="number" id="knife3_damage" placeholder="ex: 12000000" />
</td> </td>
</tr> </tr>
<tr> <tr>
<td>第3刀殘刀</td> <td><h4>第3刀殘刀</h4></td>
<td> <td>
<input type="text" id="knife3c_boss" placeholder="x周-y王" /> <input type="text" id="knife3c_boss" placeholder="x周-y王" />
</td> </td>
<td>第3刀殘刀傷害</td> <td><h4>第3刀殘刀傷害</h4></td>
<td> <td>
<input type="text" id="knife3c_damage" placeholder="ex: 12000000" /> <input type="number" id="knife3c_damage" placeholder="ex: 12000000" />
</td> </td>
</tr> </tr>
</table> </table>

View File

@ -13,6 +13,8 @@
<body id="body"> <body id="body">
<h1>新增紀錄</h1> <h1>新增紀錄</h1>
<hr> <hr>
<h4>填寫方式掉刀填0正常出刀填X周-Y王。傷害依照幹部規定要不要填如不填可留空</h4>
<hr>
<form id="record-form"> <form id="record-form">
<table> <table>
<tr> <tr>