File manager - Edit - /home/webapp69.cm.in.th/u69319090013/portfolio/013 Thitinun portfolio/style.css
Back
/* ===== CSS Variables (Design Tokens) ===== */ :root { --bg-main: #0f0518; --bg-secondary: #1a0b2e; --text-primary: #e2e8f0; /* Light Gray */ --text-secondary: #94a3b8; /* Medium Gray */ --accent-primary: #ffffff; /* White Accent */ --accent-secondary: #cbd5e1; /* Silver Accent */ --glass-bg: rgba(255, 255, 255, 0.03); --glass-border: rgba(255, 255, 255, 0.08); --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); --transition: all 0.3s ease; /* Font Families */ --font-sans: 'Inter', sans-serif; --font-thai: 'Prompt', sans-serif; } [data-theme="light"] { --bg-main: #f8f9fa; --bg-secondary: #e9ecef; --text-primary: #212529; --text-secondary: #495057; --accent-primary: #0077b6; /* Blue */ --accent-secondary: #7b2cbf; /* Purple */ --glass-bg: rgba(255, 255, 255, 0.7); --glass-border: rgba(0, 0, 0, 0.1); --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05); } /* ===== Reset & Base Styles ===== */ * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: var(--font-thai); background-image: linear-gradient(180deg, rgba(10, 3, 17, 0.98) 0%, rgba(21, 8, 38, 0.97) 25%, rgba(43, 15, 78, 0.95) 60%, rgba(82, 25, 138, 0.92) 100%), url('plexus_bg.png'); background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; color: var(--text-primary); line-height: 1.6; overflow-x: hidden; } h1, h2, h3, h4, h5, h6 { font-family: var(--font-sans); font-weight: 700; color: var(--text-primary); text-shadow: 0 0 8px rgba(255, 255, 255, 0.35); animation: whiteGlow 3s infinite ease-in-out; } @keyframes whiteGlow { 0%, 100% { text-shadow: 0 0 5px rgba(255, 255, 255, 0.3), 0 0 10px rgba(255, 255, 255, 0.1); } 50% { text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 25px rgba(255, 255, 255, 0.4); } } a { text-decoration: none; color: var(--text-primary); transition: var(--transition); } ul { list-style: none; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .section { padding: 100px 0; } .section-title { font-size: 2.5rem; text-align: center; margin-bottom: 60px; position: relative; display: inline-block; left: 50%; transform: translateX(-50%); } .section-title::after { content: ''; position: absolute; width: 50%; height: 3px; bottom: -10px; left: 25%; background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary)); border-radius: 2px; } .highlight { color: var(--accent-primary); font-family: var(--font-sans); font-weight: 300; } /* ===== Glassmorphism Utility ===== */ .glass-panel { background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 16px; box-shadow: var(--glass-shadow); padding: 30px; transition: var(--transition); } .glass-panel:hover { transform: translateY(-5px); border-color: rgba(0, 240, 255, 0.3); box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1); } /* ===== Navigation ===== */ #navbar { position: fixed; top: 0; width: 100%; z-index: 1000; transition: var(--transition); padding: 20px 0; } #navbar.scrolled { background: rgba(15, 5, 24, 0.85); backdrop-filter: blur(10px); padding: 15px 0; border-bottom: 1px solid var(--glass-border); } .nav-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; } .logo { font-family: var(--font-sans); font-size: 1.5rem; font-weight: 700; color: var(--accent-primary); letter-spacing: 1px; } .nav-links { display: flex; gap: 30px; } .nav-links a { font-size: 1rem; font-weight: 400; position: relative; } .nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--accent-primary); transition: var(--transition); } .nav-links a:hover::after, .nav-links a.active::after { width: 100%; } .nav-links a:hover, .nav-links a.active { color: var(--accent-primary); } .nav-controls { display: flex; align-items: center; gap: 20px; } .lang-toggle-switch { display: flex; align-items: center; position: relative; width: 60px; height: 30px; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--glass-border); border-radius: 15px; cursor: pointer; user-select: none; font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; overflow: hidden; } .lang-label { flex: 1; text-align: center; z-index: 2; color: var(--text-primary); transition: var(--transition); } .lang-slider { position: absolute; top: 2px; left: 2px; width: 26px; height: 24px; background: var(--accent-primary); border-radius: 12px; z-index: 1; transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1); } /* When English is selected, slide right */ .lang-toggle-switch.is-en .lang-slider { transform: translateX(28px); } /* Adjust colors for light theme */ [data-theme="light"] .lang-toggle-switch { background: rgba(0, 0, 0, 0.05); } [data-theme="light"] .lang-slider { background: var(--accent-primary); } .theme-toggle { font-size: 1.2rem; cursor: pointer; color: var(--text-primary); transition: var(--transition); } .theme-toggle:hover { color: var(--accent-primary); } .menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 24px; height: 18px; cursor: pointer; z-index: 1001; } .menu-toggle span { display: block; width: 100%; height: 2px; background-color: var(--text-primary); border-radius: 2px; transition: var(--transition); transform-origin: center; } .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background-color: var(--accent-primary); } .menu-toggle.active span:nth-child(2) { opacity: 0; } .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background-color: var(--accent-primary); } /* ===== Hero Cover Section ===== */ .hero { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; text-align: center; background: transparent; } .hero-content { z-index: 5; display: flex; flex-direction: column; align-items: center; } .profile-image-container { position: relative; width: 200px; height: 200px; margin-bottom: 30px; } .profile-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; position: relative; z-index: 2; border: 3px solid transparent; background-clip: padding-box; } .glow-ring { position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px; background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary)); border-radius: 50%; z-index: 1; animation: rotate 4s linear infinite; } @keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .name { font-size: 3.5rem; margin-bottom: 10px; background: linear-gradient(to right, #ffffff, #b4b4b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.45)); animation: whiteDropGlow 3s infinite ease-in-out; } @keyframes whiteDropGlow { 0%, 100% { filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3)); } 50% { filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.8)); } } [data-theme="light"] .name { background: linear-gradient(to right, #111, #555); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: none; animation: none; } .roles { font-size: 1.5rem; color: var(--text-secondary); margin-bottom: 40px; font-family: var(--font-sans); font-weight: 300; } .role-text { color: var(--accent-primary); } .divider { margin: 0 15px; color: var(--glass-border); } .hero-buttons { display: flex; gap: 20px; } .btn { padding: 12px 30px; border-radius: 30px; font-weight: 600; font-family: var(--font-sans); cursor: pointer; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; } .primary-btn { background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary)); color: #fff; border: none; box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3); } .primary-btn:hover { box-shadow: 0 6px 20px rgba(0, 240, 255, 0.5); transform: translateY(-2px); } .secondary-btn { background: transparent; border: 1px solid var(--accent-primary); color: var(--accent-primary); } .secondary-btn:hover { background: rgba(0, 240, 255, 0.1); transform: translateY(-2px); } .scroll-down { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); font-size: 1.5rem; color: var(--text-secondary); animation: bounce 2s infinite; } @keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); } 40% { transform: translateY(-20px) translateX(-50%); } 60% { transform: translateY(-10px) translateX(-50%); } } /* Background Blobs */ .background-elements { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 1; } #plexus-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: -1; } .blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4; z-index: 0; } .blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: var(--accent-secondary); } .blob-2 { bottom: -20%; right: -10%; width: 600px; height: 600px; background: var(--accent-primary); } /* ===== About Section ===== */ .about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; } .icon-wrapper { width: 60px; height: 60px; border-radius: 50%; background: rgba(0, 240, 255, 0.1); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--accent-primary); margin-bottom: 20px; } .about-card h3 { margin-bottom: 15px; font-size: 1.3rem; } .about-img { width: 100%; height: 250px; border-radius: 12px; object-fit: cover; margin-bottom: 20px; border: 2px solid var(--accent-primary); display: block; } .about-card p { color: var(--text-secondary); font-size: 0.95rem; } /* ===== Education Section ===== */ .timeline { position: relative; max-width: 800px; margin: 50px auto 0; } .timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: var(--glass-border); } .timeline-item { position: relative; padding-left: 60px; margin-bottom: 40px; } .timeline-dot { position: absolute; left: 11px; top: 20px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-primary); box-shadow: 0 0 10px var(--accent-primary); } .timeline-date { display: inline-block; padding: 5px 15px; background: rgba(123, 44, 191, 0.2); color: var(--accent-secondary); border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 15px; } .school-name { font-size: 1.4rem; margin-bottom: 5px; } .major { color: var(--text-secondary); font-size: 1rem; margin-bottom: 10px; font-weight: 400; } .gpa { color: var(--accent-primary); margin-bottom: 15px; } .edu-desc { color: var(--text-secondary); font-size: 0.95rem; } /* ===== Skills Section ===== */ .simple-skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-top: 40px; } .simple-skill-item { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 20px; text-align: center; transition: var(--transition); } .simple-skill-item:hover { transform: translateY(-10px); } .skill-icon { font-size: 3rem; color: var(--accent-primary); margin-bottom: 15px; transition: var(--transition); } .simple-skill-item:hover .skill-icon { transform: scale(1.1); color: var(--accent-secondary); } .skill-text { font-family: var(--font-thai); font-size: 1rem; font-weight: 500; color: var(--text-primary); } /* ===== Projects Section ===== */ .projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; } .project-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; } .project-img-wrapper { position: relative; width: 100%; height: 200px; overflow: hidden; } .project-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; } .project-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 5, 24, 0.8); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); } .view-btn { padding: 10px 20px; background: var(--accent-primary); color: #000; border-radius: 20px; font-weight: 600; transform: translateY(20px); transition: var(--transition); } .project-card:hover .project-overlay { opacity: 1; } .project-card:hover .project-img-wrapper img { transform: scale(1.1); } .project-card:hover .view-btn { transform: translateY(0); } .project-info { padding: 25px; flex-grow: 1; } .project-tag { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 0.5px; } .tag-web { background: rgba(0, 240, 255, 0.1); color: var(--accent-primary); } .tag-net { background: rgba(123, 44, 191, 0.1); color: var(--accent-secondary); } .tag-3d { background: rgba(255, 165, 0, 0.1); color: orange; } .project-info h3 { margin-bottom: 10px; font-size: 1.2rem; } .project-info p { color: var(--text-secondary); font-size: 0.9rem; } /* ===== Contact Section ===== */ .contact-wrapper { max-width: 800px; margin: 0 auto; } .contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; } .contact-item { display: flex; align-items: center; gap: 20px; } .contact-icon { width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--accent-primary); transition: var(--transition); } .contact-item:hover .contact-icon { background: var(--accent-primary); color: #000; transform: scale(1.1); } .contact-details h4 { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 5px; } .contact-details a { font-size: 1.05rem; font-weight: 500; } .contact-details a:hover { color: var(--accent-primary); } /* ===== Footer ===== */ footer { text-align: center; padding: 30px 0; border-top: 1px solid var(--glass-border); margin-top: 50px; color: var(--text-secondary); font-size: 0.9rem; } /* ===== Animations & Utilities ===== */ .section-reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; } .section-reveal.active { opacity: 1; transform: translateY(0); } /* ===== Responsive Design ===== */ @media (max-width: 768px) { .menu-toggle { display: flex; } .nav-links { position: absolute; top: 100%; left: 0; width: 100%; background: rgba(15, 5, 24, 0.95); backdrop-filter: blur(10px); flex-direction: column; align-items: center; padding: 30px 0; gap: 20px; transform: translateY(-150%); opacity: 0; transition: var(--transition); border-bottom: 1px solid var(--glass-border); } .nav-links.active { transform: translateY(0); opacity: 1; } .name { font-size: 2.5rem; } .roles { font-size: 1.2rem; } .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; } .section-title { font-size: 2rem; } } [data-theme="light"] #navbar.scrolled { background: rgba(248, 249, 250, 0.85); } [data-theme="light"] .project-overlay { background: rgba(248, 249, 250, 0.8); } [data-theme="light"] .contact-icon { background: rgba(0, 0, 0, 0.05); } @media (max-width: 768px) { [data-theme="light"] .nav-links { background: rgba(248, 249, 250, 0.95); } } [data-theme="light"] h1, [data-theme="light"] h2, [data-theme="light"] h3, [data-theme="light"] h4, [data-theme="light"] h5, [data-theme="light"] h6, [data-theme="light"] .highlight { text-shadow: none !important; animation: none !important; } /* ===== Intro Splash Screen ===== */ #intro-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: #000; z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s; overflow: hidden; } #intro-overlay.fade-out { opacity: 0; visibility: hidden; pointer-events: none; } #intro-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; } .intro-content { position: relative; z-index: 10; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 30px; } .intro-title { font-family: var(--font-sans); font-size: 4rem; font-weight: 700; color: #fff; letter-spacing: 2px; text-shadow: 0 0 20px rgba(0, 240, 255, 0.6); animation: pulseGlow 2s infinite ease-in-out; } #skip-intro-btn { padding: 10px 25px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600; border-radius: 30px; cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 8px; } #skip-intro-btn:hover { background: var(--accent-primary); color: #000; border-color: var(--accent-primary); box-shadow: 0 0 15px rgba(0, 240, 255, 0.5); transform: translateY(-2px); } body.intro-active { overflow: hidden; } @keyframes pulseGlow { 0%, 100% { transform: scale(1); text-shadow: 0 0 20px rgba(0, 240, 255, 0.6); } 50% { transform: scale(1.05); text-shadow: 0 0 35px rgba(0, 240, 255, 0.9), 0 0 50px rgba(123, 44, 191, 0.6); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.44 |
proxy
|
phpinfo
|
Settings