-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
107 lines (93 loc) · 2.9 KB
/
Copy pathstyle.css
File metadata and controls
107 lines (93 loc) · 2.9 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
/* COLORS */
:root{
--bg: #f4f8ff;
--panel: #ffffff;
--muted: #6b7280;
--blue-700: #1e40af;
--blue-500: #3b82f6;
--accent: #0ea5e9;
--shadow: 0 12px 30px rgba(14,165,233,0.06);
--radius: 12px;
}
/* GLOBAL */
body{
margin:0;
background:linear-gradient(180deg,var(--bg),#eef6ff);
font-family:Inter,Arial;
color:#042a61;
}
.wrap{max-width:1200px;margin:28px auto;padding:20px}
/* HEADER */
header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.brand{display:flex;gap:14px;align-items:center}
.logo{
width:60px;height:60px;border-radius:12px;
background:linear-gradient(135deg,var(--blue-700),var(--accent));
display:grid;place-items:center;color:white;
font-size:18px;font-weight:900;box-shadow:var(--shadow)
}
.title h1{margin:0;font-size:1.2rem}
.title p{margin:0;color:var(--muted);font-size:0.9rem}
.status-pill{
background:linear-gradient(90deg,#ecfeff,#f0fbff);
padding:8px 12px;border-radius:50px;
border:1px solid rgba(14,165,233,0.06);
display:flex;gap:8px;align-items:center;
color:#065f46;font-weight:700;
}
/* CONTROLS */
.controls{
display:flex;gap:12px;align-items:center;margin:14px 0;flex-wrap:wrap;
}
.search{
display:flex;gap:8px;align-items:center;
background:var(--panel);padding:10px;border-radius:50px;
width:680px;max-width:100%;box-shadow:var(--shadow)
}
.search input,.search select{
border:0;outline:0;background:transparent;padding:8px 10px;font-size:0.95rem
}
.btn{
border:0;padding:10px 14px;border-radius:10px;
background:var(--blue-700);color:white;font-weight:700;
cursor:pointer;box-shadow:0 6px 18px rgba(37,99,235,0.12);
}
.btn.ghost{background:transparent;color:var(--blue-700);border:1px solid rgba(37,99,235,0.12)}
.btn.small{padding:8px 10px;font-size:0.9rem}
/* GRID */
.grid{
display:grid;grid-template-columns:1fr;gap:12px;
}
@media(min-width:1024px){
.grid{grid-template-columns:1fr 2fr 1fr}
}
.subgrid{
display:grid;grid-template-columns:1fr 1fr;gap:12px
}
@media(max-width:640px){
.subgrid{grid-template-columns:1fr}
}
.sidebar{display:flex;flex-direction:column;gap:12px}
/* CARDS */
.card{
background:var(--panel);padding:16px;border-radius:var(--radius);
box-shadow:var(--shadow);transition:0.2s;
}
.card:hover{transform:translateY(-6px)}
.avatar{
width:56px;height:56px;border-radius:10px;
display:grid;place-items:center;font-weight:800;color:white
}
.avatar.blue{background:linear-gradient(135deg,var(--blue-700),var(--blue-500))}
.muted{color:var(--muted);font-size:0.9rem}
.big{font-size:1.4rem;font-weight:900}
/* CHARTS */
canvas{max-width:100%;height:220px;margin-top:10px}
.sidebar canvas{height:250px}
/* WEATHER */
.weather-main{
display:flex;justify-content:space-between;align-items:center;
}
.weather-left{display:flex;gap:12px;align-items:center}
.weather-details{display:flex;gap:12px;margin-top:10px}
footer{text-align:center;color:var(--muted);margin-top:18px;font-size:0.9rem}