xash93d/view/global.css

95 lines
1.7 KiB
CSS

.xash3d_terminal code {
display: block;
width: 60ch;
white-space: pre-wrap;
word-break: break-word;
overflow-wrap: break-word;
color: white;
}
.xash3d_launcher {
--mod-height: 36px;
background: #333 var(--xash3d-trame);
background-size: 4px;
background-repeat: repeat;
}
.xash3d_launcher > ul {
margin: 4px 2px;
padding: 0;
}
.xash3d_launcher .notice {
padding: 2px 10px;
}
.xash3d_launcher .mod {
margin-bottom: 6px;
}
.xash3d_launcher .mod header {
display: flex;
padding: 1px;
box-sizing: content-box;
height: var(--mod-height)
}
.xash3d_launcher .info {
border-right: 1px solid #666;
flex: 1;
align-self: center;
margin: 2px 0 2px 5px;
}
.xash3d_launcher .info h4 {
margin: 0
}
.xash3d_launcher .info span {
color: #555;
}
.xash3d_launcher .launch {
width: var(--mod-height);
height: var(--mod-height);
box-sizing: content-box;
background-image: var(--xash3d-play);
background-size: 20px 20px;
background-repeat: no-repeat;
background-position: center;
}
.xash3d_launcher .launch:active {
opacity: .6;
}
.xash3d_launcher ~ footer div {
padding: 2px 1px 1px 1px;
vertical-align: middle;
}
.xash3d_launcher ~ footer .version {
color: #555;
}
.xash3d_launcher ~ footer .controls {
float: right;
}
.xash3d_launcher ~ footer button {
margin-left: 5px;
}
span.ui_menu__item__ico > img[src="/c/sys/skins/w93/xash"],
div.ui_icon__file img[src="/c/sys/skins/w93/xash"] {
display: block;
-moz-box-sizing: border-box;
box-sizing: border-box;
background-image: var(--xash3d-icon);
background-repeat: no-repeat;
/* It's a little blurry and should really just be pixel art but whatever for now */
background-size: 100%;
}