personal-website/resources/base.css

167 lines
3.1 KiB
CSS
Raw Normal View History

2023-03-17 01:16:51 +00:00
@font-face{
2023-03-18 00:34:56 +00:00
font-family: "Virtue";
src:url("./virtue.ttf");
}
@font-face{
font-family: "Virtue";
src:url("./virtue.ttf")
2023-03-17 01:16:51 +00:00
}
2023-04-13 01:09:07 +00:00
/* @media screen and (max-device-width: 2048px) and (max-device-height: 2048px) {
html {
zoom: 3
}
} */
2023-03-22 21:53:06 +00:00
.NoClick {
pointer-events: none;
}
.Click {
pointer-events: all;
}
2023-03-17 01:16:51 +00:00
*{
2023-03-18 00:34:56 +00:00
font-family: Verdana, Geneva, sans-serif;
font-size: 11px;
font-style: normal;
font-weight:initial;
2023-03-17 01:16:51 +00:00
}
2023-03-15 00:05:24 +00:00
body{
2023-04-13 01:09:07 +00:00
zoom: var(--zoom);
2023-03-21 12:38:20 +00:00
position: absolute;
width: 100%;
height: 100%;
2023-03-15 00:05:24 +00:00
margin: 0px;
2023-03-17 01:16:51 +00:00
/* font: normal 14px Summer Pixel 22, "res/SummerPixel22Regular.ttf"; */
2023-03-20 11:20:37 +00:00
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome, Edge, Opera and Firefox */
2023-04-13 01:09:07 +00:00
touch-action: manipulation;
2023-03-15 00:05:24 +00:00
}
2023-03-17 01:16:51 +00:00
/* @font-face {
font-family: "EspySansRegular";
src: url("res/EspySansRegular.ttf");
font-weight: normal;
font-style: normal;
} */
2023-03-15 00:05:24 +00:00
#WindowsLayer {
width: 100%;
height: 100%;
2023-04-13 01:09:07 +00:00
/* position: fixed; */
position: relative;
2023-03-15 12:33:23 +00:00
}
.Frame{
width: 100%;
min-height: 200px;
height: auto;
background-color: #CCCCCC;
border: 1px solid #000000;
box-shadow: 1px 1px 0px #000,inset -1px -1px 0px rgba(0, 0, 0, 0.27), inset 1px 1px 0px #FFFFFF;
display: flex;
flex-direction: column;
align-items: flex-start;
padding: 4px;
gap:4px;
}
2023-03-22 14:34:43 +00:00
/* .WindowFrameTopBar{
2023-03-15 12:33:23 +00:00
width: 100%;
height: 13px;
display: flex;
flex-direction: row;
align-items: center;
2023-03-17 01:16:51 +00:00
justify-content: space-between;
2023-03-15 12:33:23 +00:00
gap: 5px;
padding: 0px;
2023-03-22 14:34:43 +00:00
} */
2023-03-15 12:33:23 +00:00
2023-03-17 01:16:51 +00:00
.WindowFrameTitle{
2023-03-17 16:13:41 +00:00
pointer-events: none;
2023-03-17 01:16:51 +00:00
white-space: nowrap
2023-03-15 12:33:23 +00:00
}
2023-03-18 02:16:32 +00:00
.VisualFrame{
width: 100%;
height: 100%;
position: relative;
2023-03-20 11:20:37 +00:00
/* overflow: scroll; */
/* overflow-x: hidden; */
2023-03-15 12:33:23 +00:00
/* Inside auto layout */
2023-03-20 11:20:37 +00:00
2023-03-15 12:33:23 +00:00
flex: none;
2023-03-20 11:20:37 +00:00
order: 1;
2023-03-15 12:33:23 +00:00
align-self: stretch;
flex-grow: 1;
2023-03-18 02:16:32 +00:00
2023-03-20 11:20:37 +00:00
background: #DDDDDD;
border: 1px solid #000000;
box-shadow: 0.5px 0.5px 0px 0.5px #FFFFFF, -0.5px -0.5px 0px 0.5px rgba(0, 0, 0, 0.25), inset 1px 1px 0px #FFFFFF;
2023-03-17 01:16:51 +00:00
/* Auto layout */
2023-03-17 16:13:41 +00:00
2023-03-17 01:16:51 +00:00
display: flex;
flex-direction: column;
2023-03-20 11:20:37 +00:00
align-items: center;
justify-content: start;
align-items: flex-start;
gap: 0px;
2023-03-17 01:16:51 +00:00
padding: 0px;
}
2023-03-20 11:20:37 +00:00
.ContentFrame{
2023-03-15 12:33:23 +00:00
width: 100%;
height: auto;
2023-03-20 11:20:37 +00:00
/* background-color: aquamarine; */
2023-03-17 01:16:51 +00:00
/* Auto layout */
2023-03-20 11:20:37 +00:00
display: flex;
2023-03-17 01:16:51 +00:00
flex-direction: column;
align-items: center;
2023-03-20 11:20:37 +00:00
padding: 12px;
padding-bottom: 0px;
gap:16px;
2023-03-15 12:33:23 +00:00
}
2023-03-17 01:16:51 +00:00
2023-03-20 11:20:37 +00:00
.Old {
box-sizing: border-box;
position: relative;
padding: 10px;
2023-03-17 01:16:51 +00:00
/* Auto layout */
display: flex;
flex-direction: column;
2023-03-20 11:20:37 +00:00
align-items: center;
padding: 12px;
gap:16px;
2023-03-17 01:16:51 +00:00
2023-03-20 11:20:37 +00:00
width: 100%;
height: auto;
2023-03-18 00:34:56 +00:00
2023-03-20 11:20:37 +00:00
2023-03-18 02:16:32 +00:00
2023-03-20 11:20:37 +00:00
/* Inside auto layout */
flex: none;
order: 0;
align-self: stretch;
flex-grow: 1;
2023-03-17 16:13:41 +00:00
2023-03-20 11:20:37 +00:00
overflow: scroll;
2023-03-17 16:13:41 +00:00
}