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

Материал из rock63.ru
Перейти к: навигация, поиск
 
(не показано 37 промежуточных версий этого же участника)
Строка 1: Строка 1:
/* temporarily for [[Template:Карточка]]*/
+
/*[[Шаблон:Карточка]]*/
 +
/*См. также: MediaWiki:Mobile.css*/
 
.infobox {
 
.infobox {
  border: 1px solid #aaa;
+
    border: 1px solid #aaa;
  background: #f9f9f9;
+
    background: #f9f9f9;
  margin-bottom: 0.5em;
+
    margin-bottom: 0.5em;
  margin-left: 1em;
+
    margin-left: 1em;
  padding:.4em;
+
    padding: .4em;
  float: right;
+
    float: right;
  clear: right;
+
    clear: right;
  font-size: 90%;
+
    font-size: 88%;
  width: 18em;
+
    width: 22em;
  vertical-align: middle;
+
    vertical-align: middle;
 +
    text-align: left;
 +
    line-height: 1.5em;
 +
    border-collapse: separate;
 +
    border-spacing: 2px;
 
}
 
}
.infobox td, .infobox th {vertical-align:top}
 
table.infobox td p {margin:0} /* temporarily for [[Template:Карточка]]*/
 
  
 +
.infobox > caption {
 +
    font-size: 125%;
 +
    font-weight: bold;
 +
}
 +
 +
.infobox th {
 +
    vertical-align: top;
 +
    width: 20%;
 +
}
 +
 +
.infobox td {
 +
    width: 80%;
 +
    vertical-align: middle;
 +
}
 +
 +
/* temporarily for [[Template:Карточка]] */
 +
table.infobox td p {
 +
    margin: 0 !important;
 +
}
 +
 +
.infobox th {
 +
    text-align: right;
 +
}
 +
 +
.infobox img {
 +
    width: 100%;
 +
    height: auto;
 +
}
 +
 +
/* списки в карточках */
 +
.infobox th > ul,
 +
.infobox td > ul {
 +
    list-style-type: none;
 +
    list-style-image: none;
 +
    list-style: none;
 +
    margin: 0;
 +
}
 +
 +
.infobox th > ol,
 +
.infobox td > ol {
 +
    line-height: 1.1em;
 +
    margin: 0 0 0 2em;
 +
}
 +
 +
.infobox li {
 +
    margin-bottom: 0;
 +
}
 +
 +
/*[[Шаблон:Карточка]]*/
  
 
/*{Навигационная полоса}, {Hider}, ... */
 
/*{Навигационная полоса}, {Hider}, ... */
 
div.Boxmerge,
 
div.Boxmerge,
 
div.NavFrame {
 
div.NavFrame {
margin:0;
+
    margin: 0;
padding:2px;
+
    padding: 2px;
border:1px solid #aaa;
+
    border: 1px solid #aaa;
text-align:center;
+
    text-align: center;
border-collapse:collapse;
+
    border-collapse: collapse;
font-size:95%;
+
    font-size: 95%;
 
}
 
}
 +
 
div.Boxmerge div.NavFrame {
 
div.Boxmerge div.NavFrame {
border-style:none;
+
    border-style: none;
border-style:hidden;
+
    border-style: hidden;
 
}
 
}
 +
 
div.NavFrame + div.NavFrame {
 
div.NavFrame + div.NavFrame {
border-top-style:none;
+
    border-top-style: none;
border-top-style:hidden;
+
    border-top-style: hidden;
 
}
 
}
 +
 
div.NavPic {
 
div.NavPic {
background:#fff;
+
    background: #fff;
margin:0;
+
    margin: 0;
padding:2px;
+
    padding: 2px;
float:left;
+
    float: left;
 
}
 
}
 +
 
div.NavFrame div.NavHead {
 
div.NavFrame div.NavHead {
height:1.6em;
+
    height: 1.6em;
font-weight:bold;
+
    font-weight: bold;
font-size:100%;
+
    font-size: 100%;
background:#efefef;
+
    background: #efefef;
position:relative;
+
    position: relative;
 
}
 
}
 +
 
div.NavFrame p,
 
div.NavFrame p,
 
div.NavFrame div.NavContent,
 
div.NavFrame div.NavContent,
 
div.NavFrame div.NavContent p {
 
div.NavFrame div.NavContent p {
font-size: 100%
+
    font-size: 100%
 
}
 
}
 +
 
div.NavEnd {
 
div.NavEnd {
margin:0;
+
    margin: 0;
padding:0;
+
    padding: 0;
line-height:1px;
+
    line-height: 1px;
clear:both;
+
    clear: both;
 
}
 
}
 +
 
a.NavToggle {
 
a.NavToggle {
float:right;
+
    float: right;
top:0;
+
    top: 0;
right:11px;
+
    right: 11px;
font-weight:normal;
+
    font-weight: normal;
font-size:smaller;
+
    font-size: smaller;
 
}
 
}
 
  
 
.messagebox.standard-talk {
 
.messagebox.standard-talk {
  border: 1px solid #c0c090;
+
    border: 1px solid #c0c090;
  background: #f8eaba
+
    background: #f8eaba
 
}
 
}
 +
 
