MediaWiki:Common.css: Difference between revisions

From UO Outlands Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
.mainpage-contents .tile-halves {
 
    flex: 1;
 
    margin-right: 0.9rem;
* {
  box-sizing: border-box;
}
 
/* Create two equal columns that floats next to each other */
.column {
  float: left;
  width: 50%;
  padding: 5px;
}
 
 
/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}
}


.mainpage-contents .tile-halves:last-child {
/* Responsive layout - when the screen is less than 600px wide, make the three columns stack on top of each other instead of next to each other */
     margin-right: 0;
@media screen and (max-width: 600px) {
  .column {
     width: 100%;
  }
}
 
 
ul {
  list-style-image:url('skins/Vector/images/bullet-icon.png');
}
}


.mainpage-contents .tile-top {
table.jquery-tablesorter th.headerSort {
    height: 4.5rem;
  background-image: url(/wiki/resources/src/jquery.tablesorter/images/sort_both.png);
    position: relative;
}
}


.mainpage-contents .tile-top h2 a {
table.jquery-tablesorter th.headerSortDown {
    display: block;
  background-image: url(/wiki/resources/src/jquery.tablesorter/images/sort_down.png);
    text-align: center;
    text-decoration: none;
    line-height: 4.5rem;
    padding-left: 0.45rem;
}
}


.mainpage-contents h2 {
table.jquery-tablesorter th.headerSortUp {
    margin: 0;
  background-image: url(/wiki/resources/src/jquery.tablesorter/images/sort_up.png);
    padding: 0;
}
}

Latest revision as of 03:42, 13 November 2021

/* CSS placed here will be applied to all skins */


* {
  box-sizing: border-box;
}

/* Create two equal columns that floats next to each other */
.column {
  float: left;
  width: 50%;
  padding: 5px;
}


/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }
}


ul {
  list-style-image:url('skins/Vector/images/bullet-icon.png');
}

table.jquery-tablesorter th.headerSort {
  background-image: url(/wiki/resources/src/jquery.tablesorter/images/sort_both.png);
}

table.jquery-tablesorter th.headerSortDown {
  background-image: url(/wiki/resources/src/jquery.tablesorter/images/sort_down.png);
}

table.jquery-tablesorter th.headerSortUp {
  background-image: url(/wiki/resources/src/jquery.tablesorter/images/sort_up.png);
}