MediaWiki:Common.css

From Tech Tangents
Revision as of 23:53, 9 August 2024 by Akbkuku (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
.inline-thing {
	display: inline-block;
	padding: 0em 1em;
}

.infobox {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 0.5em;
    width: 400px;
}
.infobox table{
	border-collapse: collapse
}

.infobox-title {
    font-size: 1.75em;
    text-align: center;
    border-bottom: 1px solid #ccc;
    margin-top: -0.25em;
}
div.infobox-image {
    margin-bottom: -1em;
}
.infobox-image {
    text-align: center;
    padding-top: 1em;
}
.infobox th.info-section-sub {
    text-align: left;
    font-size:112.5%;
}
.infobox th.info-section {
    text-align: left;
    border-bottom: 1px solid #ccc;
    font-size:125%;
    padding-top: 1.5em;
    background: #eee;
}
.infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
    padding-right:0.5em;
}
.infobox td {
    vertical-align: center;
}
.infobox tr:nth-child(odd)
{
    background: #e2e2e2;
}

.examplebox-horizontal {
    background: #eee;
    border: 1px solid #aaa;
    display: inline-block;
    margin: 0 0 1em 1em;
    padding: 0.5em;
}
.examplebox-horizontal th.info-section {
    text-align: left;
    border-bottom: 1px solid #ccc;
    font-size:125%;
}
th.data-label {
    text-align: right;
}

div.examplebox-image {
    display: inline-block;
    vertical-align: top;
}

.examplebox-horizontal > table {
    display: inline-block;
}


/* SMW Ask List for Software */
.ask-list-software li
{
	display: inline-block;
	padding: 0em 1em;
    color: transparent;
    
    text-align: center;
}
.ask-list-software li span
{
	display: inline-block;
    color: black;
}

.ask-list-software li>span:nth-child(1)
{
	display: block;
    font-size: 2em;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0px;
    margin-bottom: 0.5em;
    font-family: 'Linux Libertine','Georgia','Times',serif;
}
.ask-list-software li img
{
	display: block;
}
.ask-list-software li>span:nth-child(3)
{
	display: block;
}
.ask-list-software li>span:nth-child(4)
{
	display: block;
}
.ask-list-software li>span:nth-child(5)
{
	display: block;
}

:target {
	background: #ffcccc;	
}