×
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:Common.css: Difference between revisions

    No edit summary
    Tag: Reverted
    No edit summary
    Tag: Reverted
    Line 154: Line 154:
    /* Under Doctor Header */
    /* Under Doctor Header */


    .ud-header{
    .ud-slab{
       margin: 1.25rem 0;
       margin: 1.5rem 0;
       border-radius: 14px;
       border-radius: 10px;
      background: #ffffff;
      position: relative;
       overflow: hidden;
       overflow: hidden;


       /* gritty outer frame */
       /* concrete frame */
       box-shadow: 0 8px 24px rgba(0,0,0,.18);
       border: 1px solid rgba(0,0,0,.22);
       border: 1px solid rgba(63,107,100,.25);
       box-shadow: 0 16px 40px rgba(0,0,0,.22);
      background: #f4f4f2; /* paper/concrete base */
      position: relative;
    }
    }


    .ud-header::before{
    /* gritty border & stains */
    .ud-slab::before{
       content:"";
       content:"";
       position:absolute;
       position:absolute;
    Line 172: Line 173:
       pointer-events:none;
       pointer-events:none;


       /* distressed edge + subtle grime */
       /* grime vignette + speckle */
       background:
       background:
         radial-gradient(1200px 220px at 50% 0%, rgba(63,107,100,.14), transparent 70%),
         radial-gradient(900px 180px at 50% 0%, rgba(0,0,0,.14), transparent 70%),
         radial-gradient(900px 260px at 50% 110%, rgba(214,177,94,.10), transparent 70%),
         radial-gradient(900px 220px at 50% 110%, rgba(0,0,0,.18), transparent 70%),
         repeating-linear-gradient(135deg, rgba(0,0,0,.025) 0 2px, transparent 2px 8px);
        radial-gradient(18px 18px at 14% 22%, rgba(0,0,0,.08), transparent 70%),
        radial-gradient(22px 22px at 82% 18%, rgba(0,0,0,.07), transparent 70%),
        radial-gradient(16px 16px at 76% 82%, rgba(0,0,0,.08), transparent 70%),
        radial-gradient(14px 14px at 22% 76%, rgba(0,0,0,.07), transparent 70%),
         repeating-linear-gradient(0deg, rgba(0,0,0,.018) 0 1px, transparent 1px 6px);
       mix-blend-mode: multiply;
       mix-blend-mode: multiply;
       opacity: .9;
       opacity: .95;
    }
    }


    .ud-header__inner{
    /* inner panel */
       padding: 22px 22px 18px;
    .ud-slab__inner{
      border-radius: 14px;
       padding: 26px 28px 20px;
     
       position: relative;
       /* inner “paper” panel */
      background: linear-gradient(180deg, #fbfbfb, #ffffff);
    }
    }


    .ud-header__title{
    .ud-slab__title{
       text-align: center;
       text-align: center;
       text-transform: uppercase;
       text-transform: uppercase;
       letter-spacing: .06em;
       letter-spacing: .08em;
       font-weight: 900;
       font-weight: 900;
       font-size: 2.1rem;
       font-size: clamp(1.8rem, 3.4vw, 2.6rem);
       line-height: 1.1;
       line-height: 1.05;
     
      /* Under Doctor palette */
       color: #121212;
       color: #121212;
      /* thin divider line like your example */
      padding-bottom: 14px;
      margin-bottom: 14px;
      border-bottom: 1px solid rgba(0,0,0,.12);
    }
    }


    /* optional: add a “medical cross + gold” vibe under title */
    /* surgical gold accent line */
    .ud-header__title::after{
    .ud-slab__title::after{
       content:"";
       content:"";
       display:block;
       display:block;
       width: 120px;
       width: 220px;
       height: 3px;
      max-width: 60%;
       margin: 12px auto 0;
       height: 4px;
      background: #d6b15e; /* surgical gold */
       margin: 14px auto 0;
       border-radius: 99px;
       border-radius: 99px;
      background: #d6b15e; /* gold */
      box-shadow: 0 1px 0 rgba(0,0,0,.18);
       opacity: .95;
       opacity: .95;
    }
    }


    .ud-header__content{
    .ud-slab__content{
      margin-top: 18px;
      padding-top: 16px;
      border-top: 1px solid rgba(0,0,0,.16);
       color: #1a1a1a;
       color: #1a1a1a;
       font-size: 1.02rem;
       font-size: 1.02rem;
    }
    }


    /* Links inside content: medical ruin green */
    .ud-slab__content a{
    .ud-header__content a{
       color: #3f6b64;
       color: #3f6b64;
       text-decoration: underline;
       text-decoration: underline;
    Line 230: Line 230:
    }
    }


    /* Optional “blood accent” on hover */
    /* blood hover */
    .ud-header__content a:hover{
    .ud-slab__content a:hover{
       color: #c83b3b;
       color: #c83b3b;
       text-decoration-color: rgba(200,59,59,.35);
       text-decoration-color: rgba(200,59,59,.35);
    }
    /* mobile spacing */
    @media (max-width: 640px){
      .ud-slab__inner{ padding: 20px 18px 16px; }
      .ud-slab__title::after{ width: 180px; }
    }
    }

    Revision as of 03:31, 26 January 2026

    /* CSS placed here will be applied to all skins */
    :root {
    	--accent1: #3f6b64;
    	--accent1-1: #5f8f86;
    	--accent1alt: rgba(63, 107, 100, 0.8);
    
    	--accent2: #d6b15e;
    
    	--sidebarbg: #edf1ef;
    	--mainpageinnerbgcolor: #ffffff;
    
    	--textcolor: #121212;
    
    	--boxshadow: rgba(0, 0, 0, 0.35);
    
    	--iconlinksize: 110px;
    
    	/* TABBER */
    	--tabber-color-progressive: var(--accent1);
    }
    
    /*------------------------------------------------------------------ tabs by Yohaji Wiki -----------------------------*/
    .parent-tab-container {
        position:relative;
        margin-bottom:10px;
        width:100%;
        margin-top:-10px;
        padding:5px 0;
        display:flex;
        align-items:center;
    }
    
    .parent-tab-main {
        font-weight: bold;
        margin:0;
        padding:0;
        display:flex;
        justify-content:center;
        flex-flow:row wrap;
        position:relative;
        text-align:center;
        align-items:center;
    }
    .parent-tab-container::before, .parent-tab-container::after {
    	content: "";
    	border-bottom:2px solid var(--accent1);
    	height:0;
    	flex:auto;
    }
    
    .parent-tab-1, .parent-tab-2 {
        display:inline-block;
        margin:0.2em 0.3em;
        font-size:15px;
    }
    .parent-tab-1 {
    	user-select:none;
        padding: 0.3em 1em;
        background-color: var(--accent1);
        color: var(--content-background-color);
        border: 3px solid var(--accent1);
    }
    .parent-tab-2 a {
    	display:inline-block;
    	padding: 0.3em 1em;
        background-color:var(--content-background-color);
        border: 3px solid var(--accent1);
    }
    .parent-tab-2 a:hover {
    	background-color: var(--accent1);
    	color:var(--content-background-color) !important;
    	box-shadow: 0 0 5px var(--boxshadow);
    }
    .tabber__indicator {
    	background: var(--accent1) !important;
    }
    
    
    /* Rounded corners for all PortableInfoboxes */
    .mw-parser-output .portable-infobox {
      border-radius: 12px;     
      overflow: hidden;     
      border: 1px solid #ddd;   
      box-shadow: 0 2px 6px rgba(0,0,0,0.08); 
    }
    
    /*--------------------------------------------- side rail ---------------------------------------------*/
    #CosmosRail .recentchanges-module {
      display: block;
      background-color: var(--mainpageinnerbgcolor);
      margin: 20px;
      padding: 10px 15px;
      border: 1px solid var(--accent1);              
      border-radius: 10px;                          
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);       
      overflow: hidden;
      position: relative;
    }
    
    .recentchanges-module li::before,
    .recentchanges-module li::after {
      content: none !important;
    }
    
    #CosmosRail .module {
      background-color: var(--mainpageinnerbgcolor);
      margin: 20px;
      padding: 10px 15px;
      border: 1px solid var(--accent1);
      border-radius: 10px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }
    
    /* Header text inside each module */
    #CosmosRail .module h3 {
      margin: 0 0 8px 0;
      padding-bottom: 5px;
      border-bottom: 2px solid var(--accent1);
      text-align: center;
      font-family: Lato, sans-serif;
      font-weight: 700;
      color: var(--accent1);
    }
    
    /* Make all rail modules stack neatly */
    .cosmos-rail-inner {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    
    /* Custom rail modules (custom content areas) */
    #CosmosRail .interface-module {
      display: block;
      background-color: var(--mainpageinnerbgcolor);
      border: 1px solid var(--accent1);
      border-radius: 10px;
      margin: 20px;
      padding: 10px 15px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }
    
    /* Rail toggle button */
    .ct-railtoggle {
      background-color: var(--content-background-color);
      border: 1px solid var(--accent1);
      border-radius: 6px;
    }
    
    
    
    
    /*Headers*/
    /* Under Doctor Header */
    
    .ud-slab{
      margin: 1.5rem 0;
      border-radius: 10px;
      overflow: hidden;
    
      /* concrete frame */
      border: 1px solid rgba(0,0,0,.22);
      box-shadow: 0 16px 40px rgba(0,0,0,.22);
      background: #f4f4f2; /* paper/concrete base */
      position: relative;
    }
    
    /* gritty border & stains */
    .ud-slab::before{
      content:"";
      position:absolute;
      inset:0;
      pointer-events:none;
    
      /* grime vignette + speckle */
      background:
        radial-gradient(900px 180px at 50% 0%, rgba(0,0,0,.14), transparent 70%),
        radial-gradient(900px 220px at 50% 110%, rgba(0,0,0,.18), transparent 70%),
        radial-gradient(18px 18px at 14% 22%, rgba(0,0,0,.08), transparent 70%),
        radial-gradient(22px 22px at 82% 18%, rgba(0,0,0,.07), transparent 70%),
        radial-gradient(16px 16px at 76% 82%, rgba(0,0,0,.08), transparent 70%),
        radial-gradient(14px 14px at 22% 76%, rgba(0,0,0,.07), transparent 70%),
        repeating-linear-gradient(0deg, rgba(0,0,0,.018) 0 1px, transparent 1px 6px);
      mix-blend-mode: multiply;
      opacity: .95;
    }
    
    /* inner panel */
    .ud-slab__inner{
      padding: 26px 28px 20px;
      position: relative;
    }
    
    .ud-slab__title{
      text-align: center;
      text-transform: uppercase;
      letter-spacing: .08em;
      font-weight: 900;
      font-size: clamp(1.8rem, 3.4vw, 2.6rem);
      line-height: 1.05;
      color: #121212;
    }
    
    /* surgical gold accent line */
    .ud-slab__title::after{
      content:"";
      display:block;
      width: 220px;
      max-width: 60%;
      height: 4px;
      margin: 14px auto 0;
      border-radius: 99px;
      background: #d6b15e; /* gold */
      box-shadow: 0 1px 0 rgba(0,0,0,.18);
      opacity: .95;
    }
    
    .ud-slab__content{
      margin-top: 18px;
      padding-top: 16px;
      border-top: 1px solid rgba(0,0,0,.16);
      color: #1a1a1a;
      font-size: 1.02rem;
    }
    
    .ud-slab__content a{
      color: #3f6b64;
      text-decoration: underline;
      text-decoration-color: rgba(63,107,100,.35);
    }
    
    /* blood hover */
    .ud-slab__content a:hover{
      color: #c83b3b;
      text-decoration-color: rgba(200,59,59,.35);
    }
    
    /* mobile spacing */
    @media (max-width: 640px){
      .ud-slab__inner{ padding: 20px 18px 16px; }
      .ud-slab__title::after{ width: 180px; }
    }