Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

User:Gardios/Infobox.css

From DFO World Wiki
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* INFOBOX */

div.infobox {
    margin-bottom: 0.5em;
    margin-left: 1em;
    padding: 0px;
    font-size: 0.9em;
    position:relative;
    width: 270px;
    overflow: visible;
    border: 1px solid #aaa;
    border-spacing: 0px;
    float: right;
}

div.infobox .header {
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 5px;
    width: auto;
}

div.infobox .item {
    background: #ccffcc;
}

div.infobox .monster {
    background: #ffcccc;
}

div.infobox .header .icon {
    margin: 1px;
    padding: 1px;
    float: left;
    vertical-align: middle;
}

div.infobox .header .caption {
    color: #000000;
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
    width: 100%;
}

div.infobox .header .caption .name {
    font-weight: bold;
}

div.infobox .header .caption .sub {
    font-size: 12px;
}

div.infobox .body {
    clear: both;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    background: #ffffff;
}

div.infobox .body .image {
    width: 100%;
    padding-top: 5px;
    text-align: center;
}

div.infobox .body .image img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    width: auto\9;
}

div.infobox dt {
    float: left;
    text-align: right;
    width: 100px;
    color: #000;
    font-weight: bold;
    clear: left;
    border-right: 4px solid #aaa;
    border-bottom: 1px solid #aaa;
    margin: 0px 0px 2px 0px;
    padding: 2px 5px 2px 3px;
}

div.infobox dd {
    float: left;
    width: 135px;
    margin: 0;
    padding: 2px 5px;
}