×
Create a new article
Write your page title here:
We currently have 8 articles on Under Doctor Wiki. Type your article name above or click on one of the titles below and start writing!



    Under Doctor Wiki

    MediaWiki:Cosmos.css: Difference between revisions

    No edit summary
    No edit summary
    Line 1: Line 1:
    /* All CSS here will be loaded for users of the Cosmos skin */
    /* All CSS here will be loaded for users of the Cosmos skin */
    /* Keep header height fixed */
    .cosmos-header {
    .cosmos-header {
       min-height: 140px !important;   /* increase if you want even taller */
       height: 88px !important;     /* header stays compact */
       align-items: center !important;
       min-height: 88px !important;
    }
       align-items: center;
     
      position: relative;
    .cosmos-header__top-container {
      overflow: visible !important; /* allow logo to escape */
       align-items: center !important;
    }
    }


    /* Remove wordmark from layout flow */
    .cosmos-header__wordmark {
    .cosmos-header__wordmark {
       display: flex !important;
       position: absolute !important;
       align-items: center !important;
       left: 24px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 3;
    }
    }


    /* Make the logo BIG without affecting header height */
    .cosmos-header__wordmark img {
    .cosmos-header__wordmark img {
       max-height: 120px !important;   /* make bigger: 130/140 */
       height: 120px !important;     /* BIG logo */
      max-width: 520px !important;    /* cap width so it doesn't take over */
       width: auto !important;
       width: auto !important;
       height: auto !important;
       max-width: none !important;
    }
    }

    Revision as of 21:40, 25 January 2026

    /* All CSS here will be loaded for users of the Cosmos skin */
    /* Keep header height fixed */
    .cosmos-header {
      height: 88px !important;      /* header stays compact */
      min-height: 88px !important;
      align-items: center;
      position: relative;
      overflow: visible !important; /* allow logo to escape */
    }
    
    /* Remove wordmark from layout flow */
    .cosmos-header__wordmark {
      position: absolute !important;
      left: 24px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 3;
    }
    
    /* Make the logo BIG without affecting header height */
    .cosmos-header__wordmark img {
      height: 120px !important;     /* BIG logo */
      width: auto !important;
      max-width: none !important;
    }