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:Everspace/CssTomfoolery.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.
/* Skilltable class for usage on skill... tables... */
    .skilltable {
        margin-top:1em;
        margin-bottom:1em;

        /*Center Align*/
        margin-left: auto;
        margin-right: auto;

        border-collapse:collapse;
        text-align:center;
        border-radius:0.5em;
    }

    /*All cell display*/
    .skilltable th,
    .skilltable td {
        border:1px solid #AAA;
        padding:0.3em;

        /*Force breathing room for data*/
        min-width: 2em;
    }

    .skilltable tr th {
        background-color:#E0E0E0;
    }

    .skilltable tr:first-child th {
        background-color: #D6D6D6;
    }

    /*For the maxLevel, a switched appeareance*/
    .skilltable tr.maxLevelRow {
        background-color: #E2FDE1;
    }

    /*Rounded corners*/
    .skilltable tr:first-child th {
        /*No border on the first row's top*/
        border-top:none;
    }
    .skilltable tr th:first-child {
        border-left:none;
    }
    .skilltable tr th:last-child {
        border-right:none;
    }
    .skilltable tr:first-child th:first-child {
        border-top-left-radius:1em;
        padding-left:0.5em;
    }
    .skilltable tr:first-child th:last-child {
        border-top-right-radius:1em;
        padding-right:0.5em;
    }

    /*Row hover highlighting*/
    .skilltable tr:not(:first-child):hover td{
      background-color:#EEE;
    }

/*End Skilltable Definition*/