-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
64 lines (52 loc) · 1.05 KB
/
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
/* styles.css */
.postcard {
background: white;
width: 400px;
height: 300px;
margin: auto;
}
/* styles.css */
.postcard-header {
display: flex;
align-items: center; /* Vertically center align the contents */
}
.postcard-header img {
width: 50px; /* Set the image width to 50px */
height: 50px; /* Set the image height to 50px */
margin-right: 10px; /* Add a small margin to separate the image and h1 */
}
.postcard-header h1 {
flex-grow: 1; /* Make the h1 element grow to fill the available space */
margin: 0; /* Remove margins from the h1 element */
}
.postcard-body {
display: flex; /* Apply flex display to the .postcard-body */
}
.postcard-body p:first-child {
margin-top: 0; /* Remove margin-top for the first <p> element inside .postcard-body */
}
.body-left,
.body-right {
padding: 10px;
}
.postcard-footer {
text-align: center;
}
button {
background-color: grey;
padding: 10px;
}
input {
border: none;
border-bottom: 1px grey solid;
}
body {
background: black;
}
* {
border: 1px dashed red;
min-height: 10px;
}
p {
color: blue;
}