border-color: #405363;
}
pre {
- font-family: 'Source Code Pro', monospace, monospace, monospace; /* https://en.wikipedia.org/wiki/User:Davidgothberg/Test59 */
+ font-family: 'Source Code Pro', monospace, monospace, monospace;
font-size: 0.9rem;
padding: 0.5rem 1rem;
color: #e6e6e6;
color: #747474;
}
.m-imagegrid > div {
- background-color: #2f363f; /* to avoid section HL shining through */
+ background-color: #2f363f;
}
.m-imagegrid > div > figure {
display: block;
border-color: #405363;
}
pre {
- font-family: 'Source Code Pro', monospace, monospace, monospace; /* https://en.wikipedia.org/wiki/User:Davidgothberg/Test59 */
+ font-family: 'Source Code Pro', monospace, monospace, monospace;
font-size: 0.9rem;
padding: 0.5rem 1rem;
color: #e6e6e6;
color: #747474;
}
.m-imagegrid > div {
- background-color: #2f363f; /* to avoid section HL shining through */
+ background-color: #2f363f;
}
.m-imagegrid > div > figure {
display: block;
border-color: #f7e3db;
}
pre {
- font-family: 'Source Code Pro', monospace, monospace, monospace; /* https://en.wikipedia.org/wiki/User:Davidgothberg/Test59 */
+ font-family: 'Source Code Pro', monospace, monospace, monospace;
font-size: 0.9rem;
padding: 0.5rem 1rem;
color: #5b5b5b;
color: #949494;
}
.m-imagegrid > div {
- background-color: #ffffff; /* to avoid section HL shining through */
+ background-color: #ffffff;
}
.m-imagegrid > div > figure {
display: block;
border-color: #f7e3db;
}
pre {
- font-family: 'Source Code Pro', monospace, monospace, monospace; /* https://en.wikipedia.org/wiki/User:Davidgothberg/Test59 */
+ font-family: 'Source Code Pro', monospace, monospace, monospace;
font-size: 0.9rem;
padding: 0.5rem 1rem;
color: #5b5b5b;
color: #949494;
}
.m-imagegrid > div {
- background-color: #ffffff; /* to avoid section HL shining through */
+ background-color: #ffffff;
}
.m-imagegrid > div > figure {
display: block;
if match and match['key'] in variables:
out.write(match['before'])
out.write(variables[match['key']])
- out.write(match['after'])
+ # Strip the trailing comment, if there, to save some bytes
+ if match['after'].endswith('*/'):
+ out.write(match['after'][:match['after'].rindex('/*')].rstrip())
+ else:
+ out.write(match['after'])
out.write("\n")
continue