mirror of
https://codeberg.org/tacerus/teddit.git
synced 2025-01-09 21:02:36 +01:00
Merge branch 'main' into changelog
This commit is contained in:
commit
8bfc37fd05
@ -35,7 +35,7 @@ module.exports = function() {
|
||||
ups = `${kFormatter(comments.ups)} points`
|
||||
}
|
||||
if(comments.edited) {
|
||||
edited_span = `<span title="this comment is edited">*</span>`
|
||||
edited_span = `<span title="last edited ${toUTCString(comments.edited)}">*</span>`
|
||||
}
|
||||
if(comments.controversiality > 0) {
|
||||
controversial_span = `<span class="controversial" title="this comment is voted as controversial">†</span>`
|
||||
@ -131,7 +131,7 @@ module.exports = function() {
|
||||
ups = `${kFormatter(comment.ups)} points`
|
||||
}
|
||||
if(comment.edited) {
|
||||
edited_span = `<span title="this comment is edited">*</span>`
|
||||
edited_span = `<span title="last edited ${toUTCString(comments.edited)}">*</span>`
|
||||
}
|
||||
if(comment.controversiality > 0) {
|
||||
controversial_span = `<span class="controversial" title="this comment is voted as controversial">†</span>`
|
||||
|
@ -2,7 +2,8 @@
|
||||
--sm-font: 0.666rem;
|
||||
--lightgray: #f5f5f5;
|
||||
--whitebg: #ffffff;
|
||||
--linkcolor: #000bac;
|
||||
--linkcolor: #0645ad;
|
||||
--lightlinkcolor: #406bb3;
|
||||
--graytext: #6f6f6f;
|
||||
}
|
||||
* {
|
||||
@ -382,7 +383,7 @@ footer a {
|
||||
#links .link .entry .title a h2 {
|
||||
display: initial;
|
||||
font-size: 16px;
|
||||
color: #0000ff;
|
||||
color: var(--linkcolor);
|
||||
font-size: medium;
|
||||
font-weight: normal;
|
||||
}
|
||||
@ -397,7 +398,7 @@ footer a {
|
||||
margin-top: 2px;
|
||||
}
|
||||
#links .link .entry .meta a {
|
||||
color: #737373;
|
||||
color: var(--lightlinkcolor);
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
@ -1094,7 +1095,7 @@ a.sub-to-subreddit.gray {
|
||||
color:#4f4f4f;
|
||||
}
|
||||
.md a {
|
||||
color:#0079d3;
|
||||
color: var(--linkcolor);
|
||||
text-decoration:none;
|
||||
}
|
||||
.md a del {
|
||||
@ -1376,6 +1377,9 @@ code {
|
||||
margin-left: 20px;
|
||||
margin-top: 30px;
|
||||
}
|
||||
#search.sr {
|
||||
margin-top: 30px;
|
||||
}
|
||||
#links.sr {
|
||||
width: calc(100% - 10px);
|
||||
}
|
||||
@ -1424,6 +1428,7 @@ code {
|
||||
#post .crosspost {
|
||||
margin: auto 2.5%;
|
||||
}
|
||||
a.sub-to-subreddit {
|
||||
padding: 8px 10px 8px 10px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -150,7 +150,7 @@ html
|
||||
input(type="checkbox", name="nsfw", id="nsfw", checked="checked")
|
||||
input(type="submit", value="search")
|
||||
if subreddit_about
|
||||
.subscribe
|
||||
.subscribe.content
|
||||
-
|
||||
let subbed_to_this_subreddit = false
|
||||
let subbed = []
|
||||
|
Loading…
Reference in New Issue
Block a user