Viewing source of ziq_themes2/fresh_pastels_4

Revision ID: d8cf46e7-21e0-4010-9251-62c7497e5e01

Hierarchy

Common CSS
/* Material Design Theme (beta) by Shining Wing */
/* Version beta.012 */

/* Body and general theming */

html {
    color: var(--text-primary);
    font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif;
}

body {
    background: var(--color-background);
}

.content-wrapper {
    margin: 0 24px 0 24px;
}

@media screen and (max-width: 767px) {
    .content-wrapper {
        margin: 0;
    }
}

.user-flag.user-flag-admin {
    color: var(--color-admin);
}

.user-flag.user-flag-moderator {
    color: var(--color-moderator);
}

a {
    color: var(--color-accent);
}

a.submission-link:visited {
    color: var(--color-accent-visited);
}

h1 {
    font-weight: 500;
}

h2 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px
}

hr {
    margin: 0 -16px 12px -16px;
    border: 0;
    border-top: 1px var(--text-divider);
    border-style: solid;
}

a[href$="/spoiler"],a[href$="#spoiler"],a[href$="/s"],a[href$="#s"] /*Spoiler text*/ {
    background: var(--color-background);
    color: var(--color-background);
}

/* Toolbar */

.site-nav {
    background: var(--color-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    z-index: 3;
    margin-bottom: 24px;
    padding: 0;
    height: 64px
} 

@media screen and (max-width: 767px) {
    .site-nav {
        margin-bottom: 0px;
        height: 56px;
    }
}

.site-nav__inner {
    margin: 0;
    height: 64px;
}

.site-nav__link {
    color: var(--text-toolbar);
    padding: 22px 12px 12px 12px;
    height: 64px;
}

@media screen and (max-width: 767px) {
    .site-nav__link {
        background: var(--color-primary);
        padding: 12px 16px 16px 16px;
        height: 48px;
    }
}

.site-nav__link.dropdown-toggle {
    padding-right: 28px;
    background: var(--color-primary);
}

.site-nav__link.dropdown-toggle>strong {
    font-weight: 500;
}

.site-nav__logo {
    height: 64px;
    color: var(--text-toolbar);
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    padding: 18px 16px 16px 24px;
}

@media screen and (max-width: 767px) {
    .site-nav__logo {
        height: 56px;
        margin: 0;
        padding: 14px 16px 16px 16px;
    }
}

.site-nav__item--has-notifications>a.site-nav__link {
    font-weight: 500;
    background: var(--color-primary);
    color: var(--color-notification);
}

.site-nav__mobile-toggle {
    height: 56px;
    background: var(--color-primary);
    padding-top: 18px;
}

.site-nav__mobile-toggle--has-notifications {
    color: var(--color-notification);
}

/* Menu */

.dropdown-menu {
    background: var(--color-card);
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    border: none;
    border-radius: 2px;
    padding: 8px 0 8px 0;
}

.dropdown-menu>li>a {
    height: 48px;
    padding-top: 14px;
    font-size: 16px;
    color: var(--text-primary);
}

    .dropdown-menu>li>a:hover {
        height: 48px;
        padding-top: 14px;
        font-size: 16px;
        color: var(--text-primary);
        background: var(--button-hover);
    }

.dropdown-menu>li>a>span.icon {
    display: none;
}

/* Submissions and main body */

.body {
    background: var(--color-card);
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    border-radius: 2px;
    z-index: 2;                                       
}

@media screen and (max-width: 767px) {
    .body {
        margin-bottom: 16px;
        border-radius: 0;
    }
}

.body>h1 {
    margin-bottom: 8px;
}

.forum-name-heading__name {
    font-weight: 500;
}

.submission-sticky .submission-link {
    color: var(--color-moderator);
}

.submission-sticky .submission-link:visited {
    color: var(--color-moderator);
}

.submission-sort>ul>li>a {
    background: none;
    color: var(--text-tabs);
    font-weight: 500;
    text-transform: uppercase;
    height: 48px;
    padding: 14px 12px 14px 12px;
}

    .submission-sort>ul>li>a:hover {
        background: var(--button-hover);
        text-decoration: none;
    }

.submission-sort>ul>.active>a {
    color: var(--color-accent);
    background: none;
    border-bottom: 2px solid var(--color-accent);
}

    .submission-sort>ul>.active>a:hover {
        background: var(--button-hover);
        text-decoration: none;
    }

.submission {
    margin: 0;
}

.submission-row {
    min-height: 88px;
}

.submission-inner {
    padding: 10px 0 12px 0;
}

@media screen and (max-width: 767px){
    .submission-inner {
        padding: 12px 0 12px 0;
        max-width: 90%;
    }
}

.submission-body {
    padding-top: 16px;
}

.submission-body>p>a {
    overflow-wrap: break-word;
}

@media screen and (max-width: 359px) {
    .submission-image-container {
        display: none;
    }
}

.submission-image-container {
    margin-right: 24px;
}

.submission-thumbnail {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 2px;
    margin-top: 16px;
}

.pagination>ul {
    margin: 16px 0 0 0;
}

.next>a {
    background: none;
    color: var(--color-accent);
    height: 36px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 2px;
    margin-left: -8px;
    padding: 8px 16px 8px 16px;
}

    .next>a:active {
        background: var(--button-active);
        color: var(--color-accent);
    }

    .next>a:hover {
        background: var(--button-hover);
        color: var(--color-accent);
    }

.previous>a {
    background: none;
    color: var(--color-accent);
    height: 36px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 2px;
    margin-left: -8px;
    padding: 8px 16px 8px 16px;
}

    .previous>a:active {
        background: var(--button-active);
        color: var(--color-accent);
    }

    .previous>a:hover {
        background: var(--button-hover);
        color: var(--color-accent);
    }

/* Sidebar */

@media screen and (min-width: 768px) {
    .sidebar {
        margin-left: 24px;
    }
}

.sidebar__section {
    background: var(--color-card);
    margin-bottom: 24px;
    padding: 16px 16px 0 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    border-radius: 2px;
    z-index: 1;
}

@media screen and (max-width: 767px) {
    .sidebar__section {
        border-radius: 0;
        margin-bottom:16px;
    }
}

.sidebar__title {
    font-weight: 500;
    font-size: 20px;
}

.subscribe-button .subscribe-button__label {
    height: 36px;
    background: var(--color-primary);
    color: var(--text-toolbar);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 2px ;
    padding: 8px 16px 8px 16px;
}

.subscribe-button:hover .subscribe-button__label {
    background: var(--color-primary);
    opacity: 0.80;
}

.subscribe-button__subscriber-count {
    height: 36px;
    color: var(--text-primary);
    background: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    text-align: left;
    border-radius: 0;
    padding: 8px 16px 8px 16px;
    margin:0;
} 


/* Voting */

.vote-button {
    color: var(--text-secondary);
}

.vote-button.vote-up {
    padding: 8px 8px 4px 8px;   
}

.vote-user-upvoted .vote-up {
    color: var(--color-upvote);
}

.vote-button.vote-down {
    padding: 4px 8px 8px 8px;   
}

.vote-user-downvoted .vote-down {
    color: var(--color-downvote)
}

.submission-vote {
    min-width: 56px;
}

.comment-vote {
    min-width: 56px;
    margin-top: -8px;
}

.vote {
    min-width: 32px;
    height: 88px;
    margin-right: 24px;
    padding: 8px 0 8px 0;
}

.vote-score {
    
    width: 30px;
}

/* Comments */

.comment, .message-thread-inner, .message-reply {
    border: 0;
    border-top: 1px solid var(--text-divider);
    border-radius: 0px;
    padding: 12px 0 0 16px;
    margin: 0 -16px 0 -16px;
}

.message-thread-inner, .message-reply {
    padding: 12px 16px 0 16px;
}

.comment-row {
    padding-bottom: 6px;
}

.submitter.comment-user {
    background: none;
    border: 0;
    padding:0;
    color: var(--color-accent);
}

.comment-replies {
    padding: 0 0 0 10px;
}

.comment-replies>.comment {
    margin: 0;
}

/* Secondary text */
.comment-info, .comment-nav, .submission-nav, .submission-info, .submission-host, .message-head {
    color: var(--text-secondary);
}

.comment-info {
    margin-bottom: 8px;
    padding: 0;
}

.comment-nav {
    margin-top: 8px;
    padding: 0;
}

/* Backgrounds for old style
.comment-top-level {
    background: var(--color-card);
}

.comment-level-1 {
    background: #f5f5f5;
}

.comment-level-2 {
    background: var(--color-card);
}

.comment-level-3 {
    background: #f5f5f5;
}

.comment-level-4 {
    background: var(--color-card);
}

.comment-level-5 {
    background: #f5f5f5;
}

.comment-level-6 {
    background: var(--color-card);
}

.comment-level-7 {
    background: #f5f5f5;
} */

/* Profile */

.user-page>.content-wrapper>.body>.submission>.submission-row {
    border-top: 1px solid var(--text-divider);
}

/* Forum list*/

.forum-list-view-selector>ul>li>a {
    background: none;
    color: var(--text-tabs);
    font-weight: 500;
    text-transform: uppercase;
    height: 48px;
    padding: 14px 12px 14px 12px;
}

    .forum-list-view-selector>ul>li>a:hover {
        background: var(--button-hover);
        text-decoration: none;
    }

.forum-list-view-selector>ul>li.active>a {
    color: var(--color-primary);
    background: none;
    border-bottom: 2px solid var(--color-primary);
}

    .forum-list-view-selector>ul>li.active>a:hover {
        background: var(--button-hover);
        text-decoration: none;
    }

/* Buttons */

button#submission_submit {
    height: 36px;
    background: var(--color-accent);
    color: var(--text-on-solid-button);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 8px 16px 8px 16px;
    margin-right: 8px
}

    button#submission_submit:hover {
        background: var(--color-accent-dark);
    }

