-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
78 lines (70 loc) · 1.38 KB
/
style.css
File metadata and controls
78 lines (70 loc) · 1.38 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
* {
box-sizing: border-box;
}
body {
margin: 0;
height: 100vh;
background: #f4b6c2;
display: flex;
justify-content: center;
align-items: center;
font-family: "Segoe UI", Arial, sans-serif;
}
.card {
position: relative;
width: 90%;
max-width: 500px;
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(8px);
border-radius: 16px;
padding: 40px 20px;
text-align: center;
box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}
.card h1 {
margin: 0;
font-size: 28px;
color: #222;
}
.card h1 span {
display: block;
margin-top: 10px;
font-weight: 700;
}
.buttons {
position: relative;
margin-top: 40px;
height: 80px; /* space for buttons */
}
/* YES button — fixed, neat position */
#yes {
position: absolute;
left: 90px;
top: 0;
background: #e63946;
color: white;
font-weight: 600;
font-size: 16px;
padding: 12px 28px;
border-radius: 10px;
border: none;
cursor: pointer;
}
/* NO wrapper — starts neatly on the right */
.no-wrapper {
position: absolute;
left: 260px; /* initial neat spacing */
top: 0;
transition: all 0.15s ease;
}
/* NO button — NEVER clickable */
#no {
pointer-events: none;
background: transparent;
border: 2px solid #555;
color: #333;
font-size: 16px;
padding: 12px 28px;
border-radius: 10px;
cursor: default;
}