Skip to content

Commit 1426fc1

Browse files
Add files via upload
1 parent d2b04fa commit 1426fc1

1 file changed

Lines changed: 111 additions & 0 deletions

File tree

‎src/global.html‎

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>藏书阁</title>
5+
<meta charset="UTF-8">
6+
<style>
7+
body {
8+
font-family: Arial, sans-serif;
9+
margin: 0;
10+
padding: 0;
11+
background: #f2f2f2 url("global/global-src/mylove/ml.jpg") no-repeat center;
12+
background-size: 100%;
13+
}
14+
15+
.container {
16+
display: flex;
17+
justify-content: space-between;
18+
max-width: 1200px;
19+
margin: 0 auto;
20+
padding: 20px;
21+
}
22+
23+
.card {
24+
flex: 1;
25+
background-color: #fff;
26+
border-radius: 5px;
27+
padding: 20px;
28+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
29+
transition: box-shadow 0.3s ease, transform 0.3s ease;
30+
cursor: pointer;
31+
}
32+
33+
.card:hover {
34+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
35+
transform: scale(1.05);
36+
}
37+
h2 {
38+
color: #333;
39+
margin-bottom: 10px;
40+
}
41+
ul {
42+
list-style-type: none;
43+
padding: 0;
44+
}
45+
li {
46+
margin-bottom: 10px;
47+
}
48+
a {
49+
text-decoration: none;
50+
color: #007bff;
51+
}
52+
a:hover{
53+
padding: 5px;
54+
color: yellow;
55+
}
56+
#type1 {
57+
background-image: linear-gradient(to right, skyblue, lightsteelblue);
58+
}
59+
#type2 {
60+
background-image: linear-gradient(to bottom, slategrey, palegoldenrod);
61+
}
62+
#type3 {
63+
background-image: linear-gradient(to left, silver, lavender);
64+
}
65+
#type4 {
66+
background-image: linear-gradient(to top, sienna, fuchsia);
67+
}
68+
</style>
69+
</head>
70+
<body>
71+
<div class="container">
72+
<div class="card" onclick="location.href='#'" id="type1">
73+
<h2>Dart-Language</h2>
74+
<ul>
75+
<li><a href="h5/other/Dart语言快速入门.html">Dart语言快速入门</a></li>
76+
<li><a href="h5/other/Dart快速入门(2).html">Dart快速入门(2)</a></li>
77+
<li><a href="h5/other/Dart高级教程.html">Dart高级教程</a></li>
78+
</ul>
79+
</div>
80+
<div class="card" onclick="location.href='#'" id="type2">
81+
<h2>Python-Matplotlib</h2>
82+
<ul>
83+
<li><a href="h5/other/blogMatplotlib.html">blogMatplotlib</a></li>
84+
</ul>
85+
</div>
86+
<div class="card" onclick="location.href='#'" id="type3">
87+
<h2>MakeFile</h2>
88+
<ul>
89+
<li><a href="global/index/mkf1.html">记录1</a></li>
90+
<li><a href="global/index/mkf2.html">记录2</a></li>
91+
<li><a href="global/index/mkf3.html">记录3</a></li>
92+
<li><a href="global/index/mkf4.html">记录4</a></li>
93+
<li><a href="global/index/mkf5.html">记录5</a></li>
94+
<li><a href="global/index/mkf6.html">记录6</a></li>
95+
</ul>
96+
</div>
97+
<br>
98+
</div>
99+
100+
<!--New Line-->
101+
<div class="container">
102+
<div class="card" onclick="location.href='#'" id="type4">
103+
<h2>Python-PyQt5</h2>
104+
<ul>
105+
<li><a href="h5/qt/blogPyQt5.html">PyQt5入门</a></li>
106+
<li><a href="h5/qt/blogPyQt5Depth.html">PyQt5入门(2)</a></li>
107+
</ul>
108+
</div>
109+
</div>
110+
</body>
111+
</html>

0 commit comments

Comments
 (0)