This repository has been archived by the owner on Aug 17, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathstyle.css
86 lines (77 loc) · 1.45 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
/* Base site colors and fonts */
body,
html {
background: #202c20;
font-family: "PT Sans", sans-serif;
font-size: 16px;
line-height: 1.5em;
}
/* Wrap the site content in a centred box */
.site-wrapper {
max-width: 30rem;
margin-top: 5rem;
margin-left: auto;
margin-right: auto;
background: #e0e6e0;
border-radius: 3px;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}
/* Buttons */
.button {
padding: 0.25em 0.5em;
border: none;
border-radius: 2px;
border: 1px solid rgba(0, 0, 0, 0.1);
background: #7fcf80;
color: #fff;
text-decoration: none;
cursor: pointer;
}
/* Site title and top navigation */
.site-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.5rem 1rem;
color: rgba(255, 255, 255, 0.9);
background: #7fcf80;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.site-header__title {
margin: 0;
font-size: 24px;
font-weight: 700;
}
/* Messages */
.item {
display: flex;
align-items: center;
margin: 1rem;
padding: 1rem;
border-radius: 2px;
background: #fff;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}
.item__price {
flex-grow: 0;
flex-shrink: 0;
width: 4rem;
padding-right: 1rem;
font-size: 24px;
font-weight: 700;
color: rgba(0, 0, 0, 0.6);
text-align: center;
}
.item__content p {
margin-top: 0;
}
.item__discount {
color: #7fcf80;
}
/* Footer */
.site-footer {
padding: 1rem;
font-size: 12px;
text-align: center;
}