首頁CSS美化

This commit is contained in:
Yuan Chiu 2020-04-09 23:13:03 +08:00
parent 0ed02cf2c5
commit f61573daa7

View File

@ -19,6 +19,40 @@ $list = $db->getList($page, $list_max_count);
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/general.css">
<title>Document</title>
<style>
section, div.func-btn {
margin: 0 auto;
width: 800px;
}
table {
width: 100%;
table-layout: auto;
border-collapse: collapse;
}
table tbody th, table tbody td {
border: 1px black solid;
}
table>tbody th:nth-child(1) {
width: 3em;
}
table>tbody td:nth-child(2) {
/* width: 100%; */
}
table>tbody td:nth-last-child(2) {
width: 9em;
}
table>tbody td:nth-last-child(1) {
width: 10em;
}
div.table-func {
text-align: center;
}
</style>
</head>
<body>
<div id="container">