soft-ui-library
Version:
A Collection of UI Elements implementing a neumorphic design pattern with light/dark mode toggle.
81 lines (72 loc) • 1.33 kB
CSS
/*
* This has nothing to do with the library, it simply styles the documentation page
*/
body {
max-width: 800px;
margin: auto;
padding: 6rem 15px 1rem 15px;
}
header {
position: fixed;
top: 0;
left: 0;
width: 100vw;
z-index: 99;
}
.nav-container {
max-width: 800px;
padding: 0 20px 0 10px;
margin: auto;
height: 4rem;
display: flex;
align-items: center;
justify-content: space-between;
}
.nav-container .brand {
display: flex;
align-items: center;
}
.nav-container .brand .brand-logo {
height: 40px;
}
.nav-container .brand .brand-text {
font-weight: 100;
}
form .block-section {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 10px;
margin: 1.5rem 0;
}
form .block-section label {
display: flex;
align-items: center;
}
.grid-container {
display: grid;
gap: 25px;
padding: 25px 0;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.grid-container div {
height: 10rem;
width: 100%;
display: grid;
place-items: center;
}
code {
font-size: 15px;
background: var(--color-bg) ;
}
.footer {
margin-top: 6rem;
margin-bottom: 1rem;
display: flex;
justify-content: space-between;
}
.title-section {
margin-top: 3rem;
opacity: 0.6;
font-size: 1.5rem;
}
/*# sourceMappingURL=style.css.map */