Site Notice
hello, world
MediaWiki:Css-CustomModal.css
From Project-EPB Commons
Revision as of 14:52, 14 October 2019 by 机智的小鱼君 (talk | contribs) (Created page with "→* *『Wjghj Project Static』 * This _CascadingStyleSheets_ code is from https://common.wjghj.cn * CC BY-NC-SA *: →* Popup Window *: .customModal-bg { z-index: 500;...")
Invoke this: https://common.wjghj.cn/css/{{#replace:{{#replace:Css-CustomModal.css|Css-|}}|.css|}}
Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/**
*『Wjghj Project Static』
* This _CascadingStyleSheets_ code is from https://common.wjghj.cn
* CC BY-NC-SA
**/
/** Popup Window **/
.customModal-bg {
z-index: 500;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(255,255,255,.4);
}
.customModal {
left: 10%;
width: 80%;
z-index: 1001;
background: white;
border: 1px solid #ccc;
border-bottom: 4px solid #aaa;
}
.customModal-close {
}
.customModal .customModal-title {
margin: 8px 16px 4px 16px;
}
.customModal .customModal-content {
padding: 8px 14px;
}
.customModal-close [data-action="closeModal"] {
width: 32px;
height: 32px;
position: absolute;
right: 24px;
top: 12px;
cursor: pointer;
}