converts irc logs to html files that look like discord
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

88 lines
1.4 KiB

html {
font-family: sans-serif;
padding: 2px;
--pfp-size: 48px;
--font-size: 14pt;
--ts-font-size: calc(var(--font-size) - 2pt);
}
body {
font-size: var(--font-size);
padding-left: 0.8em;
}
.mg-user {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
margin-top: 0.75em;
margin-bottom: 0.75em;
}
.mg-pfp {
margin-right: 0.75em;
}
.mg-user > .mg-pfp > img {
width: var(--pfp-size);
height: var(--pfp-size);
clip-path: url(#squircle);
}
.mg-user > .mg-contents {
display: flex;
flex-direction: column;
align-items: flex-start;
min-height: var(--pfp-size);
gap: 0.33em;
}
.mg-user > .mg-contents > .mg-ts-u > .mg-ts-u-u {
font-weight: bold;
}
.mg-user > .mg-contents > .mg-ts-u > .mg-ts-u-ts {
font-weight: lighter;
color: #666;
font-size: var(--ts-font-size);
}
.mg-user > .mg-contents > .mg-m .mg-ts {
display: none;
}
.mg-user > .mg-contents > .mg-m:hover .mg-ts {
display: unset;
position: absolute;
margin-left: calc(-1 * var(--pfp-size) - 0.75em);
font-size: var(--ts-font-size);
font-weight: lighter;
color: #666;
}
.mg-m > .mg-action {
font-style: italic;
}
.mg-no-user > .mg-status {
margin-top: 1em;
margin-bottom: 1em;
font-size: 0pt;
font-weight: bold;
}
.mg-no-user > .mg-status > .mg-ts {
font-size: 12pt;
width: var(--pfp-size);
display: inline-block;
margin-right: 14px;
}
.mg-no-user > .mg-status > .mg-txt {
font-size: 14pt;
}