Skip to content

Prepod NSPU Strawberry yoghurt by Ledenec

Screenshot of Prepod NSPU Strawberry yoghurt

Details

AuthorLedenec

LicenseNo License

Categoryprepod.nspu.ru

Created

Updated

Size12 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Just a cute style for NSPU forum.
Небольшое милое оформление. Удалены неиспользуемые блоки, добавлены мягкие расслабляющие цвета.

Notes

Userstyle doesn't have notes.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name           Prepod NSPU Strawberry yoghurt
@namespace      github.com/openstyles/stylus
@version        1.0.2
@description    A new userstyle
@author         Ledenec
==/UserStyle== */
@-moz-document url-prefix("https://prepod.nspu.ru/") {
    /* Место для CSS кода... */
    body {

        margin: 5px;
        font-family: 'Lato', sans-serif;
        font-size: 16px;
        line-height: 22px;
        color: black;
        /*background: #ffe7ff;*/
        /*background: linear-gradient(#d3c9fe, #ffe7ff);*/
        background: fixed linear-gradient(#ffe7ff 0%, #d3c9fe 100%);
    }

    /* отключение ненужной херни */
    .clearfix:before,
    .clearfix:after {
        display: table-cell;
        content: "";
        line-height: 0;
    }
    img.small-logo {
visibility: hidden
;
    }
   
    #page-footer {
        display: none;
    }
    .block_online_users {
        display: none;
    }
    .block_calendar_month {
        display: none;
    }
    .block_news_items {
        display: none;
    }
    .block_recent_activity {
        display: none;
    }
    li.activity.label,
    .file-picker td.label {

        display: none;
        background: inherit;
        color: inherit;
        border: inherit;
        text-shadow: none;
        padding: 8px;
        white-space: normal;

        font-size: inherit;
        line-height: inherit;
    }

    .block_html {
        display: none;
    }
    .span7 {
        display: none;
    }
    .row-fluid .span10:after {
        border-radius: 15px;
        background-color: Snow;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        min-height: 20px;
        padding: 19px;
        margin-bottom: 20px;


        content: "Живи так, словно читаешь книгу. И люби так, словно читаешь стихи.";


        font-size: 17.5px;

        display: block;
        text-align: center;
        float: left;
    }
    .row-fluid .span10:before {

        visibility: visible;
    }
    /*Настройка темы тестов*/
    #page-mod-quiz-view table.quizattemptsummary tr.bestrow td {
        border-color: #e91e6300;
        background-color: #fbcff8;
    }

    table#explaincaps tbody > tr:nth-child(odd) > td,
    table#defineroletable tbody > tr:nth-child(odd) > td,
    table.grading-report tbody > tr:nth-child(odd) > td,
    table#listdirectories tbody > tr:nth-child(odd) > td,
    table.rolecaps tbody > tr:nth-child(odd) > td,
    table.userenrolment tbody > tr:nth-child(odd) > td,
    table#form tbody > tr:nth-child(odd) > td,
    form#movecourses table tbody > tr:nth-child(odd) > td,
    #page-admin-course-index .editcourse tbody > tr:nth-child(odd) > td,
    .forumheaderlist tbody > tr:nth-child(odd) > td,
    table.flexible tbody > tr:nth-child(odd) > td,
    .generaltable tbody > tr:nth-child(odd) > td,
    table#explaincaps tbody > tr:nth-child(odd) > th,
    table#defineroletable tbody > tr:nth-child(odd) > th,
    table.grading-report tbody > tr:nth-child(odd) > th,
    table#listdirectories tbody > tr:nth-child(odd) > th,
    table.rolecaps tbody > tr:nth-child(odd) > th,
    table.userenrolment tbody > tr:nth-child(odd) > th,
    table#form tbody > tr:nth-child(odd) > th,
    form#movecourses table tbody > tr:nth-child(odd) > th,
    #page-admin-course-index .editcourse tbody > tr:nth-child(odd) > th,
    .forumheaderlist tbody > tr:nth-child(odd) > th,
    table.flexible tbody > tr:nth-child(odd) > th,
    .generaltable tbody > tr:nth-child(odd) > th {
        background-color: #f7e9ff;
    }
    input.form-submit,
    input#id_submitbutton,
    input#id_submitbutton2,
    .path-admin .buttons input[type="submit"],
    td.submit input {
        color: #fff;
        text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
        background-color: #dd168e;
        background-image: -moz-linear-gradient(top, #004489, #001689);
        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#004489), to(#001689));
        background-image: -webkit-linear-gradient(top, #004489, #001689);
        background-image: -o-linear-gradient(top, #004489, #001689);
        background-image: linear-gradient(to bottom, #e382ce, #581d71);
        background-repeat: repeat-x;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff004489', endColorstr='#ff001689', GradientType=0);
        border-color: #001689 #001689 #000a3d;
        border-color: rgba(0, 0, 0, .1) rgba(0, 0, 0, .1) rgba(0, 0, 0, .25);
        filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    }


    /*настройки темы сообщений*/
    .messaging-area-container .messaging-area .contacts-area .tabs .tab.selected {
        color: #be7ac3
    }
    .messaging-area-container .messaging-area .contacts-area .contacts .contact.selected {
        background-color: #8f4e9e;
        color: #fff;
        border: none;
    }
    .messaging-area-container .messaging-area .contacts-area .contacts .contact {
        height: 66px;
        cursor: pointer;
        border-bottom: 1px solid #e3e3e3;
        box-sizing: border-box
    }

    .messaging-area-container .messaging-area .contacts-area .contacts .contact.unread {
        background-color: #f1f1f1
    }
    .messaging-area-container .messaging-area .contacts-area .contacts .contact:hover {
        background-color: #cfa1d9;
        color: #fff;
        border: none;
        background-color: #cfa1d9;
    }
    .messaging-area-container a,
    .messaging-area-container .btn.btn-link {
        color: #ab218d;
    }

    /*настройки остальной темы*/
    .jsenabled .navbar-inverse .usermenu .moodle-actionmenu.show {
        background-color: #440b38;
    }
    .que .formulation {
        border-radius: 15px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        background-color: #ecd8ff;
        border-color: #ffd9f8;
        color: #440841;
        color: #4f0041;
    }
    a {
        color: #9428aa;
        text-decoration: none;
    }
    a:hover,
    a:focus {
        color: #ff00c6;
        text-decoration: underline
    }

    .navbar-inverse .navbar-inner {
        background-color: #6c015a;
        background-image: none;
        border-color: #ff00c6;
    }
    #region-main {
        border-radius: 15px;
        background-color: Snow;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    .block {
        border-radius: 15px;
        background-color: Snow;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        min-height: 20px;
        padding: 19px;
        margin-bottom: 20px;

        padding: 8px 0;
    }
    .btn-link {
        border-color: transparent;
        cursor: pointer;
        color: #a4009c;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }
    h3 {
        text-align: center;
        font-size: 24.5px;
    }
    h1 {
        text-align: center;
        font-size: 36px;
    }
    h2 {
        text-align: center;
        font-size: 30px;
    }
    .label-info,
    .badge-info {
        background-color: #d00dc1;
    }
    label,
    input,
    button,
    select,
    textarea {
        font-size: 16px;
        font-weight: 400;
        line-height: 20px;
    }
    button,
    input.form-submit,
    input[type="button"],
    input[type="submit"],
    input[type="reset"] {
        display: inline-block;
        padding: 4px 12px;
        margin-bottom: 0;
        font-size: 14px;
        /* line-height: 20px; */
        text-align: center;
        vertical-align: middle;
        /* cursor: pointer; */
        /* color: #333; */
        text-shadow: 0 1px 1px rgba(255, 255, 255, .75);
        /* background-color: #e41fdd; */
        background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
        background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
        background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
        background-image: linear-gradient(to bottom, #fffbfe, #ffd0fe);
        background-repeat: repeat-x;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
        border-color: #e6e6e6 #e6e6e6 #bfbfbf;
        border-color: rgba(0, 0, 0, .1) rgba(0, 0, 0, .1) rgba(0, 0, 0, .25);
        filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
        border: 1px solid #ff98cc;
        border-bottom-color: #cf30ff;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
        -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
    }


    .block .header h2 {
        display: block;
        padding: 3px 15px;
        font-size: 11px;
        font-weight: 700;
        line-height: 20px;
        color: #e2009c;
        text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
        text-transform: uppercase;
        text-shadow: none;
        font-size: 1.1em;
        word-wrap: break-word;
        margin: 0;
    }
    .navbar .count-container {
        padding: 2px;
        border-radius: 2px;
        background-color: #d808b3;
        color: white;
        font-size: 10px;
        line-height: 10px;
        position: absolute;
        top: 5px;
        right: 0;
    }
    .navbar-inverse .usermenu .login {
        color: #f9f1f9;
    }
    .navbar-inverse .usermenu .login a {
        color: #ff89dc;
    }
    .jsenabled .usermenu .moodle-actionmenu.show .menu a:hover {
        text-decoration: none;
        background-color: #ff0cd0;
        background-image: -moz-linear-gradient(top, #dabbd5, #ffffff);
        background-image: -webkit-gradient(ease-out, 0 0, 0 100%, from(#7f93a8), to(#929ca6));
        background-image: -webkit-linear-gradient(top, #cda6cc, #ffffff);
        background-image: -o-linea...

Reviews

No reviews yet.