-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
120 lines (103 loc) · 1.94 KB
/
style.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
/* Reset default margin and padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body styles */
body {
background-image: url('pink.jpeg'), linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
background-size: auto, cover;
background-position: center;
background-blend-mode: overlay; /* This blends the two backgrounds */
color: white;
}
/* Header styles */
header {
background-color: #15001d;
color: #fff;
text-align: center;
padding: 1rem;
}
/* Main styles */
main {
padding: 1rem;
}
/* Heading styles */
h1, h2, h3, h4 {
margin-bottom: 1rem;
color: white; /* Text color */
}
/* Image styles */
img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
/* Table styles */
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 1rem;
}
th, td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
th {
background-color: #270037;
color: #fff;
}
/* Form styles */
form {
background-color: rgba(0, 0, 0, 0.75); /* Background color for the form */
margin-bottom: 1rem;
padding: 1rem; /* Added padding for better appearance */
}
label {
display: block;
margin-bottom: 0.5rem;
}
select, button {
padding: 0.5rem;
font-size: 1rem;
margin-bottom: 0.5rem;
}
button {
background-color: #4e4e4e;
color: #fff;
border: none;
cursor: pointer;
}
button:hover {
background-color: #270037;
}
/* Footer styles */
footer {
background-color: #270037;
color: #fff;
text-align: center;
padding: 1rem;
}
/* Table caption styles */
caption {
font-size: 1.2rem;
font-weight: bold;
text-align: center;
padding: 0.5rem;
background-color: #270037;
color: #fff;
}
/* Media query for responsiveness */
@media (max-width: 768px) {
main {
padding: 0.5rem;
}
}
@media (max-width: 480px) {
header {
font-size: 1.5rem;
}
}