1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-12-03 04:18:57 -05: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 // all code
code { code {
font-size: 0.95em;
letter-spacing: 0; letter-spacing: 0;
page-break-inside: avoid; // stylelint-disable-line plugin/no-unsupported-browser-features 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 // allow for inline code in post/page titles -- override above styles and match title
.title code { .title code {
font-size: 1.05em; font-size: 1em;
background: none !important; background: none !important;
border: 0 !important; border: 0 !important;
margin: 0 0.075em !important; margin: 0 0.075em !important;

View File

@@ -172,11 +172,15 @@
div.right { div.right {
text-align: right; text-align: right;
} }
div.highlight, code { code {
font-family: "Roboto Mono", monospace; font-family: "Roboto Mono", monospace;
font-size: 0.95em;
letter-spacing: 0; letter-spacing: 0;
page-break-inside: avoid; page-break-inside: avoid;
}
div.highlight, code {
margin: 0 0.1em; margin: 0 0.1em;
line-height: 1.6;
} }
:not(pre) > code { :not(pre) > code {
border: 1px solid #dddddd; border: 1px solid #dddddd;
@@ -184,7 +188,7 @@
background-color: #fbfbfb; background-color: #fbfbfb;
} }
h1.title code { h1.title code {
font-size: 1.05em; font-size: 1em;
font-weight: 600; font-weight: 600;
background: none; background: none;
border: 0; 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; style-src 'self' 'unsafe-inline' https://cdn.ampproject.org/rtv/ https://fonts.googleapis.com https://github.githubassets.com;
worker-src 'self'; worker-src 'self';
block-all-mixed-content; block-all-mixed-content;
report-uri https://jarv.is/api/csp_wizard''' report-uri https://jarv.is/api/csp_wizard;
report-to default'''
NEL = ''' NEL = '''
{"report_to":"default","max_age":604800}''' {"report_to":"default","max_age":604800}'''
Report-To = ''' Report-To = '''