Difference between revisions of "MediaWiki:Common.css"

From The SpiritWiki
m
 
(58 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* experimental begin */


 
#mw-content h1.firstHeading {
/*  fonts  */
border-bottom: solid 1px #008b9c;
@font-face {
    font-family: 'raleway-regular';
    src: url('../fonts/raleway-regular.eot');
    src: url('../fonts/raleway-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/raleway-regular.woff') format('woff'),
        url('../fonts/raleway-regular.ttf') format('truetype'),
        url('../fonts/raleway-regular.svg#raleway-regular') format('svg');
    font-weight: normal;
    font-style: normal;
}
}
#mw-content h1, #mw-content h2 {border-bottom: solid 1px #008b9c;}


.color-middle, .color-left, .color-right {color:#008b9c;background:#008b9c;}
a {color:#008b9c;}
a:hover {color:#cb4a3b;}


li a.selflink {font-weight:bold !important;}


.left80 {margin-left: -80px;}


/*  General CSS 
*/
body{
    background: #fdfdfd;
}


.wrapper{
/* MENUING */
     width: 1100px;
 
    margin: 0 auto;
#coolMenu,
#coolMenu ul {
     list-style: none;
}
}


.clearfix:before, 
#coolMenu li p {
.clearfix:after { 
     margin-top:12px;
    content: " "; 
    display: table; 
.clearfix:after { 
    clear: both; 
.clearfix {
     *zoom: 1;
}
}


#coolMenu {
    float: left;
    width:100%;
    margin-bottom:20px;
    margin-left:0px;
    border-bottom: 1px dotted black


.back_link{
    font-family: "raleway-regular", arial;
    font-size: 16px;
    text-align: center;
    margin-bottom: 100px;
    text-decoration: none;
    display: block;
    letter-spacing: 1px;
    padding: 20px 0;
    color:#3e3e3e;
    background: #f1efef;
}
}
 
#coolMenu > li {
.back_link .arrow{
    vertical-align: middle;
    margin-right: 4px;
}
 
 
 
.row{
    margin-bottom: 80px;
}
 
.row a:first-child{
     float: left;
     float: left;
}


.row a:last-child{
    float: right;
}
}
 
#coolMenu li a {
.content{
display: block;
     padding-top: 200px;
    height: 2em;
    line-height: 2em;
    text-decoration: none;
     padding:10px 12px 10px 12px;
}
}
.content p{
#coolMenu ul {
     font-family: 'raleway-regular', arial;
     position: absolute;
    font-size: 16px;
     display: none;
     margin-bottom: 40px;
     z-index: 999;
     line-height: 30px;
    color: #494747;
}
}


 
#coolMenu ul li a {
 
    padding-left:0px;
 
      width:max-content;
/*    Header Styling    */
 
header{
    width: 100%;
    height: 100px;
    background: #4b5f6d;
    position: fixed;
}
}


.logo{
#coolMenu ul.submenu {
     float: left;
     position: absolute;
     margin-top: 33px;
     display: none;
    z-index: 999;
}
}


 
#coolMenu ul.subsubmenu {
 
    position: absolute;
/*    nav    */
    display: none;
nav{
     z-index: 999;
     float: right;
}
}
 
#coolMenu ul.submenuvert {
nav ul li{
     position: absolute;
     list-style: none;
     display: none;
     float: left;
     z-index: 999;
     margin-left: 40px;
}
}
nav ul li a{
#coolMenu li:hover ul.submenu {
     display: block;
     display: block;
     height: 100%;
     display:flex;
    line-height: 100px;
    text-decoration: none;
    color: #e5edf1;
    font-family: 'raleway-regular', arial;
    font-size: 14px;
    letter-spacing: 1px;
}
}
 
#coolMenu li:hover ul.submenuvert {
 
     display:block;
 
 
 
 
 
 
 
nav ul li a .nav_arrow{
     display: inline-block;
    width: 9px;
    height: 7px;
    background: url('../images/nav_arrow.png') no-repeat;
    background-position: 0 0;
    margin-left: 6px;
 
    -webkit-transition:all linear .1s;
    -moz-transition:all linear .1s;
    -o-transition:all linear .1s;
    transition:all linear .1s;
}
}
 
#coolMenu ul.submenu li:hover ul.subsubmenu {
nav ul li:hover > a .nav_arrow,
     display: block;
