-
Notifications
You must be signed in to change notification settings - Fork 140
Expand file tree
/
Copy pathBookMedicinesOnline.css
More file actions
145 lines (130 loc) · 2.57 KB
/
Copy pathBookMedicinesOnline.css
File metadata and controls
145 lines (130 loc) · 2.57 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
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
}
body {
background: linear-gradient(to right, #74ebd5, #ACB6E5);
display: flex;
justify-content: center;
padding: 40px 20px;
}
.container {
max-width: 800px;
width: 100%;
background-color: #fff;
border-radius: 20px;
box-shadow: 0 15px 40px rgba(0,0,0,0.2);
overflow: hidden;
}
h1 {
text-align: center;
color: #333;
background: #74ebd5;
padding: 25px 0;
font-size: 32px;
font-weight: 700;
text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
border-bottom: 2px solid #ACB6E5;
}
form {
padding: 30px 40px;
display: flex;
flex-direction: column;
gap: 20px;
}
fieldset {
border: 2px solid #74ebd5;
border-radius: 12px;
padding: 20px;
transition: border-color 0.3s ease;
}
fieldset:hover {
border-color: #ACB6E5;
}
legend {
font-weight: 700;
color: #333;
padding: 0 10px;
font-size: 18px;
}
label {
display: block;
margin-bottom: 8px;
font-weight: 500;
color: #555;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="month"],
input[type="date"],
input[type="file"],
select,
textarea {
width: 100%;
padding: 12px 15px;
margin-bottom: 15px;
border: 2px solid #ccc;
border-radius: 10px;
font-size: 16px;
transition: all 0.3s ease;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="month"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
border-color: #74ebd5;
outline: none;
box-shadow: 0 0 10px rgba(116, 235, 213, 0.4);
}
input[type="submit"] {
width: 100%;
padding: 15px;
background: #74ebd5;
border: none;
border-radius: 12px;
font-size: 18px;
font-weight: 700;
color: #fff;
cursor: pointer;
transition: all 0.3s ease;
}
input[type="submit"]:hover {
background: #ACB6E5;
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
form {
padding: 20px;
}
input[type="submit"] {
font-size: 16px;
}
h1 {
font-size: 28px;
padding: 20px 0;
}
}
@media (max-width: 480px) {
form {
padding: 15px;
}
fieldset {
padding: 15px;
}
h1 {
font-size: 24px;
padding: 15px 0;
}
}