ismism/ismism.ts/ui/index/index.html
2022-11-27 11:12:50 +08:00

264 lines
4.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>主义主义 活动公示</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="x-icon" href="https://img.00000.host/2022/10/27/635a7048a7586.png">
</head>
<style>
:root {
--white: #fff;
--lightgray: #f1f1f1;
--gray: #9e9e9e;
--darkgray: #616161;
--black: #000;
--palered: #ffdddd;
--red: #f44336;
--amber: #ffc107;
--purple: #673ab7;
--small: 12px;
--normal: 15px;
--large: 18px;
--w-max: 1400px;
--w-min: 320px;
--w-max-main: 1080px;
}
.darkgray {
color: var(--white) !important;
border-color: var(--darkgray) !important;
background: var(--darkgray) !important;
}
html {
overflow-x: hidden;
}
body {
margin: 0;
color: var(--black);
background: var(--lightgray);
font-family: Verdana, sans-serif;
font-size: var(--normal);
line-height: 1.5;
}
h1,
h2,
h3 {
font-weight: 400;
margin: 10px 0;
}
h1 {
font-size: 36px
}
h2 {
font-size: 30px
}
h3 {
font-size: 24px
}
hr {
box-sizing: content-box;
height: 0;
border: 0;
border-top: 1px solid #eee;
overflow: visible;
margin: 20px 0;
}
code {
font-family: monospace;
font-size: 1em;
}
a {
color: inherit;
text-decoration: none;
}
a.idname {
display: block;
font-size: 24px;
}
a.idname code.id {
padding: 0.1em 8px;
border-radius: 4px;
color: var(--lightgray);
background: var(--darkgray);
text-align: center;
}
a.idname span.name {
font-weight: bold;
}
a.video {
text-decoration: underline;
text-underline-offset: 4px;
}
a.tag {
display: inline-block;
padding: 5px 10px;
margin: 0 6px 6px 0;
border: 1px solid var(--black);
border-radius: 6px;
color: var(--black);
background: none;
text-align: center;
vertical-align: middle;
overflow: hidden;
white-space: nowrap;
user-select: none;
}
a.tag>span.count {
display: inline-block;
padding: 0.1em 8px;
margin-left: 0.75ch;
border-radius: 50%;
font-size: var(--small);
color: var(--white);
background: var(--black);
}
@media (hover: hover) {
a.video:hover {
color: var(--amber);
}
a.tag:hover {
color: var(--white) !important;
border-color: var(--darkgray) !important;
background: var(--darkgray) !important;
opacity: 0.7;
}
}
div.title {
padding-top: 32px;
padding-bottom: 16px;
min-width: var(--w-min);
max-width: var(--w-max);
margin-left: auto;
margin-right: auto;
text-align: center;
}
div#main {
min-width: var(--w-min);
max-width: var(--w-max-main);
margin: 0 auto;
padding: 0;
}
div.tag {
margin: 10px 0;
}
div.date {
color: var(--darkgray);
font-size: var(--small);
font-family: monospace;
font-style: italic;
margin: 10px 0;
}
article {
margin: 16px;
padding: 8px 16px;
background: var(--white);
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 20px 0 rgba(0, 0, 0, 0.19);
}
article>section {
margin: 0;
}
footer {
padding: 32px 16px;
margin-top: 16px;
color: var(--gray);
text-align: center;
}
</style>
<template id="tag"><a class="tag"><span class="name">tag</span><span class="count">99</span></a></template>
<template id="agenda">
<article>
<section>
<a class="idname"><code class="id">id</code> <span class="name">name</span></a>
<div class="tag">tag</div>
<div class="date">date</div>
</section>
</article>
</template>
<body>
<div class="title">
<a href="">
<h1><b>主义主义 <span style="color: var(--red)">活动</span>公示</b></h1>
</a>
<hr>
<div class="tag"></div>
</div>
<div id="main"></div>
<div>
main is here
<p>
p is here
</p>
<code>code is here</code>
<br>
<a href="#test" class="video">a is here</a>
<br>
<a href="https://ismist.cn" class="video">ismist.cn is hereismist.cn is hereismist.cn is hereismist.cn is
hereismist.cn is
hereismist.cn is hereismist.cn is hereismist.cn is here</a>
<hr>
<span style="font-size: var(--small);">small is here</span>
<span style="font-size: var(--normal);">normal is here</span>
<span style="font-size: var(--large);">large is here</span>
<article>
<section>
section is here
<div class="tag"></div>
</section>
<section>
section is here
</section>
<hr>
article is here
</article>
<article>
<section>
<div class="tag"></div>
section is here
</section>
<section>
<a class="tag" href="#notag">notag</a>
section is here
</section>
<hr>
article is here
</article>
</div>
<footer>
footer is here
</footer>
</body>
<script src="./bind.js"></script>
</html>