.editor-preview {
    height: calc(100vh - 300px);
    overflow: scroll;
    display: block;
}

.editor-raw {
    height: calc(100vh - 300px);
    overflow: scroll;
    display: block;
}

.border-invisible {
    border-color: rgba(0,0,0,0);
}

div.markdown div > pre {
    white-space: break-spaces;
}

div.markdown > p > a > img, div.markdown td > a > img {
    max-width: calc(100% - 40px);
    display: inline-block;
    margin-top: 25px;
    margin-bottom: 15px;
    margin-left: 20px;
    padding: 8px;
    transition: 1s;
}

div.markdown > p > a > img:hover, div.markdown td > a > img:hover {
    -moz-box-shadow: 0 0 20px #222;
    -webkit-box-shadow: 0 0 20px #222;
    box-shadow: 0 0 20px #222;
}


.stack-wrapper {
    padding-top: 5px;
    padding-bottom: 455px;
}

.stack-img-area {
    left: 50%;
    position: relative;
    height: auto;
    width: calc(100%/3);
    transform: translate(-50%);
}

.stack-img-area img {
    padding: 10px;
    z-index: 200;
    position: absolute;
    max-width: calc(100% - 10px);
    width: calc(100% - 10px);
    max-height: 400px;
    top: 0;
    left: 0;
    transition: 2.5s;
    transition-timing-function: ease-out;
    box-shadow: 0 0 5px 0 #333;
    border: 1px solid #d7d7d7;
    background-color: #fff;
}

.stack-img-area:hover img {
    transition: .5s;
    transition-timing-function: ease-out;
}

.stack-img-area p a:nth-child(1) img {
    transform: rotate(-1deg);
    zoom: 1;
}

.stack-img-area p a:nth-child(2) img {
    transform: rotate(5deg);
    zoom: 1;
}

.stack-img-area p a:nth-child(3) img {
    transform: rotate(-15deg);
    zoom: 1;
}


.stack-img-area:hover p a:nth-child(1) img {
    top: 0;
    left: 0;
    transform: rotate(0deg);
}

.stack-img-area:hover p a:nth-child(2) img {
    top: 0;
    transform: rotate(0deg) translateX(calc(100% + 10px));
}

.stack-img-area:hover p a:nth-child(3) img {
    top: 0px;
    transform: rotate(0deg) translateX(calc(-100% - 10px));
}

.metamask-button {
    height: 0px;
    display: inline-block;
}

.metamask-button div button {
    display: contents;
}



@media (max-width: 500px) {
    .metamask-button div button {
        color: green;
        font-size: 0 !important;
    }
}