@@ -70,10 +70,21 @@ h5,
h6 {
position: relative;
font-family: var(--title-font);
- font-weight: 480;
+ font-weight: 400;
+}
+
+h1 {
color: var(--title-color);
}
+h2,
+h3,
+h4,
+h5,
+h6 {
+ color: var(--full-contrast);
+}
+
/* Don't change font size in headers. */
h1 code,
h2 code,
@@ -213,7 +224,7 @@ hr {
}
.content {
- padding: 48px 32px 0 32px;
+ padding: 32px 32px 0 32px;
display: flex;
justify-content: space-between;
gap: 36px;
@@ -272,10 +283,14 @@ hr {
border-radius: 8px;
overflow: clip;
}
-.content .header:link,
-.content .header:visited {
+.content h1 .header:link,
+.content h1 .header:visited {
color: var(--title-color);
}
+.content :is(h2, h3, h4, h5, h6) .header:link,
+.content :is(h2, h3, h4, h5, h6) .header:visited {
+ color: var(--full-contrast);
+}
.content .header:link,
.content .header:visited:hover {
text-decoration: none;
@@ -383,15 +398,17 @@ blockquote .warning:before {
}
kbd {
- background-color: rgba(8, 76, 207, 0.1);
+ background-color: var(--keybinding-bg);
+ padding: 4px 4px 6px 4px;
border-radius: 4px;
+ font-family: var(--mono-font);
+ display: inline-block;
+ margin: 0 2px;
border: solid 1px var(--popover-border);
box-shadow: inset 0 -1px 0 var(--theme-hover);
- display: inline-block;
font-size: var(--code-font-size);
- font-family: var(--mono-font);
+ color: var(--full-contrast);
line-height: 10px;
- padding: 4px 5px;
vertical-align: middle;
}
@@ -11,11 +11,12 @@
--page-padding: 15px;
--content-max-width: 690px;
--menu-bar-height: 64px;
- --font: "IA Writer Quattro S", sans-serif;
- --title-font: "Lora", "Helvetica Neue", Helvetica, Arial, sans-serif;
+ --font: "iA Writer Quattro S", sans-serif;
+ --title-font:
+ "IBM Plex Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
--mono-font:
- ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono,
- Courier New, monospace;
+ "Lilex", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
+ Liberation Mono, Courier New, monospace;
--code-font-size: 0.875em
/* please adjust the ace font size accordingly in editor.js */;
@@ -151,7 +152,7 @@
--inline-code-color: hsl(40, 100%, 80%);
--code-text: hsl(220, 13%, 95%);
--code-bg: hsl(220, 93%, 50%, 0.2);
- --keybinding-bg: hsl(0, 0%, 12%);
+ --keybinding-bg: hsl(220, 20%, 10%);
--pre-bg: hsl(220, 13%, 5%);
--pre-border: hsla(220, 93%, 70%, 0.3);
@@ -162,7 +163,7 @@
--popover-shadow:
0 10px 15px -3px hsl(0, 0%, 0%, 0.1), 0 4px 6px -4px hsl(0, 0%, 0%, 0.1);
- --theme-hover: hsl(220, 13%, 25%);
+ --theme-hover: hsl(220, 13%, 20%);
--hover-section-title: hsl(220, 13%, 11%);
--quote-bg: hsl(220, 13%, 25%, 0.4);