-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
122 lines (102 loc) · 1.69 KB
/
style.css
File metadata and controls
122 lines (102 loc) · 1.69 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
@font-face {
font-family: Montserrat;
src: url("https://fonts.google.com/specimen/Montserrat");
}
@font-face {
font-family: Fraunces;
src: url("https://fonts.google.com/specimen/Fraunces");
}
body {
margin: 5%;
max-width: 375px;
font-family: Montserrat, sans-serif;
background-color: hsl(30, 38%, 92%);
color: hsl(228, 12%, 48%);
box-sizing: border-box;
}
.container {
display: flex;
flex-flow: column nowrap;
align-items: stretch;
width: 100%;
height: 90%;
}
.product {
flex: 0 2 0%;
min-height: 100%;
}
.content {
flex: 2 0 auto;
background-color: hsl(0, 0%, 100%);
align-self: stretch;
padding: 20px;
margin: auto;
}
.product img {
max-width: 100%;
border-radius: 10px 0;
height: 100%;
}
header, p, sup {
font-weight: 500;
}
header {
letter-spacing: 5px;
}
p {
font-size: 14px;
line-height: 2;
}
h1 {
color: hsl(212, 21%, 14%);
margin-top: 5px;
}
h1, .prices {
font-family: Fraunces, serif;
font-weight: 700;
}
.link {
padding: 5px;
margin: 5px;
background-color: hsl(158, 36%, 37%);
border-radius: 10px;
}
.cart {
text-decoration: none;
font-weight: 700;
color: hsl(0, 0%, 100%);
text-align: center;
padding: 5px;
margin: 5px;
}
.prices {
color: hsl(158, 36%, 37%);
margin: 5px;
padding: 5px;
font-size: 30px;
}
@media (min-width: 800px) {
body {
max-width: 1440px;
}
.container {
display: flex;
margin: auto;
padding: 10%;
max-width: 41%;
height: 54%;
flex-direction: row;
}
.product {
flex: 1;
width: 100%;
}
.content {
flex: 1;
width: 100%;
border-radius: 0 10px 10px 0;
}
.product img {
border-radius: 10px 0 0 10px;
}
}