Difference between revisions of "MediaWiki:Common.css"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| Line 31: | Line 31: | ||
text-align: center;  | text-align: center;  | ||
}  | }  | ||
| + | |||
| + |  var ul = document.querySelector(#p-views ul");//finding the list  | ||
| + |      var newLi = document.createElement("li");// creating a list item  | ||
| + |      newLi.innerHTML = '<span><a href="[https://www.sindenshop.com/]" title="[Sinden Shop]">[Sinden Shop]</a></span>';  | ||
| + | |||
| + |      ul.appendChild(newLi);//adding list item to list  | ||
Revision as of 13:37, 9 December 2022
/* CSS placed here will be applied to all skins */
.infobox {
background-color: #f6f6f6;
border: 2px solid #008600;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}      
.infobox-title {
font-size: 1.5em;
text-align: center;
}
.infobox-subtitle {
font-size: 1em;
text-align: center;
background-color: #c98585;
}
.infobox-category {
font-size: 1em;
text-align: center;
background-color: #85a6cc;
}
.infobox-image {
text-align: center;
background-color: #ffffff;
border: 1px solid #008600;
}
.infobox-logo {
text-align: center;
}
 var ul = document.querySelector(#p-views ul");//finding the list
     var newLi = document.createElement("li");// creating a list item
     newLi.innerHTML = '<span><a href="[https://www.sindenshop.com/]" title="[Sinden Shop]">[Sinden Shop]</a></span>';
 
     ul.appendChild(newLi);//adding list item to list