Шаблон:Ambox/styles.css

От Уикицитат
/* Article message box styles */
.ambox {
    margin: 0 10%;   /* 10% = Will not overlap with other elements */
    border: 1px solid #aaa;
    border-left: 10px solid #1e90ff;    /* Default "notice" blue */
    background: #fbfbfb;
}
.ambox + link + .ambox {   /* Single border between stacked boxes and ignore templatestyles tag */
    margin-top: -1px;
}
.ambox .mbox-text {            /* The message body cell(s) */
    padding: 0.25em 0.5em;       /* 0.5em left/right */
}
.ambox .mbox-image {           /* The left image cell */
    padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}
.ambox .mbox-imageright {      /* The right image cell */
    padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
}

.ambox-notice {
    border-left: 10px solid #1e90ff;    /* Blue */
}
.ambox-delete,
.ambox-serious {
    border-left: 10px solid #b22222;    /* Red */
}
.ambox-content {
    border-left: 10px solid #f28500;    /* Orange */
}
.ambox-style {
    border-left: 10px solid #f4c430;    /* Yellow */
}
.ambox-move,
.ambox-merge {
    border-left: 10px solid #9932cc;    /* Purple */
}
.ambox-stub {
    border-left: 10px solid #c0c090;    /* Gray-brown */
}
.ambox-protection {
    border-left: 10px solid #bba;       /* Gray-gold */
}

/* Image message box styles */
.imbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 3px solid #1e90ff;    /* Default "notice" blue */
    background: #fbfbfb;
}
.imbox .mbox-text .imbox {  	  /* For imboxes inside imbox-text cells. */
    margin: 0 -0.5em;   		  /* 0.9 - 0.5 = 0.4em left/right.        */
    display: block;    			  /* Fix for webkit to force 100% width.  */
}
.mbox-inside .imbox {       	  /* For imboxes inside other templates.  */
    margin: 4px;
}

.imbox-notice {
    border: 3px solid #1e90ff;    /* Blue */
}
.imbox-delete,
.imbox-serious {
    border: 3px solid #b22222;    /* Red */
}
.imbox-content {
    border: 3px solid #f28500;    /* Orange */
}
.imbox-style {
    border: 3px solid #f4c430;    /* Yellow */
}
.imbox-move,
.imbox-merge {
    border: 3px solid #9932cc;    /* Purple */
}
.imbox-protection {
    border: 3px solid #bba;       /* Gray-gold */
}
.imbox-license {
    border: 3px solid #88a;       /* Dark gray */
    background: #f7f8ff;          /* Light gray */
}
.imbox-featured {
    border: 3px solid #cba135;    /* Brown-gold */
}

/* Category message box styles */
.cmbox {
    margin: 3px 10%;
    border-collapse: collapse;
    border: 1px solid #aaa;
    background: #DFE8FF;          /* Default "notice" blue */
}

.cmbox-notice {
    background: #D8E8FF;		  /* Blue */
}
.cmbox-delete,
.cmbox-serious {
    background: #FFDBDB;    	  /* Red */
}
.cmbox-content {
    background: #FFE7CE;    	  /* Orange */
}
.cmbox-style {
    background: #FFF9DB;		  /* Yellow */
}
.cmbox-move,
.cmbox-merge {
    background: #E4D8FF;		  /* Purple */
}
.cmbox-protection {
    background: #EFEFE1;		  /* Gray-gold */
}

/* Talk page message box styles */
.tmbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #c0c090;    /* Default "notice" gray-brown */
    background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
    margin: 2px 0;               /* this declaration overrides other styles (including mbox-small above)   */
    width: 100%;                 /* For Safari and Opera */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
    line-height: 1.5em;          /* also "nested", so reset styles that are   */
    font-size: 100%;             /* set in "mbox-small" above.                */
}

.tmbox-delete,
.tmbox-serious {
    border: 2px solid #b22222;    /* Red */
}
.tmbox-content {
    border: 2px solid #f28500;    /* Orange */
}
.tmbox-style {
    border: 2px solid #f4c430;    /* Yellow */
}
.tmbox-move,
.tmbox-merge {
    border: 2px solid #9932cc;    /* Purple */
}
.tmbox-protection,
.tmbox-notice {
    border: 1px solid #c0c090;    /* Gray-brown */
}

/* Other pages message box styles */
.ombox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #aaa;       /* Default "notice" gray */
    background: #f9f9f9;
}

.ombox-notice {
    border: 1px solid #aaa;       /* Gray */
}
.ombox-delete,
.ombox-serious {
    border: 2px solid #b22222;    /* Red */
}
.ombox-content {
    border: 1px solid #f28500;    /* Orange */
}
.ombox-style {
    border: 1px solid #f4c430;    /* Yellow */
}
.ombox-move,
.ombox-merge {
    border: 1px solid #9932cc;    /* Purple */
}
.ombox-protection {
    border: 2px solid #bba;       /* Gray-gold */
}

/* Footer and header message box styles */
.fmbox {
    clear: both;
    margin: 0.2em 0;
    width: 100%;
    border: 1px solid #aaa;
    background: #f9f9f9;     /* Default "system" gray */
}
.fmbox-system {
    background: #f9f9f9;
}
.fmbox-warning {
    border: 1px solid #bb7070;  /* Dark pink */
    background: #ffdbdb;        /* Pink */
}
.fmbox-editnotice {
    background: transparent;
}