-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstudentperformance.css
More file actions
72 lines (65 loc) · 1.86 KB
/
studentperformance.css
File metadata and controls
72 lines (65 loc) · 1.86 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
/* Basic Reset & Body Styling */
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
background-color: #f4f7f6; /* Light gray background */
color: #333;
line-height: 1.6;
}
/* Navigation Bar Styling */
.navbar {
background-color: #2c3e50; /* Dark blue-gray */
color: white;/*added*/
padding: 15px 0;/*added*/
/*overflow: hidden;*/
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.navbar ul {
list-style-type: none;
margin: 0;
padding: 0;
/* display: flex; /* Use flexbox for horizontal layout */
/*justify-content: center; /* Center the navigation items */
/* flex-wrap: wrap; /* Allow items to wrap on smaller screens */
text-align: center;/*added*/
}
.navbar ul li{ /*added*/
display: inline-block;
margin-right: 30px;
}
.navbar ul li a {
/* display: block;*/
color: white;
/* text-align: center;*/
padding: 10px 15px;
text-decoration: none;
transition: background-color 0.3s ease, color 0.3s ease;
/*font-weight: 400;*/
white-space: nowrap; /* Prevents text from breaking into multiple lines */
border-radius: 5px;/*added*/
}
.navbar ul li a:hover {
background-color: #3498db; /* Slightly lighter on hover */
color: white; /* Light gray text on hover */
}
.navbar ul li a.active {
background-color: #3498db; /* Greenish-blue for active link */
color: white;
/*font-weight: 700;*/
}
/* Special styling for logout button, pushed to the far right if space allows */
.navbar ul li.last-child {
float: right;
margin-right: 20px;
}
/* Basic Responsiveness for smaller screens */
@media (max-width: 768px) {
.navbar ul {
flex-direction: column; /* Stack navigation items vertically */
align-items: center; /* Center items when stacked */
}
.navbar li.logout {
margin-left: 0; /* Remove auto margin when stacked */
}
}