Difference between revisions of "MediaWiki:Common.css"
From Wiki Knowledge Base | Teltonika GPS
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | @import url('https://fonts.googleapis.com/css?family=Open+Sans|Oswald:400,700'); | ||
+ | |||
+ | body { font-family: "Open Sans", "Oswald", sans-serif; } | ||
+ | |||
@media screen and (max-width: 800px) { | @media screen and (max-width: 800px) { | ||
table.main-table { | table.main-table { | ||
width:100% !important; | width:100% !important; | ||
− | display: table !important | + | display: table !important; |
+ | padding: 0px !important; | ||
} | } | ||
Line 10: | Line 15: | ||
margin-top: 10px | margin-top: 10px | ||
} | } | ||
− | + | table.main-table.w-100 td { | |
+ | display: inline-block; | ||
+ | width: 49.5% !important; | ||
+ | } | ||
+ | table.main-table.w-100 table { | ||
+ | display: table; | ||
+ | } | ||
+ | table.main-table.w-100 table td { | ||
+ | display: block; | ||
+ | width: 100% !important; | ||
+ | } | ||
.main-table td:nth-child(2n) { | .main-table td:nth-child(2n) { | ||
margin-bottom: 20px | margin-bottom: 20px | ||
Line 17: | Line 32: | ||
#p-cactions-label { | #p-cactions-label { | ||
outline: 0 | outline: 0 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 42: | Line 44: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
#left-navigation { | #left-navigation { | ||
Line 62: | Line 55: | ||
div#footer { | div#footer { | ||
margin-left: 0 | margin-left: 0 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 123: | Line 78: | ||
− | .thumb.tright { | + | div.thumb.tright { |
+ | float: none; | ||
+ | display: block; | ||
width: 100%; | width: 100%; | ||
− | + | max-width: 250px; | |
margin: 0 !important; | margin: 0 !important; | ||
− | |||
− | |||
} | } | ||
Line 157: | Line 112: | ||
} | } | ||
+ | } | ||
+ | |||
+ | |||
+ | @media screen and (max-width: 500px) { | ||
+ | table.main-table.w-100 td { | ||
+ | display: block; | ||
+ | width: 100% !important; | ||
+ | } | ||
} | } | ||
Line 174: | Line 137: | ||
@media screen and (min-width: 801px) { | @media screen and (min-width: 801px) { | ||
− | #p-cactions .menu li:nth-child( | + | #p-cactions .menu li:nth-child(10),#p-cactions .menu li:nth-child(5),#p-cactions .menu li:nth-child(6),#p-cactions .menu li:nth-child(7),#p-cactions .menu li:nth-child(8),#p-cactions .menu li:nth-child(9) { |
display:none !important | display:none !important | ||
} | } | ||
Line 190: | Line 153: | ||
} | } | ||
} | } | ||
+ | |||
+ | #ca-talk { display: none !important; } |
Latest revision as of 18:06, 12 March 2021
@import url('https://fonts.googleapis.com/css?family=Open+Sans|Oswald:400,700'); body { font-family: "Open Sans", "Oswald", sans-serif; } @media screen and (max-width: 800px) { table.main-table { width:100% !important; display: table !important; padding: 0px !important; } .main-table td { text-align: center; display: block; margin-top: 10px } table.main-table.w-100 td { display: inline-block; width: 49.5% !important; } table.main-table.w-100 table { display: table; } table.main-table.w-100 table td { display: block; width: 100% !important; } .main-table td:nth-child(2n) { margin-bottom: 20px } #p-cactions-label { outline: 0 } #p-logo { position: relative !important; top: 0px !important; left: 0 } .mw-body { margin-left: 0 !important } #left-navigation { margin-left: 0 !important } #p-personal ul { padding-left: 50px !important } div#footer { margin-left: 0 } #p-views { display: none !important } #p-cactions .menu ul { -moz-transform: rotate(180deg); -webkit-transform: rotate(180deg); transform: rotate(180deg) } #p-cactions .menu ul > li { -moz-transform: rotate(-180deg); -webkit-transform: rotate(-180deg); transform: rotate(-180deg) } #p-cactions .menu ul > li:nth-last-child(2),#p-cactions .menu ul > li:last-child { display: none !important } div.thumb.tright { float: none; display: block; width: 100%; max-width: 250px; margin: 0 !important; } #mw-imagepage-section-filehistory table{ overflow: auto; border: 0; display: block; } .fullImageLink img { width:100%; height: auto } p img { width: 100%; height: auto; margin: 0 } div.thumbinner { width: 100% !important } div.thumbinner img { width: 100%; height: auto } } @media screen and (max-width: 500px) { table.main-table.w-100 td { display: block; width: 100% !important; } } @media screen and (max-width: 450px) { #mw_metadata { width: 100% !important } #p-namespaces #ca-talk { display: none !important } #p-cactions .menu ul > li:nth-last-child(1) { display: block !important } } @media screen and (min-width: 801px) { #p-cactions .menu li:nth-child(10),#p-cactions .menu li:nth-child(5),#p-cactions .menu li:nth-child(6),#p-cactions .menu li:nth-child(7),#p-cactions .menu li:nth-child(8),#p-cactions .menu li:nth-child(9) { display:none !important } } @media screen and (max-width: 350px) { #left-navigation #p-namespaces ul li:first-of-type a:first-of-type { display:none !important } } @media screen and (min-width: 351px) { #left-navigation #p-namespaces ul li:first-of-type a:last-of-type { display:none !important } } #ca-talk { display: none !important; }