-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
139 lines (125 loc) · 2.97 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
134
135
136
137
138
139
/* Global styles */
body {
font-family: 'Roboto', sans-serif;
background-image: url('bg.jpg');
background-size: cover;
background-repeat: no-repeat; /* Prevent background image from repeating */
background-attachment: fixed;
background-color: #F7FAFC;
margin: 0;
padding: 0;
color: #354B5E;
line-height: 1.6;
}
.container {
max-width: 900px;
margin: 40px auto;
padding: 40px;
background-color: #FFFFFF;
box-shadow: 0 5px 15px rgba(83, 107, 123, 0.2);
border-radius: 10px;
position: relative;
}
.header {
background-image: linear-gradient(45deg, #398A9D, #2C6D7A);
padding: 30px 0;
text-align: center;
position: relative;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
.header h1 {
color: #fff;
font-size: 42px;
margin-bottom: 20px;
text-shadow: 2px 2px 4px rgba(83, 107, 123, 0.2);
}
/* Custom button styles */
.custom-button {
background-image: linear-gradient(45deg, #4AA8A1, #348C8C);
color: #fff;
border: none;
border-radius: 25px;
font-size: 20px;
padding: 12px 25px;
margin: 10px 20px;
cursor: pointer;
transition: all 0.4s ease-out;
box-shadow: 0 4px 10px rgba(83, 107, 123, 0.2);
}
.custom-button:hover {
background-image: linear-gradient(45deg, #61C0B7, #4AA8A1);
transform: translateY(-2px);
}
/* Subject details table */
.table-container {
margin-top: 30px;
overflow: hidden;
}
table {
width: 100%;
border-collapse: collapse;
}
table th, table td {
padding: 15px;
text-align: left;
border-bottom: 1px solid #e1eef3;
}
table th {
background-image: linear-gradient(45deg, #4AA8A1, #348C8C);
color: #fff;
}
tr:nth-child(odd){
background-color: #f5f5f5;
}
tr:hover{
color: #ffffff;
background-image: linear-gradient(45deg, #5b9c98, #348C8C);
}
/* Semester Label styles */
.semester-label {
display: inline-block;
background-color: #2C6D7A;
color: #FFFFFF;
padding: 8px 20px;
border-radius: 25px;
font-size: 20px;
margin-bottom: 20px;
box-shadow: 0 4px 8px rgba(83, 107, 123, 0.2);
text-align: center;
}
.semester-label:hover {
background-color: #398A9D;
cursor: pointer;
transform: translateY(-2px);
}
/* Modal styles */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(53, 75, 94, 0.8);
z-index: 10;
}
.modal-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #FFFFFF;
padding: 30px;
border-radius: 10px;
width: 80%;
max-width: 500px;
box-shadow: 0 5px 20px rgba(83, 107, 123, 0.3);
}
.modal h2 {
margin-top: 0;
font-size: 28px;
color: #4AA8A1;
border-bottom: 2px solid #4AA8A1;
padding-bottom: 10px;
}