MediaWiki:Common.css: Difference between revisions

From Secure Group Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 203: Line 203:
.color-headers div:nth-child(2) .box-header{
.color-headers div:nth-child(2) .box-header{
background-color: #FF5E5E;
background-color: #FF5E5E;
}
.color-headers div:nth-child(3) .box-header{
background-color: #46A8A5;
}
}
.box-content.framework{
.box-content.framework{

Revision as of 08:35, 15 July 2020

/* CSS placed here will be applied to all skins */
.portal.first.persistent{
	/* Remove first nav item in sidebar because it doesnt have dropdown functionality, remove this if you want standard links at top of nav */
	display:none;
}
body, #mw-head {
    background-color: #101214;
}
.mw-body{
    min-width: 450px;
}
#mw-head {
    background-image: url("https://wiki.careers.securegroup.com/images/f/ff/Sg-wiki-header-banner.jpg");
}
a{
	color: #4A76FD;
}
#mw-panel.collapsible-nav .portal.collapsed h3 a, #mw-panel.collapsible-nav .portal h3 a, #mw-panel .portal .body li a, #mw-panel .portal .body li a:visited, 
.vectorTabs .new a, .vectorTabs .new a:visited, .vectorTabs span a, #footer li{
	color: #FFFFFF;
}
.grid.two-columns .box-header p a, .box-content.social-media a.external{
	color: #282828;
}
.box-content.social-media a.external:hover{
	color: #4A76FD;
}
#mw-panel .portal ul li a, #mw-panel .portal.expanded ul li a{
    color: #BCBCBC !important;
}
#p-logo a, #p-logo{
	height: 80px;
}
#simpleSearch{
	background-color: #FFFFFF;
}
#mw-head{
	height: 100px;
}
#left-navigation, #right-navigation{
    margin-top: 4.15em;
}
.vectorTabs, #mw-head .vectorMenu h3{
	height: 2.1em;
}
.vectorMenu h3 span{
	padding-top: 0.8em;
	color: #FFF;
}
.vectorTabs span a{
    padding-top: 0.8em;
}
.vectorTabs .mw-watchlink.icon a{
	padding-top: 2.576923em;
}
#p-search form{
	margin: 0.2em 0 0;
}
#firstHeading{
	margin-top: 20px;
}
#mw-panel .portal:not(:last-child){
	border-bottom: 1px solid #FFF;
    padding: 0.25em 0 0.6em;
}

#mw-panel.collapsible-nav .portal.collapsed h3, #mw-panel.collapsible-nav .portal h3{
	background-image: none;
}
#mw-panel.collapsible-nav .portal.collapsed h3:before, #mw-panel.collapsible-nav .portal h3:before{
	content: "\A";
    width: 5px;
    height: 5px;
    position: absolute;
    display: inline-block;
    left: 31px;
    margin-top: 4px;
}
#mw-panel.collapsible-nav .portal.collapsed h3:before{
	background: #FFF;
}

.vectorTabs .new a, #right-navigation .vectorTabs .collapsible:not(.selected) a, #mw-panel.collapsible-nav .portal.expanded h3:before{
	background-color: #4A76FD !important;
}
.vectorTabs .new a, .vectorTabs span a{
    height: 1.8em;
}
.grid{
	display: grid;
	column-gap: 15px;
	row-gap: 15px;
}
.grid.two-columns{
    grid-template-columns: repeat(auto-fit,minmax(450px,1fr));
    margin: 15px 0;
}
.grid.two-columns .box-header, .grid.three-columns .full-width .box-content.gray-bg{
    background-color: #eaeaea;
    border-bottom: 1px solid #000;
}
.grid.three-columns .full-width .box-content.gray-bg{
	border-bottom: none;
	width: auto;
}
.box-content.social-media a.external{
	padding-right: 0px;
	background-image: none;
	margin: 0 5px;
}
.box-content.social-media .icon{
	background-image: url("https://wiki.careers.securegroup.com/images/3/3f/Facebook_icon.png");
	width: 20px;
    height: 20px;
    display: inline-block;
    background-size: cover;
    top: 3px;
    position: relative;
    margin-left: 5px;
}
.box-content.social-media a .icon.fb{
    background-image: url("https://wiki.careers.securegroup.com/images/3/3f/Facebook_icon.png");
}
.box-content.social-media a:hover .icon.fb{
    background-image: url("https://wiki.careers.securegroup.com/images/0/0e/Facebook_icon_hover.png");
}
.box-content.social-media a .icon.sg{
    background-image: url("https://wiki.careers.securegroup.com/images/0/00/Career_icon.png");
}
.box-content.social-media a:hover .icon.sg{
    background-image: url("https://wiki.careers.securegroup.com/images/c/c1/Career_icon_hover.png");
}
.box-content.social-media a .icon.blog{
    background-image: url("https://wiki.careers.securegroup.com/images/2/22/Blog_icon.png");
}
.box-content.social-media a:hover .icon.blog{
    background-image: url("https://wiki.careers.securegroup.com/images/d/de/Blog_icon_hover.png");
}
.box-content.social-media a .icon.linkedin{
    background-image: url("https://wiki.careers.securegroup.com/images/1/1e/Linkedin_icon.png");
}
.box-content.social-media a:hover .icon.linkedin{
    background-image: url("https://wiki.careers.securegroup.com/images/f/fe/Linkedin_icon_hover.png");
}
.box-content.social-media a.external:hover{
	text-decoration: none;
}


.slideshare iframe{
	height: 340px;
}
.grid.two-columns.slideshare{
	grid-template-columns: repeat(auto-fill,minmax(450px,1fr));
}
.grid.two-columns.slideshare .text{
	grid-column: span 2;
}
.grid.two-columns.two-thirds-left{
    grid-template-columns: repeat(auto-fit,minmax(450px,3fr));
}
.grid.two-columns.two-thirds-left > div:first-child{
    grid-column: span 2;
}
.grid.three-columns{
    grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
    margin: 15px 0;
}
.grid.three-columns .box-header{
	background-color: #4A76FD;
	color: #FFFFFF;
}

.grid.three-columns > div, .grid.two-columns > div{
    /*height: 450px;*/
    border: 2px solid #BCBCBC;
    /*padding: 0 10px 10px 10px;*/
    box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}
.no-border, div.no-border > div{
	border: none !important;
    box-shadow: none !important;	
}

.grid.two-columns .full-width{
    grid-column: span 2;
}
.grid.three-columns .full-width{
    grid-column: span 3;
    height: auto;
}

/* Common */
.box-header{
	padding: 1px 0;
	font-weight: bold;
	font-size: 1.2em;
	border-bottom: 1px solid #CCC;
}
.box-content{
	padding: 10px;
}
.color-headers div:nth-child(2) .box-header{
	background-color: #FF5E5E;
}
.color-headers div:nth-child(3) .box-header{
	background-color: #46A8A5;
}
.box-content.framework{
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    row-gap: 30px;
    column-gap: 30px;
}
.text-center{
    text-align: center;
}
pre{
	background-color: transparent;
    border: none;
    padding: 0;
    white-space: pre-wrap;
}
iframe{
	/*width: 100%;
	height: 100%;*/
}