dfhack/docs/styles/dfhack.css

68 lines
1.7 KiB
CSS

/* Keybinding CSS from the DF wiki; applies to :kbd:`` directives.
* Use this directive for all keypresses, to make them look like keys.
*/
.kbd {
border: 1px solid #aaa;
border-radius: 0.2em;
-webkit-border-radius: 0.2em;
-moz-border-radius: 0.2em;
-o-border-radius: 0.2em; -ms-border-radius: 0.2em;
-moz-box-shadow: 0.1em 0.2em 0.2em #ddd;
-webkit-box-shadow: 0.1em 0.2em 0.2em #ddd;
box-shadow: 0.1em 0.2em 0.2em #ddd;
background-color: #f9f9f9;
background-image: -moz-linear-gradient(top, #eee, #f9f9f9, #eee);
background-image: -o-linear-gradient(top, #eee, #f9f9f9, #eee);
background-image: -webkit-linear-gradient(top, #eee, #f9f9f9, #eee);
background-image: linear-gradient(to bottom, #eee, #f9f9f9, #eee);
padding: 0.1em 0.3em;
font-family: sans-serif;
font-size: 0.8em;
}
@font-face {
font-family: cp437;
src: url("cp437.ttf");
}
/* In-game text CSS from the DF wiki; applies to :guilabel:`` directives.
* Use this for any text from an in-game announcement or menu.
*/
.guilabel {
color: #CBC7C0;
2015-10-22 21:22:52 -06:00
font-family: cp437, 'fixedsys', monospace;
background: #000000;
font-size: 0.95em;
padding: 0.05em 0.4em;
}
/* Override hyphenation from Sphinx's basic.css (excessive) */
div.body p, div.body dd, div.body li, div.body blockquote {
-moz-hyphens: manual;
-ms-hyphens: manual;
-webkit-hyphens: manual;
hyphens: manual;
}
2020-07-03 18:42:23 -06:00
div.sphinxsidebar {
max-height: 100%;
overflow-y: auto;
}
2020-07-11 22:30:28 -06:00
div.sphinxsidebar h3.logo-name a {
2020-07-03 18:42:23 -06:00
border-bottom: 1px dotted #999;
}
div.body {
min-width: unset;
}
div.body li > p {
margin-top: 0;
margin-bottom: 0;
}
span.pre {
overflow-wrap: break-word;
}