-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
172 lines (148 loc) · 3.38 KB
/
Copy pathstyles.css
File metadata and controls
172 lines (148 loc) · 3.38 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
body {
background-color: #000000;
color: #ffffff;
font-family: Arial, sans-serif;
margin: 0;
padding: 10px;
width: 350px;
height: 300px;
}
/* Popup Container */
#popup-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100%;
}
/* Loading Animation */
#loading-container {
display: flex;
justify-content: center;
align-items: center;
}
.loading p {
font-size: 16px;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
}
.dot {
animation: bounce 1.5s infinite;
}
.dot:nth-child(1) {
animation-delay: 0s;
}
.dot:nth-child(2) {
animation-delay: 0.2s;
}
.dot:nth-child(3) {
animation-delay: 0.4s;
}
@keyframes bounce {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-5px);
}
}
/* Hint and Navigation Containers */
#hint-container {
margin-top: 10px;
flex-grow: 1;
display: none;
text-align: center;
}
#hint {
font-size: 14px;
margin-bottom: 10px;
}
#time-complexity {
display: none;
margin-top: 10px;
font-size: 14px;
color: #ffffff; /* White text for the complexity explanation */
}
.leetcode-button {
display: inline-flex; /* Flex for proper alignment */
align-items: center; /* Center icon and text */
justify-content: center; /* Center content horizontally */
text-decoration: none;
border-radius: 9999px; /* Pill-shaped button */
padding: 10px 20px;
font-size: 16px;
font-weight: 500;
line-height: 1.5;
color: #ffffff; /* White text */
background-color: #1f2937; /* Dark gray background */
transition: background-color 0.2s ease, color 0.2s ease;
cursor: pointer;
border: 1px solid #374151; /* Subtle border */
}
.leetcode-button:hover {
background-color: #374151; /* Slightly lighter on hover */
color: #ffffff;
}
.leetcode-button .icon {
margin-right: 8px;
height: 20px;
width: 20px;
flex-shrink: 0; /* Prevent icon resizing */
vertical-align: middle;
color: inherit; /* Match text color */
}
/* Flex alignment for consistent icon-text placement */
.flex {
display: flex;
align-items: center; /* Perfectly align icon and text vertically */
justify-content: center;
}
/* Navigation Buttons */
.navigation-buttons {
display: flex;
justify-content: center; /* Center navigation buttons */
gap: 10px; /* Space between buttons */
margin-top: 10px; /* Add space above navigation buttons */
}
.leetcode-button.dark-mode .icon {
color: #ffffff; /* White icon for dark mode */
}
/* Problem Title */
#problem-title {
font-size: 18px;
font-weight: bold;
text-align: center;
margin-bottom: 20px;
}
/* Algorithm Reveal */
#algorithm-container {
margin-top: 10px;
font-size: 14px;
font-style: italic;
display: flex;
flex-direction: column;
align-items: center;
}
#algorithm {
display: none;
margin-top: 10px;
font-size: 14px;
color: #ffffff; /* White text for algorithm */
}
#hint-box {
background-color: #374151;
border: 2px solid #6b7280;
border-radius: 8px;
padding: 25px0px;
max-width: 80%;
margin: 0 auto;
color: #ffffff;
text-align: left;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#hint-box p {
font-size: 14px;
line-height: 1.6;
}