style(update): Updated the styling amd layout to be much better!

This commit is contained in:
2026-04-29 01:16:17 +03:00
parent cb026d4fd1
commit 82acaffdd8
9 changed files with 2475 additions and 863 deletions

View File

@@ -1,16 +1,16 @@
.win98-window {
box-sizing: border-box;
display: flex;
flex-direction: column;
color: #000000;
background: var(--w98-gray);
border-top: 2px solid #ffffff;
border-left: 2px solid #ffffff;
border-right: 2px solid #000000;
border-bottom: 2px solid #000000;
box-shadow:
inset -1px -1px 0 #808080,
inset 1px 1px 0 #dfdfdf;
background-color: #c0c0c0;
background-image:
linear-gradient(180deg, rgba(255,255,255,.34), rgba(0,0,0,.06)),
repeating-linear-gradient(45deg, rgba(255,255,255,.12) 0 1px, transparent 1px 5px);
border-top: 1px solid #ffffff;
border-left: 1px solid #ffffff;
border-right: 1px solid #000000;
border-bottom: 1px solid #000000;
box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #dfdfdf, 5px 6px 0 rgba(0,0,0,.5);
}
.win98-titlebar {
@@ -18,14 +18,23 @@
align-items: center;
justify-content: space-between;
height: 22px;
box-sizing: border-box;
margin: 2px;
padding: 2px 3px 2px 6px;
color: #ffffff;
background: var(--w98-blue-gradient);
background-size: 240% 100%;
box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.35);
user-select: none;
animation: titlebar-center-drift 34s ease-in-out infinite alternate;
}
.win98-titlebar h1 {
@keyframes titlebar-center-drift {
0% { background-position: 0% 50%; }
100% { background-position: 100% 50%; }
}
.win98-titlebar h1,
.win98-titlebar h2 {
min-width: 0;
margin: 0;
overflow: hidden;
@@ -60,36 +69,28 @@
.win98-control {
width: 16px;
height: 14px;
box-sizing: border-box;
display: grid;
place-items: center;
padding: 0;
color: #000000;
background: var(--w98-gray);
border-top: 1px solid #ffffff;
border-left: 1px solid #ffffff;
border-right: 1px solid #000000;
border-bottom: 1px solid #000000;
box-shadow:
inset -1px -1px 0 #808080,
inset 1px 1px 0 #dfdfdf;
box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #dfdfdf;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
line-height: 12px;
}
.win98-menu {
display: flex;
align-items: center;
gap: 18px;
height: 22px;
box-sizing: border-box;
padding: 0 8px;
font-size: 13px;
line-height: 13px;
.win98-minimize {
align-items: start;
padding-top: 0;
line-height: 8px;
}
.win98-panel {
box-sizing: border-box;
background: #ffffff;
border-top: 2px solid #808080;
border-left: 2px solid #808080;
@@ -97,51 +98,10 @@
border-bottom: 2px solid #ffffff;
}
.win98-button {
width: 92px;
height: 28px;
box-sizing: border-box;
display: grid;
place-items: center;
margin: 0;
padding: 0 10px;
color: #000000;
background: var(--w98-gray);
border-top: 2px solid #ffffff;
border-left: 2px solid #ffffff;
border-right: 2px solid #000000;
border-bottom: 2px solid #000000;
box-shadow:
inset -1px -1px 0 #808080,
inset 1px 1px 0 #dfdfdf;
font-family: inherit;
font-size: 13px;
line-height: 13px;
text-align: center;
appearance: none;
}
.win98-button:active {
border-top-color: #000000;
border-left-color: #000000;
border-right-color: #ffffff;
border-bottom-color: #ffffff;
box-shadow:
inset -1px -1px 0 #dfdfdf,
inset 1px 1px 0 #808080;
padding: 1px 9px 0 11px;
}
.win98-button:focus-visible {
outline: 1px dotted #000000;
outline-offset: -5px;
}
.win98-statusbar {
display: grid;
gap: 4px;
height: 22px;
box-sizing: border-box;
padding: 0 4px 4px;
font-size: 12px;
line-height: 12px;
@@ -152,7 +112,6 @@
align-items: center;
min-width: 0;
padding: 0 5px;
box-sizing: border-box;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@@ -161,3 +120,13 @@
border-right: 1px solid #ffffff;
border-bottom: 1px solid #ffffff;
}
.win98-menu {
display: flex;
align-items: center;
gap: 18px;
height: 22px;
padding: 0 8px;
font-size: 13px;
line-height: 13px;
}