<!DOCTYPE html>
<html>
<head>
    <title>机房共享系统</title>
    <link rel="icon" type="image/x-icon" href="shar.ico"> <!-- 引用全局图标文件 -->
    <style>
          body {
    background-image: url('img/2.jpg');
    background-size: contain; /* 将背景图片调整为包含在容器内 */
    background-position: center; /* 将背景图片居中 */
    margin: 0;
    padding: 0;
}
    .container {
    width: 50%;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    background-image: url('img/1.jpg'); /* 设置背景图片 */
    background-size: cover; /* 确保背景图片覆盖整个容器 */
    background-position: center; /* 将背景图片居中 */
}

        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
        }
        header {
            background-color: #4CAF50;
            padding: 20px;
            color: white;
            text-align: center;
            margin-bottom: 20px;
        }
        h1, h2 {
            text-align: center;
        }
        .container {
            width: 50%;
            margin: 0 auto;
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            text-align: center;
            color: #4CAF50; /* 修改文字颜色 */
            margin-top: 20px; 
            font-weight: bold;
        }
        form {
            margin-top: 20px;
        }
        input[type="submit"] {
            background-color: #4CAF50;
            border: none;
            color: white;
            padding: 10px 20px;
            text-decoration: none;
            margin: 4px 2px;
            cursor: pointer;
            border-radius: 4px;
        }
        input[type="submit"]:hover {
            background-color: #45a049;
        }
     
        }
    </style>
</head>
<body>
    <header>
        <h1>机房共享系统</h1>
    </header>
    <div class="container">
        <h2>文件上传与下载</h2>
        <form action="up.php" method="POST">
            <input type="submit" value="上传文件">
        </form>
        <form action="down.php" method="POST">
            <input type="submit" value="下载文件">
        </form>
    </div>
    <div class="container">
        <p>锻炼自己-成就他人-互助互帮<br>何乐而不为</p>
    </div>
</body>
</html>
