-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
78 lines (68 loc) · 1.59 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
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
/* General Styles */
body {
background: linear-gradient(to right, #ff7e5f, #feb47b);
font-family: 'Roboto', sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
/* Header styling */
header {
width: 100%;
position: relative;
}
/* Card Styling */
.card {
background: #fff;
border: none;
box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease-in-out;
}
.card:hover {
transform: scale(1.03);
}
/* Card Header Styling */
.card-header {
background: #007bff;
color: #fff;
font-weight: 700;
font-size: 1.5rem;
border-bottom: 2px solid #0056b3;
}
/* Button Styling */
button {
background-color: #28a745;
border: none;
padding: 12px 24px;
font-size: 1.2rem;
color: #fff;
border-radius: 5px;
transition: background-color 0.3s ease, transform 0.2s ease;
}
button:hover {
background-color: #218838;
transform: scale(1.05);
}
/* Text field styling */
input[type="text"] {
border-radius: 5px;
border: 1px solid #ccc;
padding: 10px;
font-size: 1rem;
transition: border-color 0.3s ease;
}
input[type="text"]:focus {
border-color: #007bff;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
/* Card Footer text */
.card-footer {
font-weight: 500;
font-size: 1rem;
background: #f1f1f1;
border-top: 2px solid #ddd;
}