modified: main_dc/valitovgaziz/html/index.html

modified:   main_dc/valitovgaziz/html/style.css
	modified:   main_dc/valitovgaziz/html/style/about.css
	modified:   main_dc/valitovgaziz/html/style/repository_section.css
fix height of repository section valitovgaziz.ru site`
This commit is contained in:
2025-11-05 11:06:39 +05:00
parent a87ad669bf
commit 48775d0d84
4 changed files with 92 additions and 81 deletions
+1 -1
View File
@@ -180,7 +180,7 @@
</div> </div>
<!-- НОВАЯ СЕКЦИЯ: О репозитории --> <!-- НОВАЯ СЕКЦИЯ: О репозитории -->
<div class="section"> <div class="section repository">
<h2> <h2>
👨‍💻 О репозитории 👨‍💻 О репозитории
<a href="https://github.com/valitovgaziz" class="link-style-none" <a href="https://github.com/valitovgaziz" class="link-style-none"
+36 -80
View File
@@ -18,7 +18,6 @@
--transition: all 0.3s ease; --transition: all 0.3s ease;
} }
html { html {
margin: 0; margin: 0;
padding: 0; padding: 0;
@@ -112,26 +111,6 @@ header {
gap: 1.5rem; gap: 1.5rem;
} }
/* Сетка для about секции */
.about {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
align-items: start;
}
.about-valitovgaziz-photo-box {
display: grid;
grid-template-columns: 1fr;
justify-self: center;
}
.about-text {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
}
.entrepreneur-highlights { .entrepreneur-highlights {
display: grid; display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
@@ -146,36 +125,7 @@ header {
transition: var(--transition); transition: var(--transition);
} }
.highlight-item:hover {
transform: translateY(-5px);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
/* Сетка для проектов */
.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: var(--border-radius);
box-shadow: var(--shadow);
border-left: 4px solid var(--secondary);
transition: var(--transition);
display: grid;
grid-template-rows: auto 1fr;
gap: 1rem;
height: 100%;
}
.project-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
/* Сетка для команды */ /* Сетка для команды */
.team-section { .team-section {
@@ -317,7 +267,7 @@ footer {
.btn-primary:hover { .btn-primary:hover {
background-color: #2980b9; background-color: #2980b9;
transform: translateY(-2px); transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.2); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
} }
.btn-secondary { .btn-secondary {
@@ -375,78 +325,78 @@ footer {
padding: 5px 10px; padding: 5px 10px;
margin: 5px auto; margin: 5px auto;
} }
header { header {
grid-template-columns: 1fr; grid-template-columns: 1fr;
grid-template-rows: auto auto auto; grid-template-rows: auto auto auto;
padding: 1.5rem 1rem; padding: 1.5rem 1rem;
} }
.theme-toggle { .theme-toggle {
grid-column: 1; grid-column: 1;
grid-row: 1; grid-row: 1;
justify-self: center; justify-self: center;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
.hero-content { .hero-content {
grid-column: 1; grid-column: 1;
} }
.hero-buttons { .hero-buttons {
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
.section { .section {
padding: 1.5rem; padding: 1.5rem;
} }
.about { .about {
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
.about-valitovgaziz-photo-box img { .about-valitovgaziz-photo-box img {
min-width: 100%; min-width: 100%;
} }
.about-text { .about-text {
width: 100%; width: 100%;
} }
.projects-grid { .projects-grid {
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
.roles-grid { .roles-grid {
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
.skills-container { .skills-container {
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
} }
.yalarba-stats { .yalarba-stats {
grid-template-columns: repeat(2, 1fr); grid-template-columns: repeat(2, 1fr);
} }
.footer-links { .footer-links {
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
.two-column-grid { .two-column-grid {
border-left: none; border-left: none;
border-top: 1px solid black; border-top: 1px solid black;
padding-top: 1rem; padding-top: 1rem;
} }
.timeline { .timeline {
padding-left: 20px; padding-left: 20px;
} }
.timeline:before { .timeline:before {
left: 8px; left: 8px;
} }
.timeline-item:before { .timeline-item:before {
left: -20px; left: -20px;
} }
@@ -457,33 +407,33 @@ footer {
body { body {
padding: 5px; padding: 5px;
} }
.section { .section {
padding: 1rem; padding: 1rem;
} }
.hero { .hero {
padding: 1.5rem 1rem; padding: 1.5rem 1rem;
} }
.hero-subtitle { .hero-subtitle {
font-size: 1.2rem; font-size: 1.2rem;
} }
.hero-description { .hero-description {
font-size: 1rem; font-size: 1rem;
} }
.projects-grid, .projects-grid,
.roles-grid, .roles-grid,
.entrepreneur-highlights { .entrepreneur-highlights {
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
.yalarba-stats { .yalarba-stats {
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
.skills-container { .skills-container {
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
} }
@@ -495,15 +445,15 @@ footer {
grid-template-columns: 1fr; grid-template-columns: 1fr;
gap: 2rem; gap: 2rem;
} }
.projects-grid { .projects-grid {
grid-template-columns: repeat(2, 1fr); grid-template-columns: repeat(2, 1fr);
} }
.roles-grid { .roles-grid {
grid-template-columns: repeat(2, 1fr); grid-template-columns: repeat(2, 1fr);
} }
.entrepreneur-highlights { .entrepreneur-highlights {
grid-template-columns: repeat(2, 1fr); grid-template-columns: repeat(2, 1fr);
} }
@@ -511,8 +461,14 @@ footer {
/* Анимации и улучшения UX */ /* Анимации и улучшения UX */
@keyframes fadeIn { @keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); } from {
to { opacity: 1; transform: translateY(0); } opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
} }
.section { .section {
+19
View File
@@ -30,4 +30,23 @@
max-width: 100%; max-width: 100%;
height: auto; height: auto;
} }
/* Сетка для about секции */
.about {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
align-items: start;
}
.about-valitovgaziz-photo-box {
display: grid;
grid-template-columns: 1fr;
justify-self: center;
}
.about-text {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
}
@@ -1,5 +1,41 @@
.repository {
}
.current-info { .current-info {
margin: 1rem; margin: 1rem;
padding: 1rem; padding: 1rem;
border-radius: 1rem; border-radius: 1rem;
}
.highlight-item:hover {
transform: translateY(-5px);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
/* Сетка для проектов */
.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: var(--border-radius);
box-shadow: var(--shadow);
border-left: 4px solid var(--secondary);
transition: var(--transition);
display: grid;
grid-template-rows: auto 1fr;
gap: 1rem;
height: 80%;
}
.project-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
} }