-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
230 lines (172 loc) · 3.17 KB
/
styles.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
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
/* Reset default margins and paddings, use box-sizing */
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Roboto', sans-serif;
}
/* Remove underlines for anchor tags */
a {
text-decoration: none;
}
.coin-list-body {
display: flex;
padding: 39px 0 48px 0;
align-items: center;
}
.coin-list-section {
margin: 0 6%;
}
.main-title {
font-style: normal;
font-weight: 300;
font-size: 43px;
}
.main-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
min-width: 600px;
/* max-width: 920px; */
}
.coin-container {
display: flex;
align-items: center;
justify-content: start;
width: 50%;
min-width: 515px;
}
.coin-img-container {
position: relative;
margin-right: 18px;
}
.coin-img-container img{
height: 172px;
}
.coin-discount {
color: white;
position: absolute;
border-radius: 50%;
background-color: #833AE0;
right:24px;
top:31px;
height:44px;
width:44px;
display: flex;
align-items: center;
justify-content: center;
}
.coin-desc-container {
display: flex;
justify-content: space-between;
flex-grow: 1;
}
.coin-desc {
margin-right: 40px;
}
.coin-desc-head {
font-weight: bold;
font-size: 16px;
margin-bottom: 10px;
color: #833AE0;
}
.coin-link {
color: inherit;
}
.coin-desc-body {
font-size: 14px;
}
.coin-price-final {
font-style: normal;
font-weight: bold;
font-size: 16px;
white-space: nowrap;
}
.coin-price-nodisc {
font-style: normal;
font-weight: 300;
font-size: 12px;
color: #7A7A7A;
}
/* Styles for coin pages */
.info-section {
display: flex;
justify-content: center;
margin: 24px 0;
}
.info-main-container {
width: 80%;
min-width: 600px;
max-width: 920px;
display: flex;
justify-content: center;
}
.info-img-container {
width: 50%;
position: relative;
}
.info-img-wrapper img {
/* margin-top: -83px; */
position:absolute;
left:0;
top:0;
width: 100%;
}
.info-img-wrapper:hover .info-img-rear {
display: block;
}
.info-img-rear {
display: none;
}
.info-desc-container {
display: flex;
flex-direction: column;
background-color: rgba(196, 196, 196, 0.5);
width: 50%;
position: relative;
padding: 12px 44px 50px 44px;
}
.info-desc-article {
padding: 1em 0;
font-size: 10px;
}
.info-desc-article-pretext {
color: #7A7A7A;
}
.info-desc-maintext {
margin: 1em 0;
}
.info-pricetag {
margin: 1em 0;
}
.info-pricetag-price {
font-weight: bold;
font-size: 28px;
}
.info-desctable {
border-collapse: collapse;
width: 100%;
overflow-wrap: break-word;
table-layout: fixed;
}
.info-desctable tr {
border-bottom: 1px solid #b1abab;
}
.info-desctable tr:last-child {
border-bottom: none;
}
.info-desctable tr td {
padding: 6px 21px 6px 5px;
}
.info-desctable tr td:first-child {
border-right: 1px solid #b1abab;
}
.info-desctable tr:nth-child(odd) {
background-color: white;
}
.info-backbutton-container {
margin: 20px 0;
}
.info-backbutton-container a {
text-decoration: underline;
}