73 lines
2.8 KiB
Plaintext
73 lines
2.8 KiB
Plaintext
<div id="<%= dom_id school %>" class="card mb-5 w-100 border-0 shadow-lg" style="
|
|
background: linear-gradient(120deg, #f8fafc 60%, #cfe2ff 100%);
|
|
border-radius: 1.5rem;
|
|
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37), 0 1.5rem 2rem 0 rgba(0,0,0,0.15);
|
|
border: 4px solid transparent;
|
|
background-clip: padding-box;
|
|
position: relative;
|
|
overflow: hidden;">
|
|
<div style="
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
|
|
opacity: 0.18;
|
|
filter: blur(16px);
|
|
border-radius: 1.5rem;
|
|
pointer-events: none;
|
|
"></div>
|
|
<div class="row g-0 align-items-center position-relative" style="z-index: 1;">
|
|
<div class="col-md-4 d-flex align-items-center justify-content-center" style="
|
|
background: linear-gradient(135deg, #ffb347 0%, #ffcc33 100%);
|
|
min-height: 220px;
|
|
border-top-left-radius: 1.5rem;
|
|
border-bottom-left-radius: 1.5rem;
|
|
box-shadow: 0 4px 24px 0 rgba(255,193,7,0.25);
|
|
transform: translateY(-10px) scale(1.04) rotate(-2deg);
|
|
margin: 0.5rem 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
">
|
|
<img src="https://www.canva.com/photos/MAAw6qI200c/?utm_source=pixabay&utm_medium=affiliate&utm_campaign=sponsored_image&utm_content=list_bottombanner_media&utm_term=free+images+free+image+nature" alt="School 3D" style="width: 90px; height: 90px; object-fit: contain; filter: drop-shadow(0 8px 16px #0004) drop-shadow(0 1px 0 #fff8); transform: scale(1.1) rotate(-8deg);">
|
|
<span class="display-6 text-white fw-bold mt-3" style="text-shadow: 0 4px 16px #0008, 0 1px 0 #fff; letter-spacing: 1px;">
|
|
School
|
|
</span>
|
|
</div>
|
|
<div class="col-md-8">
|
|
<div class="card-body" style="
|
|
background: rgba(255,255,255,0.8);
|
|
border-radius: 1rem;
|
|
box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
|
|
backdrop-filter: blur(8px);
|
|
">
|
|
<div class="mb-2">
|
|
<h2 class="card-title text-primary-emphasis" style="text-shadow: 0 2px 8px #cfe2f; font-size: 2.2rem;">
|
|
<%= school.name %>
|
|
<span class="badge bg-success ms-2 shadow">Active</span>
|
|
</h2>
|
|
<div style="
|
|
font-size: 2.2rem;
|
|
color: #0d6efd38;
|
|
text-align: left;
|
|
transform: scaleY(-1);
|
|
opacity: 0.4;
|
|
filter: blur(1px);
|
|
margin-top: -0.5rem;
|
|
pointer-events: none;
|
|
user-select: none;
|
|
line-height: 1;
|
|
">
|
|
<%= school.name %>
|
|
</div>
|
|
</div>
|
|
<p class="card-text mb-1 fs-5">
|
|
<span class="fw-bold text-secondary">Place:</span> <span class="text-dark"><%= school.place %></span>
|
|
</p>
|
|
<%# Add more school details here if available %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|