How to change font size and color in Mediawiki sidebar and footer?

My site was developed using Mediawiki, and I have the following question:

How to change font size and font color in sidebar and navigation footer?

I use a vector skin and find it difficult to find the right way to make these changes.

+4
source share
1 answer

For navigation:

do a css search for

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 need the same color for the link and visited link

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

or just add a new line with this code

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

For footer

add a 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; } 

}

+6
source

Source: https://habr.com/ru/post/1489607/


All Articles