4
0
Fork 0
mirror of https://github.com/Anvilcraft/modpacktools synced 2024-11-17 23:41:55 +01:00

improve mod list css

This commit is contained in:
LordMZTE 2020-07-26 19:03:10 +02:00
parent 9d3c82fe37
commit 643960c8a7

View file

@ -57,7 +57,33 @@ object CreateModlist : ICommand {
val html = html(
head(
style(
".img {width:100px;}"
//Fancy css!
"""
a:link {
color: #ff5555;
}
a:visited {
color: #cc55cc;
}
body {
background-color: #333333;
color: #ffffff
}
.img {
width:100px;
}
td {
border: #999999 3px;
border-style: solid;
}
"""
//trim unnecessary chars
.trimIndent().replace("\n", "")
)
),
body(