Update CSS for compatibility
This commit is contained in:
parent
0f7aee8a75
commit
519e7a94d1
2 changed files with 9 additions and 14 deletions
|
|
@ -38,9 +38,9 @@ header {
|
||||||
border-bottom: 1px solid var(--text3);
|
border-bottom: 1px solid var(--text3);
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
|
|
||||||
nav {
|
& nav {
|
||||||
|
|
||||||
ul {
|
& ul {
|
||||||
|
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
|
@ -107,16 +107,12 @@ table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
th {
|
& th {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
border-bottom: 1px solid var(--text1);
|
border-bottom: 1px solid var(--text1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
|
||||||
border: 0.1px solid var(--text2);
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
@ -125,13 +121,13 @@ footer {
|
||||||
border-top: 1px solid var(--text3);
|
border-top: 1px solid var(--text3);
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
|
|
||||||
p {
|
& p {
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: var(--text2);
|
color: var(--text2);
|
||||||
|
|
||||||
a {
|
& a {
|
||||||
color: var(--text2);
|
color: var(--text2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -139,11 +135,11 @@ footer {
|
||||||
|
|
||||||
.list {
|
.list {
|
||||||
|
|
||||||
h2 {
|
& h2 {
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
a {
|
& a {
|
||||||
color: var(--text1);
|
color: var(--text1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -158,14 +154,14 @@ footer {
|
||||||
}
|
}
|
||||||
|
|
||||||
.tags {
|
.tags {
|
||||||
ul {
|
& ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 0 1rem;
|
padding: 0 1rem;
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
|
|
||||||
li {
|
& li {
|
||||||
padding: 0rem 0.3rem;
|
padding: 0rem 0.3rem;
|
||||||
border: 1px solid var(--text1);
|
border: 1px solid var(--text1);
|
||||||
border-radius: 0.3rem;
|
border-radius: 0.3rem;
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ For a given taxonomy, renders a list of terms assigned to the page.
|
||||||
|
|
||||||
{{- with $page.GetTerms $taxonomy }}
|
{{- with $page.GetTerms $taxonomy }}
|
||||||
{{- $label := (index . 0).Parent.LinkTitle }}
|
{{- $label := (index . 0).Parent.LinkTitle }}
|
||||||
<hr>
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
<ul>
|
<ul>
|
||||||
{{- range . }}
|
{{- range . }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue