-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
93 lines (84 loc) · 1.99 KB
/
styles.css
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
/* styles.css */
body, html {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden; /* Prevents scrollbars */
}
.full-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('/sorry1.jpg') no-repeat center center;
background-size: cover; /* Ensures the image covers the entire viewport */
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
}
button {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
padding: 10px 20px;
font-size: 16px;
background-color: rgba(0, 0, 0, 0);
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
z-index: 10; /* Ensure button is clickable and visible */
}
button:hover {
background-color: rgba(0, 0, 0, 0.9);
}
.overlay-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-size: 2rem;
text-align: center;
background-color: rgba(0, 0, 0, 0.5); /* Optional: adds a semi-transparent background to make the text stand out */
padding: 20px;
border-radius: 10px;
max-width: 90%;
box-sizing: border-box;
}
/* Responsive Design */
@media (max-width: 768px) {
.overlay-text {
font-size: 1.5rem;
padding: 15px;
}
button {
font-size: 14px;
padding: 8px 16px;
}
}
@media (max-width: 480px) {
.overlay-text {
font-size: 1.2rem;
padding: 10px;
}
button {
font-size: 12px;
padding: 6px 12px;
}
}
#pla{
background-color: black;
color: white;
font-weight: bold;
border: none;
padding: 15px 30px; /* Increased padding for a larger button */
border-radius: 5px;
cursor: pointer;
font-size: 30px; /* Larger font size */
transition: background-color 0.3s ease;
}