Jump to content
Wikipedia The Free Encyclopedia

Module:Portal/styles.css

From Wikipedia, the free encyclopedia
 /* {{pp-template}} */
 .portalbox{
 padding:0;/* Timeless adds padding */
 margin:0.5em0;
 display:table;
 box-sizing:border-box;
 max-width:175px;
 list-style:none;
 }

 .portalborder{
 border:1pxsolidvar(--border-color-base,#a2a9b1);
 padding:0.1em;
 background:var(--background-color-neutral-subtle,#f8f9fa);
 }

 .portalbox-entry{
 display:table-row;
 font-size:85%;
 line-height:110%;
 height:1.9em;/* sets min height */
 font-style:italic;
 font-weight:bold;
 }

 .portalbox-image{
 display:table-cell;
 padding:0.2em;
 vertical-align:middle;
 text-align:center;
 }

 .portalbox-link{
 display:table-cell;
 padding:0.2em0.2em0.2em0.3em;
 vertical-align:middle;
 }

 @media(min-width:720px){
 .portalleft{
 margin:0.5em1em0.5em0
 }

 .portalright{
 clear:right;
 float:right;
 margin:0.5em00.5em1em
 }
 }

AltStyle によって変換されたページ (->オリジナル) /