From 5ca1b4b1c23dd0749db69f45f6d0b167326b068d Mon Sep 17 00:00:00 2001 From: Janne Koschinski <janne@kuschku.de> Date: Wed, 27 Nov 2019 12:29:58 +0100 Subject: [PATCH] Fixed mirc colors --- res/css/_mirccolor.sass | 2 +- res/css/search.css | 40 ++++++++++++++++++++-------------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/res/css/_mirccolor.sass b/res/css/_mirccolor.sass index ae04d7c..0fd11a2 100644 --- a/res/css/_mirccolor.sass +++ b/res/css/_mirccolor.sass @@ -16,7 +16,7 @@ .irc_monospace font-family: 'Roboto Mono', 'Source Code Pro', monospace -$mircColors: ("00": #ffffff, "01": #000000, "02": #000080, "03": #008000, "04": #ff0000, "05": #800000, "06": #800080, "07": #ffa500, "08": #ffff00, "09": #00ff00, "10": #008080, "11": #00ffff, "12": #4169e1, "13": #ff00ff, "14": #808080, "15": #c0c0c0, "16": #470000, "17": #472100, "18": #474700, "19": #324700, "20": #004700, "21": #00472c, "22": #004747, "23": #002747, "24": #000047, "25": #2e0047, "26": #470047, "27": #47002a, "28": #740000, "29": #743a00, "30": #747400, "31": #517400, "32": #007400, "33": #007449, "34": #007474, "35": #004074, "36": #000074, "37": #4b0074, "38": #740074, "39": #740045, "40": #b50000, "41": #b56300, "42": #b5b500, "43": #7db500, "44": #00b500, "45": #00b571, "46": #00b5b5, "47": #0063b5, "48": #0000b5, "49": #7500b5, "50": #b500b5, "51": #b5006b, "52": #ff0000, "53": #ff8c00, "54": #ffff00, "55": #b2ff00, "56": #00ff00, "57": #00ffa0, "58": #00ffff, "59": #008cff, "60": #0000ff, "61": #a500ff, "62": #ff00ff, "63": #ff0098, "64": #ff5959, "65": #ffb459, "66": #ffff71, "67": #cfff60, "68": #6fff6f, "69": #65ffc9, "70": #6dffff, "71": #59b4ff, "72": #5959ff, "73": #c459ff, "74": #ff66ff, "75": #ff59bc, "76": #ff9c9c, "77": #ffd39c, "78": #ffff9c, "79": #e2ff9c, "80": #9cff9c, "81": #9cffdb, "82": #9cffff, "83": #9cd3ff, "84": #9c9cff, "85": #dc9cff, "86": #ff9cff, "87": #ff94d3, "88": #000000, "89": #131313, "90": #282828, "91": #363636, "92": #4d4d4d, "93": #656565, "94": #818181, "95": #9f9f9f, "96": #bcbcbc, "97": #e2e2e2, "98": #ffffff) +$mircColors: ("0": #ffffff, "1": #000000, "2": #000080, "3": #008000, "4": #ff0000, "5": #800000, "6": #800080, "7": #ffa500, "8": #ffff00, "9": #00ff00, "10": #008080, "11": #00ffff, "12": #4169e1, "13": #ff00ff, "14": #808080, "15": #c0c0c0, "16": #470000, "17": #472100, "18": #474700, "19": #324700, "20": #004700, "21": #00472c, "22": #004747, "23": #002747, "24": #000047, "25": #2e0047, "26": #470047, "27": #47002a, "28": #740000, "29": #743a00, "30": #747400, "31": #517400, "32": #007400, "33": #007449, "34": #007474, "35": #004074, "36": #000074, "37": #4b0074, "38": #740074, "39": #740045, "40": #b50000, "41": #b56300, "42": #b5b500, "43": #7db500, "44": #00b500, "45": #00b571, "46": #00b5b5, "47": #0063b5, "48": #0000b5, "49": #7500b5, "50": #b500b5, "51": #b5006b, "52": #ff0000, "53": #ff8c00, "54": #ffff00, "55": #b2ff00, "56": #00ff00, "57": #00ffa0, "58": #00ffff, "59": #008cff, "60": #0000ff, "61": #a500ff, "62": #ff00ff, "63": #ff0098, "64": #ff5959, "65": #ffb459, "66": #ffff71, "67": #cfff60, "68": #6fff6f, "69": #65ffc9, "70": #6dffff, "71": #59b4ff, "72": #5959ff, "73": #c459ff, "74": #ff66ff, "75": #ff59bc, "76": #ff9c9c, "77": #ffd39c, "78": #ffff9c, "79": #e2ff9c, "80": #9cff9c, "81": #9cffdb, "82": #9cffff, "83": #9cd3ff, "84": #9c9cff, "85": #dc9cff, "86": #ff9cff, "87": #ff94d3, "88": #000000, "89": #131313, "90": #282828, "91": #363636, "92": #4d4d4d, "93": #656565, "94": #818181, "95": #9f9f9f, "96": #bcbcbc, "97": #e2e2e2, "98": #ffffff) @each $i, $color in $mircColors [data-irc_foreground="#{$i}"] diff --git a/res/css/search.css b/res/css/search.css index bb63f01..646e952 100644 --- a/res/css/search.css +++ b/res/css/search.css @@ -343,64 +343,64 @@ body { .irc_monospace { font-family: 'Roboto Mono', 'Source Code Pro', monospace; } -[data-irc_foreground="00"] { +[data-irc_foreground="0"] { color: #ffffff; } -[data-irc_background="00"] { +[data-irc_background="0"] { background-color: #ffffff; } -[data-irc_foreground="01"] { +[data-irc_foreground="1"] { color: #000000; } -[data-irc_background="01"] { +[data-irc_background="1"] { background-color: #000000; } -[data-irc_foreground="02"] { +[data-irc_foreground="2"] { color: #000080; } -[data-irc_background="02"] { +[data-irc_background="2"] { background-color: #000080; } -[data-irc_foreground="03"] { +[data-irc_foreground="3"] { color: #008000; } -[data-irc_background="03"] { +[data-irc_background="3"] { background-color: #008000; } -[data-irc_foreground="04"] { +[data-irc_foreground="4"] { color: #ff0000; } -[data-irc_background="04"] { +[data-irc_background="4"] { background-color: #ff0000; } -[data-irc_foreground="05"] { +[data-irc_foreground="5"] { color: #800000; } -[data-irc_background="05"] { +[data-irc_background="5"] { background-color: #800000; } -[data-irc_foreground="06"] { +[data-irc_foreground="6"] { color: #800080; } -[data-irc_background="06"] { +[data-irc_background="6"] { background-color: #800080; } -[data-irc_foreground="07"] { +[data-irc_foreground="7"] { color: #ffa500; } -[data-irc_background="07"] { +[data-irc_background="7"] { background-color: #ffa500; } -[data-irc_foreground="08"] { +[data-irc_foreground="8"] { color: #ffff00; } -[data-irc_background="08"] { +[data-irc_background="8"] { background-color: #ffff00; } -[data-irc_foreground="09"] { +[data-irc_foreground="9"] { color: #00ff00; } -[data-irc_background="09"] { +[data-irc_background="9"] { background-color: #00ff00; } [data-irc_foreground="10"] { -- GitLab