Commit 111aa20f by jackzhou

调整样式

parent 8359fc82
......@@ -11,6 +11,126 @@
.add a {text-decoration: none;color: #fff;background-color: green;padding: 6px;border-radius: 5px;}
td {text-align: center;}
</style>
<style type="text/css">
.time{
margin-top: 30px;
font-size: 16px;
margin-left: 20px;
text-decoration:none;
}
.title{
margin-top: 60px;
margin-bottom: 60px;
font-size: 24px;
font-weight: bold;
color: #000000;
}
.txt{
margin-left: 60px;
margin-top: 10px;
font-size: 16px;
color: #000000;
}
.title-0{
margin-top: 20px;
font-size: 16px;
font-weight: bold;
color: #000;
}
.title-1{
margin-top: 10px;
margin-bottom: 10px;
font-size: 18px;
color: #000;
text-decoration:underline;
}
.title-2{
margin-top: 10px;
font-size: 14px;
text-decoration:none;
color: #ff0000;
}
.line{
margin-top: 20px;
margin-bottom: 50px;
}
.bottom{
display: flex;
align-items: flex-end;
}
body {
font-size: 12px;
}
ul li {
list-style: none;
}
.track-rcol {
width: 100%;
border: 1px solid #eee;
}
.track-list {
margin: 20px;
padding-left: 5px;
position: relative;
}
.track-list li {
position: relative;
padding: 9px 0 0 25px;
line-height: 18px;
border-left: 1px solid #d9d9d9;
color: #999;
}
.track-list li.first {
color: red;
padding-top: 0;
border-left-color: #fff;
}
.track-list li .node-icon {
position: absolute;
left: -6px;
top: 50%;
width: 11px;
height: 11px;
background: url(images/img-1.jpg) -21px -72px no-repeat;
}
.track-list li.first .node-icon {
background-position: 0 -72px;
}
.track-list li .time {
margin-right: 20px;
position: relative;
top: 4px;
display: inline-block;
vertical-align: middle;
}
.track-list li .txt {
position: relative;
top: 4px;
font-size: 22px;
color: #000000;
display: inline-block;
vertical-align: middle;
}
.track-list li.first .time {
margin-right: 20px;
}
.track-list li.first .txt {
max-width: 600px;
}
</style>
<body>
<div class="wrapper">
<?php
......@@ -27,7 +147,6 @@
// 3. 从DBNAME中查询到news数据库,返回数据库结果集,并按照addtime降序排列
$sql = "select * from carton where id={$id} order by id asc;";
// 结果集
$result = mysqli_query($link, $sql) or die('添加数据出错:'.mysqli_error());
// var_dump($result);
......@@ -62,138 +181,6 @@
mysqli_free_result($result);
mysqli_close($link);
?>
</div>
<script type="text/javascript">
function changestatus (id) {
if (confirm("确定要修改该日志吗?")){
window.location = "action-del.php?id="+id;
}
}
function enterpage (id) {
window.location = "cartonDetail.php?id="+id;
}
</script>
<style type="text/css">
.time{
margin-top: 30px;
font-size: 16px;
margin-left: 20px;
text-decoration:none;
}
.title{
margin-top: 60px;
margin-bottom: 60px;
font-size: 32px;
font-weight: bold;
color: #000000;
}
.txt{
margin-left: 60px;
margin-top: 10px;
font-size: 20px;
color: #000000;
}
.title-0{
margin-top: 20px;
font-size: 16px;
font-weight: bold;
color: #000;
}
.title-1{
margin-top: 10px;
margin-bottom: 10px;
font-size: 18px;
color: #000;
text-decoration:underline;
}
.title-2{
margin-top: 10px;
font-size: 14px;
text-decoration:none;
color: #ff0000;
}
.line{
margin-top: 20px;
margin-bottom: 50px;
}
.bottom{
display: flex;
align-items: flex-end;
}
body {
font-size: 12px;
}
ul li {
list-style: none;
}
.track-rcol {
width: 100%;
border: 1px solid #eee;
}
.track-list {
margin: 20px;
padding-left: 5px;
position: relative;
}
.track-list li {
position: relative;
padding: 9px 0 0 25px;
line-height: 18px;
border-left: 1px solid #d9d9d9;
color: #999;
}
.track-list li.first {
color: red;
padding-top: 0;
border-left-color: #fff;
}
.track-list li .node-icon {
position: absolute;
left: -6px;
top: 50%;
width: 11px;
height: 11px;
background: url(images/img-1.jpg) -21px -72px no-repeat;
}
.track-list li.first .node-icon {
background-position: 0 -72px;
}
.track-list li .time {
margin-right: 20px;
position: relative;
top: 4px;
display: inline-block;
vertical-align: middle;
}
.track-list li .txt {
position: relative;
top: 4px;
font-size: 22px;
color: #000000;
display: inline-block;
vertical-align: middle;
}
.track-list li.first .time {
margin-right: 20px;
}
.track-list li.first .txt {
max-width: 600px;
}
</style>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment