Шаблон:Уголовный кодекс ОПЗ/style.css

Материал из МК14 | Space Station 14 Wiki
.spoilerdesc {
    padding: 0 5px;
    border: 1px solid #ccc;
    margin-top: 22px;
}
.spoilerclose {    
    display: none;
    background: #f26200;
    width: 100%;
    height: 22px;
    text-indent: 10px;
    cursor: default;
    position: absolute;
    top: 0px;
    left: 0;
}
.spoilerclose:hover {   
    background: #F29933;
}
.spoileropen:before {
    content: 'Развернуть';
    cursor: default;
    text-indent: 10px;
    width: 100%;
    height: 22px;
    background: #F26200;
    display: block;
    position: absolute;
    top: 0px;
    left: 0;
}
.spoileropen:hover:before {
    background: #F29933;
}
.spoileropen {
    margin: 5px 0 0 15px;
    height: 23px;  
    width: 700px;
    outline: none;
    float: left;
    position: relative;
    overflow: hidden;
    transition: height 0.3s ease;
    transition: height 0.3s ease;
    transition: height 0.3s ease;
    transition: height 0.3s ease;
    transition: height 0.3s ease;
}
.spoileropen:focus {
    height: auto;
}
.spoileropen:focus .spoilerclose {
    display: block;
}
.spoileropen:focus:before {
    display: none;
}