Difference between revisions of "MediaWiki:Common.css"

From GURaaS Developer Community
Line 5: Line 5:
/**Settings for full background**/
/**Settings for full background**/
#content-wrapper{
#content-wrapper{
background-image: linear-gradient(to bottom, rgba(35,203,240,1) 0%, rgba(35,203,240,1) 10%, rgba(64,146,255,1) 90%, rgba(114,103,198,1) 100%);
background-image: linear-gradient(to bottom, rgba(35,203,240,1) 0%, rgba(35,203,240,1) 5%, rgba(35,203,240,0.8) 10%, rgba(64,146,255,0.8) 90%, rgba(114,103,198,1) 100%);
url(/resources/assets/images_dev/Site_Background_Clear.jpg);
url(/resources/assets/images_dev/Site_Background_Clear.jpg);
background-attachment: fixed;
background-attachment: fixed;

Revision as of 07:07, 7 April 2020

/* CSS placed here will be applied to all skins */

/*GENERAL VISUAL STYLE FOR WIKI*/

/**Settings for full background**/
#content-wrapper{
background-image: linear-gradient(to bottom, rgba(35,203,240,1) 0%, rgba(35,203,240,1) 5%, rgba(35,203,240,0.8) 10%, rgba(64,146,255,0.8) 90%, rgba(114,103,198,1) 100%);
url(/resources/assets/images_dev/Site_Background_Clear.jpg);
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}

/**Settings for full background of actual content**/
#content{
background-color: rgba(255,255,255, 0.75);
}

/**Settings for header**/
#header-wrapper{
background: rgba(35, 203, 240, 1.0);
border-bottom: rgba(35, 203, 240, 1.0);
}

/**Settings for logo**/
#logo{
color:rgba(255,255,255, 1);
}

/* ------------------------------------------------------------------------- */

/*GENERAL VISUAL STYLE FOR TEXT*/

/* Adding varying font faces*/
@font-face {
    font-family: 'Bebas Neue';
    src: url('/resources/assets/fonts/BebasNeue-Book.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Bebas Neue Bold';
    src: url('/resources/assets/fonts/BebasNeue-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Muli';
    src: url('/resources/assets/fonts/Muli-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Muli Bold';
    src: url('/resources/assets/fonts/Muli-Black.woff') format('woff');
    font-weight: 900;
    font-style: bold;
}
@font-face {
    font-family: 'Muli Italic';
    src: url('/resources/assets/fonts/Muli-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Muli Light';
    src: url('/resources/assets/fonts/Muli-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

body {
  font-family: "Muli", normal;
  color:#292929;
}

#content h1{
  color: #39699b;
  font-family: "Bebas Neue Bold", normal;
  font-size: 350%;
  line-height: 0%;
}
#content h2 {
  color:#292929;
  font-family: "Bebas Neue Bold", normal;
  font-size: 250%;
  line-height: 0%;
}
#content h3 {
  color:#292929;
  font-family: "Bebas Neue", normal;
  font-size: 250%;
  line-height: 0%;
}
#content h4 {
  color:#292929;
  font-family: "Bebas Neue", normal;
  font-size: 200%;
  line-height: 0%;
}

/* ------------------------------------------------------------------------- */

/**MAIN PAGE MENU**/
/**Settings for main page menu general**/
#mainpagenavigation {
display:block;
border-collapse:collapse;
text-align:center
}

/**Settings for main page menu headers**/
#mainpagenavigation th {
color:#292929;
font-family: "Bebas Neue Bold", normal;
font-size: 250%;
background-color: rgba(255, 255, 255);
height:48px;
text-align:center;
}

/**Settings for main page menu content**/
#mainpagenavigation td {
background-color: rgba(255, 255, 255,0.4);
color: #292929;
}



/* ------------------------------------------------------------------------- */

/*INFOBOX VISUAL SETTINGS*/
.infobox {
    background-image: linear-gradient(#c6c6c6, #f2f2f2);
    border: 1px solid #aaa;
    border-radius: 10px 10px 10px 10px;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 400px;
}
.infobox-title {
    font-size: 2em;
    text-align: center;
}
.infobox-image {
    text-align: center;
}
.infobox th {
    text-align: center;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    vertical-align: top;
}