-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
94 lines (81 loc) · 1.41 KB
/
style.css
File metadata and controls
94 lines (81 loc) · 1.41 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: lightgray;
font-family: Verdana, Geneva, Tahoma, sans-serif;
color: #333;
text-align: center;
line-height: 1.5;
}
ul {
list-style-type: none;
padding: 0;
}
ul li {
padding: 5px;
background-color: #333;
color: white;
border-radius: 5px;
margin: 10px 0;
}
header {
background-color: #333;
color: white;
padding: 1rem;
}
.container {
width: 800px;
margin: 20px auto;
padding: 20px;
background-color: white;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#my-form {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 5px;
}
#my-form label {
display: inline-block;
margin: 10px 0;
}
#my-form input[type="text"],
#my-form input[type="email"] {
width: 100%;
padding: 10px;
margin: 5px 0;
border: 1px solid #ccc;
border-radius: 5px;
}
.btn {
background-color: #333;
color: white;
padding: 10px 30px;
margin: 10px 0;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.btn:hover {
background-color: #555;
}
.btn:active {
background-color: #111;
}
.bg-dark {
background-color: #333;
color: white;
}
.error {
background: red;
color: #fff;
padding: 6px;
margin: 6px;
border-radius: 5px;
}