button#submission_delete {
    height: 36px;
    background: var(--color-accent);
    color: var(--text-on-solid-button);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 8px 16px 8px 16px;
}

    button#submission_delete:hover {
        background: var(--color-accent-dark);
    }

button#forum_submit {
    height: 36px;
    background: var(--color-accent);
    color: var(--text-on-solid-button);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 8px 16px 8px 16px;
}

    button#forum_submit:hover {
        background: var(--color-accent-dark);
    }

button#forum_appearance_save {
    height: 36px;
    background: var(--color-accent);
    color: var(--text-on-solid-button);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 8px 16px 8px 16px;
}

button#comment_submit {
    height: 36px;
    background: var(--color-accent);
    color: var(--text-on-solid-button);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 8px 16px 8px 16px;
}

    button#comment_submit:hover {
        background: var(--color-accent-dark);
    }

button#user_settings_save {
    height: 36px;
    background: var(--color-accent);
    color: var(--text-on-solid-button);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 8px 16px 8px 16px;
}

    button#user_settings_save:hover {
        background: var(--color-accent-dark);
    }

button#message_thread_submit {
    height: 36px;
    background: var(--color-accent);
    color: var(--text-on-solid-button);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 8px 16px 8px 16px;
}

    button#message_thread_submit:hover {
        background: var(--color-accent-dark);
    }

