This commit is contained in:
teasiu
2023-10-11 00:15:01 +08:00
parent 1bb577e536
commit 1a67b6df71
2 changed files with 13 additions and 10 deletions

View File

@@ -75,7 +75,7 @@ function PolicyEnforcement() {
<h3>将千家万户的机顶盒打造成一台超低功耗的 Linux 服务器</h3>
<p>1. 实测功耗约为 3 3x24x365÷1000x0.718/一杯奶茶钱养活它一年<br />
2. 普遍盒子4核心CPU内核频率高达1.4GHz-1.6GHz流畅运行各项 NAS 程序<br />
3. 作为家用存储机个人 Linux 学习机学生技术孵化机网络下载机组网跳板机均可<br />
3. 家用存储机Linux 学习机学生技术孵化机网络下载机组网跳板机均可<br />
4. 网页建站内网穿越公网映射科学上网跑脚本定时任务等更佳<br />
5. 我是小盒子也是大世界千家万户都有一个机顶盒开启您的探索之旅</p>
</div>

View File

@@ -1,4 +1,3 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
@@ -8,24 +7,28 @@
display: flex;
justify-content: center;
align-items: center;
height: 1000px;
min-height: 100vh; /* 使用视口高度来确保内容垂直居中 */
margin: 0; /* 去除默认的边距 */
}
.image-row {
display: flex;
flex-wrap: wrap; /* 图片容器换行 */
gap: 20px; /* 图片容器之间的间隔 */
}
.image-container {
text-align: center;
margin: 0 20px;
border: 2px solid #ccc; /* 添加方框样式 */
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* 添加阴影效果 */
transition: transform 0.3s; /* 添加上浮的过渡效果 */
border: 2px solid #ccc;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
transition: transform 0.3s;
flex: 1; /* 填充剩余空间,使图片容器平均分配宽度 */
max-width: 300px; /* 最大宽度 */
}
.image-container:hover {
transform: translateY(-10px); /* 上浮效果 */
transform: translateY(-10px);
}
img {
width: 300px;
height: 500px;
width: 100%;
height: auto; /* 自适应高度,防止图片变形 */
}
.image-caption {
font-size: 16px;