Difference between revisions of "MediaWiki:Common.css"
From Spirit System Manual
Line 39: | Line 39: | ||
margin: 0px; | margin: 0px; | ||
color: black; border: solid #900000 2px; border-radius: 5px; | color: black; border: solid #900000 2px; border-radius: 5px; | ||
+ | } | ||
+ | |||
+ | table.problems { | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | table.problems td, table th { | ||
+ | border: 1px solid black; | ||
+ | } | ||
+ | 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; | ||
} | } |
Revision as of 13:24, 11 January 2017
/* 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 { border: 0px; background: #eeeeee; padding: 5px 20px; margin: 0px; color: black; border: solid #900000 2px; border-radius: 5px; } table.problems { border-collapse: collapse; } table.problems td, table th { border: 1px solid black; } 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; }