MediaWiki: Common.css

提供: 羅小黒戦記 FAN WIKI
移動先: 案内検索
 
(同じ利用者による、間の87版が非表示)
1行目: 1行目:
 
+
/*編集の表示*/
body {
+
body a#ca-edit{
    background: #abbaab;
+
display: none;
    border: #fff 7px solid;
 
    box-sizing: border-box;
 
    min-height: 100%;
 
    height: auto;
 
    color: #1E403C;
 
    font-family: Shin Go Regular;
 
    letter-spacing: 1px;
 
 
}
 
}
 
+
body.mw-editable a#ca-edit{
/*************************** basis */
+
display: inline;
a,a:hover,a:visited {
 
    color: #fff;
 
 
}
 
}
  
::selection {
+
/*カテゴリの表示*/
background: #1E403C;  
+
#catlinks { display: block; }
color: #fff;
+
/*カテゴリページ*/
 +
.mw-category-generated h2.typesquare_tags{
 +
display: none;
 
}
 
}
::-moz-selection {
+
.mw-category-generated h2{
background: #1E403C;
+
font-size: 24px;
color: #fff;
 
 
}
 
}
  
h1, h2, h3, h4, h5, h6{
 
color: #1E403C;
 
}
 
.mw-body .firstHeading {
 
    background: #fff;
 
    margin: 0;
 
    padding: 22px 22px 18px;
 
border: none;
 
    margin: 0 0 1px;
 
}
 
.mw-body, .parsoid-body {
 
    color: #333;
 
}
 
.mw-body-content h2{
 
    margin: 25px 0 20px;
 
    border-bottom:#1E403C 1px solid;
 
}
 
p{
 
    padding: 0 20px 0;
 
}
 
hr{
 
    margin: 15px 0;
 
    border-bottom: 1px #abbaab dotted;
 
    background: none;
 
}
 
iframe{
 
    border:#abbaab 1px solid;
 
}
 
ul{
 
    list-style: disc;
 
margin: 0 0 0 33px;
 
}
 
li{
 
    color: #1E403C;
 
}
 
  
/*************************** head */
+
 
#mw-head {
+
/*上ナビ*/
    position: absolute;
+
#navbar{
    top: 40px;
+
height: 100%;
    right: 40px;
+
     max-height: fit-content;
    width: 100%;
 
}
 
#p-search form {
 
    margin: 0;
 
}
 
#simpleSearch input {
 
     background-color: none;
 
    color: #807171;
 
    margin: 0px;
 
    padding: 12px;
 
}
 
#searchInput{
 
border: #fff 1px solid;
 
}
 
#left-navigation {
 
    display: none;
 
}
 
.vectorTabs li{
 
border: #fff 1px solid;
 
margin: 0px 5px;
 
background: none;
 
}
 
.vectorTabs li a{
 
    color: #1E403C;
 
    padding: 12px 10px 0;
 
 
}
 
}
.vectorTabs, .vectorTabs span, #mw-head .vectorMenu h3{
+
@media (min-width: 990px) {
    background: none;
+
  input#searchInput { width: 200px }
 
}
 
}
 +
/*右ナビ*/
 +
#sidebar-right figure{
 +
width: 100px;
 +
margin-left: auto;
  
/*************************** nav */
 
#mw-panel {
 
    position: fixed;
 
    padding: 0;
 
    left: 40px;
 
}
 
@media screen and (min-width: 982px){
 
    #mw-panel {
 
        padding-left: 0;
 
    }
 
}
 
#p-logo{
 
    width: 100%;
 
    height: 233px;
 
 
}
 
}
  
#p-logo a{
 
    width: 100%;
 
    height: 100%;
 
    background-size: cover;
 
}
 
#mw-panel #p-logo + .portal{
 
    margin: 0;
 
}
 
#mw-panel .portal{
 
    padding: 0;
 
    margin: 0;
 
    background: #fff;
 
}
 
#mw-panel .portal .body{
 
    background: none;
 
}
 
#mw-panel #p-logo + .portal .body{
 
    margin: 0;
 
}
 
#mw-panel .portal h3 {
 
    color: #1E403C;
 
    text-align: center;
 
    margin: 0;
 
    padding: 8px 0;
 
    border-bottom: #fff 1px solid;
 
}
 
#mw-panel .portal .body ul {
 
    text-align: center;
 
}
 
#mw-panel .portal .body li {
 
    padding: 0;
 
/*border-bottom: 1px dotted #e5e9e8;*/
 
}
 
