mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 10:46:14 -04:00
docs: add new version banner
This commit is contained in:
parent
d490899f63
commit
7d6a2ebd51
30 changed files with 45 additions and 27 deletions
|
@ -7,7 +7,7 @@ body > nav {
|
|||
|
||||
-webkit-backdrop-filter: saturate(180%) blur(20px);
|
||||
z-index: 99;
|
||||
position: fixed;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
|
|
6
docs/scss/layout/_new-version.scss
Normal file
6
docs/scss/layout/_new-version.scss
Normal file
|
@ -0,0 +1,6 @@
|
|||
body > .new-version {
|
||||
padding: calc(var(--spacing) * 0.5) var(--spacing);
|
||||
background-color: var(--primary);
|
||||
color: var(--primary-inverse);
|
||||
text-align: center;
|
||||
}
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
// Layout
|
||||
@import "layout/document";
|
||||
@import "layout/new-version";
|
||||
@import "layout/main";
|
||||
@import "layout/aside";
|
||||
@import "layout/documentation";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue