-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
111 lines (102 loc) · 1.78 KB
/
style.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
}
body{
display: flex;
height: 100vh;
overflow: hidden;
}
.container{
display: flex;
width: 100%;
}
.sidebar{
width: 250px;
background-color: #2c3e50;
color: #ecf0f1;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px 0;
}
.sidebar-header{
margin-bottom: 20px;
}
.sidebar-header h3{
color: #ecf0f1;
}
.sidebar-menu{
list-style: none;
width: 100%;
padding: 0;
}
.sidebar-menu li{
width: 100%;
}
.sidebar-menu a{
display: block;
padding: 15px 20px;
color: #ecf0f1;
text-decoration: none;
transition: background 0.3s;
}
.sidebar-menu a:hover{
background-color: #34495e;
}
.sidebar-menu a.active{
background-color: #34495e;
}
.main-content {
flex: 1;
background-color: #ecf0f1;
padding: 20px;
overflow-y: auto;
}
.main-header{
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.cards{
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.card{
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
flex: 1;
min-width: 200px;
max-width: calc(50% - 20px);
box-sizing: border-box;
}
.card h3{
margin-bottom: 4px;
}
body.dark-theme {
background-color: #2c3e50;
}
body.dark-theme .main-content {
background-color: #34495e;
color: #ecf0f1;
}
body.dark-theme .card {
background-color: #2c3e50;
color: #ecf0f1;
box-shadow: 0 2px 5px rgba(255,255,255,0.1);
}
button{
width: 20%;
padding: 10px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}