Lou Montana/common.css – User

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add 1.35 → 1.39 CSS fixes)
m (Make Bohemia header smaller)
Line 1: Line 1:
/* no Bohemia header, thanks (mouse hover menu is annoying to me) */
/* smaller Bohemia header */
nav.bohemia-header-nav.bohemia-header-nav-center > .bohemia-header-nav-items {
div#bohemia-header {
display: none;
height: 50px;
}
div#bohemia-header > header {
line-height: 50px !important;
height: 50px !important;
}
#mw-head {
top: 50px;
}
#mw-panel {
top: 50px;
}
 
/* no Bohemia header menus, thanks (mouse hover menu is annoying to me) */
div#bohemia-header > header > nav.bohemia-header-nav.bohemia-header-nav-center > .bohemia-header-nav-items {
display:none
}
 
div#bohemia-header > header {
line-height: inherit;
height: inherit;
}
}


/* use the created space to remind me on which server I am */
/* use the created space to remind me on which server I am */
nav.bohemia-header-nav.bohemia-header-nav-center::before {
nav.bohemia-header-nav.bohemia-header-nav-center::before {
color: #DDD;
color: #BBB;
content: 'Production Server';
content: 'Production Server';
font-family: "Unispace", /* "Stencil", "Segoe UI", */ monospace;
font-family: "Unispace", /* "Stencil", "Segoe UI", */ monospace;
Line 15: Line 35:


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



Revision as of 17:14, 21 February 2024

/* smaller Bohemia header */
div#bohemia-header {
	height: 50px;
}
div#bohemia-header > header {
	line-height: 50px !important;
	height: 50px !important;
}
#mw-head {
	top: 50px;
}
#mw-panel {
	top: 50px;
}

/* no Bohemia header menus, thanks (mouse hover menu is annoying to me) */
div#bohemia-header > header > nav.bohemia-header-nav.bohemia-header-nav-center > .bohemia-header-nav-items {
	display:none
}

div#bohemia-header > header {
	line-height: inherit;
	height: inherit;
}

/* use the created space to remind me on which server I am */
nav.bohemia-header-nav.bohemia-header-nav-center::before {
	color: #BBB;
	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 */
div#bohemia-header > header > nav.bohemia-header-nav.bohemia-header-nav-center:hover::before {
	color: #FFF;
	transition-duration: 0.5s
}

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