add files
This commit is contained in:
295
test.html
Normal file
295
test.html
Normal file
@@ -0,0 +1,295 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Спикер года - Агроэксперт</title>
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Arial', sans-serif;
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
min-height: 100vh;
|
||||
background-color: #2c3e50;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Левая часть с контентом */
|
||||
.content-section {
|
||||
flex: 0 0 45%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
padding: 40px 60px;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* Верхний блок с логотипом и социальными сетями */
|
||||
.top-bar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.logo {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.logo-text {
|
||||
color: #ff9933;
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.logo-text-green {
|
||||
color: #2ecc71;
|
||||
}
|
||||
|
||||
.social-icons {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.social-icon {
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
border-radius: 50%;
|
||||
background-color: #27ae60;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.social-icon:hover {
|
||||
background-color: #229954;
|
||||
}
|
||||
|
||||
/* Основной контент */
|
||||
.main-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 72px;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
margin-bottom: 40px;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.description {
|
||||
color: #ecf0f1;
|
||||
font-size: 16px;
|
||||
line-height: 1.6;
|
||||
max-width: 600px;
|
||||
}
|
||||
|
||||
.description p {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Правая часть с декоративными элементами */
|
||||
.pattern-section {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
grid-template-rows: repeat(4, 1fr);
|
||||
padding: 20px;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.pattern-tile {
|
||||
border: 2px solid #27ae60;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Паттерны внутри плиток */
|
||||
.pattern-circle {
|
||||
width: 80%;
|
||||
height: 80%;
|
||||
border: 3px solid currentColor;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.pattern-leaf {
|
||||
width: 80%;
|
||||
height: 80%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.pattern-leaf::before,
|
||||
.pattern-leaf::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
border: 3px solid currentColor;
|
||||
border-radius: 0 100% 100% 0;
|
||||
}
|
||||
|
||||
.pattern-leaf::before {
|
||||
left: 0;
|
||||
border-radius: 100% 0 0 100%;
|
||||
}
|
||||
|
||||
.pattern-leaf::after {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.pattern-diamond {
|
||||
width: 80%;
|
||||
height: 80%;
|
||||
border: 3px solid currentColor;
|
||||
transform: rotate(45deg);
|
||||
border-radius: 50% 0;
|
||||
}
|
||||
|
||||
.pattern-chevron {
|
||||
width: 80%;
|
||||
height: 80%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.pattern-chevron::before,
|
||||
.pattern-chevron::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 50%;
|
||||
height: 50%;
|
||||
border: 3px solid transparent;
|
||||
}
|
||||
|
||||
.pattern-user {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border: 3px solid white;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 30px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* Цветовые акценты */
|
||||
.accent-orange {
|
||||
border-color: #ff9933;
|
||||
color: #ff9933;
|
||||
}
|
||||
|
||||
.accent-green {
|
||||
border-color: #27ae60;
|
||||
color: #27ae60;
|
||||
}
|
||||
|
||||
/* Адаптивность */
|
||||
@media (max-width: 1024px) {
|
||||
.header {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.content-section {
|
||||
flex: 1;
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
.pattern-section {
|
||||
min-height: 400px;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 48px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.title {
|
||||
font-size: 36px;
|
||||
}
|
||||
|
||||
.content-section {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.pattern-section {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-template-rows: repeat(3, 1fr);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header class="header">
|
||||
<!-- Левая секция с контентом -->
|
||||
<div class="content-section">
|
||||
<div class="top-bar">
|
||||
<div class="logo">
|
||||
<svg width="50" height="50" viewBox="0 0 50 50">
|
||||
<text x="5" y="35" font-size="40" fill="#ff9933" font-weight="bold">А</text>
|
||||
</svg>
|
||||
<span class="logo-text">АГРО<span class="logo-text-green">ЭКСПЕРТ</span></span>
|
||||
</div>
|
||||
<div class="social-icons">
|
||||
<a href="#" class="social-icon">VK</a>
|
||||
<a href="#" class="social-icon">TG</a>
|
||||
<a href="#" class="social-icon">+</a>
|
||||
<a href="#" class="social-icon">↗</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="main-content">
|
||||
<h1 class="title">СПИКЕР ГОДА</h1>
|
||||
<div class="description">
|
||||
<p>Мы с гордостью представляем вам топ-10 спикеров года по версии издания «Агроэксперт». Он составлен на основе big data: мы проанализировали упоминания во всех публикациях сайта за 2025 год.</p>
|
||||
<p>В рейтинг вошли люди, которые открывают новые горизонты агропромышленного комплекса России: бизнесмены, чиновники и эксперты отрасли.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Правая секция с паттернами -->
|
||||
<div class="pattern-section">
|
||||
<div class="pattern-tile accent-green"><div class="pattern-leaf"></div></div>
|
||||
<div class="pattern-tile accent-orange"><div class="pattern-circle"></div></div>
|
||||
<div class="pattern-tile accent-green"><div class="pattern-diamond"></div></div>
|
||||
<div class="pattern-tile accent-green"><div class="pattern-leaf"></div></div>
|
||||
|
||||
<div class="pattern-tile accent-green"><div class="pattern-circle"></div></div>
|
||||
<div class="pattern-tile accent-orange"><div class="pattern-leaf"></div></div>
|
||||
<div class="pattern-tile accent-green"><div class="pattern-chevron"></div></div>
|
||||
<div class="pattern-tile accent-orange"><div class="pattern-leaf"></div></div>
|
||||
|
||||
<div class="pattern-tile accent-green"><div class="pattern-chevron"></div></div>
|
||||
<div class="pattern-tile accent-green"><div class="pattern-circle"></div></div>
|
||||
<div class="pattern-tile accent-green"><div class="pattern-leaf"></div></div>
|
||||
<div class="pattern-tile accent-green"><div class="pattern-user">👤</div></div>
|
||||
|
||||
<div class="pattern-tile accent-green"><div class="pattern-diamond"></div></div>
|
||||
<div class="pattern-tile accent-orange"><div class="pattern-circle"></div></div>
|
||||
<div class="pattern-tile accent-green"><div class="pattern-chevron"></div></div>
|
||||
<div class="pattern-tile accent-orange"><div class="pattern-circle"></div></div>
|
||||
</div>
|
||||
</header>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user