vnote/src/resources/common.css

131 lines
2.1 KiB
CSS

div.mark-rect {
background: transparent;
border: 5px solid #5768c4;
border-radius: 2px;
position: absolute;
}
#vnote-footer {
width: 100%;
text-align: center;
opacity: 0.2;
margin-top: 3rem;
}
#vnote-footer p {
font-size: 0.8rem;
}
#vnote-footer a {
color: inherit !important;
}
/* Mathjax */
x-eqs {
display: flex;
flex-direction: row;
align-content: space-between;
align-items: center;
}
x-eqs > x-eqn {
width: 100%;
margin-left: 3rem;
}
x-eqs > span {
text-align:right;
}
/* Mathjax */
/* View Image */
.view-image,.view-svg {
transition: 0.3s;
}
.modal-box {
display: none;
position: fixed;
z-index: 1000;
padding-top: 50px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: hidden;
background-color: rgb(68, 68, 68);
background-color: rgba(68, 68, 68, 0.95);
}
.modal-content {
margin: auto;
display: block;
width: auto;
height: auto;
cursor: move;
}
/* Add Animation */
.modal-content {
-webkit-animation-name: zoom;
-webkit-animation-duration: 0.6s;
animation-name: zoom;
animation-duration: 0.6s;
}
@-webkit-keyframes zoom {
from {-webkit-transform:scale(0)}
to {-webkit-transform:scale(1)}
}
@keyframes zoom {
from {transform:scale(0)}
to {transform:scale(1)}
}
/* The Close Button */
span.modal-close {
position: absolute;
z-index: 1000;
top: 15px;
right: 35px;
color: #DADADA;
font-size: 40px;
font-weight: bold;
transition: 0.3s;
}
span.modal-close:hover,
span.modal-close:focus {
color: #EEEEEE;
text-decoration: none;
cursor: pointer;
}
/* View Image */
/* Print */
@media print {
pre, pre code, td.hljs-ln-code {
white-space: pre-wrap !important;
word-break: break-all !important;
}
code, a {
word-break: break-all !important;
}
div.flowchart-diagram, div.mermaid-diagram, div.plantuml-diagram {
overflow: hidden !important;
}
img {
max-width: 100% !important;
height: auto !important;
}
#vnote-footer {
display: none !important;
}
}
/* Print*/