mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-07-31 04:45:22 -04:00
more preparation for styled components
This commit is contained in:
+1
-16
@@ -27,10 +27,7 @@ a.no-underline {
|
||||
transition: none;
|
||||
}
|
||||
|
||||
/*
|
||||
* make SVG icons relative to surrounding text:
|
||||
* https://github.com/twitter/twemoji#inline-styles
|
||||
*/
|
||||
/* make SVG icons relative in size/position to surrounding text */
|
||||
.icon {
|
||||
display: inline-block;
|
||||
height: 1.2em;
|
||||
@@ -38,18 +35,6 @@ a.no-underline {
|
||||
vertical-align: -0.2em;
|
||||
}
|
||||
|
||||
/* all code */
|
||||
code {
|
||||
font-size: 0.925em;
|
||||
page-break-inside: avoid;
|
||||
border: 1px solid var(--kinda-light);
|
||||
}
|
||||
|
||||
/* inline code in paragraphs/elsewhere (single backticks) */
|
||||
:not(pre) code {
|
||||
padding: 0.1em 0.25em;
|
||||
}
|
||||
|
||||
/* https://web.dev/prefers-reduced-motion/#(bonus)-forcing-reduced-motion-on-all-websites */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*,
|
||||
|
||||
Reference in New Issue
Block a user