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

MediaWiki:Common.css: Difference between revisions

From The Deep Tech Wiki
No edit summary
No edit summary
Line 12: Line 12:
   border-radius: 4px;
   border-radius: 4px;
}
}
/* ---Create Buttons (for new pages) Styling --- */


/* Wrapper spacing */
/* Wrapper spacing */
Line 21: Line 23:
.create-button a.external.text {
.create-button a.external.text {
     display: inline-block;
     display: inline-block;
     width: 240px;                    /* fixed width for alignment */
     width: 220px;                     
     padding: 8px 0;
     padding: 8px 0;
     text-align: center;              /* center text inside fixed width */
     text-align: center;               
 
     border: 1.5px solid #000001;     
     border: 1.5px solid #000000;    /* thin black border */
     border-radius: 2px;
     border-radius: 2px;


Line 31: Line 32:
     color: inherit !important;
     color: inherit !important;
     text-decoration: none !important;
     text-decoration: none !important;
     font-weight: 600;
     font-weight: 500;
     font-size: 0.95em;
     font-size: 0.95em;
     letter-spacing: 0.01em;
     letter-spacing: 0.01em;

Revision as of 13:41, 13 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: 500;
    font-size: 0.95em;
    letter-spacing: 0.01em;

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

/* Hover: slight lift, crisp black border */
.create-button a.external.text:hover {
    border-color: #000;
    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;
}