-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
159 lines (134 loc) · 2.61 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
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
}
body {
background-color: #fafafa;
color: #333;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
min-height: 100vh;
}
main {
width: 100%;
max-width: 1000px;
padding: 20px;
}
header {
width: 100%;
background-color: #ffffff; /* Set header background color to white */
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
padding: 20px; /* Add padding for spacing */
text-align: left; /* Align title and subtitle to the left */
margin-bottom: 30px;
}
h1 {
font-size: 2.5rem;
color: #ff6347; /* Match the title color to orange */
margin-bottom: 0.5rem;
}
header p {
color: #666;
font-size: 1.1rem;
}
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
}
.card {
background: #fff;
border-radius: 12px;
padding: 20px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
h2 {
font-size: 1.8rem;
color: #ff6347;
margin-bottom: 10px;
}
h3 {
font-size: 1.2rem;
color: #444;
margin-top: 20px;
}
p, label {
color: #555;
line-height: 1.6;
}
a {
color: #ff6347;
text-decoration: none;
font-weight: bold;
}
a:hover {
text-decoration: underline;
}
img {
width: 100%;
border-radius: 8px;
margin: 10px 0;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
ul, ol {
margin: 10px 0 20px 20px;
color: #333;
padding-left: 15px;
}
form {
display: flex;
flex-direction: column;
gap: 15px;
}
fieldset {
border: none;
padding: 0;
}
input[type="text"] {
padding: 12px;
border: 1px solid #ddd;
border-radius: 6px;
font-size: 1rem;
transition: border-color 0.2s ease;
}
input[type="text"]:focus {
border-color: #ff6347;
outline: none;
}
button {
background-color: #ff6347;
color: #ffffff;
border: none;
padding: 12px 20px;
border-radius: 6px;
cursor: pointer;
font-size: 1rem;
font-weight: bold;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #ff7b64;
}
footer {
text-align: center;
margin-top: 40px;
color: #888;
font-size: 0.9rem;
}
footer a {
color: #888;
}
footer a:hover {
color: #ff6347;
}