Jump to content

MediaWiki:Common.css

From WikiGence
Revision as of 16:36, 24 June 2026 by Wikigence (talk | contribs)

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/* Logo */
.vector-header-start .mw-logo {
	min-width:10rem !important;
}
.vector-header-start .mw-logo img {
	width: 10rem !important;
	height: auto !important;
}
.vector-header-start .mw-logo span {
	display:none !important;
}

/* InfoBox */

.infobox {
  border: 2px solid #aaa;
  background-color: #f9f9f9;
  padding: 5px;
  float: right;
  margin: 0 0 1em 1em;
  width: 250px;
  font-size: 90%;
  line-height: 1.4em;
}
.infobox th {
  background-color: #efefef;
  text-align: left;
  padding: 4px;
}
.infobox td {
  padding: 4px;
}

.page-Main_Page main header,
.page-Main_Page main .page-heading {
	display: none !important;
}

.page-Main_Page .catlinks {
	display: none !important;
}

.main-page-layout {
	display: flex;
    flex-direction: row;
	gap: 4px;
}

.main-page-column {
display:flex;
flex-direction: column;
gap:4px;
}

.image-flex-basis {
	flex-basis:150px;
}

@media screen and (max-width: 767px){
    .main-page-layout{
       flex-direction:column;
   }

    .image-flex-basis {
	   flex-basis:350px;
   }
}


/* Top Section code */

.wg-hero{

max-width:1350px;

margin:20px auto;

padding:35px;

background:#f8fbff;

border:1px solid #d6e2f0;

border-radius:18px;

box-shadow:0 8px 30px rgba(0,0,0,.08);

}


.wg-title{

font-size:52px;

font-weight:700;

text-align:center;

color:#0d2b78;

margin-bottom:10px;

}


.wg-subtitle{

font-size:20px;

text-align:center;

color:#54595d;

margin-bottom:35px;

}


.wg-services{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:20px;

margin-bottom:30px;

}


.wg-box{

display:flex;

align-items:center;

gap:18px;

padding:22px;

background:#fff;

border:1px solid #eaecf0;

border-radius:16px;

}


.wg-icon{

font-size:40px;

}


.wg-box h3{

margin:0 0 5px;

font-size:22px;

}


.wg-box p{

margin:0;

font-size:16px;

color:#54595d;

}


.wg-contact{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:20px;

margin-bottom:30px;

}


.wg-card{

background:#fff;

padding:25px;

text-align:center;

border:1px solid #eaecf0;

border-radius:16px;

}


.wg-card h3{

margin-bottom:10px;

}


.wg-buttons{

display:flex;

justify-content:center;

gap:20px;

flex-wrap:wrap;

margin-bottom:25px;

}


.wg-btn{

padding:16px 35px;

border-radius:35px;

text-decoration:none;

font-size:18px;

font-weight:700;

}


.wg-blue{

background:#3366cc;

color:#fff;

}


.wg-black{

background:#111827;

color:#fff;

}


.wg-disclaimer{

padding:20px;

background:#fff;

border:1px solid #eaecf0;

border-radius:14px;

font-size:14px;

text-align:center;

color:#54595d;

}


@media(max-width:1000px){

.wg-services{

grid-template-columns:1fr;

}

.wg-contact{

grid-template-columns:1fr;

}

.wg-title{

font-size:36px;

}

}