Difference between revisions of "MediaWiki:Mobile.css"
From Akvopedia
Line 36: | Line 36: | ||
font-size: 130%; | font-size: 130%; | ||
font-weight: bold; | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | /* Akvopedia portal pages */ | ||
+ | |||
+ | .akvo-portal { | ||
+ | display: table; | ||
+ | text-align: center; | ||
+ | width: 100%; | ||
+ | table-layout:fixed; | ||
+ | } | ||
+ | |||
+ | .akvo-portal-group-title { | ||
+ | width:100%; | ||
+ | font-size: 0.8em; | ||
+ | font-weight: bold; | ||
+ | min-height: 3.5em; | ||
+ | word-wrap: break-word; | ||
+ | } | ||
+ | |||
+ | .akvo-portal-body { | ||
+ | display: table-row; | ||
+ | } | ||
+ | |||
+ | .akvo-portal-group { | ||
+ | width:20%; | ||
+ | overflow:hidden; | ||
+ | display:table-cell; | ||
+ | } | ||
+ | |||
+ | .akvo-portal-group:nth-child(2n+1) { | ||
+ | background-color:#efefef; | ||
+ | } | ||
+ | |||
+ | .akvo-portal-entry-icon img { | ||
+ | width: 60px; | ||
+ | height: 60px; | ||
+ | } | ||
+ | |||
+ | .akvo-portal-entry { | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | .akvo-portal-entry-caption { | ||
+ | width: 100%; | ||
+ | font-size: 0.7em; | ||
+ | } | ||
+ | |||
+ | .akvo-portal-entry-caption-text { | ||
+ | width:100%; | ||
+ | min-height: 4.5em; | ||
+ | word-wrap:break-word; | ||
} | } |
Revision as of 07:50, 12 August 2014
/* CSS placed here will affect users of the mobile site */ .RSSReader-head h3 { font-size: 100%; } /* Link colors */ div#mw-panel div.portal div.body ul li a, div#mw-panel div.portal div.body ul li a:visited { color: #434343; } div#content a { color: #BE499B; font-weight: bold; } div#content a:visited { color: #995e8c; } div#bodyContent a { color: #BE499B; font-weight: bold; } div#bodyContent a.new, div#bodyContent a.new:visited { color: #ba0000; } /* Hide table of contents */ .toc, #toc { display: none; } /* Reduce size of title. */ #firstHeading { font-size: 130%; font-weight: bold; } /* Akvopedia portal pages */ .akvo-portal { display: table; text-align: center; width: 100%; table-layout:fixed; } .akvo-portal-group-title { width:100%; font-size: 0.8em; font-weight: bold; min-height: 3.5em; word-wrap: break-word; } .akvo-portal-body { display: table-row; } .akvo-portal-group { width:20%; overflow:hidden; display:table-cell; } .akvo-portal-group:nth-child(2n+1) { background-color:#efefef; } .akvo-portal-entry-icon img { width: 60px; height: 60px; } .akvo-portal-entry { width: 100%; } .akvo-portal-entry-caption { width: 100%; font-size: 0.7em; } .akvo-portal-entry-caption-text { width:100%; min-height: 4.5em; word-wrap:break-word; }