×
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: Manual revert
     
    (2 intermediate revisions by the same user not shown)
    Line 146: Line 146:
       border: 1px solid var(--accent1);
       border: 1px solid var(--accent1);
       border-radius: 6px;
       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; }
    }
    }

    Latest revision as of 03:54, 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;
    }