mesh css simplification

This commit is contained in:
Stewart Allen 2021-12-26 22:00:31 -05:00
commit 44933dd1b4
9 changed files with 115 additions and 141 deletions

View file

@ -10,7 +10,7 @@
@font-face {
font-family: 'Russo One';
src: url('/kiri/ext/russo-one.ttf');
src: url('/moto/russo-one.ttf');
}
a, a:hover, a:visited {
@ -19,7 +19,7 @@ a, a:hover, a:visited {
text-decoration: none;
}
div {
body, div {
position: relative;
display: flex;
padding: 0;
@ -30,20 +30,24 @@ div {
#app {
position: fixed;
overflow: hidden;
font-weight: normal;
flex-direction: column;
font-family: sans-serif;
font-weight: normal;
font-size: larger;
top: 0;
left: 0;
right: 0;
bottom: 0;
right: 0;
left: 0;
top: 0;
}
#app-info {
z-index: 50;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
z-index: 50;
cursor: pointer;
flex-direction: column;
align-items: center;
}
#app-info:hover #app-vers {
@ -67,24 +71,58 @@ div {
background-color: white;
}
#app-info {
cursor: pointer;
#app-body {
flex-grow: 1;
}
#app-body > div {
z-index: 2;
}
#curtain {
z-index: 50000;
top: 0;
left: 0;
right: 0;
bottom: 0;
position: fixed;
background-color: #fff;
font-family: 'Russo One', sans-serif;
justify-content: center;
align-items: center;
}
#container {
z-index: 1;
position: fixed;
width: 100%;
height: 100%;
}
#container canvas {
width: 100%;
height: 100%;
overflow: hidden;
}
#top {
z-index: 2;
padding: 3px;
flex-direction: row;
font-family: 'Russo One', sans-serif;
background-color: rgba(255,255,255,0.75);
}
#top > div {
margin: 0 5px 0 5px;
}
#top-sep {
z-index: 14;
z-index: 2;
height: 1px;
background-image: var(--gradbar);
}
#loading {
width: 40px;
height: 40px;
padding-right: 15px;
position: fixed;
display: none;
}
.noselect {
-khtml-user-select: none;
-moz-user-select: none;
@ -92,52 +130,6 @@ div {
user-select: none;
}
.hide {
display: none !important;
}
.noshow {
display: none;
}
.grid {
display: grid;
}
.f-row {
flex-direction: row;
}
.f-col {
flex-direction: column;
}
.grow {
flex-grow: 1;
}
.a-start {
align-items: flex-start;
}
.a-center {
align-items: center;
}
.a-end {
align-items: flex-end;
}
.a-stretch {
align-items: stretch;
}
.j-start {
justify-content: flex-start;
}
.j-center {
justify-content: center;
}
.j-end {
justify-content: flex-end;
}
.center {
text-align: center;
}
.russo {
font-family: 'Russo One', sans-serif;
}
:-moz-any() {
overflow-x: hidden !important;
overflow-y: hidden !important;
@ -148,38 +140,3 @@ div {
margin-right: -14px !important;
margin-bottom: -14px !important;
}
#curtain {
top: 0;
left: 0;
right: 0;
bottom: 0;
position: fixed;
background-color: #fff;
font-family: 'Russo One', sans-serif;
z-index: 50000;
}
#container {
position: fixed;
z-index: -1;
width: 100%;
height: 100%;
}
#container canvas {
width: 100%;
height: 100%;
overflow: hidden;
}
#top {
font-family: 'Russo One', sans-serif;
background-color: rgba(255,255,255,0.75);
padding: 3px;
z-index: 15;
}
#top > div {
margin: 0 5px 0 5px;
}