Difference between revisions of "MediaWiki:Common.css"

From Spirit System Manual
Jump to: navigation, search
Line 33: Line 33:
 
}
 
}
  
body.page-Problems_and_Solutions table {
+
table.problems {
  border-collapse: collapse;
+
    border: 1px;
}
+
    background: #eeeeee;
body.page-Problems_and_Solutions table td, table th {
+
    padding: 2px 10px;
  border: 1px solid black;
+
    margin: 0px;
}
+
body.page-Problems_and_Solutions table tr:first-child th {
+
  border-top: 0;
+
}
+
body.page-Problems_and_Solutions table tr:last-child td {
+
  border-bottom: 0;
+
}
+
body.page-Problems_and_Solutions table tr td:first-child,
+
body.page-Problems_and_Solutions table tr th:first-child {
+
  border-left: 0;
+
}
+
body.page-Problems_and_Solutions table tr td:last-child,
+
body.page-Problems_and_Solutions table tr th:last-child {
+
  border-right: 0;
+
 
}
 
}

Revision as of 13:16, 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: 1px;
    background: #eeeeee;
    padding: 2px 10px;
    margin: 0px;
}