#mw-panel .portal .body li a,
 
#mw-panel .portal .body li a:hover,
 
#mw-panel .portal .body li a:visited
 
{
 
    color: #1E403C;
 
padding: 12px 0;
 
display: block;
 
}
 
#mw-panel .portal .body ul.typesquare_tags li:nth-child(1){
 
border-top: 1px dotted #e5e9e8;
 
border-bottom: 1px dotted #e5e9e8;
 
}
 
#mw-panel .portal .body ul.typesquare_tags li:nth-child(4),
 
#mw-panel .portal .body ul.typesquare_tags li:nth-child(10){
 
border-bottom: 1px dotted #e5e9e8;
 
}
 
#mw-panel .portal .body ul.typesquare_tags li:nth-child(12){
 
border-bottom: none;
 
}
 
  
  
#p-tb{
+
/********************/
    display: none;
 
  
 +
/*共通デザイン*/
 +
body{
 +
font-family: "Noto Sans JP";
 +
letter-spacing: 1.5px;
 +
word-break: break-all;
 
}
 
}
#right-navigation{
 
    margin-top: 10px;
 
}
 
#p-personal{
 
top:-25px;
 
}
 
 
/*************************** footer */
 
 
#footer{
 
#footer{
font-size: 14px;
+
background: #333;
padding: 0 40px 0 0;
 
}
 
#footer ul{
 
    text-align: right;
 
 
}
 
}
#footer ul li{
+
#footer a{
 
color: #fff;
 
color: #fff;
 
}
 
}
#footer-places li{
+
 
    float: right;
+
a,a:visited {
margin: 0;
+
color: #4f97a3;
padding: 4px 4px 0 0;
 
 
}
 
}
#footer-icons li{
+
a:hover{
width: 60px;
+
color: #4f97a3;
margin: 0 10px 0 0;
 
}
 
#footer-icons li a img{
 
width: 100%;
 
height: auto;
 
 
}
 
}
  
  
  
 +
hr{
 +
margin: 40px 0;
 +
background: #eee;
 +
}
  
 +
figure img{
 +
width: 100%;
 +
}
 +
 +
.mw-parser-output img,
 +
.photoBox img{
 +
width: 100%;
 +
}
  
/*************************** contents */
 
  
#content a,#content a:hover,#content a:visited {
+
.typecate{
    color: #1E403C;
+
font-size: 18px;
    border-bottom:#E8EAE9 1px solid;
+
font-weight: bold;
    background:linear-gradient(transparent 70%, #E8EAE9 0%);
 
 
}
 
}
  
  
 +
#contentSub{
 +
margin: 20px 0;
  
#mw-page-base {
 
background: none;
 
 
}
 
}
  
.mw-body {
+
/*シェア用リンク*/
    border: none;
+
p#sUrl{
    background: none;
+
border-top: solid 2px #333;
    padding: 0;
+
padding: 40px 0 0 25px;
margin: 50px 50px 50px 250px;
+
margin: 60px 0 0 0;
 
}
 
}
 
+
p#sUrl a{
.mw-body-content {
+
color: #333;
    background: #fff;
+
font-size: 11px;
    padding: 10px 22px 0;
 
    line-height: 2;
 
 
}
 
}
.mw-body-content p{
+
p#sUrl a:before{
    color: #1E403C;  
+
content: "短縮URL:";
 
}
 
}
.mw-parser-output img{
 
    width: 100%;
 
  
 +
/*最終更新日*/
 +
p#sKousin{
 +
color: #333;
 +
font-size: 11px;
 +
padding: 20px 0 40px 23px;
 +
margin: 0 0 40px 2px;
 +
border-bottom: 2px solid;
 
}
 
}
.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul{
+
/*参考出典*/
margin: 0 0 0 33px;
+
h2#tSankou{
+
margin: 0 0 0 0;
 +
font-size: 25px;
 
}
 
}
  
 
+
/*カテゴリ*/
#contentSub, #contentSub2{
+
#catlinks{
    margin: 20px 0;
+
border: none;
 +
background: #f6f6f6;
 +
padding: 10px;
 +
margin: 40px 0 0;
 
}
 
}
  
/*もくじ*/
+
/*twitterBtn*/
 +
