-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
98 lines (83 loc) · 1.87 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
94
95
96
97
98
* {
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-image: url('https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&q=80&w=1920'); /* Full HD image */
background-size: cover; /* Ensures the image covers the entire background */
background-position: center; /* Centers the image */
margin: 0;
padding: 0;
}
.container {
max-width: 500px;
margin: 50px auto;
background: rgba(255, 255, 255, 0.9); /* Semi-transparent background */
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
color: #333;
}
.input-container {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}
input {
flex: 1;
padding: 12px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
}
button {
padding: 12px 20px;
background-color: #007bff;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
margin-left: 10px;
transition: background-color 0.3s;
}
button:hover {
background-color: #0056b3;
}
ul {
list-style: none;
padding: 0;
}
li {
padding: 15px;
border-bottom: 1px solid #ddd;
display: flex;
justify-content: space-between;
align-items: center;
}
li button {
background-color: #dc3545;
}
li button:hover {
background-color: #c82333;
}
footer {
text-align: center;
margin-top: 20px;
font-size: 14px;
color: #777;
}
@media (max-width: 600px) {
.input-container {
flex-direction: column;
}
input {
margin-bottom: 10px;
}
button {
width: 100%;
}
}