nav ul li .sm_style1_level1 > ul > li:hover > a .nav_arrow{
 
     background-position: 0 -8px;
}
}






 
/* Main Menu */
.sm_style1_level1,
#coolMenu {
.sm_style1_level2,
     font-family: Arial;
.sm_style2_level1{
     font-size: 12px;
    width: 100%!important;
     background: #ebfceb;
    height: 80px;
    left: 0;
    top: 100px;
    background: #435765;
    position: absolute;
    opacity: 0;
    z-index: 2;
 
    /* transition: <property> <duration> <timing-function> <delay>;  */
    -webkit-transition: all .4s cubic-bezier(0.77, 0, 0.175, 1) .4s;
     -moz-transition: all .4s cubic-bezier(0.77, 0, 0.175, 1) .4s;
     -o-transition: all .4s cubic-bezier(0.77, 0, 0.175, 1) .4s;
     transition: all .4s cubic-bezier(0.77, 0, 0.175, 1) .4s;
 
    -webkit-transform: perspective(1000px) rotateX(-90deg);
    -moz-transform: perspective(1000px) rotateX(-90deg);
    -o-transform: perspective(1000px) rotateX(-90deg);
    transform: perspective(1000px) rotateX(-90deg);
 
    -webkit-transform-style: preserve- 3 d;
    -moz-transform-style: preserve- 3 d;
    -o-transform-style: preserve- 3 d;
    transform-style: preserve- 3 d;
 
 
    -webkit-transform-origin: 50% 0;
    -moz-transform-origin: 50% 0;
    -o-transform-origin: 50% 0;
    transform-origin: 50% 0;
}
}
 
#coolMenu > li > a {
.sm_style1_level2{
     color: #222;
     top: 80px;
     font-weight: 400;
    background: #3c4f5d;
 
    -webkit-transition-delay:.2s;
    -moz-transition-delay:.2s;
    -o-transition-delay:.2s;
     transition-delay:.2s;
}
}
 
#coolMenu  li:hover > a {
 
     background: #e5f6e5;
 
     color: #000;
 
 
 
 
nav ul li ul li{  
     list-style: none;
    float: left;
     display: block;
    text-align: center;
    border-right: 1px solid #3c4f5d;
    margin: 0;
    width: 19.9%;
}
}
/* Submenu
------------------------------------------*/


nav ul li ul li:last-child{
#coolMenu ul.submenu {
     border-right: 0;
     background: #e5f6e5;
  margin-top:-2px;
}
}
 
#coolMenu ul.submenuvert {
nav ul li ul li a{
    background: #e5f6e5;
    display: block;
    padding-left:0px;
    width: 100%;
    height: 100%;
    line-height: 80px;
    text-decoration: none;
    color: #e3eff4;
}
}
 
#coolMenu ul.submenu li:hover a {
nav ul li ul li img.menu_icon{
     background: #e5f6e5;
    margin: 0 10px -5px 0;
}
 
nav ul li ul li li{
    border-right: 1px solid #334552;
}
 
 
 
 
 
 
 
 
 
nav ul li .sm_style2_level1 > ul > li{
    position: relative;
    vertical-align: top;
}
 
nav ul li li .preview{
    display: block;
    width: 150px;
    height: 100px;
    position: absolute;
    left: 50%;
    margin-left: -75px;
     background: #ffffff;
    text-decoration: none;
    border: 2px solid #fff;
    opacity: 0;
 
 
    /*  transition: <property> <duration> <timing-function> <delay>;  */
    -webkit-transition: all .4s cubic-bezier(0.77, 0, 0.175, 1) .2s;
    -moz-transition: all .4s cubic-bezier(0.77, 0, 0.175, 1) .2s;
    -o-transition: all .4s cubic-bezier(0.77, 0, 0.175, 1) .2s;
    transition: all .4s cubic-bezier(0.77, 0, 0.175, 1) .2s;
 
    -webkit-transform: perspective(1000px) rotateX(-90deg);
    -moz-transform: perspective(1000px) rotateX(-90deg);
    -o-transform: perspective(1000px) rotateX(-90deg);
    transform: perspective(1000px) rotateX(-90deg);
 
    -webkit-transform-style: preserve- 3 d;
    -moz-transform-style: preserve- 3 d;
    -o-transform-style: preserve- 3 d;
    transform-style: preserve- 3 d;
 
 
    -webkit-transform-origin: 50% 0;
    -moz-transform-origin: 50% 0;
    -o-transform-origin: 50% 0;
    transform-origin: 50% 0;
 
}
 
