DreamLife_Resume/css/style.css
2025-09-24 17:35:06 +08:00

122 lines
2.3 KiB
CSS

@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;
}