.messagebox .floatleft {
 
.messagebox .floatleft {
  vertical-align: middle;
+
    vertical-align: middle;
  clear: both;
+
    clear: both;
  margin: 2px;
+
    margin: 2px;
  padding: 0
+
    padding: 0
 
}
 
}
 +
 
.messagebox .image {
 
.messagebox .image {
  margin: 0;
+
    margin: 0;
  padding: 0
+
    padding: 0
 
}
 
}
  
 
/*hider*/
 
/*hider*/
 
/* make the Cite extension list of references look smaller and highlight clicked reference in blue */
 
/* make the Cite extension list of references look smaller and highlight clicked reference in blue */
ol.references { font-size: 90%; }
+
ol.references {
ol.references > li:target { background-color: #ddeeff; }
+
    font-size: 90%;
sup.reference:target { background-color: #ddeeff; }
+
}
 +
 
 +
ol.references > li:target {
 +
    background-color: #ddeeff;
 +
}
  
 +
sup.reference:target {
 +
    background-color: #ddeeff;
 +
}
  
//AddThis Toolbar Fix for Chrome
 
 
#addthistoolbar {
 
#addthistoolbar {
width: 280px;
+
    /*AddThis Toolbar Fix for Chrome*/
 +
    width: 280px;
 +
    /*AddThis Toolbar Fix for Chrome*/
 +
    top: -20px !important;
 +
    position: absolute !important;
 +
    right: 0px !important;
 +
    padding: 0px !important;
 +
    margin: 0px !important;
 +
    border-width: 0px !important;
 
}
 
}
  
//Стилизация примечаний в начале страницы
+
/*Стилизация примечаний в начале страницы*/
div.rellink {
+
.rellink {
 
     font-style: italic !important;
 
     font-style: italic !important;
 
     padding-left: 1.6em !important;
 
     padding-left: 1.6em !important;
 
}
 
}
a {
+
 
color: red !important;
+
/*Temp fix search result*/
 +
.mw-search-results {
 +
    float: none !important;
 +
}
 +
 
 +
.widget-vimeo {
 +
  display: inline-block;
 
}
 
}

Текущая версия на 11:25, 16 сентября 2018

/*[[Шаблон:Карточка]]*/
/*См. также: MediaWiki:Mobile.css*/
.infobox {
    border: 1px solid #aaa;
    background: #f9f9f9;
    margin-bottom: 0.5em;
    margin-left: 1em;
    padding: .4em;
    float: right;
    clear: right;
    font-size: 88%;
    width: 22em;
    vertical-align: middle;
    text-align: left;
    line-height: 1.5em;
    border-collapse: separate;
    border-spacing: 2px;
}

.infobox > caption {
    font-size: 125%;
    font-weight: bold;
}

.infobox th {
    vertical-align: top;
    width: 20%;
}

.infobox td {
    width: 80%;
    vertical-align: middle;
}

/* temporarily for [[Template:Карточка]] */
table.infobox td p {
    margin: 0 !important;
}

.infobox th {
    text-align: right;
}

.infobox img {
    width: 100%;
    height: auto;
}

/* списки в карточках */
.infobox th > ul,
.infobox td > ul {
    list-style-type: none;
    list-style-image: none;
    list-style: none;
    margin: 0;
}

.infobox th > ol,
.infobox td > ol {
    line-height: 1.1em;
    margin: 0 0 0 2em;
}

.infobox li {
    margin-bottom: 0;
}

/*[[Шаблон:Карточка]]*/

/*{Навигационная полоса}, {Hider}, ... */
div.Boxmerge,
div.NavFrame {
    margin: 0;
    padding: 2px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}

div.Boxmerge div.NavFrame {
    border-style: none;
    border-style: hidden;
}

div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}

div.NavPic {
    background: #fff;
    margin: 0;
    padding: 2px;
    float: left;
}

div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    font-size: 100%;
    background: #efefef;
    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 {
    float: right;
    top: 0;
    right: 11px;
    font-weight: normal;
    font-size: smaller;
}

.messagebox.standard-talk {
    border: 1px solid #c0c090;
    background: #f8eaba
}

.messagebox .floatleft {
    vertical-align: middle;
    clear: both;
    margin: 2px;
    padding: 0
}

.messagebox .image {
    margin: 0;
    padding: 0
}

/*hider*/
/* make the Cite extension list of references look smaller and highlight clicked reference in blue */
ol.references {
    font-size: 90%;
}

ol.references > li:target {
    background-color: #ddeeff;
}

sup.reference:target {
    background-color: #ddeeff;
}

#addthistoolbar {
    /*AddThis Toolbar Fix for Chrome*/
    width: 280px;
    /*AddThis Toolbar Fix for Chrome*/
    top: -20px !important;
    position: absolute !important;
    right: 0px !important;
    padding: 0px !important;
    margin: 0px !important;
    border-width: 0px !important;
}

/*Стилизация примечаний в начале страницы*/
.rellink {
    font-style: italic !important;
    padding-left: 1.6em !important;
}

/*Temp fix search result*/
.mw-search-results {
    float: none !important;
}

.widget-vimeo {
   display: inline-block;
}