1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
|
/*
* Copyright (c) 2021-2025, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*
******************************************************************
*
* This is style sheet for webconsole, with @media selectors for adaptive
* view on desktop and mobile devices, respecting preferred user's color
* scheme used in system/browser.
*
* Minified copy of that style sheet is bundled inside i2pd sources.
*/
:root {
--main-bg-color: #0b0b0b;
--main-text-color: #00ff99;
--main-link-color: #ff00ff;
--main-link-hover-color: #00ffff;
}
body {
font: 100%/1.5em "Courier New", Courier, monospace;
margin: 0;
padding: 1.5em;
background: var(--main-bg-color);
color: var(--main-text-color);
}
a, .slide label {
text-decoration: none;
color: var(--main-link-color);
}
a:hover, a.button.selected, .slide label:hover, button[type=submit]:hover {
color: var(--main-link-hover-color);
background: var(--main-link-color);
}
.slidecontent {
display:none;
}
#slide-info {
display:none;
}
.enabled {
color: green;
text-shadow: 2px green;
}
.disabled {
color: red;
}
#slide-info:checked ~ .slidecontent {
display: block;
}
#slide_ntcp2 {
display: none;
}
#slide_ssu2 {
display: none;
}
#slide_ssu2:checked ~ .slidecontent {
display: block;
}
#slide_ntcp2:checked ~ .slidecontent{
display:block;
}
.header {
font-size: 2.5em;
text-align: center;
margin: 1em 0;
color: var(--main-link-color);
text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff;
}
.wrapper {
margin: 0 auto;
padding: 1em;
max-width: 64em;
}
.menu {
display: block;
float: left;
overflow: hidden;
padding: 4px;
max-width: 12em;
white-space: nowrap;
text-overflow: ellipsis;
}
.listitem, .tableitem {
display: block;
font-family: monospace;
font-size: 1.2em;
white-space: nowrap;
color: #00ff99;
}
.content {
float: left;
font-size: 1em;
margin-left: 2em;
padding: 4px;
max-width: 50em;
overflow: auto;
}
.tunnel.established {
color: #0ff;
}
.tunnel.expiring {
color: #ff0;
}
.tunnel.failed {
color: #f00;
}
.tunnel.building {
color: #888;
}
caption {
font-size: 1.5em;
text-align: center;
color: var(--main-link-color);
text-shadow: 0 0 3px #ff00ff;
}
table {
display: table;
border-collapse: collapse;
text-align: center;
}
textarea, input, select {
background-color: #111;
color: var(--main-text-color);
border: 1px solid var(--main-link-color);
font-family: monospace;
font-size: 14px;
padding: 5px;
border-radius: 3px;
}
button[type=submit], a.button {
background-color: transparent;
color: var(--main-link-color);
border: 1px solid var(--main-link-color);
padding: 5px 10px;
font-family: monospace;
border-radius: 4px;
cursor: pointer;
text-decoration: none;
}
button[type=submit]:hover, a.button:hover {
color: var(--main-link-hover-color);
background-color: #222;
box-shadow: 0 0 5px var(--main-link-hover-color);
}
@media screen and (max-width: 980px) {
.menu, .content, input, select, textarea, button[type=submit], a.button {
width: 90%;
margin: 0 auto 10px auto;
display: block;
text-align: center;
}
}
|