「利用者:Tmv/メインページ/styles.css」の版間の差分
表示
削除された内容 追加された内容
編集の要約なし タグ: 差し戻し済み |
Codename Noreste (トーク | 投稿記録) 細 Reverted 1 edit by K EMOtioNO PAN Team SU (talk) to last revision by 64andtim |
||
9行目: | 9行目: | ||
/* map banner */ |
/* map banner */ |
||
.mainpage-searchinput .mw-ui-button[name=" |
.mainpage-searchinput .mw-ui-button[name="fulltext"] { display: none; } /* hide full text search box, which cannot currently be disabled */ |
||
.mainpage-map { |
.mainpage-map { |
2023年9月10日 (日) 03:07時点における版
/************************************
CSS for the Main Page
************************************/
.mainpage-content {
max-width: 1125px;
margin: 0 auto !important;
}
/* map banner */
.mainpage-searchinput .mw-ui-button[name="fulltext"] { display: none; } /* hide full text search box, which cannot currently be disabled */
.mainpage-map {
background-color: #0B0A34;
position: relative;
overflow: hidden;
height: auto;
margin-bottom: .6em;
max-width: 1125px;
}
.mainpage-maptext {
position: absolute;
top: 1em;
left: 1em;
width: 41%; /* 40% too small on some webkit browsers at 720p resolutions */
z-index: 2;
text-align: center;
padding: 0.5em 0.5em 0 0.5em;
}
.mainpage-tagline {
margin: 0;
}
.mainpage-searchinput {
padding:0;
}
.mainpage-searchinput label {
font-size: 85%;
font-style: italic;
}
.mainpage-searchinput input[type="text"] {
margin-right: 0.5em;
}
.mainpage-maplinks {
position:absolute;
bottom: 0;
left: 1em;
color: white;
padding:0 0.5em;
margin-top: 293px;
}
.mainpage-maplinks a {
color: white;
font-weight: bold;
}
.mainpage-maptext.mainpage-shadowbox {
color: white;
background: rgb(16,16,16);
background: rgba(0,0,0,0.3);
border-radius: 4px;
max-height: 283px;
}
.mapbanner-container { width: 100%; }
.mainpage-mobile-wrapper { display: none; /* This is mobile kludge code. It is temporary and to be removed */ }
.mainpage-mobile-toc { column-width: 159px; }
.mainpage-mobile-toc { text-align: center; }
@media (max-width: 720px) {
.mainpage-map { display: none; }
.mainpage-mobile-wrapper { display: block !important; }
}
/* flexbox */
.mainpage-flex-wrapper {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.mainpage-flex-box {
flex-grow: 0;
border: 1px solid #6cc8f3;
border-radius: 5px;
margin-top: 0.5em;
margin-bottom: 0.5em;
padding: 0 0.5em 3px;
}
.mainpage-flex-title {
background: #f0f0f0;
color: #004f80;
margin: 0 -0.4em 0.4em;
padding: 0.3em 0.4em;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
font-size: 1.25em;
}
.mainpage-flex-content {
margin-bottom: 0.3em;
}
.mainpage-flex-single {
flex-basis: 90%;
margin-right: auto;
margin-left: auto;
}
.mainpage-flex-double {
flex-basis: 35%;
}
.mainpage-start-list {
column-count: 2;
}
@media (max-width: 720px) {
.mainpage-flex-double, .mainpage-flex-single { flex-basis: 100%; }
.mainpage-start-list { column-count: 1; }
}