×
Create a new article
Write your page title here:
We currently have 152 articles on Grow Song of The Evertree Wiki. Type your article name above or create one of the articles listed here!



    Grow Song of The Evertree Wiki

    User:NotAracham/cosmos.css: Difference between revisions

    Content added Content deleted
    (converting to standalone colors)
    (adding display)
    Line 196: Line 196:


    .fandom-table {
    .fandom-table {
    display: table;
    text-indent: initial;
    background: none;
    background: none;
    border: 1px solid #c4cace;
    border: 1px solid #c4cace;

    Revision as of 17:44, 14 January 2023

    #cosmos-banner{
    background-image:linear-gradient(#00000090, #00000030, transparent);
    }
    
    /* transparent header */
    .cosmos-header{
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    }
    .cosmos-header:before {
    background: none;
    }
    
    #cosmos-header-articleHeader {
    margin-bottom: 20px;
    }
    
    /* header text elements */
    .cosmos-header__sitename a:any-link {
    color: #222222;
    }
    
    .cosmos-header .cosmos-header__counter {
    color: #222222;
    }
    
    .cosmos-header .wds-button.wds-is-secondary {
    border-color: #222222;
    color: #222222;
    }
    
    .cosmos-header .wds-button-group > .wds-dropdown:not(:first-child) .wds-button {
    border-left-color: #222222;
    }
    
    .cosmos-header .wds-tabs .wds-tabs__tab-label a {
    color: #222222;
    }
    
    .cosmos-header .wds-tabs .wds-tabs__tab-label {
    color: #222222;
    }
    
    
    /* Main content box */
    #mw-content {
    border-radius: 5px;
    min-height: 420px;
    box-shadow: 0px 0px 6px #00000090;
    padding-bottom: 30px;
    }
    
    
    /* Base CSS classes for demo. If you wish to use Mbox on your wiki, only copy the below. */
    
    .mbox {
        --type-important: rgba(200, 0, 0, 0.8);
        --type-moderate: rgba(233, 124, 47, 0.8);
        --type-minor: rgba(241, 197, 37, 0.8);
        display: flex;
        position: relative;
        background-color: rgba(255, 255, 255, 0.7);
        border: 1px solid #d6d6d6;
        border-left-width: 8px;
        border-left-color: #d6d6d6;
        border-radius: 3px;
        margin-bottom: 5px;
        min-height: 32px;
    }
    
    /* Ensure text is readable in the FandomDesktop dark theme. */
    .theme-fandomdesktop-dark .mbox {
        background-color: var(--theme-page-background-color--secondary);
        border-color: var(--theme-border-color);
    }
    
    .mbox.mbox-type-important {
        border-left-color: var(--type-important);
    }
    
    .mbox.mbox-type-moderate {
        border-left-color: var(--type-moderate);
    }
    
    .mbox.mbox-type-minor {
        border-left-color: var(--type-minor);
    }
    
    .mbox__content {
        display: table;
        box-sizing: border-box;
        width: 100%;
        padding: 8px 15px;
    }
    
    .mbox__content__image {
        display: table-cell;
        width: 40px;
        height: 100%;
        text-align: center;
        vertical-align: middle;
        padding-right: 15px;
    }
    
    .mbox__content__wrapper {
        display: table-cell;
        vertical-align: middle;
    }
    
    .mbox__content__header {
        display: block;
        font-weight: bold;
    }
    
    .mbox__content__text {
        display: block;
    }
    
    .mbox__content__text__comment {
        font-size: small;
    }
    
    .mbox__content__aside {
        display: table-cell;
        width: 100px;
        vertical-align: middle;
        text-align: center;
        padding: 0 15px;
        border-left: 1px solid #d6d6d6;
    }
    
    .mbox__close {
        position: absolute;
        right: 0;
        top: 0;
        padding: 2px 7px;
        font-weight: bold;
        font-size: 16px;
        color: #bbb;
        cursor: pointer;
        transition: all .15s ease-in;
    }
    
    .mbox__close:hover {
        color: #777;
    }
    
    .mbox__close:after {
        content: '×';
    }
    
    .mw-collapsed + .mbox__close {
        transform: rotate(45deg);
        padding: 4px 7px 5px 2px;
    }
    
    /* Wookieepedia-style Mbox demo. */
    .mbox--wook {
        background-color: #7bb0d8;
        border: none;
        border-radius: 10px;
    }
    
    .mbox--wook .mbox__close {
        color: #0c8787;
        font-weight: normal;
        font-size: 13px;
    }
    
    .mbox--wook .mbox__close:after {
        content: '[hide]';
    }
    
    .mbox--wook .mw-collapsed + .mbox__close {
        transform: none;
        padding: 2px 7px;
    }
    
    .mbox--wook .mw-collapsed + .mbox__close:after {
        content: '[show]';
    }
    
    /* Final Fantasy-style Mbox demo. */
    .theme-fandomdesktop-light .mbox--ff {
        border-top: 1px solid #afaa84;
        border-radius: 10px;
        background: linear-gradient(180deg,rgba(255,255,246,1) 0,rgba(247,219,185,1) 40px);
    }
    
    .theme-fandomdesktop-dark .mbox--ff {
        border-top: 3px solid #1e9de3 !important;
        border: 0;
        background: linear-gradient(180deg,rgba(5,37,78,.5) 0,rgba(5,37,78,.5) 75%,rgba(5,37,78,0));
    }
    
    .fandom-table {
        display: table;
        text-indent: initial;
        background: none;
        border: 1px solid #c4cace;
        border-collapse: collapse;
        border-radius: 3px;
        border-spacing: 0;
        color: #3a3a3a;
    }
    
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.