MediaWiki:Common.css

From Aero Manual
Revision as of 12:47, 11 January 2017 by Admin (Talk | contribs)

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: Clear the cache in Tools → Preferences
/* Zde uvedené CSS bude ovlivňovat všechny styly */
img.halfwidth {
    width: 50%;
    height: auto;
}

img.13width {
    width: 33%;
    height: auto;
}

img.23width {
    width: 66%;
    height: auto;
}

img.14width {
    width: 25%;
    height: auto;
}

img.15width {
    width: 20%;
    height: auto;
}

table {
    border-radius:10px;
    border: 0px;
    background: #eeeeee;
    padding: 2px 10px;
    margin: 0px;
}

table.problems {
    padding: 50px 20px;
    border-radius: 10px;
    border-collapse: collapse;
    background: rgb(242,245,246); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(242,245,246,1) 0%, rgba(227,234,237,1) 37%, rgba(200,215,220,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(242,245,246,1) 0%,rgba(227,234,237,1) 37%,rgba(200,215,220,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(242,245,246,1) 0%,rgba(227,234,237,1) 37%,rgba(200,215,220,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
table.problems td, table th {
    border: 3px solid white;
}
table.problems tr:first-child th {
    border-top: 0;
}
table.problems tr:last-child td {
    border-bottom: 0;
}
table.problems tr td:first-child,
table.problems tr th:first-child {
    border-left: 0;
}
table.problems tr td:last-child,
table.problems tr th:last-child {
    border-right: 0;
}