DreamLife_Resume/css/style.css

240 lines
4.6 KiB
CSS
Raw Normal View History

2025-09-24 17:35:06 +08:00
@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 {
2026-06-02 15:58:17 +08:00
display: block;
2025-09-24 17:35:06 +08:00
width: 210mm;
2026-06-02 15:58:17 +08:00
margin: 0 auto;
2025-09-24 17:35:06 +08:00
background-color: #ffffff;
color: #333;
}
li {
2026-06-02 15:58:17 +08:00
line-height: 1.5;
margin-bottom: 3px;
text-align: justify;
2025-09-24 17:35:06 +08:00
}
p {
2026-06-02 15:58:17 +08:00
line-height: 1.5;
text-align: justify;
2025-09-24 17:35:06 +08:00
}
2026-06-02 15:58:17 +08:00
.page {
width: 210mm;
height: 297mm;
padding: 45px 40px;
2025-09-24 17:35:06 +08:00
}
2026-06-02 15:58:17 +08:00
.page-left {
background-color: #ffffff;
border-bottom: 1px solid #eee;
2025-09-24 17:35:06 +08:00
}
2026-06-02 15:58:17 +08:00
.page-right {
2025-09-24 17:35:06 +08:00
background-color: #ffffff;
}
2026-06-02 15:58:17 +08:00
.left-section {
width: 65%;
float: left;
padding-right: 20px;
}
.left-section h2 {
margin-top: 14px;
margin-bottom: 8px;
}
.left-section h3 {
margin-top: 10px;
margin-bottom: 6px;
}
.left-section .section {
margin-bottom: 14px;
}
.left-section .basic-info {
margin-bottom: 14px;
}
.left-section .project-item {
margin-bottom: 10px;
}
.left-section .experience-item {
margin-bottom: 10px;
}
.left-section .education-item {
margin-bottom: 10px;
}
.right-section {
width: 35%;
float: right;
2025-09-24 17:35:06 +08:00
background-color: #f1f3f5;
2026-06-02 15:58:17 +08:00
padding: 35px 25px;
height: 100%;
2025-09-24 17:35:06 +08:00
display: flex;
flex-direction: column;
align-items: center;
2026-06-02 15:58:17 +08:00
gap: 15px;
2025-09-24 17:35:06 +08:00
}
h1 {
font-size: 32px;
margin-bottom: 10px;
}
h2 {
2026-06-02 15:58:17 +08:00
font-size: 18px;
margin-top: 18px;
margin-bottom: 10px;
2025-09-24 17:35:06 +08:00
color: #1f3a93;
2026-06-02 15:58:17 +08:00
padding-bottom: 6px;
border-bottom: 2px solid #1f3a93;
}
h3 {
font-size: 15px;
margin-top: 12px;
margin-bottom: 8px;
color: #333;
}
h4 {
font-size: 14px;
margin-top: 10px;
margin-bottom: 5px;
color: #444;
2025-09-24 17:35:06 +08:00
}
ul {
margin-left: 20px;
list-style-type: disc;
}
.section {
2026-06-02 15:58:17 +08:00
margin-bottom: 18px;
2025-09-24 17:35:06 +08:00
}
.contact-info {
2026-06-02 15:58:17 +08:00
margin-top: 18px;
2025-09-24 17:35:06 +08:00
text-align: center;
}
.contact-info h2 {
color: #000000;
2026-06-02 15:58:17 +08:00
border-bottom: none;
margin-top: 10px;
margin-bottom: 12px;
2025-09-24 17:35:06 +08:00
}
.contact-info p {
2026-06-02 15:58:17 +08:00
margin-bottom: 8px;
font-size: 14px;
2025-09-24 17:35:06 +08:00
}
.skills {
2026-06-02 15:58:17 +08:00
margin-top: 18px;
2025-09-24 17:35:06 +08:00
width: 100%;
text-align: center;
}
2026-06-02 15:58:17 +08:00
.right-section h3 {
2025-09-24 17:35:06 +08:00
font-size: 18px;
2026-06-02 15:58:17 +08:00
margin-bottom: 12px;
margin-top: 5px;
color: #000000;
2025-09-24 17:35:06 +08:00
}
.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;
2026-06-02 15:58:17 +08:00
font-size: 13px;
2025-09-24 17:35:06 +08:00
}
.skill-tags + h3 {
2026-06-02 15:58:17 +08:00
margin-top: 45px;
2025-09-24 17:35:06 +08:00
}
.qr {
text-align: center;
2026-06-02 15:58:17 +08:00
margin-top: 45px;
2025-09-24 17:35:06 +08:00
}
.qr img {
2026-06-02 15:58:17 +08:00
width: 110px;
height: 110px;
2025-09-24 17:35:06 +08:00
object-fit: contain;
}
2026-06-02 15:58:17 +08:00
.qr h5 {
font-size: 11px;
margin-top: 10px;
color: #666;
line-height: 1.5;
}
2025-09-24 17:35:06 +08:00
.avatar {
2026-06-02 15:58:17 +08:00
width: 145px;
height: 145px;
margin-bottom: 15px;
2025-09-24 17:35:06 +08:00
object-fit: cover;
border-radius: 10px;
}
.logo {
2026-06-02 15:58:17 +08:00
margin-top: 25px;
2025-09-24 17:35:06 +08:00
text-align: center;
font-family: 'Pacifico', cursive;
2026-06-02 15:58:17 +08:00
font-size: 26px;
2025-09-24 17:35:06 +08:00
color: #010101;
2026-06-02 15:58:17 +08:00
}
.basic-info {
margin-bottom: 18px;
}
.basic-info p {
font-size: 14px;
color: #666;
margin-bottom: 5px;
}
.tagline {
color: #1f3a93;
font-weight: 500;
}
.date {
color: #888;
font-size: 13px;
margin-bottom: 5px !important;
}
.project-item {
margin-bottom: 14px;
}
.project-item h4 {
color: #1f3a93;
}
.project-item p {
font-size: 13px;
color: #555;
}
.experience-item {
margin-bottom: 14px;
}
.experience-item h4 {
color: #333;
}
.education-item {
margin-bottom: 12px;
}
.education-item .school {
font-weight: bold;
color: #333;
}
.education-item .major {
color: #666;
font-size: 13px;
}
.education-item .time {
color: #888;
font-size: 12px;
}
.award-item {
margin-bottom: 9px;
font-size: 13px;
}
.language-item {
margin-bottom: 8px;
font-size: 13px;
}
.icon {
vertical-align: middle;
}
.page-right .right-section {
padding-top: 60px;
2025-09-24 17:35:06 +08:00
}