-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
251 lines (214 loc) · 4.97 KB
/
style.css
File metadata and controls
251 lines (214 loc) · 4.97 KB
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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
/* Стиль для всего сайта */
* {
font-family: "Montserrat", sans-serif;
margin : 0px;
padding : 0px;
}
html,
body {
height: 100%;
}
/* Стиль блока, в котором все остальные блоки */
.container {
margin : 0 auto;
min-height: 100%;
width : 1300px;
}
.clearfix {
clear : both;
content: "";
display: table;
}
/* Общая шапка для страниц Products-Contact */
.header {
background-color: #f5f5f5;
height : 100px;
width : 1300px;
}
/* Логотип в шапке страницы */
.logo {
color : #212121;
display : inline-block;
font-size : 20px;
font-weight : 700;
margin : 35px 0 0 20px;
padding : 10px 15px;
text-decoration: none;
}
/* Меню в шапке страницы */
.menu {
float: right;
}
/* Пункты меню в шапке страницы */
.menu_item {
display : inline-block;
list-style-type: none;
margin-top : 40px;
}
/* Пункты меню в шапке страницы */
.menu_link {
color : #8c8c8c;
font-size : 14px;
font-weight : 300;
letter-spacing : 1.4px;
padding : 10px 15px;
text-decoration: none;
text-transform : uppercase;
}
/* Эффект при наведении мышки на пункт меню в шапке страницы */
.menu_link:hover {
color: #212121;
}
/* Активный пункт в меню в шапке сайта */
.menu_link_active {
border-bottom: 3px solid #212121;
color : #212121;
font-weight : 700;
}
/* Стиль в основном блоке content */
.content {
text-align: left;
}
.content h1 {
color : #212121;
font-size : 50px;
font-weight: 400;
margin-top : 50px;
text-align : center;
}
.content h2 {
color : #212121;
font-size : 30px;
font-weight: 400;
margin : 20px 0 0 20px;
}
.content p {
color : #8c8c8c;
font-size : 20px;
font-weight: 300;
line-height: 23px;
margin-top : 10px;
}
.content span {
color : #212121;
font-size : 20px;
font-weight: 400;
}
/* Стиль текста на формах */
form {
text-align: center;
}
input {
color : #000000;
font-size : 20px;
font-weight: 300;
width : 250px;
}
input:focus {
background-color: #e0ffff;
}
input:hover {
background-color: #212121;
color : #ffffff;
}
input[type=submit] {
font-size : 20px;
font-weight: 300;
margin : 20px;
padding : 10px;
width : 250px;
}
/* Стиль блока с постером фильма */
.poster {
float: left;
}
.poster img {
width: 200px;
}
/* Стиль блока с описанием фильма */
.movie {
margin-left: 220px;
}
.clr {
height: 150px;
}
/* Подвал для страниц */
.footer {
background-color: #f7f7f7;
height : 150px;
margin : -150px auto 0;
width : 1300px;
}
/* Стиль для заголовков в подвале страниц Products-Contact */
.footer a {
color : #6c6c6c;
display : inline-block;
font-size : 18px;
font-weight : 700;
letter-spacing : 1.8px;
padding : 10px 15px;
text-decoration: none;
text-transform : uppercase;
}
.footer a:hover {
color: #212121;
}
/* Стиль текста в подвале */
.footer p {
color : #212121;
font-size : 14px;
font-weight: 300;
line-height: 22px;
padding : 10px 0px 0px 0px;
}
.footer span {
color: red;
}
/* Положение блоков в подвале */
.footer_block {
float : left;
margin : 10px 0px 0px 20px;
padding: 0px;
width : 300px;
}
/* Положение блока copyright в подвале страниц */
.footer_bottom {
float : left;
margin-left: 20px;
}
/* Положение надписи Права защищены в подвале */
.copyright {
float: left;
}
/* Положение списка социальных сетей в подвале страниц */
.social_networks {
float : left;
margin-left: 300px;
}
/* Размеры логотипов соцсетей */
img[alt="fb"],
img[alt="twitter"],
img[alt="vk"] {
height : 20px;
width : 20px;
margin-left: -5px;
padding : 0;
}
/* Показываем логотипы социальных сетей в списке */
.social_network_link {
display : inline-block;
background-color: #6c6c6c;
border-radius : 50%;
height : 20px;
width : 10px;
margin : 0;
padding : 0;
text-align : center;
vertical-align : middle;
}
.social_network_link:hover {
background-color: #212121;
}
.social_network_link:focus {
background-color: skyblue;
}