优化代码结构
This commit is contained in:
1 parent
ce4d400560
commit
4de6f689c5
8 files changed
+129
-130
No files matched your search
+122
@@ -0,0 +1,122 @@
|
||||
@font-face {
|
||||
font-family: 'Pacifico';
|
||||
src: url('../pacifico/Pacifico.ttf') format('truetype');
|
||||
}
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
body {
|
||||
display: flex;
|
||||
width: 210mm;
|
||||
height: 297mm;
|
||||
margin: auto;
|
||||
background-color: #ffffff;
|
||||
color: #333;
|
||||
}
|
||||
li {
|
||||
line-height: 1.4;
|
||||
}
|
||||
p {
|
||||
line-height: 1.4;
|
||||
}
|
||||
.left {
|
||||
padding: 55px 34px;
|
||||
}
|
||||
.right {
|
||||
padding: 55px 45px;
|
||||
}
|
||||
.left {
|
||||
width: 61.8%;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
.right {
|
||||
width: 38.2%;
|
||||
background-color: #f1f3f5;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
h1 {
|
||||
font-size: 32px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
h2 {
|
||||
font-size: 20px;
|
||||
margin-top: 30px;
|
||||
margin-bottom: 10px;
|
||||
color: #1f3a93;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-left: 20px;
|
||||
list-style-type: disc;
|
||||
}
|
||||
.section {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.contact-info {
|
||||
margin-top: 25px;
|
||||
text-align: center;
|
||||
}
|
||||
.contact-info h2 {
|
||||
color: #000000;
|
||||
}
|
||||
.contact-info p {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.skills {
|
||||
margin-top: 25px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
.skills h3 {
|
||||
font-size: 18px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.skill-tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.skill-tags span {
|
||||
background-color: #d0d8e0;
|
||||
color: #1f3a93;
|
||||
padding: 4px 10px;
|
||||
border-radius: 12px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.skill-tags + h3 {
|
||||
margin-top: 25px;
|
||||
}
|
||||
.skill-tags.software span {
|
||||
background-color: #e3f2fd;
|
||||
color: #0d47a1;
|
||||
border: 1px solid #90caf9;
|
||||
}
|
||||
.qr {
|
||||
text-align: center;
|
||||
padding-top: 25px;
|
||||
}
|
||||
.qr img {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
object-fit: contain;
|
||||
}
|
||||
.avatar {
|
||||
width: 180px;
|
||||
height: 180px;
|
||||
margin-bottom: 20px;
|
||||
object-fit: cover;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.logo {
|
||||
margin-top: 25px;
|
||||
text-align: center;
|
||||
font-family: 'Pacifico', cursive;
|
||||
font-size: 36px;
|
||||
color: #010101;
|
||||
}
|
||||
Reference in new issue
Block a user