MediaWiki:Common.css: Difference between revisions
From artserver wiki
No edit summary |
Tag: Undo |
||
Line 14: | Line 14: | ||
margin-bottom: 2em !important; | margin-bottom: 2em !important; | ||
} | } | ||
.row { | |||
margin-right: 5%!important; | margin-right: 5%!important; | ||
margin-left: 5%!important; | margin-left: 5%!important; | ||
} | } | ||
div.mainpagecontainer{ | div.mainpagecontainer{ | ||
display: grid; | display: grid; |
Revision as of 14:13, 15 May 2020
/* CSS placed here will be applied to all skins */
body {
font-size: 13pt;
}
h1 {font-size: 2.5em;}
h2 {font-size: 2.0em;}
h3 {font-size: 1.5em;}
h4 {font-size: 1.3em;}
h1, h2, h3, h4 {
margin-top: 2em !important;
margin-bottom: 2em !important;
}
.row {
margin-right: 5%!important;
margin-left: 5%!important;
}
div.mainpagecontainer{
display: grid;
gap: 1em;
grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
grid-gap: .5rem;
align-items: flex-start;
}
div.mainpageitem{
flex: 2 0;
min-width: 300px;
padding: 30px;
}
div.mainpagetitlecontainer {
padding-right: 30px;
padding-left: 30px;
}
table#frontpage td {
width: 30% !important;
margin: 20px !important;
padding: 10px !important;
}
.thumb {
padding: 5px;
margin-top: 5px;
margin-bottom: 5px; }
.thumb .thumbcaption {
text-align: left;
font-size: 0.5em;
margin-top: 5px;
}
div.tright, div.floatright, table.floatright {
float: none;
max-width: 800px;
}
img{
max-width: 800px;
}
table#frontpage{border: solid 0px #fff!important; }
table#frontpage td { vertical-align:top!important;
text-align:left!important;}
table#frontpage td ul {list-style: none;
margin:0em!important;
}
table#frontpage tr{background:#FEFEFE!important;
} /*:nth-of-type(2n)*/
table.formtable{width:60% !important;}
table.formtable th{padding-right:5px !important;}
a.new {text-decoration: line-through dotted black !important;}
.thumbborder { /*smw table: image size*/
width: 200px!important;
}
ul {
list-style-type: circle !important;
margin-left: 1em !important;
margin-top: 0.4em !important;
}
li {margin-top: 0.4em !important;}
pre {background: #e6f1ef !important;}
/* MainPage */
.mediawiki.ltr.sitedir-ltr.mw-hide-empty-elt.ns-0.ns-subject.page-Main_Page.rootpage-Main_Page.skin-foreground.action-view h1#firstHeading {
display: none;
/*hide page title */
}