-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
97 lines (87 loc) · 1.84 KB
/
index.css
File metadata and controls
97 lines (87 loc) · 1.84 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
/* Global Styles */
body {
font-family: 'Times New Roman', serif;
background-color: #f4f4f9;
background-image: url(flag-pattern.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
color: #333;
margin: 0;
padding: 20px;
}
h1 {
text-align: center;
color: white;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
background-color: rgba(0, 0, 0, 0.5);
padding: 10px;
border-radius: 5px;
}
p {
text-align: center;
color: white;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
background-color: rgba(0, 0, 0, 0.4);
padding: 8px;
border-radius: 4px;
}
/* Form Container */
form {
max-width: 600px;
margin: 0 auto;
padding: 20px;
background-color: rgb(37, 37, 127);
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Fieldset */
fieldset {
border: none;
padding: 0;
}
/* Labels and Inputs */
label {
display: block;
margin-bottom: 10px;
color: white;
}
input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select {
width: 100%;
padding: 10px;
margin-top: 5px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 5px;
box-sizing: border-box;
font-size: 16px;
}
/* Radio Buttons and Checkboxes */
input[type="radio"],
input[type="checkbox"] {
margin-right: 10px;
}
legend {
font-weight: bold;
margin-top: 20px;
}
/* Submit Button */
input[type="submit"] {
background-color: #3498db;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
width: 100%;
box-sizing: border-box;
transition: background-color 0.3s ease;
}
input[type="submit"]:hover {
background-color: red;
}