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:
@@ -11,8 +11,8 @@
|
|||||||
|
|
||||||
/* style.css - обновленный */
|
/* style.css - обновленный */
|
||||||
:root {
|
:root {
|
||||||
--primary: #5c8f4f;
|
--primary: #9ab09492;
|
||||||
--secondary: #3498db;
|
--secondary: #3498db;
|
||||||
--light: #ecf0f1;
|
--light: #ecf0f1;
|
||||||
--dark: #1a252f;
|
--dark: #1a252f;
|
||||||
--success: #2ecc71;
|
--success: #2ecc71;
|
||||||
@@ -49,7 +49,7 @@ body {
|
|||||||
/* Улучшенная сетка для header */
|
/* Улучшенная сетка для header */
|
||||||
header {
|
header {
|
||||||
background-color: var(--primary);
|
background-color: var(--primary);
|
||||||
color: white;
|
color: var(--dark);
|
||||||
padding: 2rem 1rem;
|
padding: 2rem 1rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
@@ -62,25 +62,6 @@ header {
|
|||||||
position: relative;
|
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 {
|
.theme-toggle {
|
||||||
grid-column: 2;
|
grid-column: 2;
|
||||||
@@ -323,14 +304,6 @@ footer {
|
|||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-content {
|
|
||||||
grid-column: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero-buttons {
|
|
||||||
grid-template-columns: 1fr;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section {
|
.section {
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,98 +1,97 @@
|
|||||||
/* Hero Section Styles */
|
/* Hero Section Styles */
|
||||||
.hero {
|
.hero {
|
||||||
background: linear-gradient(135deg, var(--primary) 0%, #1a535c6b 100%);
|
background: linear-gradient(135deg, var(--primary) 0%, #2fe8916b 100%);
|
||||||
color: white;
|
padding: 4rem 2rem;
|
||||||
padding: 4rem 2rem;
|
margin-bottom: 2rem;
|
||||||
margin-bottom: 2rem;
|
border-radius: 10px;
|
||||||
border-radius: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-content {
|
.hero-content {
|
||||||
max-width: 1200px;
|
grid-column: 1 / -1;
|
||||||
margin: 0 auto;
|
display: grid;
|
||||||
display: flex;
|
grid-template-columns: 1fr;
|
||||||
align-items: center;
|
gap: 1.5rem;
|
||||||
justify-content: space-between;
|
|
||||||
gap: 3rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-text {
|
.hero-text {
|
||||||
flex: 1;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-subtitle {
|
.hero-subtitle {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.highlight {
|
.highlight {
|
||||||
color: #ffd166; /* Яркий акцентный цвет */
|
color: #ffd166; /* Яркий акцентный цвет */
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-description {
|
.hero-description {
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-buttons {
|
.hero-buttons {
|
||||||
display: flex;
|
display: grid;
|
||||||
gap: 1rem;
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||||
flex-wrap: wrap;
|
gap: 1rem;
|
||||||
justify-content: center;
|
margin-top: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 0.8rem 1.5rem;
|
padding: 0.8rem 1.5rem;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary {
|
.btn-primary {
|
||||||
background-color: var(--secondary);
|
background-color: var(--secondary);
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.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 {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: white;
|
color: white;
|
||||||
border: 2px solid white;
|
border: 2px solid white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-secondary:hover {
|
.btn-secondary:hover {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
color: var(--primary);
|
color: var(--primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-image {
|
.hero-image {
|
||||||
flex: 0 0 300px;
|
flex: 0 0 300px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-image img {
|
.hero-image img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 300px;
|
max-width: 300px;
|
||||||
border-radius: 10px;
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Адаптивность для героя */
|
/* Адаптивность для героя */
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.hero-content {
|
.hero-content {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-buttons {
|
.hero-buttons {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user