Dotfiles.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

404 lines
6.4 KiB

#joplin-container-content{
padding-left: 0 !important;
padding-right: 0 !important;
}
#rendered-md {
width: 100%;
}
h1, h2, h3, h4 {
padding-left: 0.5em;
padding-bottom: 0;
}
h1 {
color: white;
background-color: #414650;
width: 100%;
line-height: 2.5em;
text-align: center;
}
h2 {
color: white;
font-weight: 400;
background-color: #414650;
width: 100%;
border: 2px solid #414650;
}
h3 {
color: white;
font-weight: 150;
background-color: #606776;
}
h4 {
color: white;
font-weight: 100;
width: 100%;
background-color: #808286;
}
mark {
background: #aeefce;
color: black;
padding-left: 3px;
padding-right: 3px;
}
a {
color: #5082be;
font-weight: bold;
text-decoration: none;
}
/* BADGES */
b-error, b-success, b-info, b-warning, b-help {
display: block;
margin-bottom: 10px;
padding: 10px 10px 10px 50px;
border: 1px solid;
border-left: 5px solid;
border-radius: 2px;
word-wrap: break-word;
text-align: left;
box-shadow: 3px 3px 7px 0 rgba(0,0,0,0.3);
color: gray;
background-color: transparent;
}
b-error::before,
b-success::before,
b-info::before,
b-warning::before,
b-help::before {
font-weight: 700;
font-size: 1.5em;
left: 30px;
position: absolute;
}
b-error {
border-color: red;
color: red;
}
b-error::before {
content: "❌";
font-family: "Font Awesome 5 Free" !important;
color: red;
}
b-success {
border-color: forestgreen;
color: forestgreen;
}
b-success::before {
content: "✅";
font-family: "Font Awesome 5 Free" !important;
color: forestgreen;
}
b-warning {
border-color: darkorange;
color: darkorange;
}
b-warning::before {
content: "⚠";
font-family: "Font Awesome 5 Free" !important;
color: orange !important;
}
b-info {
border-color: cornflowerblue;
color: cornflowerblue;
}
b-info::before {
content: "ℹ";
font-family: "Font Awesome 5 Free" !important;
color: cornflowerblue;
}
b-help {
border-color: blueviolet;
color: blueviolet;
}
b-help::before {
content: "🔔";
font-family: "Font Awesome 5 Free" !important;
color: blueviolet;
}
strike, s {
opacity: 0.5 !important;
}
blockquote {
color: black;
margin: 1.5em;
padding: 1em;
border-radius: 8px;
border-left: 6px solid darkslateblue;
background-color: lavender;
}
blockquote strong {
font-style: bold !important;
color: darkblue !important;
}
blockquote em {
font-style: italic !important;
color: darkblue !important;
}
hr {
border: none;
border-bottom: 1px solid gray !important;
margin: 2.5em 0 !important;
}
a:hover {
text-decoration: underline;
}
ol {
margin: 0 0 1.5em;
padding: 0;
counter-reset: item;
}
ol li {
margin: 0;
padding: 0 0 0 1.5em;
list-style-type: none;
counter-increment: item;
}
ol li:before {
color: #007c7c;
/* content: counter(item, decimal-leading-zero) "."; */
content: "00" counter(item) ".";
/* display: inline-block; */
/* float: left; */
font-weight: bold;
padding-right: 0.5em;
width: 1em;
}
ol li:nth-child(n+10):before {
content: "0" counter(item) ".";
}
ol li:nth-child(n+100):before {
content: counter(item) ".";
}
ul {
margin: 0 0 1.5em;
padding: 0;
list-style: none;
}
ul li {
margin: 0;
padding: 0 0 0 1.5em;
list-style-type: none;
}
ul li::before {
color: #007c7c;
content: "\2022";
/* display: inline-block; */
float: left;
font-weight: bold;
padding-right: 0.3em;
width: 1em;
}
table {
border-collapse: collapse;
overflow: hidden;
}
th,
td {
padding: 15px;
background-color: rgba(255, 255, 255, 0.2);
color: #fff;
}
th {
text-align: left;
}
thead th, .jop-tinymce table th, table th {
background-color: dimgray;
}
tbody tr:hover {
background-color: rgba(255, 255, 255, 0.3);
}
tbody td {
position: relative;
}
tbody td:hover:before {
content: "";
position: absolute;
left: 0;
right: 0;
top: -9999px;
bottom: -9999px;
background-color: rgba(255, 255, 255, 0.2);
z-index: -1;
}
input[type='checkbox'],
.md-checkbox .checkbox-label-unchecked,
.md-checkbox .checkbox-label-checked,
li.md-checkbox {
cursor: pointer !important;
}
li.md-checkbox [type="checkbox"]:not(:checked),
li.md-checkbox [type="checkbox"]:checked {
position: absolute;
left: -9999px;
}
li.md-checkbox [type="checkbox"]:not(:checked) + label,
li.md-checkbox [type="checkbox"]:checked + label {
position: relative;
padding-left: 1.5em;
cursor: pointer;
}
li.md-checkbox [type="checkbox"]:not(:checked) + label:before,
li.md-checkbox [type="checkbox"]:checked + label:before {
content: '';
position: absolute;
left: 0;
top: 0;
width: 1em;
height: 1em;
border: 1px solid darkgray;
/* background: var(--light-gray); */
border-radius: 50%;
}
li.md-checkbox [type="checkbox"]:checked + label {
opacity: 1 !important;
}
li.md-checkbox [type="checkbox"]:checked + label:before {
background: palegreen;
opacity: 1 !important;
}
.checkbox-label-checked {
text-decoration: line-through;
text-decoration-color: darkgray;
}
li.md-checkbox [type="checkbox"]:not(:checked) + label:after,
li.md-checkbox [type="checkbox"]:checked + label:after {
/* content: '\2713\0020'; */
position: absolute;
top: -3px;
left: 4px;
color: white;
font-weight: bold;
font-family: 'Lucida Sans Unicode', 'Arial Unicode MS', Arial;
opacity: 1 !important;
}
li.md-checkbox [type="checkbox"]:not(:checked) + label:after {
opacity: 0;
transform: scale(0);
}
li.md-checkbox [type="checkbox"]:checked + label:after {
opacity: 1;
transform: scale(1);
}
ins {
text-decoration: none;
color: #2178db;
font-weight: bold;
}
.resource-icon {
display: inline-block;
position: relative;
top: 2px;
text-decoration: none;
width: 14px;
height: 16px;
margin-right: 5px;
background-color: #155BDA;
}
/* TOC */
nav.table-of-contents ul {
list-style-type: none;
margin-top: 0px !important;
margin-bottom: 0px !important;
margin-left: 1em !important;
}
nav.table-of-contents>ul {
top: 5px;
right: 0px;
z-index: 99;
font-size: 12px;
position: fixed;
padding: 15px;
border-radius: 10px 0px 0px 10px;
margin: 0px;
overflow: hidden;
height: 90%;
width: 5px;
transition: .2s;
}
nav.table-of-contents::after {
content: "";
color: black;
}
nav.table-of-contents>ul:hover {
background: #F8F8F8;
box-shadow: -5px 0px 10px 0px rgba(0,0,0,0.15);
width: 30%;
color: none;
overflow: scroll;
}
nav.table-of-contents>ul:hover::before {
content: "Содержание"
font-weight: bold;
}
nav.table-of-contents>ul:hover li {
display: list-item;
}
nav.table-of-contents li {
display: none;
white-space: nowrap;
overflow: hidden;
margin: 0px;
padding: 0px;
}
nav.table-of-contents li:before {
4 years ago
content: "" !important;
}