mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 18:56:15 -04:00
Improvements
- Edit code colors and add a color for comments - Add ::selection - Small edits for cards: last-child and overflow - Add card-sectioning (header, footer, pre) - Change global hue for Primary color - Remove border for pre - Add querySelectorAll() for theme-switcher.js - Update docs
This commit is contained in:
parent
c3f9d8d8c8
commit
85e21d35de
23 changed files with 937 additions and 422 deletions
|
@ -24,7 +24,7 @@ pre,
|
|||
code,
|
||||
kbd {
|
||||
background: var(--code-inlined);
|
||||
color: var(--muted-text);
|
||||
color: var(--code-color-1);
|
||||
font-size: 85%;
|
||||
font-weight: 400;
|
||||
line-height: 1;
|
||||
|
@ -66,7 +66,6 @@ pre {
|
|||
margin-left: -$spacing-gutter;
|
||||
padding: $spacing-block $spacing-gutter;
|
||||
overflow-x: auto;
|
||||
border-left: .25rem solid var(--code-border);
|
||||
background: var(--code-background);
|
||||
|
||||
@media (min-width: map-get($breakpoints, "sm")) {
|
||||
|
@ -88,21 +87,27 @@ code {
|
|||
|
||||
// Tags
|
||||
b {
|
||||
color: var(--code-color-1);
|
||||
color: var(--code-color-2);
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
// Properties
|
||||
i {
|
||||
color: var(--code-color-2);
|
||||
color: var(--code-color-3);
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
// Values
|
||||
u {
|
||||
color: var(--text);
|
||||
color: var(--code-color-4);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
// Comments
|
||||
em {
|
||||
color: var(--code-color-5);
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
|
||||
// kbd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue