Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
102 lines (88 loc) · 1.6 KB
/
Copy pathstyles.css
File metadata and controls
102 lines (88 loc) · 1.6 KB
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
98
99
100
101
102
/* Reset general */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
/* Fondo negro y centrado de la postcard */
body {
background: black;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
/* Contenedor principal */
.postcard {
background-color: white;
width: 500px;
border: 2px solid black;
}
/* Header: título a la izquierda, logo a la derecha */
.postcard-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 15px;
border-bottom: 2px dashed red;
}
.postcard-header h1 {
font-weight: bold;
}
.postcard-header img {
width: 50px;
height: 50px;
}
/* Body dividido en dos columnas */
.postcard-body {
display: flex;
border-bottom: 2px dashed red;
}
/* Padding compartido entre columnas */
.body-left,
.body-right {
padding: 10px;
}
/* Columna izquierda con borde separador */
.body-left {
width: 50%;
border-right: 2px dashed red;
display: flex;
flex-direction: column;
gap: 10px;
}
/* Cada párrafo tiene su propio borde rojo */
.body-left p {
border: 2px dashed red;
padding: 8px;
font-size: 12px;
}
/* El primer párrafo no necesita margin-top */
.body-left p:first-child {
margin-top: 0;
}
/* Columna derecha con los inputs */
.body-right {
width: 50%;
display: flex;
flex-direction: column;
gap: 8px;
}
/* Inputs solo con línea inferior gris */
input {
border: none;
border-bottom: 1px solid rgb(83, 82, 82);
outline: none;
width: 100%;
display: block;
font-size: 14px;
}
/* Footer */
.postcard-footer {
padding: 10px 15px;
text-align: center;
}
button {
background-color: #4b5563;
padding: 10px;
}