Spaces:
Running
Running
File size: 1,580 Bytes
1c23e77 b77e932 1c23e77 b77e932 1c23e77 b77e932 1c23e77 b77e932 1c23e77 b77e932 1c23e77 b77e932 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | /* Base styles */
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
/* Syntax highlighting for code examples */
.code-block {
background-color: #f8f9fa;
border-radius: 0.375rem;
padding: 1rem;
overflow-x: auto;
}
.code-block pre {
margin: 0;
font-family: 'Courier New', Courier, monospace;
}
/* Custom animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
animation: fadeIn 0.5s ease-out forwards;
}
/* Responsive tweaks */
@media (max-width: 640px) {
.responsive-stack {
display: flex;
flex-direction: column;
}
}
/* Modal styles */
.wsi-modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0,0,0,0.7);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
}
.wsi-modal-box {
background: white;
padding: 2rem;
border-radius: 8px;
max-width: 500px;
width: 90%;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.wsi-modal-box h3 {
color: #10b981;
margin-bottom: 1rem;
}
.wsi-modal-box p {
margin-bottom: 1.5rem;
line-height: 1.6;
}
.wsi-modal-close {
background: #3b82f6;
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 4px;
cursor: pointer;
transition: background 0.2s;
}
.wsi-modal-close:hover {
background: #2563eb;
}
|