-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
181 lines (158 loc) · 4.04 KB
/
Copy pathstyle.css
File metadata and controls
181 lines (158 loc) · 4.04 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
* {
font-family: 'Inter', system-ui, sans-serif;
color: #0f172a;
box-sizing: border-box; /* ADDED: Makes padding/borders behave consistently */
}
body {
background: #ccd5df;
color: #0f172a;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 2rem;
margin: 0; /* ADDED: Removes default browser margin */
}
.title{
color: #13254e;
}
/* CHANGED:rgb(148, 155, 167)ls container - stacks everything vertically */
.controls-container {
display: flex;
flex-direction: column; /* Stack children vertically */
align-items: center; /* Center horizontally */
gap: 15px; /* Space between rows */
margin: 20px auto;
width: 100%;
max-width: 500px; /* Limit width for better look */
}
/* NEW: Each row contains label + input/select */
.control-row {
display: flex;
align-items: center; /* Align label and input vertically */
width: 100%;
gap: 10px; /* Space between label and input */
}
/* NEW: Labels have fixed width so all inputs align */
.control-row label {
width: 140px; /* Same width for all labels */
text-align: right; /* Text aligns to the right */
font-weight: 500;
}
/* UPDATED: Inputs and selects take remaining space */
.control-row input,
.control-row select {
flex: 1; /* Take up remaining space */
padding: 8px 10px; /* Better padding */
border: 1px solid #cbd5e1;
border-radius: 6px;
font-size: 1rem;
background: white;
}
/* UPDATED: Buttons */
.control-row button {
flex: 0 0 auto; /* Don't stretch */
padding: 8px 20px;
background: #0f172a;
border: none;
border-radius: 6px;
color: white;
font-weight: 600;
font-size: 1rem;
cursor: pointer;
transition: background 0.2s; /* Smooth hover effect */
}
.control-row button:hover {
background: #4b4e55; /* Darker blue on hover */
}
/* UPDATED: Custom domain input */
#customDomain {
border: 1px solid #94a3b8;
border-radius: 6px;
padding: 8px 10px; /* Match other inputs */
font-size: 1rem;
width: 100%; /* Take full width of its container */
}
/* UPDATED: Output styling */
#output {
background-color: white;
border: 1px solid #e2e8f0;
padding: 20px;
margin-top: 30px;
border-radius: 8px;
font-family: monospace;
font-size: 0.95rem;
line-height: 1.6;
white-space: pre-wrap; /* Keeps formatting */
max-width: 100%;
width: 100%;
box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* Subtle shadow */
/* Add this line */
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 15px;
}
.record {
background-color:#ffffff;
border: 1px solid #ddd;
padding: 10px;
border-radius: 5px;
}
/* Tablet */
@media (max-width: 768px) {
#output {
grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
}
}
/* Phone */
@media (max-width: 480px) {
#output {
grid-template-columns: 1fr; /* 1 column on phone */
}
.controls-container {
width: 100%;
padding: 10px;
}
.control-row {
flex-direction: column; /* Stack labels above inputs */
align-items: flex-start;
}
.control-row label {
width: 100%;
text-align: left;
margin-bottom: 5px;
}
.control-row input,
.control-row select {
width: 100%;
}
h1 {
font-size: 1.8rem; /* Smaller title on phone */
text-align: center;
}
}
/* footer */
.privacy-policy {
max-width: 800px;
margin: 40px auto;
padding: 30px;
background: white;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
font-family: 'Inter', sans-serif;
line-height: 1.6;
}
.privacy-policy h2 {
color: #13254e;
margin-bottom: 10px;
}
.privacy-policy h3 {
color: #0f172a;
margin: 20px 0 10px;
font-size: 1.2rem;
}
.privacy-policy p {
color: #334155;
margin-bottom: 10px;
}