-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
194 lines (192 loc) · 13.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<!doctype html>
<html lang="en,ru">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="font.css">
<link rel="stylesheet" href="style.css">
<title>TeslaSolomon</title>
</head>
<body class="body">
<header class="header">
<img class="logo" src="img/logo.svg" alt="logo">
<input id="menu__toggle" type="checkbox">
<nav class="nav__left">
<a class="menu__item menu__item_active" href="#">Model S</a>
<a class="menu__item menu__item_2" href="#">Model X</a>
<a class="menu__item" href="#">Model 3</a>
<a class="menu__item" href="#">Roadster</a>
<a class="menu__item" href="#">Energy</a>
</nav>
<nav class="nav__right">
<a class="menu__item menu__item_right" href="#">Магазин</a>
<a class="menu__item menu__item_right" href="#">Войти</a>
</nav>
<label class="menu__btn" for="menu__toggle">
<span></span>
</label>
</header>
<main class="main">
<section class="section-one">
<h1 class="main__title">Model S</h1>
<p class="section__description">Добро пожаловать в будущее!</p>
<div class="section__redCar"></div>
<!--<img class="main__img" src="img/redCar.svg" alt="redCar">-->
<!--<img class="..." src="img/tesla.svg" alt="tesla"> Это скорее всего надо переделать на БГ/можно сделать фоном секции -->
<div class="panel">
<div class="left-container">
<div class="box">
<div class="box__img"></div>
<div class="box__content">
<p class="box__text">
2,7<span class="box__text_middle">сек</span>
</p>
<p class="box__text-additional">0-100 км/час</p>
</div>
</div>
<div class="box">
<div class="box__img-two"></div>
<div class="box__content">
<p class="box__text">
632<span class="box__text_middle">км</span>
</p>
<p class="box__text-additional">запас хода</p>
</div>
</div>
</div>
<div class="right-buttons">
<div class="button">
<svg class="button__img" width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11 0C4.95819 0 0 4.95819 0 11C0 17.0418 4.95819 22 11 22C17.0418 22 22 17.0418 22 11C22 4.95819 17.0418 0 11 0ZM11 19.3789C6.38002 19.3789 2.62109 15.62 2.62109 11C2.62109 6.38002 6.38002 2.62109 11 2.62109C15.62 2.62109 19.3789 6.38002 19.3789 11C19.3789 15.62 15.62 19.3789 11 19.3789Z" fill="black"/>
<path d="M12.2891 9.06641C12.2891 9.77841 11.712 10.3555 11 10.3555C10.288 10.3555 9.71094 9.77841 9.71094 9.06641C9.71094 8.3544 10.288 7.77734 11 7.77734C11.712 7.77734 12.2891 8.3544 12.2891 9.06641Z" fill="black"/>
<path d="M11 11.6446C9.85814 11.6446 8.89873 10.8936 8.56085 9.86356C6.85503 10.0495 5.26434 10.4067 3.91402 10.926C3.91368 10.9509 3.91016 10.975 3.91016 11C3.91016 11.7449 4.02715 12.4627 4.24098 13.1377C5.29573 12.5872 6.32849 12.2891 7.13281 12.2891C7.80571 12.2891 8.32251 12.4793 8.71208 12.8714C9.61275 13.7759 9.71597 15.6118 9.71799 17.9677C10.1344 18.0442 10.5618 18.0899 11 18.0899C11.4384 18.0899 11.8658 18.0442 12.2825 17.9677C12.284 15.6136 12.3867 13.7769 13.2879 12.8714C13.6775 12.4798 14.1936 12.2891 14.8672 12.2891C15.6609 12.2891 16.6959 12.5758 17.7605 13.1335C17.9737 12.4598 18.0898 11.7434 18.0898 11C18.0898 10.9755 18.0863 10.9519 18.0862 10.9275C16.6232 10.3634 15.0045 10.0348 13.4393 9.86322C13.1014 10.8936 12.142 11.6446 11 11.6446Z" fill="black"/>
</svg>
<a class="button__text box__text_color_black" href="#">Тест драйв</a>
</div>
<div class="button">
<a class="button__text button__text_color_red" href="#">Заказать</a>
</div>
</div>
</div>
<p class="arrow-down"></p>
</section>
<section class="section section-two">
<div class="section__left section__left-one">
<h1 class="main__title main__title-two">Model S</h1>
<div class="section__img"></div> <!--Торпедка фоном-->
</div>
<div class="section__right section__right-one">
<div class="top-content">
<h1 class="top-content__title">Будущее вождения</h1>
<p class="top-content__description">Модель S обладает лучшей в своем классе вместимостью:
в машине поместится до пяти взрослых и двух детей. Оснащена современным <br>17-дюймовым сенсорным
экраном. Усовершенствованная шумовая инженерия создает динамику звука, сравнимую со студией
звукозаписи, а стеклянная крыша обеспечивает просторный интерьер для каждого пассажира.</p>
</div>
<div class="options">
<div class="box box-one">
<div class="box__img-three"></div>
<div class="box__content">
<p class="box__text box__text_color_white">
17<span class="box__text_middle box__text_middle_color_white">дюймов</span>
</p>
<p class="box__text-additional box__text-additional_color_white">Большой дисплей</p>
</div>
</div>
<div class="box box-two">
<div class="box__img-four"></div>
<div class="box__content">
<p class="box__text_middle box__text_middle_color_white">
Беспроводное обновление ПО
</p>
<p class="box__text-additional box__text-additional_color_white box__text-additional_color_white_middle">Повышенная функциональность</p>
</div>
</div>
<div class="box box-three">
<div class="box__img-five"></div>
<div class="box__content">
<p class="box__text box__text_color_white box__text-ipad_middle_color_white">
894<span class="box__text_middle box__text_middle_color_white">литра</span>
</p>
<p class="box__text-additional box__text-additional_color_white">Объем грузового пространства</p>
</div>
</div>
</div>
<div class="down-buttons">
<div class="button button__i">
<div class="button__text-i">
<svg class="button__text-i-i" width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="11" cy="11" r="10" stroke="white" stroke-width="2"/>
<path d="M10.9949 8.031C11.7489 8.031 12.2559 7.537 12.2559 6.861C12.2559 6.237 11.7489 5.769 10.9949 5.769C10.2409 5.769 9.73392 6.263 9.73392 6.9C9.73392 7.537 10.2409 8.031 10.9949 8.031ZM9.98092 16H12.0089V9.006H9.98092V16Z" fill="white"/>
</svg>
</div>
<a class="button__text button__text-more_color_white" href="#">Узнать больше</a> <!--через псевдоклас-->
</div>
<div class="button">
<a class="button__text button__text_color_white" href="#">Заказать</a>
</div>
</div>
</div>
</section>
<section class="section section-three section-three-ipad">
<div class="section__right section__right-one section__right-one-two">
<div class="top-content top-content-section-three top-content-section-three-mobile">
<h1 class="top-content__title top-content__title-ipad">Самый безопасный автомобиль в мире</h1>
<p class="top-content__description top-content__description-ipad">Модель S достигла наивысшей оценки безопасности любого автомобиля,
когда-либо испытанного, и установила рекорд по наименьшей вероятности травмы пассажиров -
от несчастных случаев на переднем, боковом, заднем сидении и в ДТП с переворотом авто.</p>
</div>
<div class="marks marks-ipad">
<h1 class="top-content__title top-content__title-marks">Оценка защиты:</h1>
<div class="marks__content">
<p class="marks__description">
Спереди<span class="description__img"></span>
</p>
<p class="marks__description">
Сбоку<span class="description__img"></span>
</p>
<p class="marks__description">
Сбоку
<span class="description__addition">(стойка)</span>
<span class="description__img"></span>
</p>
<p class="marks__description">
Водитель<span class="description__img"></span>
</p>
<p class="marks__description">
Пассажир<span class="description__img"></span>
</p>
</div>
</div>
<div class="box box-six">
<div class="box__img-six"></div>
<div class="box__content">
<p class="box__text box__text_color_white box__text_color_white_down">5 звезд</p>
<p class="box__text-additional box__text-additional_color_white box__text-additional_color_white_down">безопасности</p>
</div>
</div>
<div class="down-buttons down-buttons-two down-buttons-ipad">
<div class="button button__i">
<div class="button__text-i">
<svg class="button__text-i-i" width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="11" cy="11" r="10" stroke="white" stroke-width="2"/>
<path d="M10.9949 8.031C11.7489 8.031 12.2559 7.537 12.2559 6.861C12.2559 6.237 11.7489 5.769 10.9949 5.769C10.2409 5.769 9.73392 6.263 9.73392 6.9C9.73392 7.537 10.2409 8.031 10.9949 8.031ZM9.98092 16H12.0089V9.006H9.98092V16Z" fill="white"/>
</svg>
</div>
<a class="button__text button__text-more_color_white" href="#">Узнать больше</a> <!--через псевдоклас-->
</div>
<div class="button">
<a class="button__text button__text_color_white" href="#">Заказать</a>
</div>
</div>
</div>
<div class="section__left section__left_down">
<div class="section__left-background"></div>
<img class="section__left-img" src="img/Car frame.svg" alt="Car frame">
</div>
</section>
</main>
</body>
</html>