-
Notifications
You must be signed in to change notification settings - Fork 32
/
style.css
97 lines (82 loc) · 1.34 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
87
88
89
90
91
92
93
94
95
96
97
* {
box-sizing: border-box;
}
html {
font-family: sans-serif;
}
body {
margin: 0;
}
section {
margin: 2rem auto;
width: 90%;
max-width: 40rem;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
background-color: white;
padding: 1rem;
}
.form-control {
margin: 1rem 0;
}
.form-control input,
.form-control textarea,
.form-control label {
display: block;
width: 100%;
font: inherit;
}
.form-control label {
font-weight: bold;
margin-bottom: 0.5rem;
}
.form-control input,
.form-control textarea {
border: 1px solid #ccc;
padding: 0.25rem;
border-radius: 4px;
}
.form-control input:focus,
.form-control textarea:focus {
border-color: #ffbb00;
outline: none;
background-color: #fcecc1;
}
button {
cursor: pointer;
font: inherit;
border-radius: 6px;
border: 1px solid black;
background-color: #ffbb00;
color: black;
padding: 0.5rem 2rem;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.26);
}
button:focus {
outline: none;
}
button:hover,
button:active {
background-color: #f8cf60;
}
#user-messages ul {
padding: 0;
margin: 0;
list-style: none;
}
.message-item {
margin: 0.5rem 0;
padding: 0.5rem;
display: flex;
align-items: center;
}
.message-image {
width: 50px;
height: 50px;
margin-right: 1rem;
}
.message-item img {
width: 100%;
height: 100%;
border-radius: 50%;
}