ul.navTwi{
 +
list-style: none;
 +
margin: 40px 0 20px;
 +
padding: 0;
 +
border-top: 1px solid #eee;
  
div#toc{
 
    display: block;
 
    background: #E8EAE9;
 
    border: none;
 
    margin: 0 0 20px;
 
    padding: 20px 25px 20px;
 
    border-radius: 30px;
 
 
}
 
}
#toc h2{
+
ul.navTwi li{
color: #1E403C;
+
border-bottom: 1px solid #eee;
border: none;
 
 
}
 
}
#toc a,#toc a:hover,#toc a:visited {
+
ul.navTwi li a{
    background:none;
+
display: block;
 +
padding: 20px 0 20px 50px;
 +
color: #333;
 
}
 
}
.toctogglelabel {
+
ul.navTwi li a:hover{
    cursor: pointer;
+
text-decoration: none;
    color: #1E403C;
+
color: #4f97a3;
}div#toc li a{
+
}
 
 
 
 
 
 
 
/*データボックス*/
 
dl.boxData{
 
    color: #1E403C;
 
    width: 100%;
 
    overflow: hidden;
 
    border-top: none;
 
    background: #e8eae9;
 
    border-bottom: 1px dotted #abbaab;
 
    margin: 0 0 20px;
 
}
 
dl.boxData dt{
 
    margin: 0;
 
    width: 25%;
 
    float: left;
 
    padding: 10px 0 0;
 
    border-top: 1px dotted #abbaab;
 
    box-sizing: border-box;
 
    text-align: center;
 
}
 
dl.boxData dd{
 
    margin: 0;
 
    margin-left: 25%;
 
    padding: 10px;
 
    border-top: 1px dotted #abbaab;
 
    background: #fff;
 
    line-height: 2;
 
}
 
dl.boxData dd:after{
 
    display: block;
 
    content: "";
 
    clear: both;
 
 
}
 
}
 
+
ul.navTwi li.btnShare{
/*文字装飾*/
+
background: no-repeat url("img/icon_share.png") left/46px;
p.s{
 
    font-size: 84%;
 
    text-align: right;
 
 
}
 
}
strong.daiji{
+
ul.navTwi li.btnTwi{
    color: #E78F7C;
+
background: no-repeat url("img/icon_twitter.png") left/46px;
    font-style: bold;
 
 
}
 
}
 
+
ul.navTwi li.btnWarp{
 
+
background: no-repeat url("img/icon_warp.png") left/35px;
 
 
/*ゆる募*/
 
p.yurubo{
 
    border: solid 2px #f9d93a;
 
    margin: 40px 20px;
 
    padding: 20px;
 
}
 
p.yurubo span.title{
 
    display: block;
 
    color: #f9d93a;
 
    font-style: bold;
 
    text-align: center;
 
 
}
 
}
p.yurubo span.link{
+
ul.navTwi li.text{
    display: block;
+
padding: 20px 0 20px 50px;
    text-align: center;
+
color: #333;
 +
text-align: center;
 
}
 
}
  
/*シェア*/
+
/*動画*/
p.share{
+
.movieBox{
    background: #E8EAE9;
+
  position: relative;
    margin: 50px -22px;
+
  width: 100%;
    padding: 20px;
+
  padding-top: 56.25%;
}
 
p.share span.title{
 
    font-size: 1.5em;
 
    display: block;
 
    font-style: bold;  
 
 
}
 
}
p.share span.link{
+
.movieBox iframe {
    display: block;
+
  position: absolute;
    border-top: dotted 1px #fff;
+
  top: 0;
    margin: 10px 0 0;
+
  right: 0;
    padding: 10px 0 0;
+
   width: 100% !important;
    
+
  height: 100% !important;
}
 
 
 
/*カテゴリ*/
 
div#catlinks{
 
    background: #E8EAE9;
 
    border: none;
 
    margin: 50px -22px 0;
 
    padding: 20px;
 
 
 
 
}
 
}
  
368行目: 176行目:
 
     list-style: none;
 
     list-style: none;
 
     padding: 15px 0;
 
     padding: 15px 0;
     margin: 20px -20px;
+
     margin: 40px 0;
     border-top: 1px #abbaab solid;
+
     border-top: 1px #999 solid;
     border-bottom: 1px #abbaab solid;
+
     border-bottom: 1px #999 solid;
 +
border-radius: 0;
 +
width: 100%;
 +
display: flex;
 +
}
 +
.pagination > li > a:hover,
 +
.pagination > li > a:visited{
 +
color: #4f97a3 !important;
 
}
 
}
 
#content ul.pagination li a{
 
#content ul.pagination li a{
    padding: 0 5px 0;
+
color: #4f97a3 !important;
 +
