49a22832d6
modified: main_dc/valitovgaziz/html/style.css add section about search teammate for projects
294 lines
5.1 KiB
CSS
294 lines
5.1 KiB
CSS
@import url("saveContactsButtonStyle.css");
|
|
@import url("darkTheme.css");
|
|
@import url("./style/about.css");
|
|
@import url("./style/social_link.css");
|
|
@import url("./style/hero_section.css");
|
|
@import url("./style/yalarba_investmen.css");
|
|
@import url("./style/footer.css");
|
|
|
|
:root {
|
|
--primary: #2c3e50;
|
|
--secondary: #3498db;
|
|
--light: #ecf0f1;
|
|
--dark: #1a252f;
|
|
--success: #2ecc71;
|
|
}
|
|
|
|
html {
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
}
|
|
body {
|
|
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
min-width: 300px;
|
|
max-width: 1200px;
|
|
margin: 10px auto 5px auto;
|
|
padding: 10px 20px;
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
header {
|
|
background-color: var(--primary);
|
|
color: white;
|
|
padding: 2rem 0;
|
|
text-align: center;
|
|
margin-bottom: 2rem;
|
|
border-radius: 10px;
|
|
}
|
|
h1,
|
|
h2,
|
|
h3 {
|
|
color: var(--secondary);
|
|
}
|
|
h1 {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.contact-info {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 2rem;
|
|
margin-bottom: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
#telegram a {
|
|
color: inherit;
|
|
}
|
|
|
|
.section {
|
|
background: rgb(226, 240, 241);
|
|
padding: 2rem;
|
|
margin-bottom: 2rem;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.skills-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
}
|
|
.skill-tag {
|
|
background-color: var(--secondary);
|
|
color: white;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 1em;
|
|
font-size: 0.9rem;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
|
|
}
|
|
.timeline {
|
|
position: relative;
|
|
padding-left: 30px;
|
|
}
|
|
.timeline:before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 10px;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 2px;
|
|
background: var(--secondary);
|
|
}
|
|
|
|
.timeline-item {
|
|
position: relative;
|
|
margin-bottom: 2rem;
|
|
}
|
|
.timeline-item:before {
|
|
content: "";
|
|
position: absolute;
|
|
left: -30px;
|
|
top: 5px;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
background: var(--primary);
|
|
border: 2px solid var(--secondary);
|
|
}
|
|
.project-link {
|
|
display: inline-block;
|
|
color: var(--secondary);
|
|
text-decoration: none;
|
|
}
|
|
.project-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Адаптация для мелких экранов */
|
|
@media (max-width: 768px) {
|
|
header {
|
|
padding: 1rem 0;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.contact-info {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.section {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.timeline {
|
|
padding-left: 20px; /* Уменьшаем отступ для линии времени */
|
|
}
|
|
|
|
.timeline:before {
|
|
left: 8px; /* Сдвигаем линию ближе к краю */
|
|
}
|
|
|
|
.timeline-item:before {
|
|
left: -20px; /* Сдвигаем маркер времени */
|
|
}
|
|
|
|
.skill-tag {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
footer {
|
|
font-size: 0.8rem;
|
|
}
|
|
}
|
|
|
|
.projects-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 1.5rem;
|
|
margin: 2rem 0;
|
|
}
|
|
|
|
.project-card {
|
|
background: white;
|
|
padding: 1.5rem;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
|
border-left: 4px solid var(--secondary);
|
|
}
|
|
|
|
.project-card h3 {
|
|
margin-top: 0;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.current-info {
|
|
background: #f8f9fa;
|
|
padding: 1.5rem;
|
|
border-radius: 8px;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.current-info ul {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
/* Адаптивность для новых элементов */
|
|
@media (max-width: 768px) {
|
|
.projects-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.project-card {
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
|
|
/* Стили для нового раздела "О репозитории" */
|
|
.projects-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 1.5rem;
|
|
margin: 2rem 0;
|
|
}
|
|
|
|
.project-card {
|
|
background: white;
|
|
padding: 1.5rem;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
|
border-left: 4px solid var(--secondary);
|
|
}
|
|
|
|
.project-card h3 {
|
|
margin-top: 0;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.current-info {
|
|
background: #f8f9fa;
|
|
padding: 1.5rem;
|
|
border-radius: 8px;
|
|
margin-top: 2rem;
|
|
border: 1px solid #e9ecef;
|
|
}
|
|
|
|
.current-info ul {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.current-info h3 {
|
|
color: var(--primary);
|
|
margin-top: 0;
|
|
}
|
|
|
|
/* Стили для контактной секции */
|
|
.contact-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.contact-info p {
|
|
margin: 0.3rem 0;
|
|
}
|
|
|
|
#saveContactBtn {
|
|
padding: 10px 20px;
|
|
background: white;
|
|
color: var(--secondary);
|
|
border: 2px solid var(--secondary);
|
|
border-radius: 6px;
|
|
font-size: 15px;
|
|
transition: all 0.2s;
|
|
cursor: pointer;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
#saveContactBtn:hover {
|
|
background: var(--secondary);
|
|
color: white;
|
|
}
|
|
|
|
/* Адаптивность для новых элементов */
|
|
@media (max-width: 768px) {
|
|
.projects-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.project-card {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.contact-info {
|
|
align-items: flex-start;
|
|
}
|
|
}
|
|
|
|
.link-style-none {
|
|
color: inherit; /* Сброс цвета */
|
|
text-decoration: none; /* Удаление подчеркивания */
|
|
}
|
|
|
|
.link-style-none:hover,
|
|
.link-style-none:visited,
|
|
.link-style-none:active {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|