-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcourses_enrolled.css
More file actions
178 lines (153 loc) · 3.5 KB
/
courses_enrolled.css
File metadata and controls
178 lines (153 loc) · 3.5 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
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Open Sans', sans-serif; /* Using Open Sans font */
}
html {
font-size: 16px;
-webkit-font-smoothing: antialiased;
}
body {
margin: 0;
padding: 0;
background: #2c3e50; /* Dark slate background */
color: #ecf0f1; /* Default light gray text for contrast */
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
font-size: 1rem;
}
/* Header Section */
header {
width: 100%;
background: linear-gradient(135deg, #2980b9, #16a085); /* Gradient from blue to teal */
text-align: center;
padding: 50px 20px;
box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.3); /* Soft shadow */
}
header .header-container {
display: inline-block;
text-align: center;
}
header h1 {
font-size: 3rem;
font-weight: 700; /* Bold header */
color: #ffffff;
text-transform: uppercase;
letter-spacing: 4px;
}
header h2 {
font-size: 1.5rem;
font-weight: 400; /* Normal weight for subtitle */
color: #ffffff; /* Light color to contrast with background */
margin-top: 10px;
letter-spacing: 1px;
}
/* Main Content Section */
main {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
flex: 1;
padding: 20px;
}
.student-dashboard {
width: 100%;
max-width: 1200px;
padding: 30px;
background-color: rgba(44, 62, 80, 0.85); /* Dark semi-transparent background */
border-radius: 10px;
box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.3); /* Soft shadow */
backdrop-filter: blur(10px);
}
.greeting {
font-size: 1.5rem;
font-weight: 600;
color: #1abc9c; /* Teal greeting color */
text-align: center;
margin-bottom: 30px;
}
.course-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 40px;
text-align: left;
}
.course-table td {
padding: 15px;
border: 1px solid #34495e; /* Dark border */
}
.course-table a {
text-decoration: none;
color: #1abc9c; /* Teal links */
font-size: 1.1rem;
font-weight: 500;
padding: 5px 10px;
border: 2px solid #1abc9c; /* Teal border */
border-radius: 6px;
transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.course-table a:hover {
background-color: #1abc9c; /* Teal background on hover */
color: #ffffff;
transform: translateY(-4px); /* Slight lift effect */
}
/* No records message */
.no-records, .no-session {
font-size: 1.2rem;
color: #ecf0f1;
text-align: center;
margin-top: 20px;
}
/* Footer Section */
footer {
width: 100%;
text-align: center;
padding: 20px 0;
background-color: #34495e; /* Footer background */
color: #ecf0f1; /* Text color */
box-shadow: 0px -6px 15px rgba(0, 0, 0, 0.1); /* Soft footer shadow */
position: fixed;
bottom: 0;
left: 0;
}
/* Hover Effects */
footer:hover {
background-color: #2980b9; /* Blue color on hover */
}
/* Responsive Design */
@media (max-width: 768px) {
.course-table {
font-size: 0.9rem;
}
.course-table a {
font-size: 1rem;
}
.student-dashboard {
padding: 20px;
}
.greeting {
font-size: 1.2rem;
}
}
@media (max-width: 480px) {
header h1 {
font-size: 2.5rem;
}
header h2 {
font-size: 1.2rem;
}
.student-dashboard {
padding: 15px;
}
.course-table td {
padding: 10px;
}
.greeting {
font-size: 1rem;
}
}