这是一个融合深蓝、黑色和紫色为主色调的设计方案,辅以荧光绿和冰蓝色点缀。整体布局采用模块化网格系统,确保信息层次分明。
主色调为深蓝(#0A192F)、黑色(#000000)和紫色(#6C5CE7),通过荧光绿(#38E54D)和冰蓝色(#00BFFF)增强对比度。
body {
background-color: #0A192F;
color: #FFFFFF;
}
.highlight {
color: #6C5CE7;
}
.accent {
color: #38E54D;
}
无衬线字体如 Inter 和 Roboto Mono 确保清晰易读,标题使用 Exo 2 增强科技感。
body {
font-family: 'Inter', sans-serif;
}
h1, h2, h3 {
font-family: 'Exo 2', sans-serif;
font-weight: bold;
}
code {
font-family: 'Roboto Mono', monospace;
}
全屏与模块化网格结合,中央聚焦核心内容,两侧留白减少干扰。
.container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
padding: 20px;
}
.module {
background-color: #1E272E;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
padding: 20px;
color: #FFFFFF;
}
抽象几何图形和线条体现量子计算的复杂性,简洁科技感图标采用双色或线性风格。
.icon-quantum {
width: 50px;
height: 50px;
border-radius: 50%;
background: linear-gradient(135deg, #6C5CE7, #38E54D);
position: relative;
}
.icon-quantum::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 30px;
height: 30px;
background-color: #FFFFFF;
border-radius: 50%;
}
按钮悬停发光效果、模块切换动画及滚动视差提升用户体验。
.button {
background-color: #6C5CE7;
color: #FFFFFF;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: all 0.3s ease;
}
.button:hover {
box-shadow: 0 0 10px #38E54D, 0 0 20px #38E54D, 0 0 30px #38E54D;
}
柱状图从零开始逐渐增长,直观展示数据变化趋势。
.chart-bar {
width: 20px;
height: 100px;
background-color: #38E54D;
margin-right: 10px;
animation: grow 1s ease-out forwards;
}
@keyframes grow {
from { height: 0; }
to { height: 100px; }
}
深色调与高对比度亮色点缀,现代字体与模块化布局,科技感图标与流畅动画共同构建了沉浸式体验。
这是一款旨在提供沉浸式互动体验的设计方案,适合科研人员、技术爱好者和设计师。
这是一个网页样式设计参考