commit a0c8eae2e50547127b077ee2fa29722b56ed0989
parent 25231b9c42737fb2f9721e627aabf318c10db74c
Author: alex wennerberg <alex@alexwennerberg.com>
Date: Fri, 31 Dec 2021 23:32:28 -0800
Update CSS
Diffstat:
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/main.rs b/src/main.rs
@@ -202,7 +202,7 @@ impl<'a> ThreadList<'a> {
}
: format!(" ({})", thread.messages.len() -1) ;
br;
- a(class="addr", href=format!("mailto:{}", &thread.messages[0].from.addr)){
+ span {
: short_name(&thread.messages[0].from)
}
@@ -505,10 +505,11 @@ fn write_index(lists: Vec<String>) -> Result<()> {
}
hr;
@for list in &lists {
+ p{
a(href=list, class="threadlink") {
:list;
}
- br;
+ }
}
};
let file = File::create(&Config::global().out_dir.join("index.html"))?;
diff --git a/src/style.css b/src/style.css
@@ -1,7 +1,7 @@
:root {
--light-text: dimgrey;
- --main-link: #222;
- --secondary-link: #369;
+ --main-link: #00F;
+ --secondary-link: #00F;
}
body {
@@ -42,7 +42,7 @@ table { border-spacing: 0.5em 0.1em; }
.threadlink {
font-size: 1.2rem;
- color: #222;
+ color: var(--main-link);
}
.timeago {
@@ -105,7 +105,7 @@ table td {
a {
text-decoration: none;
- color: #369;
+ color: var(--secondary-link);
}
a:visited {