fix some styles

This commit is contained in:
mivinci 2021-07-20 22:24:19 +08:00
parent 9c7334cb65
commit f5601e9c5e
3 changed files with 8 additions and 3 deletions

View file

@ -6,7 +6,7 @@
{{ range $key, $value := .Data.Terms.ByCount }}
<a class="row as-s mb-1" href="/{{ $data.Plural }}/{{ $value.Name }}">
{{ $value.Name }}
<span class="tag ml-1">{{ $value.Count }}</span>
<span class="tag-pm ml-1">{{ $value.Count }}</span>
</a>
{{ end }}
</nav>

View file

@ -154,7 +154,7 @@ main {
display: none;
}
.tag {
.tag-pm {
font-size: .7em;
font-weight: bold;
line-height: 1;

View file

@ -21,7 +21,12 @@
background-color: var(--bg);
}
table th, table td {
.md table th, table td {
padding: 10px 20px;
border: 1px solid var(--bd);
}
.md img {
width: 100%;
max-width: 100%;
}