Amateur Surgeon Wiki
Advertisement

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* === Template:Ambox designs === */

/* Ambox design */
.ambox {
    font-size: 95%;
    width: 80%; 
    margin: 0 auto;
    border: 1px #AAA solid;
    border-left: 10px solid #228b22;
    border-collapse: collapse;
    background-color: #EEE;
}

/* Ambox colours */
.ambox-blue {
    border-left: 10px solid #1e90ff;    /* Blue (notice) */
}
.ambox-red {
    border-left: 10px solid #b22222;    /* Red (delete/serious) */
}
.ambox-orange {
    border-left: 10px solid #f28500;    /* Orange (content) */
}
.ambox-yellow {
    border-left: 10px solid #f4c430;    /* Yellow (style) */
}
.ambox-purple {
    border-left: 10px solid #9932cc;    /* Purple (merge) */
}
.ambox-gray {
    border-left: 10px solid #bba;        /* Gray (protection) */
}
.ambox-green {
    border-left: 10px solid #228b22;    /* Green */
}

/* Ambox small text */
.ambox-smalltext {
    font-size: smaller;
    margin-top:0.5em;
    margin-left:0.8em;
}

/* Ambox image */
.ambox-image {                    /* The left image cell */
    width: 60px;
    padding: 2px 0 2px 0.5em;        /* 0.5em left, 0px right */
    text-align: center;
}

@media print { .ambox { display: none; } }    /* no ambox when printing */

/* === MAIN PAGE === */
.mainpage-boxheader {
    text-align: center;
    font-weight: bold;
    font-size: 105%;
    background: #F60;
    background: -moz-linear-gradient(top,  #F60 0%, #FFB13D 25%, #F60 75%, #FFB13D 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F60), color-stop(25%,#FFB13D), color-stop(75%,#F60), color-stop(100%,#FFB13D));
    background: -webkit-linear-gradient(top,  #F60 0%,#FFB13D 25%,#F60 75%,#FFB13D 100%);
    background: -o-linear-gradient(top,  #F60 0%,#FFB13D 25%,#F60 75%,#FFB13D 100%);  
    background: -ms-linear-gradient(top,  #F60 0%,#FFB13D 25%,#F60 75%,#FFB13D 100%);
    background: linear-gradient(to bottom,  #F60 0%,#FFB13D 25%,#F60 75%,#FFB13D 100%);
    border-radius: 10px 10px 0 0;
    padding: .5em 0;
    border: 1px solid #875C1C;
    border-bottom: none;
    box-shadow: 3px 3px 2px rgba(0, 0, 0, .6);
}

.mainpage-boxcontent {
    box-shadow: 3px 3px 2px rgba(0, 0, 0, .6);
    background: #FFB13D;
    border-radius: 0 0 10px 10px;
    padding: 7px;
    margin-bottom: 1em;
    border: 1px solid #875C1C;
    border-top: none;
}

.mainpage-noheader {
    border-radius: 10px;
    border-top: 1px solid #875C1C;
}

.mainpage-warning {
    background: #FF8B3D;
}

/*</pre></syntaxhighlight>*/
Advertisement