MediaWiki

Gadget-editButton.css

From Dogcraft Wiki

mNo edit summary
mNo edit summary
 
Line 37: Line 37:
   display: none;
   display: none;
}
}
#wikiEdit.editButton-view ~ #tippy-10 a:has(i.fa-file) {
#wikiEdit.editButton-view ~ #tippy-8 a:has(i.fa-file) {
   display: none;
   display: none;
}
}

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;
	}
}