personal-website/resources/base.css
2023-04-13 04:09:07 +03:00

167 lines
3.1 KiB
CSS

@font-face{
font-family: "Virtue";
src:url("./virtue.ttf");
}
@font-face{
font-family: "Virtue";
src:url("./virtue.ttf")
}
/* @media screen and (max-device-width: 2048px) and (max-device-height: 2048px) {
html {
zoom: 3
}
} */
.NoClick {
pointer-events: none;
}
.Click {
pointer-events: all;
}
*{
font-family: Verdana, Geneva, sans-serif;
font-size: 11px;
font-style: normal;
font-weight:initial;
}
body{
zoom: var(--zoom);
position: absolute;
width: 100%;
height: 100%;
margin: 0px;
/* font: normal 14px Summer Pixel 22, "res/SummerPixel22Regular.ttf"; */
-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 */
touch-action: manipulation;
}
/* @font-face {
font-family: "EspySansRegular";
src: url("res/EspySansRegular.ttf");
font-weight: normal;
font-style: normal;
} */
#WindowsLayer {
width: 100%;
height: 100%;
/* position: fixed; */
position: relative;
}
.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;
}
/* .WindowFrameTopBar{
width: 100%;
height: 13px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 5px;
padding: 0px;
} */
.WindowFrameTitle{
pointer-events: none;
white-space: nowrap
}
.VisualFrame{
width: 100%;
height: 100%;
position: relative;
/* overflow: scroll; */
/* overflow-x: hidden; */
/* Inside auto layout */
flex: none;
order: 1;
align-self: stretch;
flex-grow: 1;
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;
/* Auto layout */
display: flex;
flex-direction: column;
align-items: center;
justify-content: start;
align-items: flex-start;
gap: 0px;
padding: 0px;
}
.ContentFrame{
width: 100%;
height: auto;
/* background-color: aquamarine; */
/* Auto layout */
display: flex;
flex-direction: column;
align-items: center;
padding: 12px;
padding-bottom: 0px;
gap:16px;
}
.Old {
box-sizing: border-box;
position: relative;
padding: 10px;
/* Auto layout */
display: flex;
flex-direction: column;
align-items: center;
padding: 12px;
gap:16px;
width: 100%;
height: auto;
/* Inside auto layout */
flex: none;
order: 0;
align-self: stretch;
flex-grow: 1;
overflow: scroll;
}