nav ul li li .preview .preview_arrow{
    display: block;
    position: absolute;
    width: 12px;
    height: 6px;
    background: url('../images/box-arrow.png') no-repeat;
    left: 50%;
    margin: -7px 0 0 -6px;
    text-align: center;
}
}
 
#coolMenu ul.subsubmenu {
 
     background: #daebda;
 
  margin-top:-2px;
 
 
 
 
 
 
nav ul li:hover .sm_style1_level1,
nav ul li li:hover .sm_style1_level2,
nav ul li:hover .sm_style2_level1,
nav ul li li:hover .preview{
     opacity: 1;
 
    -webkit-transform: perspective(1000px) rotateX(0deg);
    -moz-transform: perspective(1000px) rotateX(0deg);
    -o-transform: perspective(1000px) rotateX(0deg);
    transform: perspective(1000px) rotateX(0deg);
}
}


nav ul li:hover .sm_style1_level1,
#coolMenu ul.subsubmenu li:hover a {
nav ul li:hover .sm_style2_level1{
     background: #daebda;
     -webkit-transition-delay:.6s;
    -moz-transition-delay:.6s;
    -o-transition-delay:.6s;
    transition-delay:.6s;
}
}
 
#coolMenu ul li a {
nav ul li li:hover .sm_style1_level2,
     color: #000;
nav ul li li:hover .preview{
     padding:8px;
     -webkit-transition-delay:.4s;
    -moz-transition-delay:.4s;
    -o-transition-delay:.4s;
     transition-delay:.4s;
}
}
/* submenu positioning */
ul.submenu:nth-child(2) {margin-left:0px;}
ul.submenu:nth-child(3) {margin-left:0px;}
ul.submenu:nth-child(4) {margin-left:-20px;}
ul.submenu:nth-child(5) {margin-left:-30px;}
ul.submenu:nth-child(6) {margin-left:-60px;}
ul.submenu:nth-child(7) {margin-left:-40px;}


 
/* MENUING end */
    html, body, div, span, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    abbr, address, cite, code,
    del, dfn, em, img, ins, kbd, q, samp,
    small, strong, sub, sup, var,
    b, i,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td,
    article, aside, canvas, details, figcaption, figure,
    footer, header, hgroup, menu, nav, section, summary,
    time, mark, audio, video {
        margin:0;
        padding:0;
        border:0;
        outline:0;
        font-size:100%;
        vertical-align:baseline;
        background:transparent;
    }
 
    body {
        line-height:1;
    }
 
    img{
        max-width: 100%;
    }
 
    article,aside,details,figcaption,figure,
    footer,header,hgroup,menu,nav,section {
        display:block;
    }
 
    nav ul {
        list-style:none;
    }
 
    blockquote, q {
        quotes:none;
    }
 
    blockquote:before, blockquote:after,
    q:before, q:after {
        content:'';
        content:none;
    }
 
    a {
        margin:0;
        padding:0;
        font-size:100%;
        vertical-align:baseline;
        background:transparent;
    }
 
    /* change colours to suit your needs */
    ins {
        background-color:#ff9;
        color:#000;
        text-decoration:none;
    }
 
    /* change colours to suit your needs */
    mark {
        background-color:#ff9;
        color:#000;
        font-style:italic;
        font-weight:bold;
    }
 
    del {
        text-decoration: line-through;
    }
 
    abbr[title], dfn[title] {
        border-bottom:1px dotted;
        cursor:help;
    }
 
    table {
        border-collapse:collapse;
        border-spacing:0;
    }
 
    /* change border colour to suit your needs */
    hr {
        display:block;
        height:1px;
        border:0; 
        border-top:1px solid #cccccc;
        margin:1em 0;
        padding:0;
    }
 
    input, select {
        vertical-align:middle;
    }
 
/* experimental end */


