MediaWiki:EditTemplates.css

Revision as of 16:42, 8 February 2022 by Pcoombe (talk | contribs) (increase width, reduce list margin)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
#toolBox {
	position: relative;
	margin-left: 12px;
}

#toolLink, #toolList {
	display: inline-block;
	box-sizing: border-box;
    padding: 4px 8px;
    
    background-color: #fff;
    border: 1px solid #a2a9b1;
    border-radius: 2px;
    
    font-size: 12px;
    line-height: 16px;
}

#toolLink {
	color: #36c;
	width: 72px;
	text-align: center;
	cursor: pointer;
}

#toolList {
    display: none;
    position: absolute;
    top: 0;
    left: 80px;

    font-size: 12px;
    line-height: 16px;

    min-width: 240px;
}

#toolList ul {
    list-style: none;
    margin-left: 0.8em;
}

@media screen and (max-width: 981px) {
    #toolBox {
    	position: absolute;
        top: 12px;
        left: 12px;
    }
}