The District of Joban Difference between revisions of "MediaWiki:Common.css"

Difference between revisions of "MediaWiki:Common.css"

MediaWiki interface page
Line 77: Line 77:
     color: black;
     color: black;
     background-color: #FFECA8;
     background-color: #FFECA8;
     border-radius: 9px;
     border-radius: 6px;
     padding: 3px 20px 3px 20px;
     padding: 3px 20px 3px 20px;
     line-height:16px;
     line-height:16px;
     max-width: 100%;
     max-width: 100%;
     font-size: 14px;
     font-size: 14px;
    margin-bottom: 15px;
}
}



Revision as of 18:00, 16 April 2022

.main {
    font-size: 16px;
    font-style: italic;
}

.infobox {
    background-color: #eee;
    color: black;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    border-radius: 9px;
    width: 250px;
    border-collapse: collapse;
}
.infobox-title {
    font-size: 1.5em;
    text-align: center;
}
.infobox-stationtype {
    font-size: 0.8em;
    text-align: center;
}
.infobox-image {
    text-align: center;
    width:250px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.infobox-imgdesc {
    font-size: 0.7em;
    text-align: center;
    color: gray;
}
.infobox-category {
    text-align: center;
    background-color: #ccc;
    font-weight: bold;
    border-radius: 4px;
    width: 100%;
    margin-top: 20px;
}
.infobox table {
    width: 100%;
}
.infobox th {
    font-size: 14px;
    text-align: left;
    vertical-align: top;
    width: 120px;
}
.infobox td {
    font-size: 14px;
    vertical-align: top;
}

.infobox table {
    margin-top: 0px;
}

.mwe-popups .mwe-popups-extract {
    color: black !important;
}

.mwe-popups:active .mwe-popups-extract[dir='ltr']:after {
    background: transparent !important;
}
.mwe-popups:hover .mwe-popups-extract[dir='ltr']:after {
    background: transparent !important;
}
.mwe-popups .mwe-popups-extract[dir='ltr']:after {
    background: transparent !important;
}

.dialog-box {
    color: black;
    background-color: #FFECA8;
    border-radius: 6px;
    padding: 3px 20px 3px 20px;
    line-height:16px;
    max-width: 100%;
    font-size: 14px;
    margin-bottom: 15px;
}


@media screen and (max-width: 600px) {
  .infobox {
    float: none;
    border: none;
    width: 100%;
    margin: 0;
  }

  .infobox-image {
    margin: auto;
  }
}