mirror of
https://github.com/picocss/pico.git
synced 2025-04-21 09:06:14 -04:00
style: code font-size
This commit is contained in:
parent
13afcc90ab
commit
76fda2f6df
7 changed files with 7 additions and 10 deletions
|
@ -1072,7 +1072,7 @@ table[role=grid] tbody tr:nth-child(odd) {
|
||||||
/**
|
/**
|
||||||
* Code
|
* Code
|
||||||
*/
|
*/
|
||||||
pre,
|
pre:not(:has(code)),
|
||||||
code,
|
code,
|
||||||
kbd,
|
kbd,
|
||||||
samp {
|
samp {
|
||||||
|
@ -1110,7 +1110,6 @@ pre > code {
|
||||||
display: block;
|
display: block;
|
||||||
padding: var(--pico-spacing);
|
padding: var(--pico-spacing);
|
||||||
background: none;
|
background: none;
|
||||||
font-size: inherit;
|
|
||||||
line-height: var(--pico-line-height);
|
line-height: var(--pico-line-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
2
css/pico.classless.min.css
vendored
2
css/pico.classless.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -1166,7 +1166,7 @@ table[role=grid] tbody tr:nth-child(odd) {
|
||||||
/**
|
/**
|
||||||
* Code
|
* Code
|
||||||
*/
|
*/
|
||||||
pre,
|
pre:not(:has(code)),
|
||||||
code,
|
code,
|
||||||
kbd,
|
kbd,
|
||||||
samp {
|
samp {
|
||||||
|
@ -1204,7 +1204,6 @@ pre > code {
|
||||||
display: block;
|
display: block;
|
||||||
padding: var(--pico-spacing);
|
padding: var(--pico-spacing);
|
||||||
background: none;
|
background: none;
|
||||||
font-size: inherit;
|
|
||||||
line-height: var(--pico-line-height);
|
line-height: var(--pico-line-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
2
css/pico.min.css
vendored
2
css/pico.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
// 1. Correct the inheritance and scaling of font size in all browsers
|
// 1. Correct the inheritance and scaling of font size in all browsers
|
||||||
// 2. Correct the odd `em` font sizing in all browsers
|
// 2. Correct the odd `em` font sizing in all browsers
|
||||||
pre,
|
pre:not(:has(code)),
|
||||||
code,
|
code,
|
||||||
kbd,
|
kbd,
|
||||||
samp {
|
samp {
|
||||||
|
@ -55,7 +55,6 @@
|
||||||
display: block;
|
display: block;
|
||||||
padding: var(#{$✨}spacing);
|
padding: var(#{$✨}spacing);
|
||||||
background: none;
|
background: none;
|
||||||
font-size: inherit;
|
|
||||||
line-height: var(#{$✨}line-height);
|
line-height: var(#{$✨}line-height);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue