这是一个网页样式设计参考,旨在展示科技与人文关怀的结合。
深蓝色象征科技与未来,金色和橙色传递温暖与活力。这种配色方案不仅增强了视觉吸引力,还营造出动态流动的效果。
body {
background: linear-gradient(135deg, #00264d, #ff9800);
color: #ffffff;
font-family: 'Roboto', sans-serif;
}
标题使用 Montserrat 字体,正文采用 Roboto 字体,确保文字内容在不同设备上均呈现清晰易读的效果。
h1, h2, h3 {
font-family: 'Montserrat', sans-serif;
font-weight: bold;
}
p, li {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
}
通过弹性盒子(Flexbox)实现三列布局,并为卡片添加阴影效果,增强界面立体感。
.container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.card {
width: calc(33.33% - 20px);
margin-bottom: 20px;
padding: 20px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
按钮点击时轻微缩放、悬停时颜色变化,以及视差滚动等微交互提升了用户体验。
.button {
background-color: #ff9800;
color: #ffffff;
padding: 10px 20px;
border: none;
border-radius: 5px;
transition: transform 0.3s ease, background-color 0.3s ease;
}
.button:hover {
transform: scale(1.1);
background-color: #e65c00;
}
几何图形与流动线条相结合,体现了量子计算的高深理论与情感化的温暖感。
.particle {
position: absolute;
width: 10px;
height: 10px;
background-color: #ffffff;
border-radius: 50%;
animation: float 5s infinite ease-in-out;
}
@keyframes float {
0%, 100% {
transform: translateY(0) scale(1);
opacity: 1;
}
50% {
transform: translateY(-20px) scale(1.5);
opacity: 0.5;
}
}
通过媒体查询调整小屏幕上的布局,确保内容在各种设备上均能良好展示。
@media (max-width: 768px) {
.card {
width: 100%;
}
h1 {
font-size: 2rem;
}
}
用户输入文本后生成情绪热力图,并通过量子算法提供个性化建议,界面采用扁平化设计。
用户可通过滑动切换虚拟场景,每个场景根据情感反馈实时调整颜色与音效。
完成问卷后系统绘制情感趋势曲线,并推荐心理疏导方案。
显示温度、湿度、光线等参数,并根据情绪自动调节环境。
展示合作伙伴标志与项目案例,标志悬停时放大并显示详细信息。
内容区块以非对称网格排列,结合视差滚动效果突出设计理念。