modified: main_dc/valitovgaziz/html/style.css

modified:   main_dc/valitovgaziz/html/style/hero_section.css
prettify header valitovgaziz.ru site
This commit is contained in:
2025-11-09 03:03:32 +05:00
parent acf18fa765
commit 7ec3a7f048
2 changed files with 55 additions and 83 deletions
+2 -29
View File
@@ -11,7 +11,7 @@
/* style.css - обновленный */
:root {
--primary: #5c8f4f;
--primary: #9ab09492;
--secondary: #3498db;
--light: #ecf0f1;
--dark: #1a252f;
@@ -49,7 +49,7 @@ body {
/* Улучшенная сетка для header */
header {
background-color: var(--primary);
color: white;
color: var(--dark);
padding: 2rem 1rem;
text-align: center;
margin-bottom: 2rem;
@@ -62,25 +62,6 @@ header {
position: relative;
}
.hero-content {
grid-column: 1 / -1;
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
}
.hero-text {
display: flex;
flex-direction: column;
gap: 1rem;
}
.hero-buttons {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
margin-top: 1rem;
}
.theme-toggle {
grid-column: 2;
@@ -323,14 +304,6 @@ footer {
margin-bottom: 1rem;
}
.hero-content {
grid-column: 1;
}
.hero-buttons {
grid-template-columns: 1fr;
}
.section {
padding: 1.5rem;
}
@@ -1,23 +1,22 @@
/* Hero Section Styles */
.hero {
background: linear-gradient(135deg, var(--primary) 0%, #1a535c6b 100%);
color: white;
background: linear-gradient(135deg, var(--primary) 0%, #2fe8916b 100%);
padding: 4rem 2rem;
margin-bottom: 2rem;
border-radius: 10px;
}
.hero-content {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 3rem;
grid-column: 1 / -1;
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
}
.hero-text {
flex: 1;
display: flex;
flex-direction: column;
gap: 1rem;
}
.hero-subtitle {
@@ -36,10 +35,10 @@
}
.hero-buttons {
display: flex;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
flex-wrap: wrap;
justify-content: center;
margin-top: 1rem;
}
.btn {
@@ -59,7 +58,7 @@
.btn-primary:hover {
background-color: #2980b9;
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 {
@@ -82,7 +81,7 @@
width: 100%;
max-width: 300px;
border-radius: 10px;
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
/* Адаптивность для героя */