На связи отдел разработки и поддержки хранилища данных NetCity. В данный момент мы…
- User
На связи отдел разработки и поддержки хранилища данных NetCity. В данный момент мы затеяли переработку дизайна, ведь пользоваться устаревшими технологиями крайне неудобно и непрактично.
Твоя задача: Используя знания о работе с блочной моделью, реализуй дизайн, который представлен нашими специалистами. Результат ты найдёшь ниже.
Не забывай о важности внутренних и внешних отступов.
Подсказки, которые тебе помогут:
Используй шрифт Exo 2 из набора GF (Google Fonts) Для шапки и подвала внешний отступ должен быть 30px (достаточно указать верх и низ) Ширина основного блока и секций 768px. Внешний отступ 10px. Параметры для ячейки каждой категории: Внешний отступ 8px, a внутренний 10px Высота 60px Толщина текста 700, цвет белый (но для цифр толщина 300) Цвета можешь подобрать на своё усмотрение Параметры блока архив: Цвет фона #eee Высота 256px Выравнивание текста по центру Боковые отступы внутри по 99px
P. S. Возможно, твой блок архива будет выглядеть чуть больше, чем на образце.
Когда дойдёшь до этого момента, твой наставник укажет тебе путь. Сделай код css и html
- Assistant
.container { width: 768px; margin: 10px; } .header, .footer { margin: 30px 0; } .category { margin: 10px; padding: 8px; height: 60px; font-weight: 700; color: white; } .category .number { font-weight: 300; } .archive { background-color: #eee; height: 256px; text-align: center; padding: 0 99px; } </style> - User
.container { width: 768px; margin: 10px; }
.header, .footer { margin: 30px 0; }
.category { margin: 10px; padding: 8px; height: 60px; font-weight: 700; color: white; }
.category .number { font-weight: 300; }
.archive { background-color: #eee; height: 256px; text-align: center; padding: 0 99px; }
- Assistant
Ок, вот код с добавленными отступами:
<!DOCTYPE html> <html> <head> <title>NetCity Data Storage</title> <link href="https://fonts.googleapis.com/css?family=Exo+2:300,700&display=swap" rel="stylesheet"> <style> body { font-family: 'Exo 2', sans-serif; } .container { width: 768px; margin: 10px; } .header, .footer { margin: 30px 0; } .category { margin: 10px; padding: 8px; height: 60px; font-weight: 700; color: white; } .category .number { font-weight: 300; } .archive { background-color: #eee; height: 256px; text-align: center; padding: 0 99px; } </style> </head> <body> <div class="container"> <div class="header"></div> <div class="category" style="background-color: #ff7f50;"> Main Category<span class="number">12</span> </div> <div class="category" style="background-color: #87cefa;"> Sub Category 1<span class="number">8</span> </div> <div class="category" style="background-color: #32cd32;"> Sub Category 2<span class="number">5</span> </div> <div class="archive"> <h2>Archive</h2> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed vestibulum fringilla nisl sed scelerisque. Donec nec diam ac libero molestie luctus id nec est. Sed ultricies felis eget accumsan pulvinar. In ultrices risus et mollis convallis.</p> </div> <div class="footer"></div> </div> </body> </html>
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.