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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/**
**
** CSS for the ExternalLinkWarning srcipt
**
**/
/* Background and overriding position */
section#form-external-link-confirm.SCMModal.modalWrapper {
top: 50% !important;
margin-top: -120px;
position: fixed !important;
background: var(--theme-page-background-color--secondary);
border-width: 0;
border-radius: 3px;
}
/* Hide redundant close button since there is also a Cancel button */
section#form-external-link-confirm.SCMModal.modalWrapper .close {
display: none;
}
/* Adds styles to the header */
section#form-external-link-confirm.SCMModal.modalWrapper > h1 {
color: var(--theme-page-text-color);
text-align: center;
font-size: 18px;
font-weight: 700;
line-height: 52px;
margin: 0px 0px 20px 0px;
border-bottom: 1px solid var(--theme-border-color);
}
/* Adds styles to the body container */
section#form-external-link-confirm.SCMModal.modalWrapper .modalContent {
font-size: inherit;
line-height: inherit;
padding: 0;
margin: 0;
}
/* Adds styles to the body */
section#form-external-link-confirm.SCMModal.modalWrapper .modalContent p {
margin: 0 20px;
}
/* Adds styles to the footer */
section#form-external-link-confirm.SCMModal.modalWrapper .modalContent .modalToolbar {
margin-top: 20px;
border-top: 1px solid var(--theme-border-color);
padding: 10px 20px;
width: 100%;
}
/* Adds styles to the buttons */
section#form-external-link-confirm.SCMModal .modalToolbar a.wikia-button {
align-items: center;
-webkit-appearance: none;
background-color: var(--theme-accent-color);
background-image: none;
border: 1px solid var(--theme-accent-color);
border-radius: 3px;
box-sizing: initial;
color: var(--theme-accent-label-color);
cursor: pointer;
display: inline-flex;
font-family: inherit;
font-weight: 600;
justify-content: center;
letter-spacing: .15px;
line-height: 16px;
margin: 0;
margin-left: 10px;
min-height: 18px;
height: inherit;
outline: none;
padding: 7px 18px;
text-decoration: none;
text-transform: uppercase;
transition-duration: .3s;
transition-property: background-color, border-color, color;
vertical-align: top;
}
section#form-external-link-confirm.SCMModal .modalToolbar a.wikia-button:hover {
background-color: var(--theme-accent-color--hover);
border: 1px solid var(--theme-accent-color--hover);
color: var(--theme-accent-label-color);
text-decoration: none;
}
section#form-external-link-confirm.SCMModal .modalToolbar a.wikia-button.secondary {
background: none;
border-color: currentColor;
color: var(--theme-page-text-color);
text-decoration: none;
}
section#form-external-link-confirm.SCMModal .modalToolbar a.wikia-button.secondary:hover {
border-color: currentColor;
color: var(--theme-page-text-color--hover);
text-decoration: none;
}