retrogit/app/config/styles.json
Mihai Parparita 2cb734cd49 Reduce the size of the digest email HTML.
Make monospace be the default font, and only override it in the few places where
we don't want it (as opposed to repeating it for every commit).
2014-10-26 22:55:35 -07:00

90 lines
1.9 KiB
JSON

{
"digest": {
"font-family": "Consolas,\"Liberation Mono\",Menlo,Courier,monospace",
"font-size": "10pt",
"color": "#000",
"max-width": "1102px",
"margin": "0"
},
"link": {
"text-decoration": "none",
"color": "#e73b31"
},
"proportional": {
"font-family": "Helvetica,Arial,sans-serif"
},
"intro-paragraph": {
"font-size": "12pt",
"user-link": {
"font-weight": "bold",
"color": "#000"
},
"user-avatar": {
"vertical-align": "bottom",
"padding-right": "3px"
}
},
"interval-header": {
"font-size": "20pt",
"font-weight": "bold",
"margin": ".75em 0 .5em 0",
"border-bottom": "dashed 1px #ccc"
},
"repository-header": {
"font-size": "16pt",
"font-weight": "bold",
"margin": ".5em 0",
"link": {
"color": "#b52e26"
}
},
"commit": {
"background": "#fefcef",
"border": "solid 1px #dddac8",
"box-shadow": "1px 1px 2px rgba(0,0,0,.11)",
"container": {
"margin": "1em 0"
},
"corner": {
"width": "0",
"max-height": "0",
"float": "left",
"cover": {
"width": "0",
"height": "0",
"border": "solid",
"border-width": "0 0 20px 10px",
"border-color": "transparent transparent #dddac8 #fff"
},
"border": {
"margin": "1px 0 0 1px",
"width": "0",
"height": "0",
"border": "solid",
"border-width": "0 0 20px 10px",
"border-color": "transparent transparent #fefcef transparent"
}
},
"title": {
"padding": "10px",
"margin": "0",
"z-index": "2"
},
"message": {
"margin": "0",
"padding": "0 10px 10px",
"white-space": "pre-wrap"
},
"footer": {
"border-top": "dashed 1px #cac7b7",
"margin": "0 10px",
"padding": "10px 0",
"date": {
"color": "#666"
},
"link": {
"float": "right"
}
}
}
}