mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-08-11 01:31:37 -05:00
Remove heading-link class
It was used to make both website title and page titles in summaries not have link color. Instead, just directly configure those elements.
This commit is contained in:
@@ -207,12 +207,6 @@ a:hover {
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* this is also used i.e. in page-title */
|
|
||||||
.heading-link {
|
|
||||||
color: inherit;
|
|
||||||
text-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
border-left: 5px solid var(--background-2);
|
border-left: 5px solid var(--background-2);
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
@@ -348,6 +342,11 @@ footer p {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header a {
|
||||||
|
color: inherit;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
.navbar {
|
.navbar {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
@@ -496,6 +495,10 @@ footer p {
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page-title a {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
.page-title h1 {
|
.page-title h1 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
<div class="top">
|
<div class="top">
|
||||||
<header class="header">
|
<header class="header">
|
||||||
<a class="heading-link" href="{{ .Site.Home.Permalink | absLangURL }}">
|
<a href="{{ .Site.Home.Permalink | absLangURL }}">
|
||||||
{{ .Site.Title | markdownify }}
|
{{ .Site.Title | markdownify }}
|
||||||
</a>
|
</a>
|
||||||
</header>
|
</header>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<h2 class="page-title">
|
<h2 class="page-title">
|
||||||
<a class="heading-link" href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
||||||
{{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}
|
{{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
<h2 class="page-title">
|
<h2 class="page-title">
|
||||||
{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
||||||
<a class="heading-link" href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
||||||
{{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}
|
{{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
<h2 class="page-title">
|
<h2 class="page-title">
|
||||||
{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
||||||
<a class="heading-link" href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
||||||
{{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}
|
{{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user