-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
133 lines (110 loc) · 2.54 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
/* Global Styles */
/* Style the navbar */
.navbar {
background-color: #333; /* Background color of the navbar */
overflow: hidden; /* Ensure content doesn't overflow */
text-align: center; /* Center the content horizontally */
}
/* Style the navbar links */
.navbar ul {
list-style-type: none; /* Remove bullet points from the list */
margin: 0; /* Remove default margin */
padding: 0; /* Remove default padding */
}
.navbar ul li {
display: inline-block; /* Display the list items inline */
}
.navbar ul li a {
display: block; /* Make the links display as blocks for easier styling */
color: white; /* Text color of the links */
text-decoration: none; /* Remove default underline */
padding: 20px; /* Padding around the links */
font-size: 20px; /* Increase the font size */
}
/* Change the color of links on hover */
.navbar ul li a:hover {
background-color: #555; /* Background color of the links on hover */
}
/* Add more CSS styles as needed */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f2f2f2;
}
header {
background-color: #333;
color: #fff;
padding: 20px 0;
text-align: center;
}
.course-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 20px;
}
.course-card {
background-color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 8px;
overflow: hidden;
margin: 10px;
width: 300px;
}
.course-card img {
width: 100%;
height: 200px;
object-fit: cover;
}
.course-card h2 {
font-size: 1.5rem;
margin: 15px;
}
.course-card p {
margin: 0 15px 15px;
}
.course-card button {
background-color: #4CAF50;
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 10px 15px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.course-card button:hover {
background-color: #45a049;
}
.search-filter {
margin-bottom: 20px;
}
/* Responsive Styles */
@media (max-width: 768px) {
.course-card {
width: calc(50% - 20px);
}
}
@media (max-width: 576px) {
.course-card {
width: calc(100% - 20px);
}
}
.search-filter {
margin-bottom: 20px;
font-size: 20px; /* Increase font size */
}
.search-filter select {
padding: 10px; /* Increase padding */
}
#searchInput{
padding: 10px;
}
#searchButton{
padding: 10px;
}