mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 02:36:15 -04:00
Simpler cards, code and scroller
This commit is contained in:
parent
7c02958360
commit
772425bf2f
15 changed files with 36 additions and 203 deletions
|
@ -328,7 +328,7 @@ a[role=button] {
|
|||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: -1rem;
|
||||
right: 0;
|
||||
padding: .375rem .75rem;
|
||||
border-radius: 0;
|
||||
color: var(--primary-inverse);
|
||||
|
@ -336,13 +336,6 @@ a[role=button] {
|
|||
line-height: 1;
|
||||
}
|
||||
|
||||
@media (min-width: 576px) {
|
||||
[data-theme="invalid"]:before,
|
||||
[data-theme="valid"]:before {
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
[data-theme="invalid"]:before,
|
||||
[data-theme="valid"]:before {
|
||||
|
@ -351,15 +344,14 @@ a[role=button] {
|
|||
}
|
||||
}
|
||||
|
||||
[data-theme="invalid"] pre,
|
||||
[data-theme="valid"] pre {
|
||||
padding-top: 2rem;
|
||||
padding-bottom: 2rem;
|
||||
[data-theme="invalid"] code,
|
||||
[data-theme="valid"] code {
|
||||
padding: 1rem 0;
|
||||
}
|
||||
|
||||
[data-theme="invalid"]:before {
|
||||
background: var(--invalid);
|
||||
content: 'Bulky';
|
||||
content: 'Not so great';
|
||||
}
|
||||
|
||||
[data-theme="valid"]:before {
|
||||
|
@ -367,10 +359,6 @@ a[role=button] {
|
|||
content: 'Great';
|
||||
}
|
||||
|
||||
section[title="love"] [data-theme="invalid"]:before {
|
||||
content: 'Not so great';
|
||||
}
|
||||
|
||||
/**
|
||||
* Docs: Navs
|
||||
*/
|
||||
|
|
2
docs/css/pico.docs.min.css
vendored
2
docs/css/pico.docs.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue