-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
117 lines (90 loc) · 1.6 KB
/
style.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
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
/*
* Simple item filter in JavaScript
* author: Jakub Vojvoda, vojvoda@swdeveloper.sk
* 2015
*
* file: style.css
*
*/
/* font style */
* {
font-family: Arial, Helvetica, sans-serif;
}
/* style of list items */
.item {
display: inline-block;
width: 450px;
margin-bottom: 10px;
margin-right: 5px;
padding: 10px 10px 10px 10px;
border-style: solid;
border-width: 1px;
border-color: #FAFAFA;
background-color: #F8F8F8;
}
/* list item image */
.item img {
float: left;
}
/* list item description */
.item .title, .item .author, .item .genre {
display: block;
margin-left: 130px;
}
/* name of item */
.item .title {
color: #055A85;
}
/* item author */
.item .author {
margin-top: -20px;
}
/* author link style */
.item .author a {
font-weight: bold;
text-decoration: none;
color: #616161;
}
/* author link style */
.item .author a:hover {
text-decoration: none;
color: black;
}
/* genre style */
.item .genre {
margin-top: 10px;
color: #111111;
}
/* button style */
.item .buy-button {
display: block;
float: right;
margin-top: 32px;
padding: 10px;
font-weight: bold;
border-style: solid;
border-width: 1px;
border-color: white;
background-color: #C3DAE6;
font-size: 108%;
text-decoration: none;
color: black;
}
/* button style */
.item .buy-button:hover {
border-color: #055A85;
color: black;
}
/* button description */
.item .buy {
display: block;
float: right;
padding-right: 12px;
color: #055A85;
}
/* cost of item */
.item .price {
display: block;
float: right;
color: black;
}