{
font-family: 'VT323', monospace;
background: #6B6B6B;
color: #000;
margin: 0;
padding: 20px;
line-height: 1.4;
font-size: 20px;
position: relative;
overflow-x: hidden;
transition: all 0.3s ease;
}
body.dark-theme {
background: #222;
color: #fff;
}
body.dark-theme .desktop-container {
background: #333;
box-shadow: 5px 5px 0 #000;
}
body.dark-theme .system-window {
background: #444;
border-color: #000;
}
body.dark-theme .menu-button {
background: #555;
color: #fff;
border-color: #000;
}
body.dark-theme .menu-button:hover {
background: #777;
}
.desktop-container {
max-width: 800px;
margin: 0 auto;
background: #C0C0C0;
padding: 10px;
box-shadow: 5px 5px 0 #000;
position: relative;
z-index: 1;
}
.crt-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 9999;
background:
linear-gradient(rgba(192, 192, 192, 0.1) 50%, rgba(0, 0, 0, 0.1) 50%),
repeating-linear-gradient(0deg,
rgba(0,0,0,0.15) 0px,
rgba(0,0,0,0.15) 1px,
transparent 1px,
transparent 2px);
background-size: 100% 4px, auto 4px;
animation: crt-scanline 1s linear infinite;
}
@keyframes crt-scanline {
from { background-position: 0 0, 0 0; }
to { background-position: 0 100%, 0 4px; }
}
.system-window {
background: #FFF;
border: 3px solid #000;
margin: 10px 0;
padding: 15px;
position: relative;
box-shadow: 3px 3px 0 #000;
transition: box-shadow 0.3s, transform 0.3s;
}
.system-window::before {
content: '';
position: absolute;
top: 3px;
left: 3px;
right: 3px;
bottom: 3px;
border: 2px solid #808080;
}
header h1 {
font-size: 24px;
margin: 0;
text-align: center;
text-transform: uppercase;
letter-spacing: 2px;
position: relative;
z-index: 2;
}
.menu-bar {
display: flex;
gap: 15px;
list-style: none;
padding: 5px;
margin: 0;
background: #C0C0C0;
border: 2px solid #000;
position: relative;
}
.menu-button {
text-decoration: none;
color: #000;
padding: 8px 15px;
background: #FFF;
border: 2px solid #000;
transition: background 0.2s, color 0.2s, padding 0.2s;
}
.menu-button:hover {
background: #000;
color: #FFF;
box-shadow: inset -2px -2px 0 #808080;
}
.drag-handle {
background: #c0c0c0;
padding: 2px 5px;
border: 2px solid #000;
position: absolute;
right: 5px;
top: 5px;
cursor: move;
user-select: none;
width: 20px;
height: 20px;
text-align: center;
line-height: 16px;
z-index: 10;
}
.folder h2 {
cursor: pointer;
padding: 5px;
background: #eee;
border: 1px solid #000;
margin-top: 10px;
}
.file-item {
display: block;
padding: 5px 10px;
margin: 5px 0;
text-decoration: none;
color: #000;
background: #eee;
border: 1px solid #000;
transition: all 0.3s;
}
.file-item.highlighted {
background: #ffcc00;
transform: scale(1.05);
box-shadow: 2px 2px 0 #333;
}
.file-index {
font-size: 14px;
color: #666;
margin-left: 5px;
}
.dark-theme .file-item {
background: #555;
color: #fff;
border-color: #888;
}
.dark-theme .file-item.highlighted {
background: #775500;
}
.theme-button {
position: absolute;
top: 5px;
right: 30px;
background: transparent;
border: none;
font-size: 24px;
cursor: pointer;
z-index: 5;
}
/* Панель управления */
.control-panel {
margin-top: 20px;
padding: 10px;
}
.controls {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 10px;
}
.control-btn {
padding: 5px 10px;
background: #fff;
border: 2px solid #000;
cursor: pointer;
transition: all 0.2s;
}
.control-btn:hover {
background: #000;
color: #fff;
}
.dark-theme .control-btn {
background: #555;
color: #fff;
border-color: #888;
}
.dark-theme .control-btn:hover {
background: #777;
}
.jquery-info {
margin-top: 20px;
}
.info-item {
margin-bottom: 15px;
}
.info-header {
cursor: pointer;
background: #eee;
padding: 5px 10px;
margin: 0;
border: 1px solid #000;
position: relative;
}
.info-header::after {
content: '⮟';
position: absolute;
right: 10px;
transition: transform 0.3s;
}
.info-header.active::after {
transform: rotate(180deg);
}
.info-content {
padding: 10px;
border: 1px solid #000;
border-top: none;
display: none;
}
.dark-theme .info-header {
background: #555;
color: #fff;
border-color: #888;
}
.dark-theme .info-content {
background: #444;
border-color: #888;
}
code {
background: rgba(0, 0, 0, 0.1);
padding: 2px 5px;
border-radius: 3px;
font-family: monospace;
}
.dark-theme code {
background: rgba(255, 255, 255, 0.1);
}
.status-bar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 5px 10px;
}