201 lines
4.4 KiB
CSS
201 lines
4.4 KiB
CSS
/*
|
|
Theme Name: Sami Modern
|
|
Theme URI: https://sami-ahmed.net
|
|
Author: Sami Ahmed
|
|
Author URI: sami-ahmed.net
|
|
Description: Custom theme for Sami Ahmed - pure HTML/CSS, no page builder
|
|
Version: 2.2
|
|
Requires at least: 4.7
|
|
Tested up to: 6.4
|
|
License: GNU General Public License v2 or later
|
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
Text Domain: 2017-baby
|
|
*/
|
|
|
|
/* ===== RESET & BASE ===== */
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
html { scroll-behavior: smooth; }
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
|
|
line-height: 1.7;
|
|
color: #fff;
|
|
background: linear-gradient(180deg, #81A2B0, #0E8EBF);
|
|
min-height: 100vh;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
.site-header, .site-footer,
|
|
.twentyseventeen-front-page .site-content { display: none !important; }
|
|
|
|
img { max-width: 100%; height: auto; display: block; }
|
|
a { color: #DAE400; text-decoration: none; transition: opacity 0.2s; }
|
|
a:hover { opacity: 0.85; }
|
|
|
|
.container { max-width: 960px; margin: 0 auto; padding: 0 32px; }
|
|
.two-col { display: flex; gap: 40px; flex-wrap: wrap; }
|
|
.two-col > .col { flex: 1; min-width: 280px; }
|
|
|
|
/* ===== SECTION BASE ===== */
|
|
section { padding: 80px 0; position: relative; overflow: hidden; }
|
|
|
|
.section-title {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
margin-bottom: 30px;
|
|
line-height: 1.3;
|
|
text-align: center;
|
|
}
|
|
.section-title.light { color: #DDDFE1; }
|
|
|
|
/* ===== MEMORIAL BANNER ===== */
|
|
.memorial-banner {
|
|
background: #000;
|
|
border-bottom: 1px solid #2a2a2a;
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
}
|
|
.memorial-inner {
|
|
max-width: 960px;
|
|
margin: 0 auto;
|
|
padding: 18px 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 30px;
|
|
}
|
|
.memorial-text-group {
|
|
text-align: center;
|
|
flex: 1;
|
|
}
|
|
.memorial-text {
|
|
color: #d4d4d4;
|
|
font-family: 'Georgia', 'Times New Roman', serif;
|
|
font-size: 15px;
|
|
letter-spacing: 0.5px;
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
}
|
|
.memorial-name {
|
|
color: #f0f0f0;
|
|
font-family: 'Georgia', 'Times New Roman', serif;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
.memorial-dash {
|
|
color: #555;
|
|
font-size: 14px;
|
|
margin: 0 8px;
|
|
}
|
|
.memorial-dates {
|
|
color: #999;
|
|
font-family: 'Georgia', 'Times New Roman', serif;
|
|
font-size: 13px;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
.memorial-photo {
|
|
flex: 0 0 auto;
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
border: 2px solid #333;
|
|
}
|
|
.memorial-photo img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
/* ===== HERO (Section 0) ===== */
|
|
.hero-section {
|
|
background-color: #050A30;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 50px 24px;
|
|
position: relative;
|
|
}
|
|
.hero-bg-animation {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
animation: heroGradient 5s infinite;
|
|
}
|
|
@keyframes heroGradient {
|
|
0% { background-color: #00a6d8; }
|
|
50% { background-color: #b800c9; }
|
|
100% { background-color: #e57600; }
|
|
}
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 1;
|
|
text-align: center;
|
|
max-width: 700px;
|
|
margin: 0 auto;
|
|
}
|
|
.hero-card-img {
|
|
max-width: 600px;
|
|
width: 100%;
|
|
border-radius: 12px;
|
|
box-shadow: 0 20px 60px rgba(0,0,0,0.4);
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* ===== SOCIAL (Section 1) ===== */
|
|
.social-section {
|
|
padding: 60px 0;
|
|
background: #111;
|
|
}
|
|
|
|
.social-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
|
|
gap: 16px;
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.social-link {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 16px 10px;
|
|
border-radius: 12px;
|
|
background: rgba(255,255,255,0.05);
|
|
text-decoration: none;
|
|
transition: all 0.3s ease;
|
|
border: 1px solid rgba(255,255,255,0.08);
|
|
}
|
|
|
|
.social-link:hover {
|
|
transform: translateY(-4px);
|
|
background: rgba(255,255,255,0.1);
|
|
border-color: rgba(255,255,255,0.2);
|
|
box-shadow: 0 8px 24px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.social-logo {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.social-svg {
|
|
width: 32px;
|
|
height: 32px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.social-name {
|
|
color: #ccc;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 100%;
|
|
} |