/win/nacl/nethack.css
https://github.com/kaladron/nethack-nacl · CSS · 342 lines · 285 code · 57 blank · 0 comment · 0 complexity · 5efdaebc8b19921581f02666a815b742 MD5 · raw file
- @font-face {
- font-family: 'Inconsolata';
- font-style: normal;
- font-weight: 700;
- src: local('Inconsolata Bold'), local('Inconsolata-Bold'), url(fonts/inconsolata/v6/AIed271kqQlcIRSOnQH0yTqR_3kx9_hJXbbyU8S6IN0.woff) format('woff');
- }
- @font-face {
- font-family: 'Inconsolata';
- font-style: normal;
- font-weight: 400;
- src: local('Inconsolata'), url(fonts/inconsolata/v6/BjAYBlHtW3CJxDcjzrnZCIbN6UDyHWBl620a-IRfuBk.woff) format('woff');
- }
- body {
- padding: 0;
- margin: 0;
- }
- pre {
- font-family: Inconsolata;
- -webkit-user-select: text;
- }
- x-modal {
- z-index: 1000;
- -webkit-user-select: none;
- }
- x-modal h1 {
- margin: 0;
- font-family: sans-serif;
- font-size: 1.25em;
- text-align: center;
- }
- x-overlay {
- z-index: 999;
- background: none;
- }
- #listener {
- width: 0;
- height: 0;
- }
- .header {
- z-index: 1;
- position: fixed;
- background-color: rgba(207, 212, 208, .5);
- color: rgba(207, 212, 208, 0);
- left: 50%;
- right: 50%;
- margin-left: -20%;
- margin-right: -20%;
- padding: 2px;
- height: 3px;
- overflow: hidden;
- border-bottom-left-radius: 10px;
- border-bottom-right-radius: 10px;
- -webkit-user-select: none;
- -webkit-transition-property: height, color, background-color;
- -webkit-transition-duration: 150ms;
- -webkit-transition-timing-function: linear;
- }
- .header-initial {
- height: 1.5em;
- background-color: rgba(207, 212, 208, 1);
- color: black;
- }
- .header:hover {
- height: 1.5em;
- background-color: rgba(207, 212, 208, 1);
- color: black;
- -webkit-transition-property: height, color, background-color;
- -webkit-transition-duration: 150ms;
- -webkit-transition-timing-function: linear;
- }
- .header a {
- color: inherit;
- }
- .header a:visited {
- color: inherit;
- }
- .header ul {
- text-align: center;
- list-style-type: none;
- margin: 0;
- padding: 0;
- }
- .header ul li {
- display: inline-block;
- }
- .header ul li::after { content: ' | ' }
- .header ul li:last-child::after { content: '' }
- .tile-fixedwidth {
- font-family: Inconsolata;
- white-space: pre;
- }
- #tile-gamecanvas {
- background-image: url('mapbg.png');
- }
- #tile-gamescreen {
- position: fixed;
- padding: 0;
- margin: 0;
- height: 100%;
- width: 100%;
- overflow: hidden;
- display: table;
- background-color: #cfd4d0;
- -webkit-user-select: none;
- }
- .tile-hidden {
- visibility: hidden;
- }
- .tile-statchange {
- font-weight: bold;
- }
- .tile-extcmdbutton {
- width: 20em;
- }
- #tile-menu ul {
- list-style-type: none;
- display: block;
- margin: 0;
- padding: 0;
- }
- #tile-menu ul li {
- display: inline-block;
- margin-left: 5px;
- margin-right: 5px;
- cursor: default;
- font-family: sans-serif;
- }
- #tile-menu > ul > li > ul {
- display: none;
- }
- #tile-menu > ul > li:hover > ul {
- border: 1px solid #ccc;
- display: block;
- position: absolute;
- background-color: #cfd4d0;
- box-shadow: 2px 2px 1px rgba(0,0,0,.3), -2px 0px 1px rgba(0,0,0,.3);
- }
- #tile-menu > ul > li > ul > li {
- display: block;
- margin-top: 2px;
- margin-bottom: 2px;
- padding-left: 1em;
- padding-right: 1em;
- }
- .tile-win-buttonbox {
- margin: 3px;
- }
- .tile-menutable > tr:nth-child(odd) {
- background-color:#eee;
- }
- .tile-menutable th {
- text-align: left;
- font-family: sans-serif;
- }
- .tile-menutable td {
- padding-left: 3px;
- padding-right: 3px;
- }
- .tile-menutable {
- border-spacing: 0;
- cursor: default;
- width: 100%;
- }
- .tile-menutable-selected {
- background-color: #4b6983 !important;
- color: white !important;
- }
- .tile-menuitem-accel {
- font-weight: bold;
- }
- .tile-menuitem:hover {
- background-color: #aba698;
- }
- .tile-menuwin-img {
- min-height: 16px; /* TILE_SQUARE */
- height: 16px;
- width: 16px;
- background-image: url('x11tiles.png');
- }
- #tile-plinewin {
- display: table-cell;
- vertical-align: top;
- background-color: white;
- overflow-y: scroll;
- -webkit-user-select: text;
- }
- #tile-plinecontent {
- height: 1em;
- min-height: 1em;
- }
- #tile-plinewin p {
- margin: 0;
- padding: 0;
- }
- #tile-toppart {
- display: table;
- width: 100%;
- border: 1px solid black;
- }
- #textwindow {
- height: 10em;
- width: 60%;
- overflow-y: scroll;
- }
- #map {
- background-image: url('mapbg.png');
- }
- #popup {
- display: none;
- position: fixed;
- background: rgba(0,0,0,0.5);
- z-index: 1;
- top: 0px;
- left: 0px;
- margin: 0;
- padding: 0;
- }
- #gnomelikeBorderBox {
- border: 3px solid black;
- position: absolute;
- }
- #tile-status {
- width: 541px;
- background-color: #cfd4d0;
- text-align: center;
- }
- .tile-table {
- display: table;
- table-layout: fixed;
- width: 100%;
- margin: 0;
- padding: 0;
- }
- .tile-cell {
- vertical-align: top;
- display: table-cell;
- margin: 0;
- padding: 0;
- }
- #tile-cell-inventbox {
- max-height: 212px;
- max-width: 141px;
- width: 141px;
- height: 212px;
- vertical-align: middle;
- padding: 3px;
- }
- #tile-inventbox {
- background-image: url('equip.png');
- min-height: 212px;
- min-width: 141px;
- padding: 0;
- margin: 0;
- box-shadow: 2px 2px 1px rgba(0,0,0,.3), -2px 0px 1px rgba(0,0,0,.3);
- }
- #tile-status h1 {
- margin: 0;
- padding: 0;
- }
- #tile-status h2 {
- margin: 0;
- padding: 0;
- }
- #tile-status ul {
- display: table;
- list-style-type: none;
- margin: 0;
- padding: 0;
- width: 100%;
- }
- #tile-status ul li {
- display: table-cell;
- }
- .tile-dialog {
- background-color: white;
- border: 1px solid rgba(0,0,0,.6);
- padding: 1em;
- box-shadow: 0 0 1em rgba(0,0,0,.3);
- max-height: 80%;
- overflow-y: auto;
- }
- .tile-scrollarea {
- max-height: 80%;
- overflow-y: auto;
- }