How to change font size and colour in Mediawiki navigation sidebar and footer?

人盡茶涼 提交于 2019-12-05 11:31:49

For the navigation:

search in your css to

div#mw-panel div.portal div.body ul li a {
    color: #0645AD;
}
div#mw-panel div.portal div.body ul li a:visited {
    color: #0B0080;
}

and change it to

div#mw-panel div.portal div.body ul li a {
    font-size:16px;
    color: #008000;
}
div#mw-panel div.portal div.body ul li a:visited {
    color: #A0600B;
}

use this when you want the same color for a link and visited link

div#mw-panel div.portal div.body ul li a, a:visited {
    font-size:16px;
    color: #008000;
}

or simple add a new line with this code

#mw-panel .portal a, #mw-panel .portal a:visited {
    font-size:16px!important;
    color: red!important;
}

For the Footer

add new line with this code

div#footer ul li{
    font-size:16px!important;
    color:black!important;
}

div#footer ul li a,div#footer ul li a:visited {
    color: orange!important;
}

}

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!