-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
107 lines (93 loc) · 2.12 KB
/
Copy pathstyle.css
File metadata and controls
107 lines (93 loc) · 2.12 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
body {
font-family: Arial, sans-serif;
margin: 0;
background: #f8f9fa;
color: #333;
}
header {
background: #0b3d91;
color: white;
padding: 1.5rem;
text-align: center;
}
main {
padding: 1.5rem;
padding-bottom: 70px; /* Adjust to prevent footer overlap */
}
.updates, .links {
margin-bottom: 2rem;
background: #ffffff; /* Added a background for sections for better visual separation */
padding: 1.5rem;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}
h2 {
color: #0b3d91;
border-bottom: 2px solid #e9ecef;
padding-bottom: 0.5rem;
margin-bottom: 1.5rem;
}
h3 { /* Added styling for sub-headings */
color: #0b3d91;
margin-top: 1.5rem;
margin-bottom: 1rem;
}
ul, ol {
list-style-type: none;
padding: 0;
}
li {
background: #e9ecef;
margin: 0.5rem 0;
padding: 0.75rem;
border-radius: 5px;
transition: background 0.3s ease;
}
li:hover {
background: #dee2e6; /* Slightly darker on hover */
}
.card-container {
display: grid;
gap: 1rem;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.card {
background: white;
padding: 1rem;
text-align: center;
text-decoration: none;
color: #0b3d91;
font-weight: bold;
border: 2px solid #0b3d91;
border-radius: 8px;
transition: 0.3s ease; /* Added ease for smoother transition */
display: flex; /* Use flex for vertical centering of text */
align-items: center; /* Vertically center text */
justify-content: center; /* Horizontally center text */
min-height: 70px; /* Ensure cards have a minimum height */
}
.card:hover {
background: #0b3d91;
color: white;
transform: translateY(-3px); /* Slight lift effect on hover */
box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Enhance shadow on hover */
}
footer {
background: #343a40;
color: white;
text-align: center;
padding: 1rem;
position: fixed;
width: 100%;
bottom: 0;
box-shadow: 0 -2px 5px rgba(0,0,0,0.1); /* Shadow for footer */
}
/* New style for inline links within content */
.inline-link {
color: #0b3d91;
text-decoration: underline;
font-weight: bold;
}
.inline-link:hover {
color: #072a6b;
}