spmenu-wiki/css/index.css

523 lines
6.8 KiB
CSS
Raw Normal View History

/*
2023-06-28 18:44:14 +02:00
* spmenu-wiki
*
* Copyright (C) 2007-2011 Steven Frank <http://stevenf.com/>
2023-06-28 18:44:14 +02:00
* Copyright (C) 2023 speedie <speedie@speedie.site>
*
2023-06-28 18:44:14 +02:00
* See LICENSE file for copyright and license details.
*/
2023-01-26 19:42:40 +01:00
* {
2023-01-26 19:42:40 +01:00
font-family: Monospace;
2023-08-07 05:17:14 +02:00
font-size: 15px;
2023-04-24 17:58:23 +02:00
margin: 0;
padding: 0;
}
blockquote {
margin: 4px 4px 12px 20px;
padding: 4px 10px 4px 10px;
}
form {
display: inline;
}
li {
2023-08-07 05:17:14 +02:00
line-height: 24px;
}
h1, h2, h3, h4, h5, h6 {
margin-bottom: 10px;
margin-top: 10px;
}
h1 {
2023-08-07 05:17:14 +02:00
font-size: 25px;
}
h2 {
2023-08-07 05:17:14 +02:00
font-size: 20px;
}
h3 {
2023-08-07 05:17:14 +02:00
font-size: 18px;
2023-01-31 22:34:58 +01:00
}
2023-06-28 18:44:14 +02:00
2023-08-07 05:17:14 +02:00
h4 {
font-size: 16px;
}
h5 {
font-size: 15px;
}
hr {
border-bottom: 0;
border-left: 0;
border-right: 0;
margin-top: 12px;
margin-bottom: 12px;
}
ul, ol {
2023-08-07 05:17:14 +02:00
margin-bottom: 16px;
margin-top: 16px;
padding-left: 16px;
list-style-position: outside;
}
2023-01-31 22:34:58 +01:00
ul li, ol li {
2023-08-07 05:17:14 +02:00
padding-left: 8px;
2023-01-31 22:34:58 +01:00
}
2023-08-07 05:17:14 +02:00
li > ul, li > ol {
margin-top: 0px;
margin-bottom: 0px;
}
p {
2023-08-07 05:17:14 +02:00
margin-bottom: 16px;
margin-top: 16px;
}
pre {
font-family: Monospace;
margin-left: 0;
2023-08-07 05:17:14 +02:00
margin-bottom: 16px;
margin-top: 16px;
/* 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+ */
2023-01-31 22:34:58 +01:00
border: 1px dotted gray;
2023-08-07 05:17:14 +02:00
padding: 3px 3px 3px 6px;
}
code {
font-family: Monospace;
2023-08-07 05:17:14 +02:00
padding: .16px .16px .16px .16px;
}
table {
border-collapse: collapse;
2023-08-07 05:17:14 +02:00
padding: 3px;
max-width: 99%;
2023-01-31 22:34:58 +01:00
}
2023-06-28 18:44:14 +02:00
th {
text-align: left;
}
td, th {
2023-08-07 05:17:14 +02:00
padding: .16px 16px .16px .16px;
2023-06-28 18:44:14 +02:00
word-break: break-all;
}
thead {
font-weight: bold;
}
thead td a {
text-decoration:none;
}
thead td span.sortBy:after {
content: "\25BC";
}
.footer {
2023-08-07 05:17:14 +02:00
padding: 5px 5px 5px 16px;
font-family: Monospace;
width: 75%;
}
textarea {
font-family: Monospace;
width: 75%;
}
@media (max-width: 600px), (orientation: portrait) {
textarea {
width: 99%;
2023-01-31 22:34:58 +01:00
}
}
2023-01-31 22:34:58 +01:00
input[type="text"],
textarea {
padding: 2px;
2023-01-31 22:34:58 +01:00
}
input {
font-family: Monospace;
}
input#gitmsg
{
width: 60%;
}
2023-01-26 19:42:40 +01:00
.main {
2023-08-07 05:17:14 +02:00
padding: 5px 5px 5px 16px;
2023-01-31 22:34:58 +01:00
}
2023-04-24 19:33:59 +02:00
.main a {
text-decoration: none;
transition: 0.1s;
}
.footer a {
text-decoration: none;
transition: 0.1s;
}
2023-04-24 19:33:59 +02:00
.main a:hover {
text-decoration: underline;
}
.footer a:hover {
text-decoration: underline;
2023-01-31 22:34:58 +01:00
}
.main a.literalMatch {
font-weight: bold;
2023-01-31 22:34:58 +01:00
}
.titlebar {
2023-04-24 17:58:23 +02:00
padding: 2px;
2023-01-31 22:34:58 +01:00
}
.titlebar span.title {
font-weight: bold;
2023-04-24 17:58:23 +02:00
margin: 5px;
}
.titledate {
2023-08-07 05:17:14 +02:00
margin-left: 16px;
margin-right: 16px;
}
.toolbar {
2023-01-26 19:42:40 +01:00
position: sticky;
top: 0;
}
2023-01-31 22:34:58 +01:00
.toolbar > a, .titlebar > a {
text-decoration: none;
font-weight: normal;
}
2023-01-31 22:34:58 +01:00
.toolbar > a:hover, .titlebar > a:hover {
text-decoration: underline;
2023-01-26 19:42:40 +01:00
}
2023-01-31 22:34:58 +01:00
.sidebar {
margin-right: 10px;
margin-top: 5px;
2023-06-28 18:44:14 +02:00
margin-left: 10px;
padding: 4px;
float: right;
2023-06-28 18:44:14 +02:00
}
.sidebar h1, h2 {
2023-08-07 05:17:14 +02:00
margin-top: 0px;
margin-bottom: 0px;
2023-01-31 22:34:58 +01:00
}
2023-06-28 18:44:14 +02:00
2023-01-31 22:34:58 +01:00
.sidebar ul {
margin-top: 0;
margin-left: 4px;
2023-01-31 22:34:58 +01:00
}
2023-01-26 19:42:40 +01:00
2023-01-31 22:34:58 +01:00
input.search {
2023-08-07 05:17:14 +02:00
width:8px;
padding: .16px;
}
2023-01-31 22:34:58 +01:00
input.search:focus {
2023-08-07 05:17:14 +02:00
width: 8px;
2023-01-31 22:34:58 +01:00
}
img {
max-width: 50%;
height: auto;
2023-01-31 22:34:58 +01:00
}
img.icon {
2023-08-07 05:17:14 +02:00
width: 24px;
vertical-align: middle;
2023-01-31 22:34:58 +01:00
}
2023-06-28 18:44:14 +02:00
2023-01-31 22:34:58 +01:00
a > img.icon:hover, a > span.icongroup:hover {
outline: 1px outset white;
2023-01-31 22:34:58 +01:00
}
a > img.icon:active, a > span.icongroup:active {
outline: 1px inset white;
2023-01-31 22:34:58 +01:00
}
input.search {
border-width: 0px;
width: 165px
}
2023-04-24 19:33:59 +02:00
.sidebar a {
text-decoration: none;
transition: 0.1s;
}
2023-06-30 16:50:11 +02:00
/* Actual colors */
2023-08-03 17:24:06 +02:00
body {
background-color: #363636;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
blockquote {
background-color: #0f070f;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
hr {
border-top: 1px solid #363636;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
pre {
background: #212121;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
code {
background: #212121;
color: #bbbbbb;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
table {
background-color: #212121;
color: #dddddd;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
td, th {
background: #212121;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
thead {
border-bottom: 1px solid black;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
tr:nth-child(even) {
background: #e4e4e4;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
tr:nth-child(odd) {
background: #eeeeee;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
.footer {
color: #f0eee4;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
textarea {
background-color: #212121;
color: #f0eee4;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
.main {
background-color: #212121;
color: #f0eee4;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
.main a {
color: #89bfff;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
.footer a {
color: #89bfff;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
.main a:hover {
color: #ccccff;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
.footer a:hover {
color: #ccccff;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
.main a.literalMatch {
color: #6666ff;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
.main a.noexist {
color: #f34000 !important;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
.titlebar {
background-color: #262626;
color: #89bfff;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
.titledate {
color: #777777;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
.toolbar {
background-color: #363636;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
.toolbar > a, .titlebar > a {
color: #eeeeee;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
.sidebar {
border: solid 1px #666644;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
input.search {
border-color: #363636;
background-color: #363636;
color: #f0eee4;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
.sidebar {
color: #aaaaaa;
border-color: #aaaaaa;
background-color: #262626;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
.sidebar a {
color: #19bfff;
}
2023-07-25 21:43:31 +02:00
2023-08-03 17:24:06 +02:00
.sidebar a:hover {
color: #bbbbff;
2023-07-25 21:43:31 +02:00
}
2023-08-03 17:24:06 +02:00
/*
2023-07-25 21:43:31 +02:00
@media (prefers-color-scheme: light) {
body {
background-color: #fffffe;
}
blockquote {
background-color: #ffffff;
}
hr {
border-top: 1px solid #fffff0;
}
pre {
background: #fdfff5;
}
code {
background: #fdfff5;
color: #111111;
}
table {
background-color: #fdfff5;
color: #333333;
}
td, th {
background: #fdfff5;
}
thead {
border-bottom: 1px solid black;
}
tr:nth-child(even) {
background: #e4e4e4;
}
tr:nth-child(odd) {
background: #eeeeee;
}
.footer {
color: #222222;
}
textarea {
background-color: #fdfff5;
color: #222222;
}
.main {
background-color: #fdfff5;
color: #222222;
}
.main a {
color: #89a0f0;
}
.footer a {
color: #89a0f0;
}
.main a:hover {
color: #ccc0ff;
}
.footer a:hover {
color: #ccc0ff;
}
.main a.literalMatch {
color: #6666ff;
}
.main a.noexist {
color: #f34000 !important;
}
.titlebar {
background-color: #ffffee;
color: #89bfff;
}
.titledate {
color: #777777;
}
.toolbar {
background-color: #fffff0;
}
.toolbar a {
-webkit-filter: invert(100%);
filter: invert(100%);
}
.toolbar > a, .titlebar > a {
color: #eeeeee;
}
.sidebar {
border: solid 1px #666644;
}
input.search {
border-color: #fffff0;
background-color: #fffff0;
color: #222222;
}
.sidebar {
color: #aaaaaa;
border-color: #aaaaaa;
background-color: #fffffe;
}
.sidebar a {
color: #19a0ff;
}
.sidebar a:hover {
color: #bbbbff;
}
}
2023-08-03 17:24:06 +02:00
*/