Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
105 lines (90 loc) · 2.02 KB
/
Copy pathstyles.css
File metadata and controls
105 lines (90 loc) · 2.02 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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: 'Helvetica', Arial, sans-serif;
background-color: #f7f7f7;
color: #333;
overflow: hidden; /* Hide scrollbars */
}
.container {
text-align: center;
position: relative; /* Container for relative positioning of buttons */
width: 100%;
height: 100%;
}
h1 {
margin-bottom: 30px;
font-size: 24px;
font-weight: 400;
}
.button {
padding: 12px 0;
font-size: 16px;
margin: 10px 0;
cursor: pointer;
width: 150px; /* Fixed width */
background-color: #E8E8E8;
color: #333;
border: none;
border-radius: 0; /* Squared buttons */
transition: background-color 0.3s ease;
position: absolute; /* Position absolutely within the container */
}
#yesBtn {
background-color: #FFC0CB;
left: 50%; /* Center the button horizontally */
transform: translateX(-50%); /* Adjust for center alignment */
}
#noBtn {
background-color: #A4DDED;
/* Initially place the button in the center */
left: 50%;
top: 50%;
transform: translate(-50%, -50%); /* Center the button */
}
.button:hover {
background-color: #E0E0E0;
transform: scale(1.03); /* Slight zoom on hover */
}
.button:active {
transform: scale(0.98); /* Slight shrink on click */
}
/* body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
font-family: 'Helvetica', Arial, sans-serif;
background-color: #f0f0f0;
text-transform: lowercase;
}
.container {
text-align: center;
}
h1 {
margin-bottom: 20px;
}
.button {
padding: 10px 20px;
font-size: 18px;
margin: 10px;
cursor: pointer;
border: none;
border-radius: 5px;
color: white;
transition: background-color 0.3s ease;
}
#yesBtn {
background-color: orange; // YES in orange
}
#noBtn {
background-color: #B19CD9; // NO in lila
position: absolute;
}
.button:hover {
opacity: 0.8; // Hover FX
} */