1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 13:46:38 -04:00

adjust monospace font size a bit

This commit is contained in:
2020-11-27 09:57:36 -05:00
parent d9deace16c
commit aa2c1e60ea
3 changed files with 10 additions and 4 deletions

View File

@ -2,6 +2,7 @@
// all code
code {
font-size: 0.95em;
letter-spacing: 0;
page-break-inside: avoid; // stylelint-disable-line plugin/no-unsupported-browser-features
}
@ -15,7 +16,7 @@ code {
// allow for inline code in post/page titles -- override above styles and match title
.title code {
font-size: 1.05em;
font-size: 1em;
background: none !important;
border: 0 !important;
margin: 0 0.075em !important;

View File

@ -172,11 +172,15 @@
div.right {
text-align: right;
}
div.highlight, code {
code {
font-family: "Roboto Mono", monospace;
font-size: 0.95em;
letter-spacing: 0;
page-break-inside: avoid;
}
div.highlight, code {
margin: 0 0.1em;
line-height: 1.6;
}
:not(pre) > code {
border: 1px solid #dddddd;
@ -184,7 +188,7 @@
background-color: #fbfbfb;
}
h1.title code {
font-size: 1.05em;
font-size: 1em;
font-weight: 600;
background: none;
border: 0;

View File

@ -130,7 +130,8 @@
style-src 'self' 'unsafe-inline' https://cdn.ampproject.org/rtv/ https://fonts.googleapis.com https://github.githubassets.com;
worker-src 'self';
block-all-mixed-content;
report-uri https://jarv.is/api/csp_wizard'''
report-uri https://jarv.is/api/csp_wizard;
report-to default'''
NEL = '''
{"report_to":"default","max_age":604800}'''
Report-To = '''