padding: 0 5px 0;
 
     background: none;
 
     background: none;
 
     border: none;
 
     border: none;
 +
display: contents;
 
}
 
}
 
li.pre a:before{
 
li.pre a:before{
     content: "〈 ";
+
     content: " ";
 
}
 
}
 
li.pre{
 
li.pre{
 
     margin: 0;
 
     margin: 0;
 
     width: 50%;
 
     width: 50%;
    float: left;
 
 
     padding: 0 0 0 10px;
 
     padding: 0 0 0 10px;
 
}
 
}
 
li.next{
 
li.next{
 +
    width: 50%;
 
     text-align: right;
 
     text-align: right;
 
     padding: 0 10px 0 0;
 
     padding: 0 10px 0 0;
 
}
 
}
 
li.next a:after{
 
li.next a:after{
     content: " 〉";
+
     content: " ";
 
}
 
}
  
400行目: 217行目:
 
}
 
}
  
 +
/*データボックス*/
 +
dl.boxData{
 +
    color: #333;
 +
    width: 100%;
 +
    overflow: hidden;
 +
    border-top: none;
 +
    background: #f8f8f8;
 +
    border-bottom: 1px dotted #888;
 +
    margin: 0 0 40px;
 +
}
 +
dl.boxData dt{
 +
    margin: 0;
 +
    width: 25%;
 +
    float: left;
 +
    padding: 15px 0 0;
 +
    border-top: 1px dotted #888;
 +
    box-sizing: border-box;
 +
    text-align: center;
 +
}
 +
dl.boxData dd{
 +
    margin: 0;
 +
    margin-left: 25%;
 +
    padding: 10px;
 +
    border-top: 1px dotted #888;
 +
    background: #fff;
 +
    line-height: 2;
 +
}
 +
dl.boxData dd:after{
 +
    display: block;
 +
    content: "";
 +
    clear: both;
 +
}
 +
dl.boxData dd hr{
 +
margin: 4px 0;
 +
}
  
 +
/*更新履歴*/
 +
ul.boxNews{
 +
border-top: 1px dotted #d3d3d3;
 +
list-style: none;
 +
    margin: 0;
 +
    padding: 0;
 +
}
 +
ul.boxNews li{
 +
border-bottom: 1px dotted #d3d3d3;
 +
padding: 10px 0;
 +
}
 +
ul.boxNews li span{
 +
display: block;
 +
}
  
  
  
  
 +
/*テキスト装飾*/
  
 +
h1{
 +
text-align: center;
 +
font-size: 32px;
 +
}
 +
.page-header{
 +
margin-bottom: 40px;
 +
border-bottom: 2px solid #333;
 +
}
  
 +
h2, .h2 {
 +
border-left: solid 10px #333;
 +
padding: 0px 0 4px 10px;
 +
margin-bottom: 40px;
 +
}
  
 +
.daiji{
 +
background: #d8e8bc;
 +
font-weight: normal;
 +
display: inline;
 +
padding: 1px 0 2px 5px;
 +
}
  
 
+
.s{
/*非表示コンテンツ*/
+
text-align: right;
#ca-history,
+
font-size: 0.5em;
.mw-search-profile-tabs,
+
}
#footer-places-privacy,#footer-places-disclaimer,
+
.c{
#pt-login
+
text-align: center;
{
 
    display: none;
 
 
 
 
}
 
}

2023年12月14日 (木) 14:26時点における最新版

/*編集の表示*/
body a#ca-edit{
	display: none;
}
body.mw-editable a#ca-edit{
	display: inline;
}

/*カテゴリの表示*/
#catlinks { display: block; }
/*カテゴリページ*/
.mw-category-generated h2.typesquare_tags{
display: none;
}
.mw-category-generated h2{
font-size: 24px;
}



/*上ナビ*/
#navbar{
	height: 100%;
    max-height: fit-content;
}
@media (min-width: 990px) {
   input#searchInput { width: 200px }
}
/*右ナビ*/
#sidebar-right figure{
	width: 100px;
	margin-left: auto;

}



/********************/

/*共通デザイン*/
body{
	font-family: "Noto Sans JP";
	letter-spacing: 1.5px;
	word-break: break-all;
}
#footer{
	background: #333;
}
#footer a{
	color: #fff;
}

a,a:visited {
	color: #4f97a3;
}
a:hover{
	color: #4f97a3;
}



hr{
	margin: 40px 0;
	background: #eee;
}

figure img{
	width: 100%;
}

