-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
108 lines (93 loc) · 1.91 KB
/
style.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
body {
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
color: #333;
line-height: 1.6;
overflow-x: hidden;
margin: 0;
}
header {
text-align: center;
padding: 10px;
margin-bottom: 5px;
background-color: white;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
}
header h1 {
font-size: 30px;
font-weight: bold;
margin-top: 2px;
}
header p {
font-weight: bold;
margin-top: 2px;
font-size: 20px;
}
.container {
max-width: 900px;
margin: 0 auto;
padding: 20px;
}
.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
}
.card {
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
}
.card h2 {
font-size: 1.5rem;
font-weight: bold;
margin-bottom: 10px;
}
.card h3 {
font-size: 1.25rem;
margin-bottom: 10px;
color: #007bff;
}
.card a {
display: inline-block;
margin-top: 10px;
background-color: #007bff;
color: #fff;
padding: 8px 16px;
border-radius: 5px;
text-decoration: none;
transition: background-color 0.3s ease;
}
.card a:hover {
background-color: #0056b3;
}
footer {
text-align: center;
margin-top: 40px;
padding: 20px;
background-color: #333;
color: #fff;
font-size: 0.9rem;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
footer p {
margin: 10px;
font-size: 15px;
}
i {
color: white;
margin: 4px auto;
font-size: 20px;
padding: 6px;
}
i:hover {
font-size: 22px;
}