.button {
    height: 36px;
    background: var(--color-accent);
    color: var(--text-on-solid-button);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 8px 16px 8px 16px;
}

    .button:hover {
        background: var(--color-accent-dark);
    }

.button {
    height: 36px;
    background: var(--color-accent);
    color: var(--text-on-solid-button);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 8px 16px 8px 16px;
}

    .button:hover {
        background: var(--color-accent-dark);
    }

.button--secondary.button--inline {
    background: none;
    color: var(--color-accent);
    height: 36px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 2px;
    border: 0;
    padding: 8px 16px 8px 16px;
}

    .button--secondary:hover {
        color: var(--color-accent-dark);
    }

/* Snackbars/Alerts */

.site-alerts>div.alert.alert--notice {
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    z-index: 4;
    min-height: 48px;
    min-width: 288px;
    max-width: 568px;
    padding: 14px 24px 0px 24px;
    border-radius: 2px;
    background: var(--color-snackbar);
    color: var(--text-snackbar);
}

.alert.alert--notice.single-comment-alert {
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    z-index: 4;
    min-height: 48px;
    min-width: 288px;
    max-width: 568px;
    padding: 14px 24px 0px 24px;
    border-radius: 2px;
    background: var(--color-snackbar);
    color: var(--text-snackbar);
}