div.topnav ul {
div.topnav ul {
Line 507: Line 207:




div.definition, div.definition p:first-of-type
blockquote.definition, div.definition {
{
     padding: 5px;
     padding: 15px;
     border: 1px solid #eee;
     border: 1px solid #eee;
    margin-top:52px;
    margin-left:2px;margin-right:2px;
}
}
@import url("https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif")
@import url("https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif")



Latest revision as of 03:18, 21 February 2020

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


#mw-content h1.firstHeading {
border-bottom: solid 1px #008b9c;
}
#mw-content h1, #mw-content h2 {border-bottom: solid 1px #008b9c;}

 .color-middle, .color-left, .color-right {color:#008b9c;background:#008b9c;}
a {color:#008b9c;}
a:hover {color:#cb4a3b;}

li a.selflink {font-weight:bold !important;}

.left80 {margin-left: -80px;}


/* MENUING */
   
#coolMenu,
#coolMenu ul {
    list-style: none;
}

#coolMenu li p {
    margin-top:12px;
}

#coolMenu {
    float: left;
    width:100%;
    margin-bottom:20px;
    margin-left:0px;
    border-bottom: 1px dotted black

}
#coolMenu > li {
    float: left;

}
#coolMenu li a {
display: block;
    height: 2em;
    line-height: 2em;
    text-decoration: none;
    padding:10px 12px 10px 12px;
}
#coolMenu ul {
    position: absolute;
    display: none;
    z-index: 999;
}

#coolMenu ul li a {
     padding-left:0px;
      width:max-content;
}

#coolMenu ul.submenu {
    position: absolute;
    display: none;
    z-index: 999;
}

#coolMenu ul.subsubmenu {
    position: absolute;
    display: none;
    z-index: 999;
}
#coolMenu ul.submenuvert {
    position: absolute;
    display: none;
    z-index: 999;
}
#coolMenu li:hover ul.submenu {
    display: block;
    display:flex;
}
#coolMenu li:hover ul.submenuvert {
    display:block;
}
#coolMenu ul.submenu li:hover ul.subsubmenu {
    display: block;
   
}



/* Main Menu */
#coolMenu {
    font-family: Arial;
    font-size: 12px;
    background: #ebfceb;
}
#coolMenu > li > a {
    color: #222;
    font-weight: 400;
}
#coolMenu  li:hover > a {
    background: #e5f6e5;
    color: #000;
}
 
/* Submenu
------------------------------------------*/

#coolMenu ul.submenu {
    background: #e5f6e5;
   margin-top:-2px;
}
#coolMenu ul.submenuvert {
     background: #e5f6e5;
     padding-left:0px;
}
#coolMenu ul.submenu li:hover a {
    background: #e5f6e5;
}
#coolMenu ul.subsubmenu {
    background: #daebda;
   margin-top:-2px;
}

#coolMenu ul.subsubmenu li:hover a {
    background: #daebda;
}
#coolMenu ul li a {
    color: #000;
    padding:8px;
}
/* submenu positioning */
ul.submenu:nth-child(2) {margin-left:0px;}
ul.submenu:nth-child(3) {margin-left:0px;}
ul.submenu:nth-child(4) {margin-left:-20px;}
ul.submenu:nth-child(5) {margin-left:-30px;}
ul.submenu:nth-child(6) {margin-left:-60px;}
ul.submenu:nth-child(7) {margin-left:-40px;}

/* MENUING end */

div.topnav ul {
    list-style-type: none;
    margin: 0;
    margin-bottom:28px;
    padding: 0;
    overflow: hidden;
    background-color: #fffafa;
 border-bottom: 1px solid #888
}

div.topnav li {
    float: left;
   ;
}

div.topnav li a {
    display: block;
    color: #222;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: .8s background-color;
}


div.nav ul {
    list-style-type: none;
    margin: 0;
    margin-bottom:28px;
    padding: 0;
    overflow: hidden;
    background-color: #fafffa;
 border-bottom: 1px solid #888
}

div.nav li {
    float: left;
   ;
}

div.nav li a {
    display: block;
    color: #222;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: .8s background-color;
}

div.nav ul a:hover:not(.active) {
    background-color: #f3fff3;
}

div.nav ul .active {
background-color:#fafafa;
}


div.toc-mobile h2 {
   display:none
}

div.toc 
{
   display:none;
}



blockquote.definition, div.definition {
    padding: 5px;
    border: 1px solid #eee;
    margin-top:52px;
    margin-left:2px;margin-right:2px;

}



@import url("https://fonts.googleapis.com/css?family=Noto+Sans|Noto+Serif")

body {font-family: "Noto Sans", sans-serif}
/* changes the default font used for MediaWiki to Noto Sans (does not include headings or monospaced text) */

div#content h1, div#content h2 {font-family: "Noto Serif", serif}
/* changes the default font used for MediaWiki headings to Noto Serif */