-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
93 lines (83 loc) · 1.47 KB
/
style.css
File metadata and controls
93 lines (83 loc) · 1.47 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
/* Background + fonts */
body {
margin: 0;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
text-align: center;
background: linear-gradient(135deg, #667eea, #764ba2);
color: #fff;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
}
h1 {
margin: 20px 0;
font-size: 28px;
letter-spacing: 1px;
color: #fff;
}
/* Controls styling */
.controls {
margin: 15px;
padding: 10px;
}
.controls input,
.controls button,
.controls select {
margin: 5px;
padding: 8px 14px;
border: none;
border-radius: 6px;
font-size: 14px;
}
button {
background: #4e54c8;
color: white;
cursor: pointer;
transition: 0.3s;
}
button:hover {
background: #6366f1;
transform: scale(1.05);
}
select {
background: #4e54c8;
color: #fff;
}
/* Bars container */
.bars {
display: flex;
align-items: flex-end;
justify-content: center;
height: 400px;
margin: 20px auto;
border-radius: 10px;
width: 90%;
background: rgba(255,255,255,0.15);
box-shadow: 0 8px 20px rgba(0,0,0,0.25);
padding: 10px;
}
/* Individual bars */
.bar {
background: #43cea2;
margin: 2px;
border-radius: 4px 4px 0 0;
position: relative;
display: flex;
align-items: flex-end;
justify-content: center;
transition: height 0.2s;
}
/* Labels on top of bars */
.label {
position: absolute;
top: -20px;
font-size: 12px;
font-weight: bold;
color: #fff;
}
footer {
margin: 10px 0;
font-size: 13px;
color: #eee;
}