|
@@ -9,6 +9,7 @@
|
|
*::before,
|
|
*::before,
|
|
*::after {
|
|
*::after {
|
|
font-family: inherit;
|
|
font-family: inherit;
|
|
|
|
+ background-color: inherit;
|
|
color: inherit;
|
|
color: inherit;
|
|
margin: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
padding: 0;
|
|
@@ -19,6 +20,7 @@ html {
|
|
font-family: PT Sans, sans-serif;
|
|
font-family: PT Sans, sans-serif;
|
|
line-height: 1.5;
|
|
line-height: 1.5;
|
|
color: #111;
|
|
color: #111;
|
|
|
|
+ background-color: #fefefe;
|
|
}
|
|
}
|
|
* + * {
|
|
* + * {
|
|
margin-top: 2.25rem;
|
|
margin-top: 2.25rem;
|
|
@@ -58,8 +60,9 @@ figure p img {
|
|
}
|
|
}
|
|
:focus:not([tabindex="-1"]),
|
|
:focus:not([tabindex="-1"]),
|
|
[data-expands]:focus svg,
|
|
[data-expands]:focus svg,
|
|
-.patterns a:focus .text {
|
|
|
|
- outline: 3px solid #ccc;
|
|
|
|
|
|
+.patterns a:focus .text,
|
|
|
|
+[for="themer"] :focus + [aria-hidden] {
|
|
|
|
+ outline: 3px solid #888;
|
|
outline-offset: 2px;
|
|
outline-offset: 2px;
|
|
}
|
|
}
|
|
/* fix for IE :( */
|
|
/* fix for IE :( */
|
|
@@ -86,7 +89,6 @@ div:not([tabindex]):focus {
|
|
outline: none;
|
|
outline: none;
|
|
}
|
|
}
|
|
/* text styles */
|
|
/* text styles */
|
|
-
|
|
|
|
h1,
|
|
h1,
|
|
h2,
|
|
h2,
|
|
h3,
|
|
h3,
|
|
@@ -160,6 +162,7 @@ main ul ul {
|
|
|
|
|
|
button {
|
|
button {
|
|
font-size: 1.25rem;
|
|
font-size: 1.25rem;
|
|
|
|
+ border-radius: 0.125em;
|
|
font-family: inherit;
|
|
font-family: inherit;
|
|
background: #111;
|
|
background: #111;
|
|
color: #fff;
|
|
color: #fff;
|
|
@@ -171,6 +174,28 @@ button {
|
|
margin-top: 0.75rem;
|
|
margin-top: 0.75rem;
|
|
padding: 0.5rem;
|
|
padding: 0.5rem;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+/* Forms */
|
|
|
|
+label {
|
|
|
|
+ display: inline-block;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+[for="themer"] {
|
|
|
|
+ background: #111;
|
|
|
|
+ border-radius: 0.125em;
|
|
|
|
+ color: #fff;
|
|
|
|
+ padding: 0.25em 0.75em;
|
|
|
|
+ margin: 0.5rem;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+[for="themer"] [aria-hidden]::before {
|
|
|
|
+ content: 'off';
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+[for="themer"] :checked + [aria-hidden]::before {
|
|
|
|
+ content: 'on';
|
|
|
|
+}
|
|
/* Tables */
|
|
/* Tables */
|
|
|
|
|
|
table {
|
|
table {
|
|
@@ -466,6 +491,7 @@ pre[class*=language-] {
|
|
}
|
|
}
|
|
code[class*="language-"], pre[class*="language-"] {
|
|
code[class*="language-"], pre[class*="language-"] {
|
|
text-shadow: none;
|
|
text-shadow: none;
|
|
|
|
+ filter: grayscale(100%);
|
|
}
|
|
}
|
|
pre[class*=language-][data-line] {
|
|
pre[class*=language-][data-line] {
|
|
padding: 1em 0 0 2.25rem;
|
|
padding: 1em 0 0 2.25rem;
|
|
@@ -477,40 +503,6 @@ pre[class*=language-] code * {
|
|
display: inline-block;
|
|
display: inline-block;
|
|
margin-top: -1rem;
|
|
margin-top: -1rem;
|
|
}
|
|
}
|
|
-.token.property,
|
|
|
|
-.token.tag,
|
|
|
|
-.token.boolean,
|
|
|
|
-.token.number,
|
|
|
|
-.token.constant,
|
|
|
|
-.token.symbol,
|
|
|
|
-.token.deleted {
|
|
|
|
- color: #888;
|
|
|
|
-}
|
|
|
|
-.token.selector,
|
|
|
|
-.token.attr-name,
|
|
|
|
-.token.string,
|
|
|
|
-.token.char,
|
|
|
|
-.token.builtin,
|
|
|
|
-.token.inserted,
|
|
|
|
-.token.important {
|
|
|
|
- color: #111;
|
|
|
|
-}
|
|
|
|
-.token.operator,
|
|
|
|
-.token.entity,
|
|
|
|
-.token.url,
|
|
|
|
-.language-css .token.string,
|
|
|
|
-.style .token.string {
|
|
|
|
- color: #333;
|
|
|
|
- background: none;
|
|
|
|
-}
|
|
|
|
-.token.atrule,
|
|
|
|
-.token.attr-value,
|
|
|
|
-.token.keyword {
|
|
|
|
- color: #666;
|
|
|
|
-}
|
|
|
|
-.token.function {
|
|
|
|
- color: #888;
|
|
|
|
-}
|
|
|
|
.line-numbers code {
|
|
.line-numbers code {
|
|
padding-left: 3rem;
|
|
padding-left: 3rem;
|
|
margin-top: -1rem;
|
|
margin-top: -1rem;
|
|
@@ -768,6 +760,15 @@ h1 svg {
|
|
.pattern-section h1 {
|
|
.pattern-section h1 {
|
|
padding: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
}
|
|
|
|
+/* Utilities */
|
|
|
|
+.vh {
|
|
|
|
+ clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
+ height: 1px;
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ position: absolute;
|
|
|
|
+ white-space: nowrap;
|
|
|
|
+ width: 1px;
|
|
|
|
+}
|
|
@media screen and (max-width: 45em) {
|
|
@media screen and (max-width: 45em) {
|
|
[role="banner"] {
|
|
[role="banner"] {
|
|
position: static;
|
|
position: static;
|