mirror of
https://github.com/picocss/pico.git
synced 2025-04-22 09:26:14 -04:00
rebuilt css files, For some reason was having issues with the line endings, hopefully the editorconfig will fix it.
This commit is contained in:
parent
137d6bf55e
commit
7ce5b5c578
244 changed files with 6471 additions and 2306 deletions
|
@ -6,7 +6,8 @@
|
|||
/**
|
||||
* Styles
|
||||
*/
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--pico-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
--pico-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, var(--pico-font-family-emoji);
|
||||
--pico-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace, var(--pico-font-family-emoji);
|
||||
|
@ -45,27 +46,32 @@
|
|||
--pico-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 145, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
|
||||
}
|
||||
@media (min-width: 576px) {
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--pico-font-size: 106.25%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--pico-font-size: 112.5%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1024px) {
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--pico-font-size: 118.75%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1280px) {
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--pico-font-size: 125%;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1536px) {
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--pico-font-size: 131.25%;
|
||||
}
|
||||
}
|
||||
|
@ -192,7 +198,8 @@ input:not([type=submit],
|
|||
* Color schemes
|
||||
*/
|
||||
[data-theme=light],
|
||||
:root:not([data-theme=dark]) {
|
||||
:root:not([data-theme=dark]),
|
||||
:host(:not([data-theme=dark])) {
|
||||
color-scheme: light;
|
||||
--pico-background-color: #fff;
|
||||
--pico-color: #373c44;
|
||||
|
@ -306,12 +313,19 @@ input:not([type=submit],
|
|||
[type=reset],
|
||||
[type=checkbox],
|
||||
[type=radio],
|
||||
[type=file]),
|
||||
:host(:not([data-theme=dark])) input:is([type=submit],
|
||||
[type=button],
|
||||
[type=reset],
|
||||
[type=checkbox],
|
||||
[type=radio],
|
||||
[type=file]) {
|
||||
--pico-form-element-focus-color: var(--pico-primary-focus);
|
||||
}
|
||||
|
||||
@media only screen and (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme]) {
|
||||
:root:not([data-theme]),
|
||||
:host(:not([data-theme])) {
|
||||
color-scheme: dark;
|
||||
--pico-background-color: rgb(19, 22.5, 30.5);
|
||||
--pico-color: #c2c7d0;
|
||||
|
@ -419,6 +433,12 @@ input:not([type=submit],
|
|||
[type=reset],
|
||||
[type=checkbox],
|
||||
[type=radio],
|
||||
[type=file]),
|
||||
:host(:not([data-theme])) input:is([type=submit],
|
||||
[type=button],
|
||||
[type=reset],
|
||||
[type=checkbox],
|
||||
[type=radio],
|
||||
[type=file]) {
|
||||
--pico-form-element-focus-color: var(--pico-primary-focus);
|
||||
}
|
||||
|
@ -559,7 +579,8 @@ input:not([type=submit],
|
|||
vertical-align: inherit;
|
||||
}
|
||||
|
||||
:where(:root) {
|
||||
:where(:root),
|
||||
:where(:host) {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-moz-text-size-adjust: 100%;
|
||||
|
@ -1386,7 +1407,6 @@ main {
|
|||
line-height: var(--pico-line-height);
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
|
@ -1515,7 +1535,8 @@ main {
|
|||
fill: currentColor;
|
||||
}
|
||||
|
||||
.pico svg:not(:root) {
|
||||
.pico svg:not(:root),
|
||||
.pico svg:not(:host) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
@ -2486,9 +2507,10 @@ main {
|
|||
}
|
||||
|
||||
/**
|
||||
* Card (<article>)
|
||||
* Card (<article>, role="article")
|
||||
*/
|
||||
.pico article {
|
||||
.pico article,
|
||||
.pico [role=article] {
|
||||
margin-bottom: var(--pico-block-spacing-vertical);
|
||||
padding: var(--pico-block-spacing-vertical) var(--pico-block-spacing-horizontal);
|
||||
border-radius: var(--pico-border-radius);
|
||||
|
@ -2496,13 +2518,16 @@ main {
|
|||
box-shadow: var(--pico-card-box-shadow);
|
||||
}
|
||||
.pico article > header,
|
||||
.pico article > footer {
|
||||
.pico article > footer,
|
||||
.pico [role=article] > header,
|
||||
.pico [role=article] > footer {
|
||||
margin-right: calc(var(--pico-block-spacing-horizontal) * -1);
|
||||
margin-left: calc(var(--pico-block-spacing-horizontal) * -1);
|
||||
padding: calc(var(--pico-block-spacing-vertical) * 0.66) var(--pico-block-spacing-horizontal);
|
||||
background-color: var(--pico-card-sectioning-background-color);
|
||||
}
|
||||
.pico article > header {
|
||||
.pico article > header,
|
||||
.pico [role=article] > header {
|
||||
margin-top: calc(var(--pico-block-spacing-vertical) * -1);
|
||||
margin-bottom: var(--pico-block-spacing-vertical);
|
||||
border-bottom: var(--pico-border-width) solid var(--pico-card-border-color);
|
||||
|
@ -2514,10 +2539,17 @@ main {
|
|||
.pico article > header > h3,
|
||||
.pico article > header > h4,
|
||||
.pico article > header > h5,
|
||||
.pico article > header > h6 {
|
||||
.pico article > header > h6,
|
||||
.pico [role=article] > header > h1,
|
||||
.pico [role=article] > header > h2,
|
||||
.pico [role=article] > header > h3,
|
||||
.pico [role=article] > header > h4,
|
||||
.pico [role=article] > header > h5,
|
||||
.pico [role=article] > header > h6 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.pico article > footer {
|
||||
.pico article > footer,
|
||||
.pico [role=article] > footer {
|
||||
margin-top: var(--pico-block-spacing-vertical);
|
||||
margin-bottom: calc(var(--pico-block-spacing-vertical) * -1);
|
||||
border-top: var(--pico-border-width) solid var(--pico-card-border-color);
|
||||
|
@ -2711,7 +2743,8 @@ main {
|
|||
/**
|
||||
* Modal (<dialog>)
|
||||
*/
|
||||
:root {
|
||||
:root,
|
||||
:host {
|
||||
--pico-scrollbar-width: 0px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue