forked from CodeYourFuture/html-css-git-exercises
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweek1.css
80 lines (71 loc) · 1.49 KB
/
week1.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
/* Base site colors and fonts */
body,
html {
background: #25262f;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
"Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", 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: #d6d8e1;
border-radius: 3px;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}
/* Buttons */
.button {
padding: 0.25em 0.5em;
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 2px;
background: #4491db;
color: #fff;
text-decoration: none;
cursor: pointer;
}
/* Site title and top navigation */
.site-header {
padding: 0.5rem 1rem;
background: #4491db;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.site-header__title {
margin: 0;
color: rgba(255, 255, 255, 0.9);
font-size: 18px;
font-weight: 700;
}
/* Messages */
.messages {
padding-bottom: 1rem;
}
/* Messages */
.message {
margin: 1rem 3rem 1rem 1rem;
padding: 0.5rem;
font-size: 14px;
line-height: 1.8em;
border-radius: 2px;
background: #fff;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}
/* Input area to add a new message */
.add-message {
padding: 0.5rem 1rem;
}
.add-message__input {
padding: 0.25em 0.5em;
border: none;
border-radius: 2px;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
background: #fff;
}
/* Site footer area */
.site-footer {
padding: 0.5rem 1rem;
}