forked from urfu-2015/verstka-tasks-5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
63 lines (61 loc) · 1.12 KB
/
index.css
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
.photo:hover{
opacity: 0.6;
}
a {
color: #008000;
text-decoration: none;
}
a:visited {
color: #800080;
}
a:hover {
color: #800000; /* Цвет ссылки при наведении на нее курсора мыши */
text-decoration: underline;
}
span.red {
color: red;
font-size: larger;
}
.category {
color: gray;
}
.cat:hover {
background: #c7e9f2;
}
div.cat {
width: 250px;
display: inline-block;
padding: 5px;
}
#typew:checked ~ div.cat .content-img {
display: inline-block;
width: 270px;
}
#typew:checked ~ div.cat .content-text {
display: inline-block;
width: 200px;
text-align: top;
}
#typew:checked ~ div.cat {
display: block;
width: 900px;
}
#typew:checked ~ div > div > img.photo {
align: left;
margin: 10px;
}
.dist {
color: gray;
}
div > strike {
color: gray;
}
.size {
white-space: nowrap; /* Отменяем перенос текста */
text-overflow:ellipsis;
overflow: hidden; /* Обрезаем содержимое */
padding: 5px; /* Поля */
}
.photo {
width: 250px;
}