aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/main.css13
-rw-r--r--templates/results.html3
2 files changed, 14 insertions, 2 deletions
diff --git a/static/main.css b/static/main.css
index f2a8048..e289e9d 100644
--- a/static/main.css
+++ b/static/main.css
@@ -301,7 +301,7 @@ h1 span {
.result {
margin-bottom:32px;
}
-.result a {
+.result > a {
color:var(--accent);
text-decoration:none;
font-size:1.25rem;
@@ -319,6 +319,12 @@ h1 span {
line-height:1.6;
margin:0;
}
+.cached {
+ color: var(--text-secondary);
+ font-size:0.85rem;
+ display:inline-block;
+ text-decoration:none;
+}
.infobox {
grid-column:3;
background:var(--bg-card);
@@ -480,7 +486,7 @@ h1 span {
.engine-warning {
padding:12px 14px;
}
- .result a {
+ .result > a {
font-size:1.1rem;
word-break:break-word;
}
@@ -491,6 +497,9 @@ h1 span {
.desc {
font-size:0.9rem;
}
+ .cached {
+ font-size:0.8rem;
+ }
.infobox {
margin-bottom:16px;
}
diff --git a/templates/results.html b/templates/results.html
index 851ea1f..9deeec4 100644
--- a/templates/results.html
+++ b/templates/results.html
@@ -64,6 +64,9 @@
<p class="desc">
{{result[3]}}
</p>
+ <span>
+ <a class="cached" href="https://web.archive.org/web/{{result[0]|safe}}">cached</a>
+ </span>
</div>
{{endfor}}