spmenu-wiki/css/index.css

401 lines
5.2 KiB
CSS
Executable file

/*
* spmenu-wiki
*
* Copyright (C) 2007-2011 Steven Frank <http://stevenf.com/>
* Copyright (C) 2023 speedie <speedie@speedie.site>
*
* See LICENSE file for copyright and license details.
*/
* {
font-family: Monospace;
font-size: 11px;
margin: 0;
padding: 0;
}
blockquote {
margin: 4px 4px 12px 20px;
padding: 4px 10px 4px 10px;
}
form {
display: inline;
}
li {
line-height: 1.5em;
}
h1 {
font-size: 2em;
font-weight: bold;
margin-bottom: 4px;
margin-top: .5em;
}
h2 {
font-size: 1.2em;
font-weight: bold;
margin-bottom: 4px;
margin-top: .5em;
}
h3 {
font-size: 1.2em;
font-weight: bold;
}
h3, h4, h5, h6 {
margin-top: .4em;
margin-bottom: 4px;
}
hr {
border-bottom: 0;
border-left: 0;
border-right: 0;
margin-top: 12px;
margin-bottom: 12px;
}
ul, ol {
margin-top: .5em;
margin-left: 1em;
padding-left: 1em;
list-style-position: outside;
}
ul li, ol li {
padding-left: .5em;
}
li > ul, li > ol
{
margin-top: 0;
}
p {
margin-top: 1.5em;
margin-bottom: 1.5em;
}
pre {
font-family: Monospace;
margin-left: 0;
margin-bottom: .5em;
margin-top: .5em;
/* stroke each browser so that they wrap lines in the pre tag */
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
border: 1px dotted gray;
padding: .2em .2em .2em .4em;
}
code {
font-family: Monospace;
padding: .1em .1em .1em .2em;
}
table {
border-collapse: collapse;
padding: .2em;
max-width: 99%;
}
th {
text-align: left;
}
td, th {
padding: .1em 1em .1em .1em;
word-break: break-all;
}
thead {
font-weight: bold;
}
thead td a {
text-decoration:none;
}
thead td span.sortBy:after {
content: "\25BC";
}
.footer {
padding: .3em .3em .3em 1em;
font-family: Monospace;
width: 75%;
}
textarea {
font-family: Monospace;
width: 75%;
}
@media (max-width: 600px), (orientation: portrait) {
textarea {
width: 99%;
}
}
input[type="text"],
textarea {
padding: 2px;
}
input {
font-family: Monospace;
}
input#gitmsg
{
width: 60%;
}
.main {
padding: .3em .3em .3em 1em;
}
.main a {
text-decoration: none;
transition: 0.1s;
}
.footer a {
text-decoration: none;
transition: 0.1s;
}
.main a:hover {
text-decoration: underline;
}
.footer a:hover {
text-decoration: underline;
}
.main a.literalMatch {
font-weight: bold;
}
.titlebar {
padding: 2px;
}
.titlebar span.title {
font-size: 10px;
font-weight: bold;
margin: 5px;
}
.titledate {
font-size: 0.90em;
margin-left: 1em;
margin-right: 1em;
}
.toolbar {
position: sticky;
top: 0;
font-size: 2px;
}
.toolbar > a, .titlebar > a {
font-size: 1em;
margin-right: 1em;
text-decoration: none;
font-weight: normal;
}
.toolbar > a:hover, .titlebar > a:hover {
text-decoration: underline;
}
.toolbar img {
transform: translate(0, -15%)
}
.sidebar {
margin-right: 10px;
margin-top: 5px;
margin-left: 10px;
padding: 4px;
float: right;
}
.sidebar h1, h2 {
margin-top: 0em;
margin-bottom: 0em;
}
.sidebar ul {
margin-top: 0;
margin-left: 4px;
}
input.search {
width: 5em;
padding: .1em;
}
input.search:focus {
width: 15em;
}
img {
max-width: 50%;
height: auto;
}
img.icon {
width: 1.5em;
vertical-align: middle;
}
a > img.icon:hover, a > span.icongroup:hover {
outline: 1px outset white;
}
a > img.icon:active, a > span.icongroup:active {
outline: 1px inset white;
}
input.search {
border-width: 0px;
width: 165px
}
.sidebar a {
text-decoration: none;
transition: 0.1s;
}
/* Actual colors */
body {
background-color: #363636;
}
blockquote {
background-color: #0f070f;
}
hr {
border-top: 1px solid #363636;
}
pre {
background: #212121;
}
code {
background: #212121;
color: #bbbbbb;
}
table {
background-color: #212121;
color: #dddddd;
}
td, th {
background: #212121;
}
thead {
border-bottom: 1px solid black;
}
tr:nth-child(even) {
background: #e4e4e4;
}
tr:nth-child(odd) {
background: #eeeeee;
}
.footer {
color: #f0eee4;
}
textarea {
background-color: #212121;
color: #f0eee4;
}
.main {
background-color: #212121;
color: #f0eee4;
}
.main a {
color: #89bfff;
}
.footer a {
color: #89bfff;
}
.main a:hover {
color: #ccccff;
}
.footer a:hover {
color: #ccccff;
}
.main a.literalMatch {
color: #6666ff;
}
.main a.noexist {
color: #f34000 !important;
}
.titlebar {
background-color: #262626;
color: #89bfff;
}
.titledate {
color: #777777;
}
.toolbar {
background-color: #363636;
}
.toolbar > a, .titlebar > a {
color: #eeeeee;
}
.sidebar {
border: solid 1px #666644;
}
input.search {
border-color: #363636;
background-color: #363636;
color: #f0eee4;
}
.sidebar {
color: #aaaaaa;
border-color: #aaaaaa;
background-color: #262626;
}
.sidebar a {
color: #19bfff;
}
.sidebar a:hover {
color: #bbbbff;
}