MediaWiki:Common.css — различия между версиями

Материал из GS
Перейти к: навигация, поиск
м
м
Строка 253: Строка 253:
  
 
#editpage-copywarn, .editHelp, .cancelLink {display:none;}
 
#editpage-copywarn, .editHelp, .cancelLink {display:none;}
 +
 +
.summarybox {
 +
width:48%;
 +
vertical-align:top;
 +
display:inline-block;
 +
min-width:500px;
 +
}
 +
 +
.summarybox.right {
 +
float:right;
 +
}
  
 
@media only screen and (max-width: 700px) {
 
@media only screen and (max-width: 700px) {
 
     .summarybox {
 
     .summarybox {
 
         width:90%;
 
         width:90%;
 +
    }
 +
    .summarybox.right {
 +
        float:none;
 
     }
 
     }
 
}
 
}

Версия 15:15, 22 апреля 2016

/** Размещённый здесь CSS будет применяться ко всем темам оформления */

@import url('/w/index.php?title=MediaWiki:Summary.css&action=raw&ctype=text/css');

div.ircwrap {
  float:left;
  width: 27% !important;
  display: table;
}

.ircblock {
  border-left: 4px solid #ff8833;
  max-width: 250px !important;
  font-family: arial;
  margin-right: 5px;
  max-height: 50px;
  valign: top;
  vertical-align: top;
  cellpadding:0px; 
}

.ircblock td.date {
  padding: 0px 3px 0 3px;
 width: 29px;
}

.ircblock td.date p {
  color: #ff8833;
  width: 100%;
  text-align: center;
 padding-top: -9px;
}

.ircblock td.date p.day {
  font-size: 34px;
  margin: auto;
}

.ircblock td.date p.month {
  font-size: 11px;
  margin: -11px 0 0 0;
}

.ircblock td.date p.time {
  display:block;
  background: #f7f7f7;
  color: #888;
  font-size: 10px;
  font-weight: bold;
  margin: 0px 0 0 0;
  padding: 2px 0 2px 0;
  -moz-border-radius: 4px;
  -khtml-border-radius: 4px;
  -webkit-border-radius: 4px;
}

.ircblock td.content {
  background: url(skins/common/arrow.png) no-repeat;
  padding: 0px 0 0 10px;
}

.ircblock td.title {
  font-size:22px;
  padding: 0px 0 0 10px;
  align: left;
}	

.ircblock p.desc {
  font-size: 10px;
  margin: -8px 0 0 8px;
  white-space: normal;
}

#userSummaryButtonsA a {
  white-space:nowrap;
  background: #C2F2FF;
  border: 1px solid #9BD5F5;
  padding: 0px 2px;
  margin: 2px;
  cursor: pointer;
  font-size: 80%;
  line-height: 17px;
  color: #5B5B5B
}
#userSummaryButtonsA a:hover {
  background: #B1EBFF;
  border: 1px solid #64BDF0;
  color: black;
  text-decoration: none
}

/* Default skin for navigation boxes */
table.navbox {            /* Navbox container style */
  border: 1px solid #aaa;
  width: 100%; 
  margin: auto;
  clear: both;
  font-size: 88%;
  text-align: center;
  padding: 1px;
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
  margin-top: -1px;            /* (doesn't work for IE6, but that's okay)       */
}
.navbox-title,
.navbox-abovebelow,
table.navbox th {
  text-align: center;      /* Title and above/below styles */
  padding-left: 1em;
  padding-right: 1em;
}
.navbox-group {            /* Group style */
  white-space: nowrap;
  text-align: right;
  font-weight: bold;
  padding-left: 1em;
  padding-right: 1em;
}
.navbox, .navbox-subgroup {
  background: #fdfdfd;     /* Background color */
}
.navbox-list {
  border-color: #fdfdfd;   /* Must match background color */
}
.navbox-title,
table.navbox th {
  background: #ccccff;     /* Level 1 color */
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
  background: #ddddff;     /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
  background: #e6e6ff;     /* Level 3 color */
}
.navbox-even {
  background: #f7f7f7;     /* Even row striping */
}
.navbox-odd {
  background: transparent; /* Odd row striping */
}
 
.collapseButton {          /* 'show'/'hide' buttons created dynamically */
    float: right;          /* by the CollapsibleTables javascript in    */
    font-weight: normal;   /* [[MediaWiki:Common.js]]are styled here    */
    text-align: right;     /* so they can be customised.                */
    width: auto;
}
.navbox .collapseButton {  /* In navboxes, the show/hide button balances */
    width: 6em;            /* the vde links from [[Template:Tnavbar]],   */
}                          /* so they need to be the same width.         */

/* Standard Navigationsleisten, aka box hiding thingy
   from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
    margin: 0;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0;
    padding: 2px;
    float: left;
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    background-color: #ccf;
    position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0;
    padding: 0;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
      position: absolute;
    top: 0;
    right: 3px;
    font-weight: normal;
    font-size: 90%;
}
/* SPOILER: DIKE SPIES */
.spoiler, .spoiler a, .spoiler a:visited { background-color: white; color:white; }
.spoiler:hover { color: black; }
.spoiler:hover a { color: blue; }
.spoiler:hover a:visited { color: magenta; }

/* Pad Google AdSense box in portlet in sidebar */
#p-googleadsense .pBody {
    padding-top: 5px;
    text-align:  center;
}

.irc_anons {
    background-image: url(/w/skins/common/anons_bg.png);
    background-repeat: no-repeat;
}
.irc_anons_sel {
    background-image: url(/w/skins/common/anons_bg_sel.png);
    background-repeat: no-repeat;
}

.pow .thumbinner {
    padding: 0 5px !important;
    border-left: 3px solid #a7d7f9 !important;
    border-right: 3px solid #a7d7f9 !important;
}

.editOptions {
    padding: 10px 5px 15px 8px;
    border: 1px solid #C0C0C0;
    margin-top: -1px;
    background-color: #F4F9FB;
}

#userSummaryButtonsA {
    padding-left: 133px;
}

.editButtons {
padding-top: 15px;
}

.editButtons #wpSave {
font-weight:bold;
}

.editButtons #wpPreview {
margin-left:10px;
}

#editpage-specialchars {
margin-top:-1px;
border: 1px solid #C0C0C0;
padding: 0px 0px 2px 9px;
}

#editpage-copywarn, .editHelp, .cancelLink {display:none;}

.summarybox {
width:48%;
vertical-align:top;
display:inline-block;
min-width:500px;
}

.summarybox.right {
float:right;
}

@media only screen and (max-width: 700px) {
    .summarybox {
        width:90%;
    }
    .summarybox.right {
        float:none;
    }
}