clickable h2 (#63)
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending approval
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending approval
This commit is contained in:
parent
af4c113153
commit
13c19c5f68
2 changed files with 16 additions and 2 deletions
|
@ -67,11 +67,25 @@ li p {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Card titles */
|
/* Card titles */
|
||||||
li h2 {
|
li h2,
|
||||||
|
li h2 a {
|
||||||
color: var(--title-color);
|
color: var(--title-color);
|
||||||
font-size: var(--font-size);
|
font-size: var(--font-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
li h2 a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
li h2 a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
li h2 a:hover {
|
||||||
|
opacity: initial;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
/* Card descriptions */
|
/* Card descriptions */
|
||||||
li p {
|
li p {
|
||||||
font-size: calc(var(--font-size) - 2px);
|
font-size: calc(var(--font-size) - 2px);
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
{{#posts}}
|
{{#posts}}
|
||||||
<li role="button" onclick="window.open('/blog/p/{{url}}', '_parent');">
|
<li role="button" onclick="window.open('/blog/p/{{url}}', '_parent');">
|
||||||
{{>blog/date.html}}
|
{{>blog/date.html}}
|
||||||
<h2>{{title}}</h2>
|
<h2><a href="/blog/p/{{url}} ">{{title}}</a></h2>
|
||||||
{{#desc}}
|
{{#desc}}
|
||||||
<p>{{desc}}</p>
|
<p>{{desc}}</p>
|
||||||
{{/desc}}
|
{{/desc}}
|
||||||
|
|
Loading…
Reference in a new issue