Добавить resume2/style.css

This commit is contained in:
2026-09-05 08:58:25 +00:00
parent 3c0d9915bc
commit f38bff851b
+199
View File
@@ -0,0 +1,199 @@
/* ----- Общие стили ----- */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Roboto, Arial, sans-serif;
background: #f0f2f5;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 20px;
line-height: 1.6;
color: #333;
}
.resume {
max-width: 900px;
width: 100%;
background: #fff;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
padding: 30px;
transition: all 0.3s ease;
}
/* ----- Заголовок и фото ----- */
.header {
display: flex;
align-items: center;
gap: 30px;
flex-wrap: wrap;
border-bottom: 2px solid #e9ecef;
padding-bottom: 25px;
margin-bottom: 25px;
}
.avatar {
width: 130px;
height: 130px;
border-radius: 50%;
background: #6c63ff;
display: flex;
align-items: center;
justify-content: center;
font-size: 60px;
font-weight: 600;
color: #fff;
flex-shrink: 0;
box-shadow: 0 4px 10px rgba(108, 99, 255, 0.3);
}
.header-info h1 {
font-size: 32px;
font-weight: 700;
color: #1a1a2e;
margin-bottom: 5px;
}
.header-info .subtitle {
font-size: 18px;
color: #6c63ff;
font-weight: 500;
margin-bottom: 8px;
}
.header-info .contacts {
display: flex;
flex-wrap: wrap;
gap: 15px 25px;
font-size: 15px;
color: #555;
}
.header-info .contacts span {
display: flex;
align-items: center;
gap: 6px;
}
.header-info .contacts i {
font-style: normal;
font-weight: 600;
}
/* ----- Основные секции ----- */
.section {
margin-bottom: 30px;
}
.section h2 {
font-size: 22px;
font-weight: 600;
color: #1a1a2e;
border-left: 5px solid #6c63ff;
padding-left: 15px;
margin-bottom: 15px;
}
.section p, .section li {
font-size: 16px;
color: #444;
}
.grid-2col {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
}
.skill-item {
background: #f8f9fa;
padding: 10px 15px;
border-radius: 8px;
margin-bottom: 8px;
display: flex;
justify-content: space-between;
}
.skill-item .skill-name {
font-weight: 500;
}
.skill-item .skill-level {
color: #6c63ff;
}
.project-item {
background: #fafafa;
padding: 15px 20px;
border-radius: 12px;
margin-bottom: 12px;
border-left: 4px solid #6c63ff;
}
.project-item h3 {
font-size: 18px;
font-weight: 600;
color: #1a1a2e;
}
.project-item p {
margin-top: 4px;
font-size: 15px;
color: #555;
}
.project-item .tech {
display: inline-block;
background: #e9ecef;
padding: 2px 12px;
border-radius: 20px;
font-size: 13px;
color: #333;
margin-top: 6px;
}
/* ----- Адаптивность ----- */
@media (max-width: 768px) {
.header {
flex-direction: column;
text-align: center;
}
.grid-2col {
grid-template-columns: 1fr;
}
.resume {
padding: 20px;
}
.avatar {
width: 100px;
height: 100px;
font-size: 45px;
}
.header-info h1 {
font-size: 28px;
}
.header-info .contacts {
justify-content: center;
}
}
@media (max-width: 480px) {
.resume {
padding: 15px;
}
.section h2 {
font-size: 20px;
}
}