Upload New File

parent 6b21efd8
body {
font-family: sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
color: #333;
line-height: 1.6;
}
header {
background-image: linear-gradient(to bottom, #000000, #ADD8E6);
color: #fff;
padding: 1rem 0;
text-align: center;
}
nav ul {
list-style: none;
padding: 0;
}
nav ul li {
display: inline;
margin: 0 1rem;
}
nav ul li a {
color: #fff;
text-decoration: none;
}
section {
padding: 2rem;
margin: 1rem auto;
max-width: 800px;
background-color: #fff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#hero {
background-image: linear-gradient(to bottom, #ADD8E6, #000000);
color: #fff;
text-align: center;
padding: 5rem 0;
}
.hero-content {
max-width: 700px;
margin: 0 auto;
}
.hero-content h1 {
font-size: 3rem;
margin-bottom: 0.5rem;
}
.hero-content p {
font-size: 1.2rem;
}
.button {
display: inline-block;
background-color: #65fffa;
color: #000000;
padding: 0.5rem 1rem; /* Уменьшаем padding */
text-decoration: none;
border-radius: 5px;
margin-top: 1rem;
}
#about img {
width: 200px;
margin-bottom: 1rem;
display: block;
margin-left: auto;
margin-right: auto;
}
#about .about-content {
display: flex;
align-items: center; /* Выравнивание по вертикали */
gap: 20px; /* Отступ между фото и текстом */
}
#portfolio .portfolio-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1rem;
}
.portfolio-item {
border: 1px solid #ddd;
padding: 1rem;
border-radius: 5px;
text-align: center;
}
.portfolio-item img {
max-width: 100%;
height: auto;
border-radius: 5px;
margin-bottom: 0.5rem;
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 1rem 0;
}
.discipline-button {
display: inline-block; /* чтобы учитывать padding и margin */
padding: 4px 9px;
font-size: 14px;
font-weight: bold;
text-decoration: none;
color: white;
background-image: linear-gradient(to bottom, #000000, #ADD8E6);
border-radius: 5px;
border: none;
cursor: pointer;
transition: background-color 0.3s ease; /* Плавный переход цвета фона */
}
.discipline-button:hover {
background-color: #2980b9; /* Более темный голубой при наведении */
}
.discipline-button:active {
background-color: #1f618d; /* Еще более темный голубой при нажатии */
}
.discipline-button_nao {
display: inline-block; /* чтобы учитывать padding и margin */
padding: 4px 9px;
font-size: 14px;
font-weight: bold;
text-decoration: none;
color: white;
background-image: linear-gradient(to bottom, #ADD8E6, #000000);
border-radius: 5px;
border: none;
cursor: pointer;
transition: background-color 0.3s ease; /* Плавный переход цвета фона */
}
.discipline-button_nao:hover {
background-color: #2980b9; /* Более темный голубой при наведении */
}
.discipline-button_nao:active {
background-color: #1f618d; /* Еще более темный голубой при нажатии */
}
h1 {
font-size: 2.5em; /* Увеличенный размер шрифта */
font-weight: bold; /* Жирный шрифт */
text-align: center; /* Центрирование текста */
color: #333; /* Темный цвет текста */
margin-bottom: 20px; /* Отступ снизу */
border-bottom: 2px solid #ccc; /* Нижняя линия */
padding-bottom: 10px; /* Отступ между текстом и линией */
}
h2 {
font-size: 2.5em; /* Увеличенный размер шрифта */
font-weight: bold; /* Жирный шрифт */
text-align: center; /* Центрирование текста */
color: #ffffff; /* Темный цвет текста */
margin-bottom: 20px; /* Отступ снизу */
border-bottom: 2px solid #ccc; /* Нижняя линия */
padding-bottom: 10px; /* Отступ между текстом и линией */
}
h3 {
font-size: 1.5em; /* Увеличенный размер шрифта */
font-weight: bold; /* Жирный шрифт */
text-align: center; /* Центрирование текста */
color: #000000; /* Темный цвет текста */
margin-bottom: 20px; /* Отступ снизу */
border-bottom: 2px solid #ccc; /* Нижняя линия */
padding-bottom: 10px; /* Отступ между текстом и линией */
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment