ig-pixelfed-mirror/templates/mirrors.html

75 lines
1.4 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{instance} - Mirrors</title>
</head>
<body>
<style type="text/css">
body {
font-family: Arial;
}
div#content {
max-width: 40em;
margin: auto;
}
div#content > div:nth-child(1) {
display: flex;
margin: 2em 1em;
border-bottom: 3px solid #dbdbdb;
padding-bottom: 2em;
}
div#content > div:nth-child(1) > h3 {
margin: 0;
width: 100%;
}
div#content > div:nth-child(1) > span {
min-width: 6em;
}
div.item {
padding: 1em;
box-shadow: 0px 2px .2em #acacac;
margin-bottom: 1em;
}
div.item > h3.name {
font-weight: initial;
}
div.item > div.links {
display: flex;
height: 2.5em;
margin-top: 2em;
}
div.item > div.links > div {
display: flex;
width: 100%;
}
div.item > div.links > div > a {
margin: auto;
text-decoration: none;
}
div.item > div.links > div:nth-child(1) {
background: #ffdade;
}
div.item > div.links > div:nth-child(1) > a {
font-weight: bold;
color: #ce0680;
}
div.item > div.links > div:nth-child(2) {
background: #f2f2f2;
}
div.item > div.links > div:nth-child(2) > a {
color: #367280;
font-style: italic;
}
</style>
<div id="content">
<div>
<h3>{instance}</h3>
<span>{item_count} accounts</span>
</div>
{mirrors}
</div>
</body>
</html>