Fix styling of dead backlinks.

This commit is contained in:
Nicolas Stepien 2013-02-14 16:38:32 +01:00
parent 21b0c6a73b
commit 270f7f8ec2
9 changed files with 24 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -17,6 +17,9 @@
}
/* Quote */
:root.burichan .backlink.deadlink {
color: #34345C !important;
}
:root.burichan .inline {
border-color: #B7C5D9;
background-color: rgba(255, 255, 255, .14);

View File

@ -17,6 +17,9 @@
}
/* Quote */
:root.futaba .backlink.deadlink {
color: #00E !important;
}
:root.futaba .inline {
border-color: #D9BFB7;
background-color: rgba(255, 255, 255, .14);

View File

@ -17,6 +17,9 @@
}
/* Quote */
:root.photon .backlink.deadlink {
color: #F60 !important;
}
:root.photon .inline {
border-color: #CCC;
background-color: rgba(255, 255, 255, .14);

View File

@ -196,12 +196,12 @@ a[href="javascript:;"] {
}
/* Quote */
.quotelink.deadlink {
text-decoration: underline !important;
}
.deadlink:not(.quotelink) {
.deadlink {
text-decoration: none !important;
}
.backlink.deadlink, .quotelink.deadlink {
text-decoration: underline !important;
}
.inlined {
opacity: .5;
}

View File

@ -17,6 +17,9 @@
}
/* Quote */
:root.tomorrow .backlink.deadlink {
color: #81A2BE !important;
}
:root.tomorrow .inline {
border-color: #111;
background-color: rgba(0, 0, 0, .14);

View File

@ -17,6 +17,9 @@
}
/* Quote */
:root.yotsuba-b .backlink.deadlink {
color: #34345C !important;
}
:root.yotsuba-b .inline {
border-color: #B7C5D9;
background-color: rgba(255, 255, 255, .14);

View File

@ -17,6 +17,9 @@
}
/* Quote */
:root.yotsuba .backlink.deadlink {
color: #00E !important;
}
:root.yotsuba .inline {
border-color: #D9BFB7;
background-color: rgba(255, 255, 255, .14);

View File

@ -158,7 +158,7 @@ class Post
$.addClass @nodes.root, 'dead'
# XXX style dead posts.
# Get quote/backlinks to this post
# Get quotelinks/backlinks to this post
# and paint them (Dead).
for quotelink in Get.allQuotelinksLinkingTo @
continue if $.hasClass quotelink, 'deadlink'