site/css/css_style.css

344 lines
5.3 KiB
CSS
Raw Permalink Normal View History

2019-10-12 18:17:09 +00:00
/*
* envs.net - CSS Style
2021-04-01 13:25:47 +00:00
* © 2019-2021
2019-10-12 18:17:09 +00:00
*
*/
2020-02-19 23:58:56 +00:00
@import "https://envs.net/fonts/jetbrains-mono/font.css";
2020-02-20 00:34:08 +00:00
* { font-family: 'JetBrains Mono', 'monospace'; }
2020-02-19 23:58:56 +00:00
2019-10-12 18:17:09 +00:00
body, input, select, textarea {
color: #333;
font-size: 10pt;
line-height: 1.65em;
letter-spacing: -0.015em;
}
body {
background: #f5f5f5;
}
footer {
position: fixed;
2020-01-20 09:47:34 +00:00
text-align: center;
2019-10-12 18:17:09 +00:00
bottom: 0;
width: 100%;
padding: 1em;
background: #f5f5f5;
}
#main {
float: left;
margin: 0 0 2em 4em;
2020-01-20 01:30:48 +00:00
padding-bottom: 4em;
2019-10-12 18:17:09 +00:00
}
2020-03-09 09:49:16 +00:00
#header_sub { margin-left: 6em; }
2019-10-12 18:17:09 +00:00
#sidebar {
float: right;
padding: 0 2.5em 2.5em 0;
}
#left_box {
float: left;
padding-right: 1em;
}
2019-10-12 18:17:09 +00:00
a {
outline: none;
border-bottom-color: transparent;
text-decoration: none;
2020-01-20 09:47:34 +00:00
color: #10A0A0;
2019-10-12 18:17:09 +00:00
}
a:hover { border-bottom: dotted 1px; }
summary.menu { outline: none; }
summary.menu:hover {
cursor: pointer;
color: #10A0A0;
}
blockquote {
border-left: solid 4px #e5e5e5;
font-style: italic;
margin: 0;
padding: 0 0 1.5em 4em;
}
code {
font-family: monospace;
background: #e5e5e5;
color: #333;
}
pre {
2020-01-19 20:10:18 +00:00
margin-bottom: 0;
2019-10-12 18:17:09 +00:00
padding: 0;
}
pre.clean {
margin: 0;
padding: 0;
}
2020-01-20 01:30:48 +00:00
2019-10-12 18:17:09 +00:00
pre.banner {
line-height: 1.2em;
margin-bottom: 1em;
padding: 0;
}
h1, h2, h3, h4, h5, h6 {
display: block;
line-height: 0;
2020-01-19 20:10:18 +00:00
margin: 0;
2020-11-03 11:23:17 +00:00
padding: 0.8em 0 0.4em 0;
2019-10-12 18:17:09 +00:00
}
2020-11-03 11:23:17 +00:00
hr.half {
width:50%;
text-align:left;
margin-left:0;
}
li {
margin: 0;
padding: 0;
}
2019-10-12 18:17:09 +00:00
ol, ul {
2020-01-19 20:10:18 +00:00
margin: 0;
2020-01-20 01:30:48 +00:00
padding: 0 0 0 2em;
2019-10-12 18:17:09 +00:00
}
2020-01-19 18:09:23 +00:00
.ol.userlist, ul.userlist {
2020-11-03 11:23:17 +00:00
list-style-type: none;
2020-01-20 01:30:48 +00:00
margin: 0;
2020-11-03 11:23:17 +00:00
padding: 0 0 0 1.2em;
2019-10-12 18:17:09 +00:00
}
table {
border-collapse: collapse;
width: 100%;
}
tr, th, td {
text-align: left;
padding: 0;
}
2020-01-19 18:27:01 +00:00
.table_pkg tbody tr:nth-child(even) {
2019-10-12 18:17:09 +00:00
background: #e5e5e5;
}
2020-03-01 13:42:12 +00:00
.tw20 { width: 20px; }
.tw25 { width: 25px; }
.tw80 { width: 80px; }
.tw100 { width: 100px; }
2020-01-19 18:09:23 +00:00
.tw110 { width: 110px; }
.tw130 { width: 130px; }
.tw140 { width: 140px; }
2021-07-25 17:57:21 +00:00
.tw160 { width: 160px; }
2020-01-19 18:09:23 +00:00
.tw280 { width: 280px; }
2019-10-12 18:17:09 +00:00
2020-01-20 01:30:48 +00:00
2019-10-12 18:17:09 +00:00
form {
margin: 0;
padding: 0;
}
textarea {
padding: 0.3em 1em 0.3em 1em;
2020-01-18 09:56:03 +00:00
margin: 0 0 -0.5em 0;
2019-10-12 18:17:09 +00:00
border: solid 1px #333;
border-radius: 10px;
}
input {
margin: 0;
padding: 0;
}
input[type=button], input[type=submit], input[type=text] {
background-color: #e5e5e5;
color: #333;
border-radius: 10px;
border: solid 1px #333;
text-decoration: none;
padding: 0.3em 1em 0.3em 1em;
}
2020-03-01 13:42:12 +00:00
2019-10-12 18:17:09 +00:00
input[type=button]:hover, input[type=submit]:hover {
background-color: #211921;
color: #ddd;
}
2020-03-01 13:42:12 +00:00
2019-10-12 18:17:09 +00:00
input[type=file] {
color: #333;
background-color: #f5f5f5;
padding: 0.3em 1em 0.3em 0;
}
button {
border-radius: 10px;
border: none;
text-decoration: none;
background-color: #e5e5e5;
color: #333;
}
button:hover {
background-color: #211921;
color: #FFF5EE;
}
2020-03-01 13:42:12 +00:00
.clean { margin: 0; padding: 0; }
2019-10-12 18:17:09 +00:00
2020-03-01 13:42:12 +00:00
.clear { clear:both; }
2019-10-12 18:17:09 +00:00
2020-03-01 13:42:12 +00:00
.mark { color: #10A0A0; }
2019-10-12 18:17:09 +00:00
2020-03-01 13:42:12 +00:00
.alert {
2019-10-12 18:17:09 +00:00
color: #333;
background: #e5e5e5;
2020-01-20 01:30:48 +00:00
margin: 0 0 1.5em 0;
2020-01-20 09:47:34 +00:00
padding: 0.5em 1em 1.5em 1em;
2019-10-12 18:17:09 +00:00
}
.block {
border-left: solid 4px #e5e5e5;
margin: 0.8em 0 1em 0;
padding: 0.8em 0 0.8em 4em;
}
2020-03-01 13:42:12 +00:00
.center {
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
}
2019-10-12 18:17:09 +00:00
.button_back {
float: left;
margin-top: 1em;
margin-left: 0.4em;
position: fixed;
top: 0;
left: 0;
}
/*
* LIGHT MODE
*/
body.light-mode {
2020-11-03 11:23:17 +00:00
background: #f5f5f5;
color: #333;
2019-10-12 18:17:09 +00:00
}
body.light-mode footer {
2020-11-03 11:23:17 +00:00
border-top: solid 2px #e5e5e5;
background: #f5f5f5;
2019-10-12 18:17:09 +00:00
}
body.light-mode blockquote {
2020-11-03 11:23:17 +00:00
border-left: solid 4px #e5e5e5;
2019-10-12 18:17:09 +00:00
}
body.light-mode code {
2020-11-03 11:23:17 +00:00
color: #333;
background: #e5e5e5;
2019-10-12 18:17:09 +00:00
}
2020-01-19 18:27:01 +00:00
body.light-mode .table_pkg tbody tr:nth-child(even) {
2019-10-12 18:17:09 +00:00
background: #e5e5e5;
}
body.light-mode input[type=button], body.light-mode input[type=submit], body.light-mode input[type=text] {
2020-11-03 11:23:17 +00:00
background-color: #e5e5e5;
color: #333;
border: solid 1px #333;
2019-10-12 18:17:09 +00:00
}
body.light-mode input[type=button]:hover, body.light-mode input[type=submit]:hover {
2020-11-03 11:23:17 +00:00
background-color: #211921;
color: #FFF5EE;
2019-10-12 18:17:09 +00:00
}
body.light-mode input[type=file] {
2020-11-03 11:23:17 +00:00
color: #333;
background-color: #f5f5f5;
2019-10-12 18:17:09 +00:00
}
body.light-mode textarea {
2020-11-03 11:23:17 +00:00
background: #e5e5e5;
color: #333;
border: solid 1px #333;
2019-10-12 18:17:09 +00:00
}
body.light-mode button {
2020-11-03 11:23:17 +00:00
background-color: #e5e5e5;
color: #333;
2019-10-12 18:17:09 +00:00
}
body.light-mode button:hover {
2020-11-03 11:23:17 +00:00
background-color: #211921;
color: #FFF5EE;
2019-10-12 18:17:09 +00:00
}
body.light-mode .alert {
2020-11-03 11:23:17 +00:00
color: #333;
background: #e5e5e5;
2019-10-12 18:17:09 +00:00
}
body.light-mode .block, body.light-mode .block_head {
2020-11-03 11:23:17 +00:00
border-left: solid 4px #e5e5e5;
2019-10-12 18:17:09 +00:00
}
/*
* DARK MODE
*/
body.dark-mode {
2020-11-03 11:23:17 +00:00
color: #FFF5EE;
background: #040304;
2019-10-12 18:17:09 +00:00
}
body.dark-mode footer {
2020-11-03 11:23:17 +00:00
border-top: solid 2px #211921;
background: #040304;
2019-10-12 18:17:09 +00:00
}
body.dark-mode blockquote {
2020-11-03 11:23:17 +00:00
border-left: solid 4px #211921;
2019-10-12 18:17:09 +00:00
}
body.dark-mode code {
2020-11-03 11:23:17 +00:00
color: #ddd;
background: #211921;
2019-10-12 18:17:09 +00:00
}
2020-01-19 18:27:01 +00:00
body.dark-mode .table_pkg tbody tr:nth-child(even) {
2020-11-03 11:23:17 +00:00
background: #211921;
2019-10-12 18:17:09 +00:00
}
body.dark-mode input[type=button], body.dark-mode input[type=submit], body.dark-mode input[type=text] {
2020-11-03 11:23:17 +00:00
background-color: #211921;
color: #ddd;
border: solid 1px #ddd;
2019-10-12 18:17:09 +00:00
}
body.dark-mode input[type=button]:hover, body.dark-mode input[type=submit]:hover {
2020-11-03 11:23:17 +00:00
background-color: #e5e5e5;
color: #333;
2019-10-12 18:17:09 +00:00
}
body.dark-mode input[type=file] {
2020-11-03 11:23:17 +00:00
color: #ddd;
background-color: #040304;
2019-10-12 18:17:09 +00:00
}
body.dark-mode textarea {
2020-11-03 11:23:17 +00:00
color: #ddd;
background: #211921;
border: solid 1px #ddd;
2019-10-12 18:17:09 +00:00
}
body.dark-mode button {
2020-11-03 11:23:17 +00:00
background-color: #211921;
color: #ddd;
2019-10-12 18:17:09 +00:00
}
body.dark-mode button:hover {
2020-11-03 11:23:17 +00:00
background-color: #e5e5e5;
color: #333;
2019-10-12 18:17:09 +00:00
}
body.dark-mode .alert {
2020-11-03 11:23:17 +00:00
color: #ddd;
background: #211921;
2019-10-12 18:17:09 +00:00
}
body.dark-mode .block, body.dark-mode .block_head {
2020-11-03 11:23:17 +00:00
border-left: solid 4px #211921;
2019-10-12 18:17:09 +00:00
}