Jump to content

This site is currently in alpha, so you will run into rough edges.

Please send feedback or ideas to connect@deeptech.wiki

MediaWiki:Common.css: Difference between revisions

From The Deep Tech Wiki
No edit summary
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 13: Line 13:
}
}


/* ---Create Buttons (for new pages) Styling --- */


/* Wrapper spacing */
/* Wrapper spacing */
.create-button {
.create-button {
     margin: 0.6em 0;
     margin: 0.5em 0;
}
}


/* Border-only button */
/* Minimal, fixed-size outline button */
.create-button a.external.text {
.create-button a.external.text {
     display: inline-block;
     display: inline-block;
     padding: 10px 22px;
    width: 220px;                   
     background: transparent !important;       /* no fill */
     padding: 8px 0;
     border: 2px solid #5b3fd8;               /* purple outline */
     text-align: center;            
     border-radius: 10px;
     border: 1.5px solid #000001;    
     color: #111111 !important;               /* dark text to match logo */
     border-radius: 2px;
 
    background: transparent !important;
     color: inherit !important;
    text-decoration: none !important;
     font-weight: 600;
     font-weight: 600;
     font-size: 0.95em;
     font-size: 0.95em;
    text-decoration: none !important;
     letter-spacing: 0.01em;
     letter-spacing: 0.02em;
 
     transition:
     transition:
        color 0.2s ease,
        border-color 0.2s ease,
         transform 0.15s ease,
         transform 0.15s ease,
         box-shadow 0.2s ease;
         border-color 0.15s ease,
        background-color 0.2s ease;  
}
}


/* Hover — purple glow, slight lift */
/* Hover: grey fill, crisp border, slight lift */
.create-button a.external.text:hover {
.create-button a.external.text:hover {
     border-color: #7a5cff;                   /* lighter purple */
     border-color: #000;
     color: #7a5cff !important;
     background-color: #f2f2f2 !important;  
     transform: translateY(-1px);
     transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(90, 60, 220, 0.15);
}
}


/* Active — subtle press */
/* Active: pressed look */
.create-button a.external.text:active {
.create-button a.external.text:active {
     transform: translateY(0);
     transform: translateY(0);
    box-shadow: 0 1px 3px rgba(90, 60, 220, 0.2);
}
}


/* Remove external link icon entirely */
 
/* Remove little external link icon */
.create-button a.external.text::after {
.create-button a.external.text::after {
     display: none !important;
     display: none !important;
}
/* Banner for beta notice*/
/* Used in MediaWiki:Sitenotice */
.beta-banner {
  background: #fff3cd;
  border: 2px solid #E6DBAE;
  padding: 6px 12px;
  text-align: center;
  font-size: 0.8rem;
  color: #856404;
  max-width: 500px;
  margin: 0.5rem auto;
  border-radius: 2px;
}
}

Latest revision as of 00:49, 21 November 2025

/* CSS placed here will be applied to all skins */

/* --- Article Maintenance Box (Ambox) Styling --- */
.ambox-maintenance {
  width: 80%;
  margin: 1em auto;
  padding: 0.5em 1em;
  background-color: #f8f9fa;
  /* This is the border */
  border: 1px solid #aaa;
  border-left: 10px solid #f28500; /* Orange */
  border-radius: 4px;
}

/* ---Create Buttons (for new pages) Styling --- */

/* Wrapper spacing */
.create-button {
    margin: 0.5em 0;
}

/* Minimal, fixed-size outline button */
.create-button a.external.text {
    display: inline-block;
    width: 220px;                    
    padding: 8px 0;
    text-align: center;              
    border: 1.5px solid #000001;     
    border-radius: 2px;

    background: transparent !important;
    color: inherit !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.95em;
    letter-spacing: 0.01em;

    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        background-color 0.2s ease; 
}

/* Hover: grey fill, crisp border, slight lift */
.create-button a.external.text:hover {
    border-color: #000;
    background-color: #f2f2f2 !important;   
    transform: translateY(-1px);
}

/* Active: pressed look */
.create-button a.external.text:active {
    transform: translateY(0);
}


/* Remove little external link icon */
.create-button a.external.text::after {
    display: none !important;
}

/* Banner for beta notice*/
/* Used in MediaWiki:Sitenotice */

.beta-banner {
  background: #fff3cd;
  border: 2px solid #E6DBAE;
  padding: 6px 12px;
  text-align: center;
  font-size: 0.8rem;
  color: #856404;
  max-width: 500px;
  margin: 0.5rem auto;
  border-radius: 2px;
}