「Common.css」の版間の差分
提供:researchmap guide
編集の要約なし  | 
				編集の要約なし  | 
				||
| (同じ利用者による、間の47版が非表示) | |||
| 6行目: | 6行目: | ||
/* 緑枠の囲み */  | /* 緑枠の囲み */  | ||
div.rm-info {  | div.rm-info {  | ||
     background-color:#  |      background-color: #DCEAEA;  | ||
     border:  |      border: 2px solid #696969;  | ||
     padding:  |      padding: 2em;  | ||
}  | }  | ||
| 14行目: | 14行目: | ||
div.rm-info-w {  | div.rm-info-w {  | ||
     background-color:#dff0d8;  |      background-color:#dff0d8;  | ||
     border:  |      border: 2px solid #696969;  | ||
     padding:1em;  |      padding:1em;  | ||
	display:inline-block;  | 	display:inline-block;  | ||
| 150行目: | 150行目: | ||
}  | }  | ||
/*   | /* 画像のスタイル */  | ||
.thumbimage {  | .thumbimage {  | ||
     border: 2px solid #696969;  |      border: 2px solid #696969;  | ||
    width: 90vw;  | |||
}  | |||
@media screen and (max-width: 1000px) {  | |||
	.thumbimage {  | |||
    margin-bottom: 20px;  | |||
}  | |||
}  | |||
img {  | |||
    border: 2px solid #696969;  | |||
    height: auto;  | |||
    max-width: none;  | |||
    box-sizing: content-box;  | |||
}  | |||
@media screen and (max-width: 900px) {  | |||
	img {  | |||
    width: 100%;  | |||
    margin-bottom: 20px;  | |||
}  | |||
}  | |||
/* 写真5カラム */  | |||
.photobox5 {  | |||
	border: none !important;  | |||
	margin-bottom: 30px;  | |||
	line-height: 1.5em;  | |||
	background: none;  | |||
}  | |||
.photobox5 th,  | |||
.photobox5 td {	  | |||
	border: none !important;  | |||
	text-align: left;  | |||
	padding-left: 0;  | |||
	margin-right: 0;  | |||
}  | |||
.photobox5 th{  | |||
	width:180px;  | |||
    padding-right: 30px ;  | |||
}  | |||
@media screen and (max-width: 910px) {  | |||
.photobox5{  | |||
	margin-left:0;  | |||
	margin-bottom:10px;  | |||
	}  | |||
.photobox5 td,  | |||
.photobox5 th {  | |||
	display: block;  | |||
	padding: 5px !important;  | |||
	margin: 0 auto;  | |||
	margin-bottom: 20px;  | |||
}  | |||
}  | |||
/* 写真テキスト2カラム */  | |||
.photobox2 {  | |||
	border: none !important;  | |||
	margin-bottom: 30px;  | |||
	line-height: 1.5em;  | |||
	background: none;  | |||
}  | |||
.photobox2 th,  | |||
.photobox2 td {	  | |||
	border: none !important;  | |||
	text-align: left;  | |||
	vertical-align: top;  | |||
	padding-left: 0;  | |||
	margin-right: 0;  | |||
}  | |||
.photobox2 th{  | |||
    padding-right: 30px ;  | |||
}  | |||
@media screen and (max-width: 910px) {  | |||
.photobox2{  | |||
	margin-left:0;  | |||
	margin-bottom:10px;  | |||
	}  | |||
.photobox2 td,  | |||
.photobox2 th {  | |||
	display: block;  | |||
	padding: 5px !important;  | |||
	margin-bottom: 0!important;  | |||
}  | |||
}  | |||
.br-sp {  | |||
  display: none;  | |||
}  | |||
@media screen and (max-width: 1080px) {  | |||
  .br-pc {  | |||
    display: none;  | |||
  }  | |||
  .br-sp {  | |||
    display: inline-block;  | |||
  }  | |||
}  | |||
p, table {  | |||
    margin-bottom: 0em;  | |||
}  | |||
.noborder{  | |||
	pointer-events:none   | |||
}  | }  | ||
2021年1月25日 (月) 19:08時点における最新版
/* ここに記述したCSSはすべての外装に反映されます */
.center {
    text-align:center;
}
/* 緑枠の囲み */
div.rm-info {
    background-color: #DCEAEA;
    border: 2px solid #696969;
    padding: 2em;
}
/* 緑枠の囲み(幅調整あり) */
div.rm-info-w {
    background-color:#dff0d8;
    border: 2px solid #696969;
    padding:1em;
	display:inline-block;
	clear: both;
}
/* 赤枠の囲み */
div.rm-warning {
    background-color:#f2dede;
    border: 1px solid #b92c28;
    padding:1em;
}
/* 赤枠の囲み(幅調整あり) */
div.rm-warning-w {
    background-color:#f2dede;
    border: 1px solid #b92c28;
    padding:1em;
	display:inline-block;
	clear: both;
}
/* 青枠の囲み */
div.rm-primary {
    background-color:#daeaef;
    border: 1px solid #3f768c;
    padding:1em;
}
/* 青枠の囲み(幅調整あり) */
div.rm-primary-w {
    background-color:#daeaef;
    border: 1px solid #3f768c;
    padding:1em;
	display:inline-block;
	clear: both;
}
/* デフォルトのタイトルを非表示にする */
h1.title {
    display: none;
}
/* 目次を非表示にする */
.toc, #toc {
    display: none;
}
/* サイドバー */
div#sidebar li[id^="n-.E3.80.80"]
{
    margin-left:0.2em;
}
/* 「操作」を非表示にする(未ログインの場合) */
body:not(.mw-editable) #drop{display:none}
/* サイドバーの「ツール」を非表示にする(未ログインの場合) */
body:not(.mw-editable) #p-tb {display:none;}
body:not(.mw-editable) li[id^="t-"] {display:none;}
/* ツリー
----------------------------------------------*/
.rm-tree,
.rm-tree ul,
.rm-tree li {
	list-style:none;
	margin:0;
	padding:0;
	position:relative;
}
.rm-tree {
	margin:0 0 1em;
	text-align:center;
}
.rm-tree,.rm-tree ul {
	display:table;
}
.rm-tree ul {
	width:100%;
}
.rm-tree li {
	display:table-cell;
	padding:1.5em 0;
	vertical-align:top;
}
/* _________ */
.rm-tree li:before{
	outline:solid 1px #666;
	content:"";
	left:0;
	position:absolute;
	right:0;
	top:0;
}
.rm-tree li:first-child:before {
	left:50%;
}
.rm-tree li:last-child:before {
	right:50%;
}
.rm-tree span {
    border:solid .1em #666;
    border-radius:.2em;
    display:inline-block;
    margin:0 .2em 1.5em;
    padding:.2em .5em;
    position:relative;
}
/* | */
.rm-tree ul:before,
.rm-tree span:before {
    outline:solid 1px #666;
    content:"";
    height:1.5em;
    left:50%;
    position:absolute;
}
.rm-tree ul:before{
	top:-1.5em;
}
.rm-tree span:before {
	top:-1.55em;
}
.rm-tree > li {
	margin-top:0;
}
.rm-tree > li:before,
.rm-tree > li:after,
.rm-tree > li > span:before {
	outline:none;
}
/* 画像のスタイル */
.thumbimage {
    border: 2px solid #696969;
    width: 90vw;
}
@media screen and (max-width: 1000px) {
	.thumbimage {
    margin-bottom: 20px;
}
}
img {
    border: 2px solid #696969;
    height: auto;
    max-width: none;
    box-sizing: content-box;
}
@media screen and (max-width: 900px) {
	img {
    width: 100%;
    margin-bottom: 20px;
}
}
/* 写真5カラム */
.photobox5 {
	border: none !important;
	margin-bottom: 30px;
	line-height: 1.5em;
	background: none;
}
.photobox5 th,
.photobox5 td {	
	border: none !important;
	text-align: left;
	padding-left: 0;
	margin-right: 0;
}
.photobox5 th{
	width:180px;
    padding-right: 30px ;
}
@media screen and (max-width: 910px) {
.photobox5{
	margin-left:0;
	margin-bottom:10px;
	}
.photobox5 td,
.photobox5 th {
	display: block;
	padding: 5px !important;
	margin: 0 auto;
	margin-bottom: 20px;
}
}
/* 写真テキスト2カラム */
.photobox2 {
	border: none !important;
	margin-bottom: 30px;
	line-height: 1.5em;
	background: none;
}
.photobox2 th,
.photobox2 td {	
	border: none !important;
	text-align: left;
	vertical-align: top;
	padding-left: 0;
	margin-right: 0;
}
.photobox2 th{
    padding-right: 30px ;
}
@media screen and (max-width: 910px) {
.photobox2{
	margin-left:0;
	margin-bottom:10px;
	}
.photobox2 td,
.photobox2 th {
	display: block;
	padding: 5px !important;
	margin-bottom: 0!important;
}
}
.br-sp {
  display: none;
}
@media screen and (max-width: 1080px) {
  .br-pc {
    display: none;
  }
  .br-sp {
    display: inline-block;
  }
}
p, table {
    margin-bottom: 0em;
}
.noborder{
	pointer-events:none 
}
