forked from 4GeeksAcademy/exercise-postcard-AlejandroGC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
68 lines (59 loc) · 918 Bytes
/
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
* {
font-family: "Brush Script MT", cursive;
font-size: 14px;
}
body {
background: black;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.postcard {
background: white;
width: 400px;
padding: 10px;
}
.postcard-header {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
padding-bottom: 10px;
}
.postcard-header img {
width: 50px;
height: 50px;
}
.postcard-header h1 {
font-size: 24px;
margin: 0;
}
.postcard-body {
display: flex;
}
.body-left p:first-child {
margin-top: 0;
padding-right: 10px;
}
.body-left,
.body-right {
width: 50%;
}
input {
height: 20px;
width: 100%;
border: none;
border-bottom: 1px solid rgb(167, 167, 167);
margin-bottom: 5px;
}
.postcard-footer {
text-align: center;
padding: 10px 0 20px 0;
}
button {
background-color: rgb(167, 167, 167);
padding: 5px;
margin-bottom: 5px;
border: none;
}