added cached for results with web.archive.org

This commit is contained in:
MagicalDemon
2026-03-19 20:49:14 +04:00
committed by frosty
parent c64913b137
commit db130cb08d
2 changed files with 14 additions and 2 deletions

View File

@@ -301,7 +301,7 @@ h1 span {
.result { .result {
margin-bottom:32px; margin-bottom:32px;
} }
.result a { .result > a {
color:var(--accent); color:var(--accent);
text-decoration:none; text-decoration:none;
font-size:1.25rem; font-size:1.25rem;
@@ -319,6 +319,12 @@ h1 span {
line-height:1.6; line-height:1.6;
margin:0; margin:0;
} }
.cached {
color: var(--text-secondary);
font-size:0.85rem;
display:inline-block;
text-decoration:none;
}
.infobox { .infobox {
grid-column:3; grid-column:3;
background:var(--bg-card); background:var(--bg-card);
@@ -480,7 +486,7 @@ h1 span {
.engine-warning { .engine-warning {
padding:12px 14px; padding:12px 14px;
} }
.result a { .result > a {
font-size:1.1rem; font-size:1.1rem;
word-break:break-word; word-break:break-word;
} }
@@ -491,6 +497,9 @@ h1 span {
.desc { .desc {
font-size:0.9rem; font-size:0.9rem;
} }
.cached {
font-size:0.8rem;
}
.infobox { .infobox {
margin-bottom:16px; margin-bottom:16px;
} }

View File

@@ -64,6 +64,9 @@
<p class="desc"> <p class="desc">
{{result[3]}} {{result[3]}}
</p> </p>
<span>
<a class="cached" href="https://web.archive.org/web/{{result[0]|safe}}">cached</a>
</span>
</div> </div>
{{endfor}} {{endfor}}