.mw-parser-output img,
.photoBox img{
	width: 100%;
}


.typecate{
	font-size: 18px;
	font-weight: bold;
}


#contentSub{
	margin: 20px 0;

}

/*シェア用リンク*/
p#sUrl{
	border-top: solid 2px #333;
	padding: 40px 0 0 25px;
	margin: 60px 0 0 0;
}
p#sUrl a{
	color: #333;
	font-size: 11px;
}
p#sUrl a:before{
	content: "短縮URL:";
}

/*最終更新日*/
p#sKousin{
	color: #333;
	font-size: 11px;
	padding: 20px 0 40px 23px;
	margin: 0 0 40px 2px;
	border-bottom: 2px solid;
}
/*参考出典*/
h2#tSankou{
	margin: 0 0 0 0;
	font-size: 25px;
}

/*カテゴリ*/
#catlinks{
	border: none;
	background: #f6f6f6;
	padding: 10px;
	margin: 40px 0 0;
}

/*twitterBtn*/
ul.navTwi{
	list-style: none;
	margin: 40px 0 20px;
	padding: 0;
	border-top: 1px solid #eee;

}
ul.navTwi li{
	border-bottom: 1px solid #eee;
}
ul.navTwi li a{
	display: block;
	padding: 20px 0 20px 50px;
	color: #333;
}
ul.navTwi li a:hover{
	text-decoration: none;
	color: #4f97a3;
	
}
ul.navTwi li.btnShare{
	background: no-repeat url("img/icon_share.png") left/46px;
}
ul.navTwi li.btnTwi{
	background: no-repeat url("img/icon_twitter.png") left/46px;
}
ul.navTwi li.btnWarp{
	background: no-repeat url("img/icon_warp.png") left/35px;
}
ul.navTwi li.text{
	padding: 20px 0 20px 50px;
	color: #333;
	text-align: center;
}

/*動画*/
.movieBox{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.movieBox iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}

/*ページャー*/
ul.pagination{
    list-style: none;
    padding: 15px 0;
    margin: 40px 0;
    border-top: 1px #999 solid;
    border-bottom: 1px #999 solid;
	border-radius: 0;
	width: 100%;
	display: flex;
}
.pagination > li > a:hover,
.pagination > li > a:visited{
	color: #4f97a3 !important;
}
#content ul.pagination li a{
	color: #4f97a3 !important;
	padding: 0 5px 0;
    background: none;
    border: none;
	display: contents;
}
li.pre a:before{
    content: " < ";
}
li.pre{
    margin: 0;
    width: 50%;
    padding: 0 0 0 10px;
}
li.next{
    width: 50%;
    text-align: right;
    padding: 0 10px 0 0;
}
li.next a:after{
    content: " > ";
}

ul.pagination li.next:after{
    display: block;
    content: "";
    clear: both;
}

/*データボックス*/
dl.boxData{
    color: #333;
    width: 100%;
    overflow: hidden;
    border-top: none;
    background: #f8f8f8;
    border-bottom: 1px dotted #888;
    margin: 0 0 40px;
}
dl.boxData dt{
    margin: 0;
    width: 25%;
    float: left;
    padding: 15px 0 0;
    border-top: 1px dotted #888;
    box-sizing: border-box;
    text-align: center;
}
dl.boxData dd{
    margin: 0;
    margin-left: 25%;
    padding: 10px;
    border-top: 1px dotted #888;
    background: #fff;
    line-height: 2;
}
dl.boxData dd:after{
    display: block;
    content: "";
    clear: both;
}
dl.boxData dd hr{
	margin: 4px 0;
}

/*更新履歴*/
ul.boxNews{
	border-top: 1px dotted #d3d3d3;
	list-style: none;
    margin: 0;
    padding: 0;
}
ul.boxNews li{
	border-bottom: 1px dotted #d3d3d3;
	padding: 10px 0;
}
ul.boxNews li span{
	display: block;
}




/*テキスト装飾*/

h1{
	text-align: center;
	font-size: 32px;
}
.page-header{
	margin-bottom: 40px;
	border-bottom: 2px solid #333;
}

h2, .h2 {
	border-left: solid 10px #333;
	padding: 0px 0 4px 10px;
	margin-bottom: 40px;
}

.daiji{
	background: #d8e8bc;
	font-weight: normal;
	display: inline;
	padding: 1px 0 2px 5px;
}

.s{
	text-align: right;
	font-size: 0.5em;
}
.c{
	text-align: center;
}