-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
109 lines (95 loc) · 2.13 KB
/
style.css
File metadata and controls
109 lines (95 loc) · 2.13 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
/* Base Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #121212; /* Dark background */
color: #E0E0E0; /* Light text */
transition: background-color 0.3s, color 0.3s; /* Smooth transition */
min-height: 100vh;
display: flex;
flex-direction: column;
}
header {
background-color: #1E1E1E;
color: #BB86FC;
padding: 20px;
border-bottom: 1px solid #333;
}
header h1 {
margin-bottom: 10px;
}
nav ul {
list-style: none;
display: flex;
gap: 15px;
}
nav ul li a {
color: #BB86FC;
text-decoration: none;
transition: color 0.3s;
}
nav ul li a:hover {
color: #3700B3;
}
main {
flex: 1;
padding: 20px;
max-width: 900px;
margin: 0 auto;
}
.overview-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 20px;
margin-top: 20px;
}
.card {
background-color: #1F1B24;
padding: 30px 20px;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
text-align: center;
font-weight: bold;
font-size: 1.3em;
color: #BB86FC;
text-decoration: none;
transition: background-color 0.3s, box-shadow 0.3s;
user-select: none;
}
.card:hover {
background-color: #3700B3;
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
cursor: pointer;
}
.charts {
background-color: #1F1B24;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
footer {
background-color: #1E1E1E;
color: #BB86FC;
text-align: center;
padding: 15px;
margin-top: 30px;
font-size: 0.9em;
}
header {
/* Use flexbox on the header to align items */
display: flex;
justify-content: space-between; /* Pushes h1 to the left and nav to the right */
align-items: center; /* Vertically centers the items */
}
header nav ul {
list-style: none; /* Removes bullet points */
padding: 0;
margin: 0;
display: flex; /* Makes the list items a flex container */
justify-content: center; /* Centers the links horizontally */
gap: 20px; /* Adds space between the links */
}