Difference between revisions of "MediaWiki:Common.css"

From Aero Manual
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
img.halfwidth {
 
img.halfwidth {
 
     width: 50%;
 
     width: 50%;
 +
    height: auto;
 +
}
 +
 +
img.smallwidth {
 +
    width: 33%;
 
     height: auto;
 
     height: auto;
 
}
 
}
Line 24: Line 29:
 
     height: auto;
 
     height: auto;
 
}
 
}
 +
 +
body.page-Main_Page .mw-headline-number { display: none; }
 +
body.page-Main_Page_cs .mw-headline-number { display: none; }
 +
body.page-Main_Page_de .mw-headline-number { display: none; }
 +
body.page-Main_Page_es .mw-headline-number { display: none; }
 +
body.page-Main_Page_fr .mw-headline-number { display: none; }
  
 
table {
 
table {
Line 34: Line 45:
  
 
table.problems {
 
table.problems {
     padding: 5px 20px;
+
     padding: 50px 20px;
    margin: 5px 5px 5px 5px;
+
    border-collapse: collapse;
+
 
     border-radius: 10px;
 
     border-radius: 10px;
     border-spacing: 10px;
+
     border-collapse: collapse;
 
     background: rgb(242,245,246); /* Old browsers */
 
     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: -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 */
Line 46: Line 55:
 
table.problems td, table th {
 
table.problems td, table th {
 
     border: 3px solid white;
 
     border: 3px solid white;
 +
    padding: 6px;
 
}
 
}
 
table.problems tr:first-child th {
 
table.problems tr:first-child th {
Line 61: Line 71:
 
     border-right: 0;
 
     border-right: 0;
 
}
 
}
 +
 +
table.servolist {
 +
    border: 0px;
 +
    border-radius: 10px;
 +
    border: 0px solid black;
 +
    background: #f9f9f9;
 +
    padding: 2px 10px;
 +
    margin: 0px;
 +
}
 +
 +
table.servolist td, table th {
 +
    border: 0px;
 +
    border-radius: 6px;
 +
    padding: 6px;
 +
}
 +
 +
table.servolist tr:nth-child(even) {background-color: #f2f2f2}
 +
 +
table.servolist th {
 +
    background-color: #cb410b;
 +
    color: white;
 +
}
 +
 +
table.servolist tr:hover {background-color: #ffcf7b}

Latest revision as of 14:50, 26 July 2017

/* Zde uvedené CSS bude ovlivňovat všechny styly */
img.halfwidth {
    width: 50%;
    height: auto;
}

img.smallwidth {
    width: 33%;
    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;
}

body.page-Main_Page .mw-headline-number { display: none; }
body.page-Main_Page_cs .mw-headline-number { display: none; }
body.page-Main_Page_de .mw-headline-number { display: none; }
body.page-Main_Page_es .mw-headline-number { display: none; }
body.page-Main_Page_fr .mw-headline-number { display: none; }

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;
    padding: 6px;
}
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;
}

table.servolist {
    border: 0px;
    border-radius: 10px;
    border: 0px solid black;
    background: #f9f9f9;
    padding: 2px 10px;
    margin: 0px;
}

table.servolist td, table th {
    border: 0px;
    border-radius: 6px;
    padding: 6px;
}

table.servolist tr:nth-child(even) {background-color: #f2f2f2}

table.servolist th {
    background-color: #cb410b;
    color: white;
}

table.servolist tr:hover {background-color: #ffcf7b}