ExamSchedule/index.html

134 lines
4.1 KiB
HTML

<!--
_ooOoo_
o8888888o
88" . "88
(| -_- |)
O\ = /O
____/---\____
.' \\| |// '.
/ \\||| : |||// \
/ _||||| -:- |||||- \
| | \\\ - /// | |
| _| ''---/'' | |
\ .-\__ `-` ___/-. /
___`. .' /--.--\ `. . __
."" '< `.___\_<|>_/___.' >'"".
| | : `- \.;`\ _ /';.\ - ` : | |
\ \ `-. \_ __\ /__ _/ .-\ / /
======`-.____`-.___\_____/___.-`____.-'======
`=---='
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
佛祖保佑 永无BUG
-->
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<link rel="shortcut icon" href="./favicon.ico">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>选择页面</title>
<style>
body {
background-image: url('./background.jpg');
background-size: cover;
background-repeat: no-repeat;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* 使用更现代的字体 */
color: #fff;
background-color: rgba(0, 0, 0, 0.5); /* 添加半透明背景 */
backdrop-filter: blur(5px); /* 添加背景模糊效果 */
}
h1 {
color: #fff;
font-size: 48px;
text-align: center;
margin-bottom: 30px;
animation: fadeInUp 1s ease-in-out;
}
ul {
list-style: none;
padding: 0;
margin: 0;
display: flex; /* 改为横向排布 */
justify-content: center; /* 居中对齐 */
gap: 30px; /* 按钮之间的间距 */
animation: fadeInUp 1s ease-in-out;
}
li {
margin-bottom: 0; /* 移除垂直间距 */
}
a {
color: #fff;
text-decoration: none;
font-size: 24px;
font-weight: bold;
padding: 15px 30px;
border-radius: 8px;
background-color: rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
display: inline-block;
}
a:hover {
background-color: rgba(255, 255, 255, 0.3);
transform: translateY(-3px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
@keyframes fadeInUp {
0% {
opacity: 0;
transform: translateY(20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.copyright {
position: absolute;
bottom: 10px;
width: 100%;
text-align: center;
font-size: 20px;
color: rgba(255, 255, 255, 0.8);
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
animation: fadeInUp 1s ease-in-out;
}
</style>
</head>
<body>
<h1>选择版本:</h1>
<ul>
<li><a href="./time/">电子钟表</a></li>
<li><a href="./exam/">考试看板</a></li>
<li><a href="./notification/">考试广播</a></li>
</ul>
<!-- 添加GitHub图标跳转项目地址 -->
<a href="https://github.com/ExamAware/ExamSchedule" target="_blank" style="position: absolute; top: 10px; right: 10px; z-index: 1000;">
<img src="./github-icon.png" alt="GitHub" style="width: 30px; height: 30px;" title="在GitHub上查看源代码">
</a>
<!-- 新增版权信息 -->
<div class="copyright">&copy; 2024-2025 ExamAware开发团队 版权所有</div>
<script>
// 愚人节彩蛋
function checkAprilFools() {
const today = new Date();
if(today.getMonth() === 3 && today.getDate() === 1) { // 4月1日
if(Math.random() <= 0.75) { // 75%的概率
window.location.href = 'https://www.bilibili.com/video/BV1GJ411x7h7/';
}
}
}
// 页面加载时执行检查
window.onload = checkAprilFools;
</script>
</body>
</html>