crazyperson's picture
can you use the html of this wedsite https://huang-xiaoyun.jp/ to design the wedsite
830e496 verified
Raw
History Blame Contribute Delete
5.73 kB
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
--primary: #ec4899;
--primary-dark: #db2777;
--secondary: #4f46e5;
--text: #111827;
--text-light: #6b7280;
--bg: #ffffff;
--card-bg: #f9fafb;
--shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
--shadow-md: 0 2px 4px rgba(0, 0, 0, 0.06);
--shadow-lg: 0 4px 6px rgba(0,0,0,0.1);
--transition: all 0.2s ease;
}
.font-noto {
font-family: 'Noto Sans JP', sans-serif;
}
body {
font-family: 'Noto Sans JP', sans-serif;
background-color: var(--bg);
color: var(--text);
line-height: 1.6;
scroll-behavior: smooth;
font-weight: 400;
}
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Global 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;
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0px); }
}
.float-animation {
animation: float 3s ease-in-out infinite;
}
/* Card styles */
.card {
background: var(--card-bg);
border-radius: 0;
box-shadow: var(--shadow-sm);
transition: var(--transition);
overflow: hidden;
position: relative;
border: 1px solid #e5e5e5;
}
.card:hover {
box-shadow: var(--shadow-lg);
transform: translateY(-2px);
}
.subject-card, .language-card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2rem 1rem;
border-radius: 16px;
transition: var(--transition);
cursor: pointer;
text-decoration: none;
color: var(--text);
font-weight: 500;
background: white;
box-shadow: var(--shadow-sm);
border: 1px solid rgba(0,0,0,0.05);
position: relative;
overflow: hidden;
}
.subject-card:hover, .language-card:hover {
background: #f3f4f6;
transform: translateY(-2px);
}
.subject-card i {
transition: var(--transition);
font-size: 2.5rem;
margin-bottom: 1rem;
}
.subject-card:hover i {
transform: scale(1.1);
}
.subject-card::after, .language-card::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg, var(--primary), var(--secondary));
transform: scaleX(0);
transform-origin: left;
transition: transform 0.3s ease;
}
.subject-card:hover::after, .language-card:hover::after {
transform: scaleX(1);
}
.language-card .flag {
font-size: 3rem;
margin-bottom: 0.5rem;
transition: var(--transition);
}
.language-card:hover .flag {
transform: scale(1.2);
}
.theme-option {
display: flex;
flex-direction: column;
align-items: center;
padding: 0.5rem;
border-radius: 12px;
transition: var(--transition);
cursor: pointer;
background: var(--card-bg);
box-shadow: var(--shadow-sm);
border: 1px solid rgba(0,0,0,0.05);
}
.theme-option:hover {
background: var(--bg);
transform: translateY(-5px);
box-shadow: var(--shadow-lg);
}
.theme-option:active {
transform: translateY(2px);
}
.subject-card i {
width: 40px;
height: 40px;
margin-bottom: 1rem;
transition: var(--transition);
}
.subject-card:hover i {
color: var(--primary);
transform: rotate(10deg) scale(1.1);
}
/* Photo upload styles */
.photo-upload {
border: 2px dashed #d1d5db;
border-radius: 12px;
padding: 2rem;
text-align: center;
cursor: pointer;
transition: var(--transition);
margin-bottom: 1rem;
}
.photo-upload:hover {
border-color: var(--primary);
background-color: rgba(99, 102, 241, 0.05);
}
.photo-preview {
max-width: 100%;
max-height: 300px;
border-radius: 8px;
margin-top: 1rem;
display: none;
}
/* Help button styles */
.help-btn {
position: fixed;
bottom: 100px;
right: 30px;
background: var(--primary);
color: white;
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: var(--shadow-lg);
z-index: 90;
cursor: pointer;
transition: var(--transition);
}
.help-btn:hover {
transform: scale(1.1);
background: var(--primary-dark);
}
/* Enhanced animations */
@keyframes pulse {
0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}
.pulse-animation {
animation: pulse 2s infinite;
position: relative;
}
/* Glass morphism effect */
.glass {
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.3);
}
/* Text styles */
.text-gradient {
background: linear-gradient(90deg, var(--primary), var(--secondary));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
/* Button styles */
.btn {
transition: var(--transition);
transform-origin: center;
}
.btn:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}
.btn:active {
transform: translateY(1px);
}
/* Section styles */
section {
padding: 3rem 0;
position: relative;
}
section::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(139, 92, 246, 0.03));
z-index: -1;
border-radius: 24px;
}