.alert.alert--notice.single-comment-alert>p>a {
    font-size: 0px;
    color: var(--color-accent);
}

.alert.alert--notice.single-comment-alert>p>a:after {
    float: right;
    content: "View all";
    font-size: 14px;
    font-weight: 500;
    padding-left: 16px;
    text-transform: uppercase;
    text-align: right;
}

@media screen and (max-width: 339px) {
    .alert.alert--notice.single-comment-alert>p>a:after {
        padding-top: 12px;
    }
}

@media screen and (max-width: 767px) {
    .alert.alert--notice.single-comment-alert {
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }
}

.site-alerts>.alert.alert--success.alert--animate.alert--dismissable {
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    z-index: 4;
    height: 48px;
    min-width: 288px;
    max-width: 568px;
    padding: 14px 24px 14px 24px;
    border-radius: 2px;
    background: var(--color-snackbar);
    color: var(--text-snackbar);
}

@media screen and (max-width: 767px) {
    .site-alerts>div.alert.alert--success.alert--animate.alert--dismissable {
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }
}

/* Forms */

.form textarea {
    background: none;
    color: var(--text-primary);
    font-size: 16px;
    border: 1px solid var(--text-secondary);
    border-radius: 2px;
    padding: 16px 16px 16px 16px;
}

    .form textarea:focus {
        border: 2px solid var(--color-accent);
        border-radius: 2px;
    }

input#submission_url {
    background: none;
    color: var(--text-primary);
    height: 36px;
    font-size: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--text-secondary);
}

    input#submission_url:focus {
        border-bottom: 2px solid var(--color-accent);
    }

input#forum_name {
    background: none;
    color: var(--text-primary);
    height: 36px;
    font-size: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--text-secondary);
}

    input#forum_name:focus {
        border-bottom: 2px solid var(--color-accent);
    }

input#forum_title {
    background: none;
    color: var(--text-primary);
    height: 36px;
    font-size: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--text-secondary);
}

    input#forum_title:focus {
        border-bottom: 2px solid var(--color-accent);
    }

input#theme_name {
    background: none;
    color: var(--text-primary);
    height: 36px;
    font-size: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--text-secondary);
}

    input#theme_name:focus {
        border-bottom: 2px solid var(--color-accent);
    }

input#theme_parent {
    background: none;
    color: var(--text-primary);
    height: 36px;
    font-size: 16px;
    padding: 0;
    margin-bottom: 8px;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--text-secondary);
}

    input#theme_parent:focus {
        border-bottom: 2px solid var(--color-accent);
    }

input#user_username {
    background: none;
    color: var(--text-primary);
    height: 36px;
    font-size: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--text-secondary);
}

    input#user_username:focus {
        border-bottom: 2px solid var(--color-accent);
    }

input#user_password_first {
    background: none;
    color: var(--text-primary);
    height: 36px;
    font-size: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--text-secondary);
}

    input#user_password_first:focus {
        border-bottom: 2px solid var(--color-accent);
    }

input#user_password_second {
    background: none;
    color: var(--text-primary);
    height: 36px;
    font-size: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--text-secondary);
}

    input#user_password_second:focus {
        border-bottom: 2px solid var(--color-accent);
    }

input#user_email {
    background: none;
    color: var(--text-primary);
    height: 36px;
    font-size: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--text-secondary);
}

    input#user_email:focus {
        border-bottom: 2px solid var(--color-accent);
    }

input#user_verification {
    background: none;
    color: var(--text-primary);
    height: 36px;
    font-size: 16px;
    padding: 0;
    margin-bottom: 16px;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--text-secondary);
}

    input#user_verification:focus {
        border-bottom: 2px solid var(--color-accent);
    }

.markdown-input__preview {
    background: var(--color-background);
    border-radius: 2px;
    padding: 16px 16px 16px 16px;
}


.markdown-input__preview>p {
    margin: 0;
}

.form__label {
    font-size: 14px;
    color: var(--text-primary);
    padding: 14px 0 14px 0;
    margin: 0 16px 0 0;
}

.form__group {
    border: 0;
    padding: 0 0 8px 0;
    margin: 0;
}

.form__row {
    margin: 0;
    min-height: 48px;
}

