Difference between revisions of "MediaWiki: Tweeki.css"

From A Wiki of Ice and Fire
Jump to: navigation, search
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
#rightbar {
 
#rightbar {
 
position:float;
 
position:float;
 +
text-align: center;
 +
}
 +
#BottomAd {
 +
padding-top: 15px;
 +
text-align: center;
 +
}
 +
.rbunit {
 +
padding-top: 1em;
 +
padding-bottom: 1em;
 
text-align: center;
 
text-align: center;
 
}
 
}
Line 35: Line 44:
 
@media screen and (max-width: 992px) {
 
@media screen and (max-width: 992px) {
 
.navbar-brand  
 
.navbar-brand  
  {font-size: 25px;
+
  {font-size: 20px;
 
}
 
}
 
}
 
}
Line 55: Line 64:
 
.ns--1 #rightbar {display: none;}
 
.ns--1 #rightbar {display: none;}
 
.ns-talk #rightbar {display: none;}
 
.ns-talk #rightbar {display: none;}
 
:target:before {
 
content:"";
 
display:flex;
 
height:100px; /* fixed header height*/
 
margin:-100px 0 0; /* negative fixed header height */
 
}
 

Latest revision as of 07:01, 1 July 2020

#rightbar {
position:float;
text-align: center;
}
#BottomAd {
padding-top: 15px; 
text-align: center;
}
.rbunit {
padding-top: 1em;
padding-bottom: 1em;
text-align: center;
}
@media screen and (min-width: 1360px) {
#rightbar 
 {position: fixed;
width: 420px;
top: 74px;
right: 0;
}
#contentwrapper {
margin-right: 290px;
}
}
@media screen and (max-width: 1359px) {
#contentwrapper {
margin-right: 0px;
}
#rightbar { clear:both; width:100% }
}
}

}
td, th {
padding: 0.2em;
}

p:before {
  content: "";
  width: 10em;
  display: block;
  overflow: hidden;
}
@media screen and (max-width: 992px) {
.navbar-brand 
 {font-size: 20px;
}
}
/* @media screen and (max-width: 600px) {
.thumbinner {
width: 100%;
height: auto;
}
}

@media screen and (max-width: 992px) {
img {
width: 100%;
height: auto;
}
} */

.ns-8 #rightbar {display: none;}
.ns--1 #rightbar {display: none;}
.ns-talk #rightbar {display: none;}