Skip to content

Commit

Permalink
updated sposors page
Browse files Browse the repository at this point in the history
  • Loading branch information
mfclabber committed Dec 30, 2024
1 parent 73b2d51 commit 3e89382
Show file tree
Hide file tree
Showing 2 changed files with 224 additions and 6 deletions.
216 changes: 216 additions & 0 deletions .history/css/style_20241230222519.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@
html, body {
height: 100%;
margin: 0;
padding: 0;
overflow-x: hidden; /* Убираем горизонтальный скролл */
}

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; /* Обеспечиваем полное заполнение экрана */
background-color: #fff;
}

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;
}

h1, h2 {
text-align: center;
}

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: 0;
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: none; /* Убираем дублирующий фон */
color: white;
text-align: center;
padding: 0;
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;
}


/* SPONSORS */
.sponsors-section {
text-align: center;
padding: 40px 20px;
background: rgba(255, 255, 255, 0.8);
border-radius: 10px;
max-width: 1200px;
margin: 20px auto;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sponsor-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin-top: 20px;
}

.sponsor {
width: 150px; /* Уменьшен размер блока */
text-align: center;
margin: auto; /* Центровка */
}

.sponsor img {
width: 100%; /* Заполнение ширины блока */
height: auto; /* Пропорциональное изменение высоты */
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sponsor h3 {
margin-top: 10px;
font-size: 16px; /* Немного уменьшен размер текста */
color: #2c3e50;
}

.sponsor p {
font-size: 12px; /* Уменьшен размер описания */
color: #555;
}



/* CONTACTS */
.contacts-section {
text-align: center;
padding: 40px 20px;
background: rgba(245, 245, 245, 0.9);
border-radius: 10px;
max-width: 800px;
margin: 20px auto;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-top: 20px;
}

.contact-item {
padding: 20px;
background: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
text-align: left;
}

.contact-item h3 {
margin-bottom: 10px;
font-size: 18px;
color: #2c3e50;
}

.contact-item p {
font-size: 14px;
color: #555;
}

.contact-item a {
color: #007bff;
text-decoration: none;
}

.contact-item a:hover {
text-decoration: underline;
}
14 changes: 8 additions & 6 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -139,34 +139,36 @@ footer {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 40px;
gap: 20px;
margin-top: 20px;
}

.sponsor {
width: 200px;
width: 150px;
text-align: center;
margin: auto;
}

.sponsor img {
width: 100%;
height: auto;
width: 100%;
height: auto;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sponsor h3 {
margin-top: 10px;
font-size: 18px;
font-size: 16px;
color: #2c3e50;
}

.sponsor p {
font-size: 14px;
font-size: 12px;
color: #555;
}



/* CONTACTS */
.contacts-section {
text-align: center;
Expand Down

0 comments on commit 3e89382

Please sign in to comment.