.form__group-header {
    height: 48px;
    font-weight: 500;
    color: var(--color-accent);
    padding: 14px 0 0 0;
}

select {
    background: var(--color-card);
    color: var(--text-primary);
    border: 0;
}

span.select2-container--default .select2-selection--single {
    background: none;
    border: 0;
}

.select2-container--open .select2-dropdown--below, .select2-container--open .select2-dropdown--above {
    border: 0;
    border-radius: 2px;
    background: var(--color-card);
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    background: none;
    color: var(--text-primary);
    border: 0;
    border-bottom: 1px solid var(--text-secondary);
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    color: var(--text-primary);
    border: 0;
    border-bottom: 2px solid var(--color-accent);
}

.select2-results__options {
    color: var(--text-primary);
}

.select2-results__options--highlighted {
    color: var(--text-primary);
}

span.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-primary);
}

/* Footer */

.site-footer {
    padding: 16px 16px 16px 0;
}

.site-footer-version {
    margin-bottom: 16px;
}
Daytime CSS
:root {
    /* This sheet goes with versions beta.009 to beta.012 */
    /* Variables go here! */
    /* Stylish doesn't like CSS variables, ignore errors here if you're using that! */
    
    --color-primary: #f44336; /* Toolbar, tabs and subscribe button */
    --color-accent: #f44336; /* Buttons and links */
    --color-accent-visited: #ef9a9a; /* Visited links */
    --color-accent-dark: #d32f2f; /* Buttons when hovering and clicked */
    --color-notification: #ffc107; /*The "Inbox" text when you have messages */
    
    /* Be careful when changing these, make sure to use good contrast! */
    --text-toolbar: #fff; /* Change this to rgba(0,0,0,0.54) if you want dark text on a light toolbar! */
    --text-on-solid-button: #fff; /* Same as above, but for the accent color */
    --color-upvote: #ff9100;
    --color-downvote: #2979ff;
    --color-moderator: #4caf50; /* Mod tag and sticky links */
    
    /* These change the background colors! Be careful with these. */
    --color-background: #eee;
    --color-card: #fff;
    
    /* Don't change these colors unless you really need to! */
    --text-primary: rgba(0,0,0,0.87);
    --text-secondary: rgba(0,0,0,0.54);
    --text-snackbar: #fff;
    --text-tabs: rgba(0,0,0,0.60);
    --text-divider: rgba(0,0,0,0.12);
    --button-hover: rgba(0,0,0,0.10);
    --button-active: rgba(0,0,0,0.20);
    --color-admin: #c00; /* The admin tag color, I'd like to keep this consistent sitewide */
    --color-snackbar: #323232;
}
Night CSS
:root {
    /* This sheet goes with versions beta.009 to beta.010 */
    /* Variables go here! */
    /* Stylish doesn't like CSS variables, ignore errors here if you're using that! */
    
    --color-primary: #d32f2f; /* Toolbar, tabs and subscribe button */
    --color-accent: #f44336; /* Buttons and links */
    --color-accent-visited: #d32f2f; /* Visited links */
    --color-accent-dark: #d32f2f; /* Buttons when hovering and clicked */
    --color-notification: #ffc107; /*The "Inbox" text when you have messages */
    
    /* Be careful when changing these, make sure to use good contrast! */
    --text-toolbar: #fff; /* Change this to rgba(0,0,0,0.54) if you want dark text on a light toolbar! */
    --text-on-solid-button: #fff; /* Same as above, but for the accent color */
    --color-upvote: #ff9100;
    --color-downvote: #2979ff;
    --color-moderator: #4caf50; /* Mod tag and sticky links */
    
    /* These change the background colors! Be careful with these. */
    --color-background: #212121;
    --color-card: #424242;
    
    /* Don't change these colors unless you really need to! */
    --text-primary: #fff;
    --text-secondary: rgba(255,255,255,0.70);
    --text-dark-toolbar: #fff;
    --text-tabs: rgba(255,255,255,0.60);
    --text-divider: rgba(255,255,255,0.12);
    --button-hover: rgba(255,255,255,0.10);
    --button-active: rgba(255,255,255,0.20);
    --color-admin: #c00; /* The admin tag color, I'd like to keep this consistent sitewide */
    --color-snackbar: #323232;
}