php-wizardry-portal / style.css
Bevilon's picture
<script>
1c23e77 verified
Raw History Blame Contribute Delete
1.58 kB
/* 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;
}