-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
111 lines (93 loc) · 2.25 KB
/
style.css
File metadata and controls
111 lines (93 loc) · 2.25 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
110
111
body {
font-family: 'Segoe UI', Arial, sans-serif;
margin: 0;
padding: 0;
background: #f7f7fb;
}
body {
font-family: 'Segoe UI', Arial, sans-serif;
margin: 0;
padding: 0;
min-height: 100vh;
background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
/* Optional subtle pattern overlay */
background-image: url("https://www.transparenttextures.com/patterns/cubes.png"); /* you can choose other patterns from transparenttextures.com */
}
.header {
text-align: center;
background-color: #ff8c32;
color: #fff;
padding: 35px 0 18px 0;
margin-bottom: 30px;
border-radius: 0 0 20px 20px;
box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}
h1 {
font-size: 2.3rem;
font-weight: 700;
margin-bottom: 8px;
letter-spacing: 0.1em;
}
.subtitle {
font-size: 1.17rem;
font-weight: 400;
color: #fffde4;
margin-bottom: 0;
letter-spacing: 0.06em;
}
.algo-card {
width: 85%;
max-width: 800px;
margin: 28px auto;
border-radius: 16px;
box-shadow: 0 8px 24px rgba(0,0,0,0.06), 0 1.5px 4px rgba(0,0,0,0.03);
padding: 24px;
color: #fff;
font-size: 1.07rem;
overflow-x: auto;
line-height: 1.6;
}
.merge {
background: linear-gradient(120deg, #8f94fb, #4e54c8);
}
.quick {
background: linear-gradient(120deg, #ff5858, #f09819);
}
.bubble {
background: linear-gradient(120deg, #007cf0, #00dfd8);
}
.insertion {
background: linear-gradient(120deg, #e3342f, #fabf5a);
}
.selection {
background: linear-gradient(120deg, #10b981, #4fd1c5);
}
.radix {
background: linear-gradient(120deg, #6c5ce7, #00b894);
}
.binary {
background: linear-gradient(120deg, #6366f1, #ef4c84);
}
.fibonacci {
background: linear-gradient(120deg, #f39c12, #e67e22);
}
.linear {
background: linear-gradient(120deg, #00b4d8, #90be6d);
}
h1, h2 {
margin-bottom: 15px;
letter-spacing: 1px;
}
pre {
margin-top: 0;
background: rgba(0, 0, 0, 0.12);
padding: 12px;
border-radius: 10px;
overflow-x: auto;
color: #fff;
}
code {
color: #fff;
font-family: 'Fira Mono', 'Consolas', 'Monaco', monospace;
font-size: 1.03em;
}