-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCourse.css
More file actions
98 lines (86 loc) · 1.61 KB
/
Copy pathCourse.css
File metadata and controls
98 lines (86 loc) · 1.61 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
background-color: #f2f2f2;
padding: 20px;
}
/* Header styling */
.header {
background-color: #007BFF;
color: white;
padding: 20px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
border-radius: 10px;
gap: 20px;
flex-wrap: nowrap; /* Prevent stacking */
overflow-x: auto; /* Prevent overflow on very small screens */
}
.header .academy-name,
.header {
font-weight: bold;
font-size: 1.2rem;
white-space: nowrap;
}
.header .course-title {
font-size: 1.8rem;
font-weight: bold;
text-align: center;
flex: 1;
white-space: nowrap;
}
/* Course content box */
.course-box {
background-color: #ffffff;
margin-top: 30px;
padding: 25px;
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.course-box h2 {
color: #007BFF;
margin-bottom: 15px;
}
.course-description {
font-size: 1rem;
color: #333;
margin-bottom: 25px;
}
/* Chapter styling */
.chapter-box {
background-color: #ffffff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
margin-bottom: 20px;
border-left: 5px solid #007BFF;
}
.chapter-title {
font-weight: bold;
color: #222;
margin-bottom: 8px;
font-size: 1.1rem;
}
.chapter-detail {
color: #555;
font-size: 0.96rem;
}
/* Responsive design (not changing header layout now) */
@media (max-width: 768px) {
.course-description,
.chapter-detail {
font-size: 1rem;
text-align: justify;
}
}
/* Link styling */
a {
text-decoration: none;
color: inherit;
}