-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
126 lines (110 loc) · 2.34 KB
/
style.css
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
/* General and Reset Styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body, html {
font-family: 'MS Sans Serif', sans-serif;
background-color: #008080; /* Classic teal desktop color */
overflow: hidden; /* Hide scrollbars */
height: 100vh;
}
/* Desktop Style */
.desktop {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
/* Window Frame Style */
.window-body {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns */
gap: 20px;
padding: 20px;
overflow-y: auto;
height: calc(100vh - 60px);
}
.inner-window {
border: 2px solid #000;
background-color: #c0c0c0;
padding: 10px;
min-height: 200px;
}
.inner-window-title-bar {
background: linear-gradient(to right, #000080, #1084d0);
color: white;
padding: 3px 6px;
font-weight: bold;
cursor: default;
}
/* Title Bar */
.title-bar {
background: linear-gradient(to right, #000080, #1084d0); /* Gradient title bar */
color: white;
padding: 5px 10px;
display: flex;
justify-content: space-between;
align-items: center;
cursor: default;
}
.title-bar-text {
font-weight: bold;
}
/* Title Bar Buttons */
.title-bar-controls button {
background: #c0c0c0;
border: 1px solid #fff;
padding: 3px 6px;
margin-left: 3px;
cursor: pointer;
font-size: 0.8rem;
}
.title-bar-controls button:hover {
background: #e0e0e0;
}
.title-bar-controls button:active {
transform: translateY(1px);
}
/* Window Body */
.window-body {
padding: 20px;
background: #fff;
height: 500px; /* Fixed height */
overflow-y: auto; /* Enable vertical scrolling */
}
/* Taskbar */
.taskbar {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background: #c0c0c0;
display: flex;
align-items: center;
padding: 5px 10px;
box-shadow: 0 -2px 2px rgba(0, 0, 0, 0.2);
}
.start-button {
background: #000080;
color: white;
padding: 5px 15px;
font-weight: bold;
cursor: pointer;
border: none;
}
.start-button:hover {
background: #0000a0;
}
/* Responsive Design */
@media (max-width: 768px) {
.window-frame {
width: 95%;
margin: 10px;
}
.window-body {
height: auto;
}
}
/* Additional Styling as Needed for Content */