forked from Aditya-Experiments/Graph-Algorithm-Visualizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
105 lines (96 loc) · 2.14 KB
/
Copy pathstyle.css
File metadata and controls
105 lines (96 loc) · 2.14 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
/* Aditya Pandey - Base layout and structure */
body {
text-align: center;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background: #f0f0f0;
}
header {
background: linear-gradient(45deg, #4CAF50, #45a049);
color: white;
padding: 20px 0;
text-align: center;
font-size: 24px;
font-weight: bold;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
main {
display: flex;
flex-direction: column;
align-items: center;
margin: 20px;
}
footer {
background: #333;
color: white;
text-align: center;
padding: 10px 0;
font-size: 14px;
margin-top: 20px;
position: static;
width: 100%;
}
/* Kartik Bisht - Canvas styling and animations */
canvas {
border: 3px solid #333;
background: linear-gradient(135deg, #e0e0e0, #ffffff);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
margin: 20px auto;
display: block;
transition: transform 0.3s ease;
}
canvas:hover {
transform: scale(1.05);
}
.node {
font-weight: bold;
font-size: 16px;
fill: #333;
}
.edge-weight {
font-weight: bold;
font-size: 14px;
fill: #ff5722;
}
/* Tanmay Sagar - Popup styling and button hover effects */
button {
margin: 10px;
padding: 10px 15px;
cursor: pointer;
background: linear-gradient(45deg, #4CAF50, #45a049);
color: white;
border: none;
border-radius: 8px;
font-size: 16px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: background 0.3s ease, transform 0.2s ease;
}
button:hover {
background: linear-gradient(45deg, #45a049, #4CAF50);
transform: translateY(-2px);
}
.control-panel {
margin: 20px auto;
display: flex;
justify-content: center;
gap: 10px;
}
.control-panel button {
padding: 10px 15px;
font-size: 16px;
border-radius: 5px;
border: none;
cursor: pointer;
background: linear-gradient(45deg, #4CAF50, #45a049);
color: white;
transition: transform 0.2s ease, background 0.3s ease;
}
.control-panel button:hover {
transform: scale(1.05);
background: linear-gradient(45deg, #45a049, #4CAF50);
}
button.active {
background: #FF5722;
color: white;
}