@sanity/cli
Version:
Sanity CLI tool for managing Sanity installations, managing plugins, schemas and datasets
91 lines (82 loc) • 1.35 kB
CSS
.example-container {
background-color: white;
border-radius: 8px;
padding: 2rem;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.example-avatar-container {
position: relative;
margin-block-end: 1rem;
}
@keyframes wave {
0% {
rotate: 0deg;
}
2% {
rotate: 20deg;
filter: blur(1px);
}
4% {
rotate: 0deg;
}
6% {
rotate: -20deg;
}
8% {
rotate: 0deg;
}
10% {
rotate: 20deg;
}
12% {
rotate: 0deg;
}
14% {
rotate: -20deg;
}
16% {
rotate: 0deg;
filter: blur(0);
}
}
.example-avatar-container:after {
content: '👋';
position: absolute;
font-size: 1.5rem;
display: flex;
align-items: center;
justify-container: center;
inset-inline-start: 0;
inset-block-start: 0;
translate: -25% -25%;
transform-origin: 100% 100%;
animation: wave 4s infinite linear;
}
@media (prefers-reduced-motion: reduce) {
.example-avatar-container:after {
animation: none;
}
}
.example-avatar {
inline-size: 4rem;
aspect-ratio: 1;
border-radius: 50%;
}
.example-heading {
color: #333;
margin-top: 0;
font-size: 2rem;
}
p {
color: #666;
line-height: 1.6;
}
.code-hint {
background-color: #f5f5f5;
padding: 1rem;
border-radius: 4px;
font-family: monospace;
margin-top: 1.5rem;
border-left: 3px solid #e0e0e0;
line-height: 1.5;
}