Skip to content

Commit

Permalink
updated section #home
Browse files Browse the repository at this point in the history
  • Loading branch information
mfclabber committed Dec 30, 2024
1 parent cd62805 commit 3827038
Show file tree
Hide file tree
Showing 4 changed files with 443 additions and 1 deletion.
144 changes: 144 additions & 0 deletions .history/css/style_20241230153016.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
html, body {
height: 100%;
margin: 0;
padding: 0;
}

body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
color: #333;
background: url('assets/images/title.png') no-repeat center center fixed;
background-size: cover;
}

header {
background-color: rgba(0, 68, 102, 0.9);
padding: 20px 0;
}

header .container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

/* header .logo {
max-height: 50px;
} */

header nav ul {
list-style: none;
display: flex;
margin: 0;
padding: 0;
}

header nav ul li {
margin-left: 20px;
}

header nav ul li a {
text-decoration: none;
color: white;
font-size: 16px;
}

section {
padding: 40px 20px;
max-width: 1200px;
margin: 0 auto;
background: rgba(255, 255, 255, 0.8);
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* section#home {
background: rgba(244, 244, 244, 0.9);
text-align: center;
padding: 60px 20px;
border-radius: 10px;
} */

section#home {
background: url("../assets/images/title.png") no-repeat center center/cover;
color: white;
text-align: center;
padding: 0px 0px;
min-height: 100vh;
width: 100vw;
}

header .logo {
max-height: 80px;
}

.logo-caption-container {
display: flex;
align-items: center;
gap: 10px;
}

header .top-caption {
font-size: 24px;
font-weight: bold;
color: #ffffff;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

footer {
background-color: rgba(0, 68, 102, 0.9);
color: white;
text-align: center;
padding: 20px 0;
margin-top: 20px;
}

.team-section {
display: flex;
flex-direction: column;
gap: 40px;
}
.team-department {
margin-bottom: 40px;
}
.team-department h2 {
color: #2c3e50;
margin-bottom: 10px;
}


/* Team members layout */
.team-member {
display: inline-block;
width: 20%;
text-align: center;
margin: 10px;
}

.team-member img {
width: 100px;
height: 100px;
border-radius: 50%;
object-fit: cover;
}


/* автопилот
Новичков Дмитрий
Козак Борис
конструкторы
Попов Глеб
Кочнева Екатерина
Лоу Цзячэн
Шалаев Максим
Сидоренко Александр (пилот)
электротехника
Петриков Фёдор
Савченко Андрей
Ву Куньлунь
Тарасов Степан */
148 changes: 148 additions & 0 deletions .history/css/style_20241230153614.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
html, body {
height: 100%;
margin: 0;
padding: 0;
}

body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
color: #333;
background: url('assets/images/title.png') no-repeat center center fixed;
background-size: cover;
}

header {
background-color: rgba(0, 68, 102, 0.9);
padding: 20px 0;
}

header .container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

/* header .logo {
max-height: 50px;
} */

header nav ul {
list-style: none;
display: flex;
margin: 0;
padding: 0;
}

header nav ul li {
margin-left: 20px;
}

header nav ul li a {
text-decoration: none;
color: white;
font-size: 16px;
}

section {
padding: 40px 20px;
max-width: 1200px;
margin: 0 auto;
background: rgba(255, 255, 255, 0.8);
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* section#home {
background: rgba(244, 244, 244, 0.9);
text-align: center;
padding: 60px 20px;
border-radius: 10px;
} */

section#home {
background: url("../assets/images/title.png") no-repeat center center;
background-size: contain; /* Изображение будет полностью видно */
background-repeat: no-repeat; /* Отключает повторение */
background-attachment: fixed; /* Фиксирует фон при прокрутке */
color: white;
text-align: center;
padding: 0px 0px;
min-height: 100vh;
width: 100vw;
}


header .logo {
max-height: 80px;
}

.logo-caption-container {
display: flex;
align-items: center;
gap: 10px;
}

header .top-caption {
font-size: 24px;
font-weight: bold;
color: #ffffff;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

footer {
background-color: rgba(0, 68, 102, 0.9);
color: white;
text-align: center;
padding: 20px 0;
margin-top: 20px;
}

.team-section {
display: flex;
flex-direction: column;
gap: 40px;
}
.team-department {
margin-bottom: 40px;
}
.team-department h2 {
color: #2c3e50;
margin-bottom: 10px;
}


/* Team members layout */
.team-member {
display: inline-block;
width: 20%;
text-align: center;
margin: 10px;
}

.team-member img {
width: 100px;
height: 100px;
border-radius: 50%;
object-fit: cover;
}


/* автопилот
Новичков Дмитрий
Козак Борис
конструкторы
Попов Глеб
Кочнева Екатерина
Лоу Цзячэн
Шалаев Максим
Сидоренко Александр (пилот)
электротехника
Петриков Фёдор
Савченко Андрей
Ву Куньлунь
Тарасов Степан */
Loading

0 comments on commit 3827038

Please sign in to comment.