You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

130 lines
3.8 KiB

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<link href="https://fonts.yecdn.com/css2?family=Noto+Serif+SC:wght@300;700&display=swap" rel="stylesheet">
<link href="https://fonts.yecdn.com/css2?family=Noto+Sans+SC&display=swap" rel="stylesheet">
<meta property="og:title" content="华清大学课程攻略共享计划" />
<meta property="og:description" content="这里有一套给你的往年考题" />
<meta property="og:image" content="https://closed.social/pastExam/img/logo-256x256.png" />
<link rel="icon" type="image/png" href="../img/logo-48x48.png" />
<title>华清大学课程攻略共享计划</title>
<style>
body {
background: linear-gradient(-45deg,
#fff calc(50% - 1px),
#eee calc(50%),
#fff calc(50% + 1px)
);
background-size: 6px 5px;
font-family: 'Noto Sans SC', sans-serif;
}
h1 {
font-family: 'Noto Serif SC', serif;
font-weight: 300;
}
.qbox.login-box {
background-color: black;
color: white;
margin: 0 auto;
max-width: 500px;
padding: 15px;
margin-bottom: 25px;
}
a,
a:hover,
.btn-link,
.btn-link:hover {
color: inherit;
text-decoration: underline;
}
.wechat-mask {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
text-align: center;
padding-top: 50px;
background: #000e;
display: none;
}
.wechat-mask p {
position: relative;
top: 36%;
transform: translateY(-50%);
color: white;
font-size: 28px;;
font-family: 'Noto Serif SC', serif;
font-weight: 700;
}
</style>
</head>
<body>
<div class="container">
<div class="pt-3 pl-3 pb-4 mb-4">
<h1>华清大学<br>&nbsp;课程攻略<br>&nbsp;&nbsp;共享计划</h1>
</div>
<div class="qbox login-box">
<h1 style="margin: -23px -22px 35px">登录</h1>
<div class="text-center mb-4 pb-4" style="border-bottom: 1px white solid">
<a href="mast/" class="btn btn-link btn-lg">闭社帐号登录</a>
</div>
<div class="text-center mb-4">
<button class="btn btn-link btn-lg" onclick="load_guest_form()">guest登录</button>
</div>
<div class="text-center">
<iframe class="guest-login-form" style="display: none;border:none"></iframe>
</div>
</div>
<div class="text-center">
<p>消除信息不对等,追求更有意义的评价体系</p>
</div>
</div>
<div class="wechat-mask">
<p>检测到处于非规范环境<br>(如微信内置浏览器)<br><br>
如需使用请点击右上角<br>“在浏览器中打开”<br><br>
如需在微信中传播分享<br>可直接分享本页面
</p>
</body>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script>
function load_guest_form() {
var ifr = $('iframe');
if(ifr.is(':visible')) {
ifr.hide();
return;
}
ifr.width($('.login-box').width() - 10);
ifr.height(570);
if(!ifr.attr('src'))
ifr.attr("src", "guest/");
ifr.show();
}
$(document).ready(function () {
if(navigator.userAgent.search('MicroMessenger') == -1) {
if(window.location.host == 'closed.social') {
window.location.host = '_.closed.social:9443';
}
}
else {
$('.wechat-mask').show();
}
});
</script>
</html>