ismism/ismism.ts/ui/index.html

362 lines
7.1 KiB
HTML
Raw Normal View History

2022-08-11 13:01:30 +08:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>主义主义 活动公示</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<style>
* {
box-sizing: border-box;
2022-08-11 14:38:17 +08:00
--color-black: hsl(297, 35%, 11%);
--color-purple: hsl(297, 35%, 33%);
--color-pink: hsl(335, 56%, 51%);
--color-red: hsl(356, 95%, 69%);
--color-yellow: hsl(29, 83%, 80%);
--color-cyan: hsl(190, 58%, 50%);
--color-blue: hsl(195, 93%, 40%);
--color-gray: hsl(0, 0%, 90%);
--color-white: hsl(0, 0%, 95%);
2022-08-12 14:09:11 +08:00
--font-normal: "PingFang SC", "Lantinghei SC", "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", STHeitiSC-Light, simsun, "WenQuanYi Zen Hei", "WenQuanYi Micro Hei", sans-serif;
--font-mono: consolas, "Courier New", Courier, monospace;
2022-08-11 13:01:30 +08:00
--interval: 20px;
2022-08-12 14:09:11 +08:00
--shadow-blur: 6px;
--border-radius: 6px;
2022-08-13 10:22:15 +08:00
--transition: 0.2s;
--transform: scale(1.25);
2022-08-11 13:01:30 +08:00
}
body {
2022-08-12 14:09:11 +08:00
font-family: var(--font-normal);
2022-08-11 14:38:17 +08:00
color: var(--color-gray);
2022-08-11 13:01:30 +08:00
padding: var(--interval);
background: var(--color-purple);
}
2022-08-12 14:09:11 +08:00
button {
border: none;
}
button:hover {
cursor: pointer
}
article {
background: var(--color-black);
padding: var(--interval);
margin-top: var(--interval);
border-radius: var(--border-radius);
box-shadow: var(--color-black) 1px 0 var(--shadow-blur);
}
.banner {
2022-08-11 13:01:30 +08:00
padding: 30px;
text-align: center;
2022-08-11 14:38:17 +08:00
background: var(--color-black);
2022-08-12 14:09:11 +08:00
border-radius: 0;
box-shadow: var(--color-black) 1px 0 var(--shadow-blur);
2022-08-11 13:01:30 +08:00
}
2022-08-12 14:09:11 +08:00
.banner h1 {
2022-08-11 13:01:30 +08:00
font-size: 50px;
2022-08-12 14:09:11 +08:00
text-shadow: var(--color-red) 1px 0 var(--shadow-blur);
}
header {
padding: 0;
margin: 0;
}
header .title,
header .tag,
header .stat {
display: flex;
2022-08-13 10:22:15 +08:00
justify-content: center;
2022-08-12 14:09:11 +08:00
align-items: center;
margin: 0.5ch 0;
}
header .title code,
header .title button {
text-align: center;
border: none;
font-size: 16px;
color: var(--color-black);
background: var(--color-purple);
border-radius: var(--border-radius);
padding: 0.5ch;
height: 3ch;
}
header .title code {
font-family: var(--font-mono);
margin-right: 1ch;
}
header .title button {
2022-08-13 10:22:15 +08:00
padding: 0 1.5ch;
2022-08-12 14:09:11 +08:00
}
header .title h1 {
flex-grow: 1;
margin: 0;
}
header .tag ul {
flex-grow: 1;
}
header .tag span {
color: var(--color-purple);
font-size: 12px;
font-style: italic;
}
header .stat div {
text-align: center;
border: 1px solid var(--color-purple);
}
header .stat .item {
border: none;
padding: 0.5ch 1ch;
background: var(--color-purple);
color: var(--color-black);
font-weight: bold;
}
header .stat .item:hover {
cursor: pointer;
}
header .stat .value {
border: none;
padding: 0.5ch 1ch;
color: var(--color-cyan);
2022-08-13 10:22:15 +08:00
transition: var(--transition);
2022-08-12 14:09:11 +08:00
}
header .stat .value:hover {
cursor: pointer;
2022-08-13 10:22:15 +08:00
transform: var(--transform);
}
header .stat .value.final {
color: var(--color-yellow)
2022-08-12 14:09:11 +08:00
}
header .stat .sp {
flex-grow: 1;
}
header .stat button {
font-size: 16px;
font-weight: bold;
padding: 1ch 2ch;
background: var(--color-purple);
color: var(--color-blue);
border-radius: var(--border-radius);
2022-08-13 10:22:15 +08:00
transition: var(--transition);
}
header .stat button:hover {
transform: var(--transform);
}
section {
margin-top: var(--interval);
}
section img {
width: 100%;
2022-08-11 13:01:30 +08:00
}
.left {
float: left;
width: 75%;
}
.right {
float: left;
width: 25%;
padding-left: var(--interval);
}
.noimg {
2022-08-11 14:38:17 +08:00
background: var(--color-blue);
2022-08-11 13:01:30 +08:00
width: 100%;
padding: var(--interval);
}
2022-08-11 15:58:11 +08:00
a,
a:visited {
text-decoration: none;
color: inherit;
}
2022-08-12 14:09:11 +08:00
button {
color: var(--color-cyan);
background: var(--color-purple);
2022-08-11 13:01:30 +08:00
}
2022-08-12 14:09:11 +08:00
.toggle {
float: right;
2022-08-11 15:58:11 +08:00
}
.tag {
list-style: none;
padding: 0;
2022-08-11 14:38:17 +08:00
color: var(--color-yellow);
2022-08-11 15:58:11 +08:00
font-size: 15px;
}
2022-08-12 14:09:11 +08:00
.tag ul {
padding: 0;
}
2022-08-11 15:58:11 +08:00
.tag li {
display: inline-block;
2022-08-13 10:22:15 +08:00
transition: var(--transition);
}
.tag li:hover {
transform: scale(1.2);
2022-08-11 14:38:17 +08:00
}
2022-08-11 13:01:30 +08:00
.row:after {
content: "";
display: table;
clear: both;
}
2022-08-11 15:58:11 +08:00
footer {
2022-08-11 14:38:17 +08:00
background: var(--color-black);
2022-08-12 14:09:11 +08:00
box-shadow: var(--color-black) 1px 0 var(--shadow-blur);
2022-08-11 13:01:30 +08:00
text-align: center;
padding: var(--interval);
margin-top: var(--interval);
}
@media screen and (max-width: 800px) {
.left,
.right {
width: 100%;
padding: 0;
}
}
</style>
<body>
2022-08-12 14:09:11 +08:00
<article class="banner">
2022-08-11 15:58:11 +08:00
<h1><a href="">主义主义 <span style="color: var(--color-red);">活动</span>公示</a></h1>
<p>This is a slogan.</p>
2022-08-12 14:09:11 +08:00
</article>
2022-08-11 13:01:30 +08:00
<div class="row">
<div class="left">
2022-08-11 15:58:11 +08:00
<article>
<header>
2022-08-12 14:09:11 +08:00
<div class="title">
2022-08-11 15:58:11 +08:00
<code><a href="#1">#1</a></code>
<h1><a href="#1">星星家园扩建</a></h1>
2022-08-12 14:09:11 +08:00
<button>🔔订阅</button>
</div>
<div class="tag">
<ul>
<li><a href="#活动公示">#活动公示</a></li>
<li><a href="#星星家园">#星星家园</a></li>
</ul>
2022-08-13 10:22:15 +08:00
<span>公示时间: 2022-08-12 12:34:56<br>更新时间: 2022-08-12 12:34:56</span>
2022-08-12 14:09:11 +08:00
</div>
<div class="stat">
<div>
<div class="item">活动状态</div>
<div class="value">执行中</div>
</div>
<div>
<div class="item">预算</div>
<div class="value">6000</div>
</div>
<div>
<div class="item">收到支持</div>
2022-08-13 10:22:15 +08:00
<div class="value final">6000</div>
2022-08-12 14:09:11 +08:00
</div>
<div>
<div class="item">当前支出</div>
<div class="value">1000</div>
</div>
<div>
<div class="item">支持者</div>
2022-08-13 10:22:15 +08:00
<div class="value final">1000</div>
2022-08-12 14:09:11 +08:00
</div>
<span class="sp"></span>
<button>支持</button>
2022-08-11 15:58:11 +08:00
</div>
</header>
2022-08-12 14:09:11 +08:00
<section>
2022-08-13 10:22:15 +08:00
<img src="./1-0.jpg">
<h2>活动介绍</h2>
<h2>预算与筹备</h2>
<h2>参与人员</h2>
<h2>执行情况</h2>
<h2><i>后续回访(未开始)</i></h2>
2022-08-11 15:58:11 +08:00
<p>Some text..</p>
<p>Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do
eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
exercitation
ullamco.</p>
2022-08-12 14:09:11 +08:00
</section>
2022-08-11 15:58:11 +08:00
</article>
<article>
<header>
<div>
<code><a href="#0">#0</a></code>
<h1><a href="#0">网站说明</a></h1>
</div>
<ul class="tag">
<li><a href="#信息公示">#信息公示</a></li>
</ul>
</header>
<div>
<div class="noimg" style="height:200px;">Image</div>
<p>Some text..</p>
<p>Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do
eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
exercitation
ullamco.</p>
</div>
</article>
2022-08-11 13:01:30 +08:00
</div>
<div class="right">
2022-08-11 15:58:11 +08:00
<article>
2022-08-11 14:38:17 +08:00
<h3>公示标签</h3>
<ul class="tag">
2022-08-11 15:58:11 +08:00
<li><a href="#所有公式">#所有公示</a></li>
<li><a href="#活动公示">#活动公示</a></li>
<li><a href="#活动公示">#信息公示</a></li>
<li><a href="#星星家园">#星星家园</a></li>
2022-08-11 14:38:17 +08:00
</ul>
2022-08-11 15:58:11 +08:00
</article>
<article>
2022-08-11 14:38:17 +08:00
<h3>相关链接</h3>
2022-08-11 13:01:30 +08:00
<p>Some text..</p>
2022-08-11 15:58:11 +08:00
</article>
2022-08-11 13:01:30 +08:00
</div>
</div>
2022-08-11 15:58:11 +08:00
<footer>
2022-08-11 14:38:17 +08:00
<h2>联系方式</h2>
2022-08-11 15:58:11 +08:00
</footer>
2022-08-11 13:01:30 +08:00
</body>
<script src="bind.js"></script>
</html>