Lou Montana/common.css – User

From Bohemia Interactive Community
< User:Lou Montana
Revision as of 12:21, 17 February 2024 by Lou Montana (talk | contribs) (Add 1.35 → 1.39 CSS fixes)
Jump to navigation Jump to search

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* no Bohemia header, thanks (mouse hover menu is annoying to me) */
nav.bohemia-header-nav.bohemia-header-nav-center > .bohemia-header-nav-items {
	display: none;
}

/* use the created space to remind me on which server I am */
nav.bohemia-header-nav.bohemia-header-nav-center::before {
	color: #DDD;
	content: 'Production Server';
	font-family: "Unispace", /* "Stencil", "Segoe UI", */ monospace;
	font-size: 1.25em;
	letter-spacing: 0.1em;
	transition-duration: 0.5s;
}

/* with a bit of style */
nav.bohemia-header-nav.bohemia-header-nav-center:hover::before {
	color: #FFF;
	transition-duration: 1s;
}

/* no Bohemia communities / ads thanks */
#p-Bohemia_Interactive {
	display: none;
}

/* no Visual Editor tab thanks */
#ca-ve-edit {
	display: none;
}

/* custom Problems highlight */
._description dt#Problems {
	border-bottom: solid red 0.25em;
	border-image: linear-gradient(90deg,transparent,transparent,red,red,red);
	border-image-slice: 1;
	color: #C00;
	width: 7.75em;
}
._description dt#Problems + dd {
	border-left: solid red 0.25em;
	border-image: linear-gradient(0,transparent,red,red,red,transparent);
	border-image-slice: 1;
	margin-left: 8.25em;
	padding-left: 0;
}