-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e42e91b
commit 1b1ff43
Showing
7 changed files
with
234 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,110 @@ | ||
/*===== Footer =====*/ | ||
footer { | ||
text-align: center; | ||
background: var(--color-footer-bg); | ||
/*===== Футер =====*/ | ||
.main-footer { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: rgba(10, 10, 10, 0.9); | ||
color: var(--color-footer-text); | ||
margin: 2rem; | ||
padding: 2rem; | ||
border-radius: 10px; | ||
font-size: 14px; | ||
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5); | ||
border-radius: 15px; | ||
box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.7); | ||
text-align: center; | ||
flex-direction: column; | ||
} | ||
.footer-content { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
width: 100%; | ||
max-width: 1000px; | ||
gap: 20px; | ||
flex-wrap: wrap; | ||
} | ||
|
||
/*=== Footer-text ===*/ | ||
footer p { | ||
opacity: 0.7; | ||
transition: opacity 0.3s ease; | ||
.footer-logo img { | ||
width: 100px; | ||
height: 100px; | ||
background-image: url('../photo/icon/logo.png'); | ||
background-size: cover; | ||
background-position: center; | ||
border-radius: 20%; | ||
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5); | ||
transition: transform 0.3s ease, box-shadow 0.3s ease; | ||
} | ||
|
||
.footer-info { | ||
max-width: 400px; | ||
text-align: center; | ||
} | ||
footer p:hover { | ||
opacity: 1; | ||
.footer-info p { | ||
margin: 0.5rem 0; | ||
font-size: 1em; | ||
opacity: 0.7; | ||
transition: opacity 0.3s ease; | ||
} | ||
.footer-info p:hover { | ||
opacity: 1; | ||
} | ||
|
||
footer a { | ||
color: var(--color-footer-text); | ||
text-decoration: none; | ||
transition: color 0.3s ease; | ||
transition: color 0.3s ease, text-decoration 0.3s ease; | ||
} | ||
footer a:hover { | ||
color: var(--color-hover-text); | ||
text-decoration: underline; | ||
} | ||
|
||
/*=== Footer Link ===*/ | ||
.footer-link { | ||
color: inherit; | ||
text-decoration: underline; | ||
font-weight: bold; | ||
opacity: 0.8; | ||
transition: opacity 0.3s ease; | ||
} | ||
|
||
.footer-link:hover { | ||
opacity: 0.9; | ||
} | ||
opacity: 1; | ||
} | ||
|
||
.footer-social { | ||
display: flex; | ||
gap: 15px; | ||
} | ||
|
||
.footer-social .social-link img { | ||
width: 30px; | ||
height: 30px; | ||
transition: transform 0.3s ease, opacity 0.3s ease; | ||
} | ||
|
||
.footer-social .social-link:hover img { | ||
transform: scale(1.1); | ||
opacity: 0.8; | ||
} | ||
|
||
/*=== Адаптация футера ===*/ | ||
@media (max-width: 768px) { | ||
.main-footer { | ||
padding: 1.5rem; | ||
} | ||
|
||
.footer-content { | ||
flex-direction: column; | ||
align-items: center; | ||
gap: 10px; | ||
} | ||
|
||
.footer-logo img { | ||
display: none; | ||
} | ||
|
||
.footer-info p { | ||
font-size: 0.9em; | ||
} | ||
|
||
.footer-social .social-link img { | ||
width: 25px; | ||
height: 25px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,54 @@ | ||
/*===== Шапка =====*/ | ||
.main-header { | ||
display: flex; | ||
justify-content: space-between; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: rgba(10, 10, 10, 0.9); | ||
color: var(--color-white); | ||
padding: 2rem; | ||
border-radius: 10px; | ||
padding: 4rem 2rem; | ||
border-radius: 15px; | ||
margin: 2rem; | ||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); | ||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7); | ||
} | ||
|
||
.header-title { | ||
font-size: 3em; | ||
font-weight: bold; | ||
font-family: 'Header-TITLE', sans-serif; | ||
.header-content { | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
gap: 50px; | ||
} | ||
.header-description { | ||
text-align: center; | ||
font-size: 1.1em; | ||
font-family: 'Header-DESC', sans-serif; | ||
max-width: 50%; | ||
line-height: 1.6; | ||
|
||
.header-img { | ||
width: 140px; | ||
height: 140px; | ||
background-image: url('../photo/icon/logo.png'); | ||
background-size: cover; | ||
background-position: center; | ||
border-radius: 20%; | ||
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5); | ||
transition: transform 0.3s ease, box-shadow 0.3s ease; | ||
} | ||
.header-img:hover { | ||
transform: translateY(-10px); | ||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7); | ||
} | ||
|
||
.header-action { | ||
color: #4e9af1; | ||
text-decoration: none; | ||
font-weight: bold; | ||
transition: color 0.3s ease; | ||
.header-text { | ||
max-width: 600px; | ||
} | ||
.header-action:hover { | ||
color: #81baf6; | ||
.header-title { | ||
font-size: 3.5em; | ||
font-weight: bold; | ||
font-family: 'Header-TITLE', sans-serif; | ||
margin-bottom: 1rem; | ||
color: #f8f8f8; | ||
border-bottom: 3px solid #f8f8f8; | ||
padding-bottom: 0.5rem; | ||
} | ||
.header-description p { | ||
font-size: 1.2em; | ||
font-family: 'Header-DESC', sans-serif; | ||
line-height: 1.6; | ||
margin: 0; | ||
color: #ddd; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.