MediaWiki:Common.css: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 65: Line 65:
margin: 0;
margin: 0;
     padding: 0;
     padding: 0;
}
.lang {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}
.lang .tooltiplang {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 150%;
  left: 50%;
  margin-left: -60px;
}
.lang .tooltiplang::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}
.lang:hover .tooltiplang {
  visibility: visible;
}
}

Revision as of 09:15, 29 May 2022

/* CSS Document */
.ombox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #a2a9b1;
	background-color: #f8f9fa;
	box-sizing: border-box;
}

.mbox-image {
	border: none;
	padding: 2px 0 2px 0.9em;
	text-align: center;
}

.mbox-text {
	border: none;
	padding: 0.25em 0.9em;
	width: 100%;
}

.ombox-notice {
	border: 1px solid #a2a9b1;
}

.mbox-small {
	clear: right;
	float: right;
	margin: 4px 0 4px 1em;
	box-sizing: border-box;
	width: 238px;
	font-size: 88%;
	line-height: 1.25em;
}

.hlist li {
    margin: 0;
    display: inline;
}

.hlist li:after {
    content: " · ";
    font-weight: bold;
}

.navbar li {
    word-spacing: -0.125em;
}

.hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after {
    content: none;
}

.plainlist ol li, .plainlist ul li {
    margin-bottom: 0;
}

.plainlist ol, .plainlist ul {
    line-height: inherit;
    list-style: none none;
    margin: 0;
}

.hlist ul {
	margin: 0;
    padding: 0;
}


.lang {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.lang .tooltiplang {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 150%;
  left: 50%;
  margin-left: -60px;
}

.lang .tooltiplang::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

.lang:hover .tooltiplang {
  visibility: visible;
}