Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
97 lines (85 loc) · 1.85 KB
/
Copy pathstyles.css
File metadata and controls
97 lines (85 loc) · 1.85 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
/* Apply the custom font and background color to the page */
body {
background-color: #121212; /* Dark background like your workspace preview */
font-family: 'Handlee', cursive, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
/* The white postcard canvas */
.postcard {
background-color: white;
width: 600px;
padding: 20px;
box-sizing: border-box;
}
/* Header styling: puts title on left, logo on right */
.postcard-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 15px;
}
.postcard-header h1 {
margin: 0;
font-size: 40px;
}
.logo {
width: 60px;
height: auto;
}
/* Body layout: splits into two columns */
.postcard-body {
display: flex;
justify-content: space-between;
gap: 30px;
}
/* Left column styling */
.body-left {
width: 50%;
}
.body-left p {
font-size: 22px;
line-height: 1.3;
margin-top: 0;
margin-bottom: 25px;
}
/* Right column form styling */
.body-right {
width: 50%;
display: flex;
flex-direction: column;
gap: 15px;
}
/* Postcard inputs: Only a line at the bottom */
.body-right input {
border: none;
border-bottom: 1px solid #777777;
font-family: 'Handlee', cursive, sans-serif;
font-size: 20px;
padding: 5px 0;
color: #555;
outline: none;
}
/* Center the button at the bottom */
.postcard-footer {
display: flex;
justify-content: center;
margin-top: 25px;
}
/* Button styling */
.postcard-footer button {
background-color: #bcbcbc;
border: none;
padding: 10px 20px;
font-family: 'Handlee', cursive, sans-serif;
font-size: 22px;
cursor: pointer;
border-radius: 2px;
}
/* Quick hover effect for the button */
.postcard-footer button:hover {
background-color: #a8a8a8;
}