File size: 2,434 Bytes
cfae0ee
 
c3f593b
cfae0ee
 
 
 
 
 
 
 
 
 
 
 
01e68d9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96efde3
 
 
 
 
01e68d9
cfae0ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c3f593b
 
cfae0ee
 
c3f593b
 
cfae0ee
 
c3f593b
 
cfae0ee
 
c3f593b
 
cfae0ee
 
c3f593b
cfae0ee
 
 
 
 
ef13d78
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cfae0ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

pre, code {
    font-family: 'Fira Code', monospace;
}

/* Dark mode transition */
.dark pre, .dark code {
    background-color: #1a202c;
}
/* Mobile menu styles */
@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1e40af;
        flex-direction: column;
        padding: 1rem;
        z-index: 1000;
    }
    
    nav a {
        padding: 0.5rem 1rem;
        display: block;
    }
    
    nav.flex {
        display: flex;
    }
}
/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.dark ::-webkit-scrollbar-track {
    background: #2d3748;
}

.dark ::-webkit-scrollbar-thumb {
    background: #4a5568;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #718096;
}
/* Animation for buttons */
button {
    transition: all 0.2s ease-in-out;
}

/* Console output animations */
#output-console div {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Console scrollbar */
#output-console::-webkit-scrollbar {
    width: 6px;
}

#output-console::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.2);
    border-radius: 3px;
}

#output-console::-webkit-scrollbar-track {
    background-color: transparent;
}
/* Tooltip styles */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .editor-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        margin-bottom: 1rem;
    }
}