MediaWiki
Gadget-editButton.css
From Dogcraft Wiki
(Created page with "#wikiEdit { box-sizing: border-box; border-top-right-radius: 0; border-bottom-right-radius: 0; background: #e9edef; color: initial; border: 1px solid #c9c9c9; border-right: 0; } #wikiEdit button { cursor: pointer; } #wikiActions { border-top-left-radius: 0; border-bottom-left-radius: 0; font-size: 0; } #wikiEdit .fas { margin: auto 3px auto 0; } #wikiActions .fas { font-size: initial; margin-right: 0; }") |
mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
border: 1px solid #c9c9c9; | border: 1px solid #c9c9c9; | ||
border-right: 0; | border-right: 0; | ||
margin: auto 0 auto auto; | |||
} | } | ||
Line 26: | Line 28: | ||
font-size: initial; | font-size: initial; | ||
margin-right: 0; | margin-right: 0; | ||
} | |||
/* hiding appropriate option from actions dropdown */ | |||
#wikiEdit.editButton-edit ~ #tippy-10 a:has(i.fa-pencil-ruler) { | |||
display: none; | |||
} | |||
#wikiEdit.editButton-editSource ~ #tippy-10 a:has(i.fa-code) { | |||
display: none; | |||
} | |||
#wikiEdit.editButton-view ~ #tippy-8 a:has(i.fa-file) { | |||
display: none; | |||
} | |||
/* gadget-pagecount.css overrides */ | |||
.content .top #wikiEdit + #wikiActions { | |||
margin: auto 0; | |||
} | |||
@media only screen and (min-width: 641px) { | |||
.content .top #pagecount + #wikiEdit { | |||
margin: auto 0; | |||
} | |||
} | } |
Latest revision as of 01:16, 6 September 2024
#wikiEdit {
box-sizing: border-box;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
background: #e9edef;
color: initial;
border: 1px solid #c9c9c9;
border-right: 0;
margin: auto 0 auto auto;
}
#wikiEdit button {
cursor: pointer;
}
#wikiActions {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
font-size: 0;
}
#wikiEdit .fas {
margin: auto 3px auto 0;
}
#wikiActions .fas {
font-size: initial;
margin-right: 0;
}
/* hiding appropriate option from actions dropdown */
#wikiEdit.editButton-edit ~ #tippy-10 a:has(i.fa-pencil-ruler) {
display: none;
}
#wikiEdit.editButton-editSource ~ #tippy-10 a:has(i.fa-code) {
display: none;
}
#wikiEdit.editButton-view ~ #tippy-8 a:has(i.fa-file) {
display: none;
}
/* gadget-pagecount.css overrides */
.content .top #wikiEdit + #wikiActions {
margin: auto 0;
}
@media only screen and (min-width: 641px) {
.content .top #pagecount + #wikiEdit {
margin: auto 0;
}
}