Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
148 lines (130 loc) · 2.72 KB
/
Copy pathstyles.css
File metadata and controls
148 lines (130 loc) · 2.72 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
/* General Styles */
body {
font-family: 'Poppins', sans-serif;
background: url('background.jpg') no-repeat center center fixed;
background-size: cover;
margin: 0;
padding: 0;
text-align: center;
color: black;
}
/* Overlay to make text readable */
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: -1;
}
/* Header */
h1 {
color: white;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
font-size: 2.5rem;
margin-top: 20px;
animation: fadeIn 1s ease-in-out;
}
/* Centered Buttons */
.button-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 15px;
margin-top: 30px;`
}
/* Stylish Buttons */
button, .btn {
display: block;
margin: 10px auto;
padding: 12px 20px;
width: 220px;
text-align: center;
background-color: #4CAF50;
border: none;
color: white;
font-size: 18px;
font-weight: bold;
cursor: pointer;
border-radius: 8px;
transition: all 0.3s ease-in-out;
}
button:hover, .btn:hover {
transform: scale(1.05);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
background-color: #45a049;
}
/* Modal Styling */
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 350px;
background-color: white;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
padding: 20px;
border-radius: 10px;
text-align: center;
color: black;
}
/* Modal Content */
.modal-content {
text-align: center;
}
/* Input Fields */
.modal input {
width: 80%;
padding: 10px;
margin-top: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
/* Modal Actions */
.modal-actions {
margin-top: 15px;
display: flex;
justify-content: space-around;
}
#remove-btn, #close-btn {
padding: 10px;
width: 100px;
background-color: #f44336;
border: none;
color: white;
font-size: 14px;
cursor: pointer;
border-radius: 5px;
transition: all 0.3s ease-in-out;
}
#close-btn {
background-color: #777;
}
#remove-btn:hover {
background-color: #d32f2f;
}
#close-btn:hover {
background-color: #555;
}
/* Remove underline from all buttons */
/* Remove underline from all links inside buttons */
a {
text-decoration: none;
}
/* Ensure buttons and links inside buttons do not show underline */
button a {
text-decoration: none;
}
/* Prevent underline on hover as well */
a:hover, button a:hover {
text-decoration: none;
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}