「MediaWiki:Vector.css」の版間の差分

提供: HIMOROGI文化財Wiki
移動先: 案内検索
1行目: 1行目:
 
/* ここに記述したCSSはベクター外装の利用者に影響します */
 
/* ここに記述したCSSはベクター外装の利用者に影響します */
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 +
/*---------------------------------------------------------*/
 +
.box-footer {
 +
    text-align:right;
 +
    margin:0.3em 0.2em 0.2em 0.3em;
 +
    padding:0.3em 0.2em 0.2em 0.3em;
 +
/*    border-bottom: 1px; */
 +
    margin-bottom: -10px !important; /* override -15px !important from https://static.opensuse.org/themes/bento/css/base.fluid.fix.css which hides the border - must match padding for .box, see base.css line 128 */
 +
    width:auto; /* override width:100% from base.css around line 181 */
 +
    clear:both; /* should be added to base.css */
 +
}
 +
 +
 +
.box-header-span {
 +
    color:black;
 +
    float: right;
 +
    padding-right: 1em;
 +
    font-size:80%;
 +
    font-weight: normal;
 +
}
 +
                                           
 +
 +
.box-header-container {
 +
    margin: 0 1em 0.5em 1em;
 +
    width:240px;
 +
    float:right;
 +
    text-align: center;
 +
}
 +
 +
/*----------------------------------------------------------------------*/
  
 
/*-----サイドバーの幅をちょっと大きめにして、本文フォントサイズをちょっと大きめに。 ---*/
 
/*-----サイドバーの幅をちょっと大きめにして、本文フォントサイズをちょっと大きめに。 ---*/

2016年6月15日 (水) 02:13時点における版

/* ここに記述したCSSはベクター外装の利用者に影響します */
/* CSS placed here will be applied to all skins */
/*---------------------------------------------------------*/
.box-footer {
    text-align:right;
    margin:0.3em 0.2em 0.2em 0.3em; 
    padding:0.3em 0.2em 0.2em 0.3em;
/*    border-bottom: 1px; */
    margin-bottom: -10px !important; /* override -15px !important from https://static.opensuse.org/themes/bento/css/base.fluid.fix.css which hides the border - must match padding for .box, see base.css line 128 */
    width:auto; /* override width:100% from base.css around line 181 */
    clear:both; /* should be added to base.css */
}


.box-header-span {
    color:black; 
    float: right; 
    padding-right: 1em; 
    font-size:80%; 
    font-weight: normal;
}
                                            

.box-header-container {
    margin: 0 1em 0.5em 1em; 
    width:240px; 
    float:right; 
    text-align: center;
}

/*----------------------------------------------------------------------*/

/*-----サイドバーの幅をちょっと大きめにして、本文フォントサイズをちょっと大きめに。 ---*/
div#mw-panel { width: 12em; }
div#footer, #mw-head-base, div#content { margin-left: 12em; }
#left-navigation { margin-left: 12em; }

div#mw-panel div.portal h3 { font-size: inherit; }
div#mw-panel div.portal div.body ul li { font-size: 95%; }

/*------------ green-message class ----------------------*/
.green-message {
    
    border: 1px solid #ade874; 
    width: 100%; 
    padding: 0.7em;
    margin: 1em; 
    display:block; 
    width: auto; 
    background-color:#f4f9ef;
}

.head-boxpint {
    background:#fefefe;
    color:#666666;
    padding:0 1em 0 2em;
    margin: .5em 0 .5em 0;
}

.head-boxpint-in {
    border-left:.5em solid #ccc;
    padding:.2em .5em .4em 1em;
}