-
Notifications
You must be signed in to change notification settings - Fork 15
/
app.css
107 lines (88 loc) · 1.37 KB
/
app.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
/* app css stylesheet */
body {
padding-top: 20px;
background-color: lightgoldenrodyellow;
}
.phone-images {
background-color: white;
width: 450px;
height: 450px;
overflow: hidden;
position: relative;
float: left;
}
.phones {
list-style: none;
}
.thumb {
float: left;
margin: -0.5em 1em 1.5em 0;
padding-bottom: 1em;
height: 100px;
width: 100px;
}
.phones__btn-buy-wrapper {
align-items: center;
float: right;
height: 100%;
display: flex;
margin: 0 1em;
}
.phones li {
clear: both;
height: 115px;
padding-top: 15px;
}
/** Detail View **/
img.phone {
float: left;
margin-right: 3em;
margin-bottom: 2em;
background-color: white;
padding: 2em;
height: 400px;
width: 400px;
display: none;
}
img.phone:first-child {
display: block;
}
ul.phone-thumbs {
margin: 0;
list-style: none;
}
ul.phone-thumbs li {
border: 1px solid black;
display: inline-block;
margin: 1em;
background-color: white;
}
ul.phone-thumbs img {
height: 100px;
width: 100px;
padding: 1em;
}
ul.phone-thumbs img:hover {
cursor: pointer;
}
ul.specs {
clear: both;
margin: 0;
padding: 0;
list-style: none;
}
ul.specs > li{
display: inline-block;
width: 200px;
vertical-align: top;
}
ul.specs > li > span{
font-weight: bold;
font-size: 1.2em;
}
ul.specs dt {
font-weight: bold;
}
h1 {
border-bottom: 1px solid gray;
}